:root {
    --c-bg:      #0e0e0e;
    --c-surface: #E2E2E2;
    --r:         20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: 游ゴシック体, 'Yu Gothic', YuGothic, sans-serif;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

#mv-outer {
    padding: 20px;
    position: relative;
    background: #0e0e0e;
}

#mv {
    width: 100%;
    height: calc(100svh - 40px);
    min-height: 560px;
    background: linear-gradient(to bottom, #F9F7F5, #dfdbe6);
    border-radius: var(--r);
    position: relative;
    overflow: hidden;
}

/* MVエリア右上のえぐれ（#mv::beforeは不要、mv-contactで表現） */

/* コンタクトボタンブロック: MV右上 */
#mv-contact {
    position: absolute;
    top: 0; right: 0;
    z-index: 10;
    background: var(--c-bg);
    height: 80px;
    width: 230px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: var(--r);
}

/* PC/SP 出し分けユーティリティ */
.pc-only { display: flex; }
.sp-only { display: none; }

/* PC時: ハンバーガーボタンは確実に非表示（トップ・下層共通）。@media(max-width:1024px)内で flex に戻す */
#hamburger-btn { display: none; }

/* 左上えぐれ */
#mv-contact .corner-tl {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    top: 0;
    left: calc(-1 * var(--r));
    background: url('../image/top/CircleRight.png') no-repeat 0 0 / var(--r);
}

/* 右下えぐれ */
#mv-contact .corner-br {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    bottom: calc(-1 * var(--r));
    right: 0;
    background: url('../image/top/CircleRight.png') no-repeat 0 0 / var(--r);
}

/* 左下えぐれ（SP専用） */

/* ---- ハンバーガーボタン ---- */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity   0.25s ease;
    transform-origin: center;
}

/* SP メニューオープン時のボタン状態 */
#mv-contact.is-open {
    z-index: 101;
}
#mv-contact.is-open .hamburger-line {
    background: #fff;
}
/* 1本目: \ */
#mv-contact.is-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
/* 2本目: 消える */
#mv-contact.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
/* 3本目: / */
#mv-contact.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- SP フルスクリーンメニュー ---- */
#sp-menu {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 100;
    background: #fff;
    border-radius: var(--r);
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow: hidden;
}

/* MVを過ぎたら fixed に切り替え */
#sp-menu.is-fixed-mode {
    position: fixed;
    inset: 0;
    border-radius: 0;
}

#sp-menu.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* ---- 上部：白背景・ロゴ＋キャッチコピー ---- */
.sp-menu-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 32px 24px;
    gap: 20px;
    background: #fff;
}

.sp-menu-logo {
    display: flex;
    align-items: center;
}

.sp-menu-logo .site-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-menu-logo .logo-main {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 700;
    color: #0e0e0e;
    letter-spacing: 0.02em;
}

#sp-menu .sp-menu-logo .site-logo .logo-main,
#sp-menu .sp-menu-logo .site-logo .logo-main span { color: #0e0e0e; }

#sp-menu .sp-menu-logo .site-logo .logo-sub { color: rgba(0,0,0,0.4); }

.sp-menu-logo .logo-sub {
    font-size: 11px;
    color: rgba(0,0,0,0.4);
    letter-spacing: 0.05em;
}

.sp-menu-catch {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-menu-catch-en {
    font-size: clamp(36px, 10vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #3b0a4a 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.sp-menu-catch-ja {
    font-size: clamp(13px, 3.5vw, 16px);
    font-weight: 500;
    color: rgba(0,0,0,0.45);
    letter-spacing: 0.08em;
    margin: 0;
}

/* ---- 下部：ダーク背景・2列ナビグリッド ---- */
.sp-menu-nav {
    flex: 0 0 20%;
    background: #3d3744;
    padding: 20px 24px 0;
    display: flex;
    flex-direction: column;
    border-radius: 20px 20px 0 0;
}

.sp-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex: 1;
}

.sp-menu-nav ul li {
    border: none;
    padding: 0 8px;
}

.sp-menu-nav ul li:nth-child(odd) {
    border: none;
    padding-left: 0;
}

.sp-menu-nav ul li:nth-child(even) { padding-right: 0; }
.sp-menu-nav ul li:nth-last-child(-n+2) { border-bottom: none; }

.sp-menu-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 0;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#sp-menu.is-open .sp-menu-item {
    opacity: 1;
    transform: translateY(0);
}

#sp-menu.is-open .sp-menu-nav li:nth-child(1) .sp-menu-item { transition-delay: 0.1s; }
#sp-menu.is-open .sp-menu-nav li:nth-child(2) .sp-menu-item { transition-delay: 0.15s; }
#sp-menu.is-open .sp-menu-nav li:nth-child(3) .sp-menu-item { transition-delay: 0.2s; }
#sp-menu.is-open .sp-menu-nav li:nth-child(4) .sp-menu-item { transition-delay: 0.25s; }

.sp-menu-en {
    font-size: clamp(16px, 4.5vw, 22px);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    text-transform: capitalize;
}

.sp-menu-ja {
    font-size: clamp(11px, 2.8vw, 13px);
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.05em;
}

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

.sp-menu-copyright {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.08em;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ---- SP メニュー open 時: body スクロール禁止不要（#mv内absoluteのため） ---- */

/* ---- 1024px以下: SP切り替え ---- */
@media (max-width: 1024px) {
    /* PC ナビ確実に非表示 */
    #mv-nav { display: none !important; }

    /* PC Contact ボタン非表示 */
    .mv-contact-btn { display: none !important; }

    /* ハンバーガーボタン表示 */
    #hamburger-btn { display: flex; }

    /* #mv-contact をハンバーガー専用サイズに */
    #mv-contact {
        height: 60px;
        width: 60px;
        padding: 0;
        border-bottom-left-radius: var(--r);
    }

    /* SP メニュー表示準備 */
    #sp-menu {
        display: flex;
    }

    /* メニュー開いてる間 SCROLLインジケーターを隠す */
    body.sp-menu-active #mv-scroll {
        opacity: 0;
        pointer-events: none;
    }

    /* ---- スクロール固定ハンバーガー（codepen: callumfindlay/zaMaXz） ---- */
    .scroll-hamburger {
        display: none;
        position: fixed;
        top: 32px;
        right: 20px;
        z-index: 200;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .scroll-hamburger i {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        flex-shrink: 0;
    }

    .scroll-hamburger.is-visible {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    /* 開く（is-open） */
    .scroll-hamburger.is-open i {
        background-color: #3d3744;
    }
    .scroll-hamburger.is-open i:nth-of-type(2) {
        animation: sh-line-two 1.5s ease forwards;
    }
    .scroll-hamburger.is-open i:nth-of-type(3) {
        animation: sh-line-three 1.5s ease forwards;
    }
    .scroll-hamburger.is-open i:first-of-type,
    .scroll-hamburger.is-open i:nth-of-type(4),
    .scroll-hamburger.is-open i:last-of-type {
        width: 0;
        transition: width 0s 0.9s;
    }

    /* 閉じる（is-closed） */
    .scroll-hamburger.is-closed i:first-of-type,
    .scroll-hamburger.is-closed i:nth-of-type(4),
    .scroll-hamburger.is-closed i:last-of-type {
        animation: sh-line-other-reverse 1.5s ease;
    }
    .scroll-hamburger.is-closed i:nth-of-type(2) {
        width: 100%;
        transform: translateY(10px) rotate(-45deg);
        animation: sh-line-two-reverse 1.5s ease forwards;
    }
    .scroll-hamburger.is-closed i:nth-of-type(3) {
        transform: scale(1) rotate(45deg);
        animation: sh-line-three-reverse 1.5s ease forwards;
    }

    @keyframes sh-line-two {
        0%   { transform: translateY(0) rotate(0); }
        59%  { transform: translateY(0) rotate(0); width: 100%; }
        60%  { width: 0; transform: translateY(10px) rotate(-45deg); }
        100% { width: 100%; transform: translateY(10px) rotate(-45deg); }
    }
    @keyframes sh-line-three {
        0%   { transform: scale(1); }
        50%  { transform: scale(35) rotate(0); }
        60%  { transform: scale(35) rotate(90deg); }
        100% { transform: scale(1) rotate(45deg); }
    }
    @keyframes sh-line-two-reverse {
        0%   { width: 100%; transform: translateY(10px) rotate(-45deg); }
        49%  { width: 0; transform: translateY(10px) rotate(-45deg); }
        50%  { transform: translateY(0) rotate(0); width: 100%; }
        100% { transform: translateY(0) rotate(0); }
    }
    @keyframes sh-line-three-reverse {
        0%   { transform: scale(1) rotate(45deg); }
        50%  { transform: scale(35) rotate(90deg); }
        60%  { transform: scale(35) rotate(0); }
        100% { transform: scale(1); }
    }
    @keyframes sh-line-other-reverse {
        0%   { width: 0; }
        60%  { width: 0; }
        100% { width: 100%; }
    }
}

/* ---- MV SP対応 ---- */
@media (max-width: 768px) {

    /* キャッチコピー */
    .mv-catchcopy {
        font-size: clamp(40px, 13vw, 72px) !important;
    }

    /* 日本語サブコピー */
    .mv-ja {
        font-size: clamp(14px, 4vw, 20px);
        white-space: normal !important;
        letter-spacing: 0.08em;
    }

    /* 説明文 */
    .mv-desc {
        font-size: 13px;
        letter-spacing: 0.03em;
        line-height: 1.8;
    }
}

.mv-contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-decoration: none;
    background: none;
    padding: 0;
    padding-bottom: 4px;
    position: relative;
}
.mv-contact-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.mv-contact-btn:hover::after {
    transform: scaleX(1);
}
.mv-contact-btn i { font-size: 18px; }

/* ナビゲーション: MV上部中央 */
#mv-nav {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    height: 80px;
    display: flex;
    align-items: center;
}
#mv-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
#mv-nav ul li a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
#mv-nav ul li a::before {
    content: '●';
    font-size: 6px;
    color: #fff;
    line-height: 1;
}
#mv-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
#mv-nav ul li a:hover::after {
    transform: scaleX(1);
}
/* 動画背景 */
#mv-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: var(--r);
}

/* オーバーレイ */
#mv-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(39, 4, 50, 0.85) 0%,
        rgba(124, 58, 237, 0.4) 50%,
        rgba(249, 247, 245, 0.15) 100%
    );
    border-radius: var(--r);
    pointer-events: none;
}

/* ---- MV Loading ---- */
#mv-loading {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: #0e0e0e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r);
    transition: opacity 0.8s ease;
}

#mv-loading.is-done {
    opacity: 0;
    pointer-events: none;
}

.mv-loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mv-loading-pct {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.mv-loading-bar-wrap {
    width: clamp(120px, 20vw, 240px);
    height: 2px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    overflow: hidden;
}

.mv-loading-bar {
    height: 100%;
    width: 0%;
    background: #a78bfa;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* MVコンテンツ */
#mv-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 80px 4vw 40px;
    gap: 0;
    z-index: 2;
}

#mv-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 10;
}

.mv-ja-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.mv-ja-wrap.visible {
    opacity: 1;
    transform: translateY(0);
}

.mv-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.6);
    display: block;
}

.mv-ja {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.15em;
    margin: 0;
    white-space: nowrap;
}

.mv-desc {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.06em;
    line-height: 1.8;
    margin: 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.mv-desc.visible {
    opacity: 1;
    transform: translateY(0);
}

.mv-catchcopy {
    font-size: 16px; /* JSで上書きされる */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.0s ease, transform 1.0s ease;
}
.mv-catchcopy.visible {
    opacity: 1;
    transform: translateY(0);
}

/* パンプキン */
#mv-pumpkin-wrap {
    width: 50%;
    height: 70%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mv-logo {
    position: absolute;
    top: 0; left: 0;
    z-index: 10;
    background: var(--c-bg);
    height: 80px;
    width: 230px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: var(--r);
}

/* 右上の逆角丸 */
#mv-logo .corner-tr {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    top: 0;
    right: calc(-1 * var(--r));
    background: url('../image/top/CircleLeft.png') no-repeat 0 0 / var(--r);
}

/* 左下の逆角丸 */
#mv-logo .corner-bl {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    bottom: calc(-1 * var(--r));
    left: 0;
    background: url('../image/top/CircleLeft.png') no-repeat 0 0 / var(--r);
}

@media (max-width: 1024px) {
    #mv-logo {
        height: 60px;
        width: 160px;
        padding: 0;
        justify-content: center;
    }
    .site-logo {
        font-size: clamp(16px, 3vw, 20px);
    }
    .site-logo .logo-main {
        font-size: clamp(14px, 2.5vw, 18px);
        letter-spacing: 0.02em;
    }
    .site-logo .logo-sub {
        font-size: clamp(9px, 1.8vw, 12px);
    }

    /* background-attachment:fixed はタブレット以下でぼやけるためscrollに切り替え */
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.site-logo .logo-main { white-space: nowrap; color: #fff; }
.site-logo .logo-sub  { font-size: 12px; font-weight: 300; letter-spacing: 0.15em; color: #fff; margin-top: 2px; white-space: nowrap; }

/* ---- Scroll Indicator: MV右下 ---- */
#mv-scroll {
    position: absolute;
    bottom: 0; right: 0;
    z-index: 10;
    background: var(--c-bg);
    height: 80px;
    width: 160px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: var(--r);
    transition: opacity 0.3s ease;
}

#mv-scroll .corner-tr-scroll {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    top: calc(-1 * var(--r));
    right: 0;
    background: url('../image/top/CircleRightDown.png') no-repeat 0 0 / var(--r);
}

#mv-scroll .corner-bl-scroll {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    bottom: 0;
    left: calc(-1 * var(--r));
    background: url('../image/top/CircleRightDown.png') no-repeat 0 0 / var(--r);
}

.mv-scroll-btn {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mv-scroll-btn .scroll-arrow {
    display: block;
    animation: scrollArrow 1.4s ease infinite;
}

@keyframes scrollArrow {
    0%   { transform: translateY(-4px); opacity: 0; }
    50%  { transform: translateY(0);    opacity: 1; }
    100% { transform: translateY(4px);  opacity: 0; }
}

@media (max-width: 1024px) {
    #mv-scroll { height: 60px; }
}

@media (max-width: 1000px) {
    #mv-content {
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 60px;
    }

    #mv-text {
        width: 100%;
        padding: 0 10px;
        position: relative;
        z-index: 3;
    }

    #mv-pumpkin-wrap {
        position: absolute;
        right: 0;
        bottom: 0;
        width: clamp(280px, 55vw, 580px);
        height: clamp(280px, 55vw, 580px);
        z-index: 2;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    #mv-pumpkin-wrap {
        width: clamp(240px, 75vw, 380px);
        height: clamp(240px, 75vw, 380px);
        bottom: 5%;
    }
}

/* ---- About ---- */
#about {
    background: linear-gradient(to bottom, #0e0e0e 0%, #3b0a4a 100%);
    padding: 0 0 160px;
    position: sticky;
    top: 0px;
    z-index: 1;
    overflow: hidden;
    min-height: 100vh;
}

/* マーキー */
.about-marquee {
    width: 100%;
    overflow: hidden;
    padding: 32px 0;
    margin-bottom: 100px;
}

.about-marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    width: max-content;
    animation: marquee 80s linear infinite;
}

.about-marquee-track .marquee-item {
    font-size: 10rem;
    font-weight: 200;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.08);
    flex-shrink: 0;
    padding-right: 80px;
}

.about-marquee-track .marquee-item .upper {
    font-weight: 200;
    text-transform: uppercase;
}

.about-marquee-track .marquee-item .lower {
    font-weight: 200;
    text-transform: lowercase;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- About コンテンツ ---- */
.about-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px 160px;
    box-sizing: border-box;
}

.about-heading {
    font-size: clamp(28px, 3.8vw, 52px);
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 64px 0;
    letter-spacing: -0.01em;
}

.about-heading-indent {
    display: block;
    padding-left: 1.5em;
}

.about-body {
    display: block;
}

.about-block {
    width: 70%;
    margin-left: 30%;
    margin-right: 0;
    font-size: 16px;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.65);
}

/* ---- Service スタッキング ---- */
/* ---- Service: 左ナビ + 右パネル（参考サイト準拠） ---- */
#service-wrap {
    position: relative;
    z-index: 10;
    border-radius: 24px 24px 0 0;
    clip-path: inset(0 round 24px 24px 0 0);
}

#service {
    position: relative;
    background: #f0eee8;
    z-index: 10;
}

.service-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: block;
}

.service-grid {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 0 0 0 20px;
}

/* 左カラム：参考サイトの --layout-left-width に相当 */
.service-side {
    width: calc(100vw * 270 / 1440);
    min-width: 180px;
    flex-shrink: 0;
    height: inherit;
}

.service-side-contents {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: clamp(40px, 5vh, 80px) clamp(16px, 2vw, 40px) clamp(40px, 5vh, 80px) 0;
    box-sizing: border-box;
}

.service-side-head {
    position: relative;
    padding: 6px 0;
}

.service-side-line {
    display: none;
}

.service-side-ttl {
    font-weight: 700;
    color: #0e0e0e;
    margin: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-side-ttl-en {
    font-size: max(50px, calc(100vw * 75 / 1440));
    line-height: 1.0;
    letter-spacing: -0.03em;
}

.service-side-ttl-ja {
    font-size: clamp(16px, 1.8vw, 28px);
    line-height: 1.4;
    letter-spacing: 0.1em;
}

.service-side-foot {
    padding-bottom: 20px;
}

.service-side-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-side-nav-item {
    line-height: 1;
}

.service-side-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.service-side-btn-txt {
    display: block;
    font-size: clamp(14px, 1.25vw, 18px);
    font-weight: 700;
    letter-spacing: normal;
    color: #0e0e0e;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.service-side-nav-item.is-current .service-side-btn-txt {
    opacity: 1;
}

.service-side-btn:hover .service-side-btn-txt {
    opacity: 0.7;
}

.service-side-nav-item.is-current .service-side-btn:hover .service-side-btn-txt {
    opacity: 1;
}

/* 右カラム：参考サイトの --layout-right-width に相当 */
.service-panels {
    width: calc(100vw * 927 / 1440);
    max-width: calc(100% - calc(100vw * 270 / 1440) - 20px);
    flex-shrink: 0;
    padding-bottom: clamp(60px, 8vh, 120px);
}

.service-panel {
    padding: clamp(100px, 15vh, 200px) 0 clamp(80px, 10vh, 160px);
}

.service-panel:first-child {
    padding-top: clamp(80px, 12vh, 160px);
}

.service-panel:last-child {
    border-bottom: none;
}

.service-panel-head {
    padding-bottom: clamp(12px, 1.5vh, 20px);
}

.service-panel-label {
    display: inline-flex;
    gap: clamp(16px, 2.5vw, 40px);
    font-size: clamp(14px, 1.25vw, 18px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: #0e0e0e;
    margin-bottom: 8px;
}

.service-panel-label-txt,
.service-panel-label-num {
    display: block;
}

.service-panel-ttl {
    font-size: max(40px, calc(100vw * 60 / 1440));
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #0e0e0e;
    margin: 0;
}

.service-panel-visual {
    position: relative;
    aspect-ratio: 927 / 522;
    width: 100%;
    overflow: hidden;
    background: #ddd;
    margin-bottom: clamp(16px, 2vh, 32px);
    border-radius: 16px 0 0 16px;
}

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

.service-panel-contents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: clamp(8px, 1vh, 16px);
    gap: 0;
}

.service-panel-txts {
    width: calc(100% - 125px - clamp(20px, 3vw, 60px));
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.025em;
    color: #555;
}

/* SP対応 */
@media (max-width: 768px) {
    .service-grid {
        flex-direction: column;
        padding: 0;
    }

    .service-side {
        width: 100%;
        min-width: auto;
    }

    .service-side-contents {
        position: relative;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 40px 20px 20px;
        gap: 16px;
    }

    .service-side-foot {
        display: none;
    }

    .service-side-head {
        padding: 0;
    }

    .service-side-line {
        display: none;
    }

    .service-side-nav {
        flex-direction: row;
        gap: 0;
    }

    .service-side-nav-item {
        flex: 1;
    }

    .service-side-btn-txt {
        font-size: 13px;
        padding: 8px;
    }

    .service-panels {
        width: 100%;
        max-width: 100%;
    }

    .service-panel {
        padding: 40px 20px 60px;
    }

    .service-panel-visual {
        width: calc(100% + 20px);
        margin-right: -20px;
        margin-left: 0;
        border-radius: 16px 0 0 16px;
    }

    .service-panel-ttl {
        font-size: clamp(40px, 12vw, 60px);
    }

    .service-side-ttl-en {
        font-size: clamp(50px, 15vw, 75px);
    }

    .service-panel-txts {
        width: 100%;
    }
}

/* ===== Company + News Section ===== */
#company {
    position: relative;
    z-index: 11;
    padding: 0;
    clip-path: inset(0);
}

#company::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../image/top/CNbg.jpg') center center / cover no-repeat;
    z-index: -1;
    will-change: transform;
}

#company::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 6, 20, 0.82);
    z-index: 0;
    pointer-events: none;
}

.cn-bg {
    display: none;
}

.cn-overlay {
    display: none;
}

.company-inner,
.news-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.company-inner {
    padding-top: clamp(120px, 18vh, 220px);
    padding-bottom: clamp(60px, 8vh, 100px);
}

.news-inner {
    padding-top: clamp(60px, 8vh, 100px);
    padding-bottom: clamp(120px, 18vh, 220px);
}

/* company-info: 左写真 + 右テーブル */
.company-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: clamp(32px, 4vw, 60px);
    align-items: center;
}

.company-info-intro {
    flex-shrink: 0;
    width: 400px;
    max-width: 36%;
    box-shadow: 8px 8px 20px rgba(0,0,0,0.08);
}

.company-info-intro img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.company-info-detail {
    flex: 1;
    min-width: 0;
    padding-top: 9px;
}

.company-detail-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #0e0e0e;
}

.company-detail-table tbody tr {
    border-bottom: 1px solid #0e0e0e;
}

.company-detail-table tbody tr td {
    padding: 25px 0;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.05em;
}

.company-detail-table tbody tr td:first-child {
    width: 140px;
}

.company-detail-ttl {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0e0e0e;
}

.company-detail-txt {
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: #0e0e0e;
}

.company-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-detail-list li {
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: #0e0e0e;
    position: relative;
    padding-left: 20px;
}

.company-detail-list li + li { margin-top: 4px; }

.company-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background-color: #7c3aed;
}

@media (max-width: 768px) {
    .company-info { flex-direction: column; }
    .company-info-intro { width: 100%; max-width: 100%; margin-top: 0; }
    .company-info-intro img { height: auto; }
    .company-info-detail { padding-top: 0; }
    .company-detail-table tbody tr td:first-child { width: 100px; }
}

.company-heading-wrap {
    margin-bottom: clamp(32px, 5vh, 60px);
}

#company .company-heading-en {
    font-size: clamp(48px, calc(100vw * 120 / 1440), 160px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 8px;
    text-align: center;
}

#company .company-heading-ja {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    margin: 0;
    text-align: center;
}

#company .company-detail-table { border-top-color: rgba(255,255,255,0.2); }
#company .company-detail-table tbody tr { border-bottom-color: rgba(255,255,255,0.2); }
#company .company-detail-ttl { color: rgba(255,255,255,0.5); }
#company .company-detail-txt { color: #fff; }
#company .company-detail-list li { color: #fff; }
#company .company-detail-list li::before { background-color: #a78bfa; }
#company .company-info-intro { box-shadow: 8px 8px 30px rgba(0,0,0,0.4); }

/* News */
.news-layout {
    display: flex;
    gap: clamp(24px, 3vw, 48px);
    align-items: flex-start;
}

.news-side {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.news-side-ttl {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    flex-direction: column;
    gap: 0.3em;
    margin: 0;
}

.news-side-en {
    font-size: max(48px, calc(100vw * 72 / 1440));
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: 0.05em;
    color: #fff;
}

.news-side-ja {
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
}

.news-right {
    flex: 1;
    min-width: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 24px);
    margin-bottom: clamp(24px, 3vh, 40px);
}

.news-empty {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    padding: 40px 0;
}

.news-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-4px);
}

.news-card-img {
    width: 100%;
    padding-top: 62.5%;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
}

.news-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-body { padding: clamp(12px, 2vw, 20px); }

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.news-date {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.45);
}

.news-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 2px 8px;
    border-radius: 2px;
}

.news-title {
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.6;
    color: #fff;
    margin: 0;
    letter-spacing: 0.02em;
}

.news-more-wrap {
    display: flex;
    justify-content: flex-end;
}

.news-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}

.news-more-btn:hover { opacity: 0.6; }

.news-more-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.news-more-btn:hover .news-more-icon { transform: translateX(4px); }

@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .news-layout { flex-direction: row; align-items: flex-start; }
    .news-grid { grid-template-columns: 1fr; }
}

/* ===== Contact Section ===== */
#contact {
    position: relative;
    background: #271a37;
    z-index: 12;
    padding: 0;
    overflow: hidden;
}

/* ライン流れ落ちアニメーション（Codepen: osorina/PQdMOO 参考） */
.contact-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: auto;
    width: 90%;
    pointer-events: none;
    z-index: 0;
}

.contact-line {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.contact-line::after {
    content: '';
    display: block;
    position: absolute;
    height: 15vh;
    width: 100%;
    top: -50%;
    left: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(196,168,255,0.9) 75%, rgba(216,196,255,1) 100%);
    animation: contactLineDrop 7s 0s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

/* 5本: -50%, -25%, 0%, 25%, 50% */
.contact-line:nth-child(1) { margin-left: -50%; }
.contact-line:nth-child(1)::after { animation-delay: 0s; }

.contact-line:nth-child(2) { margin-left: -25%; }
.contact-line:nth-child(2)::after { animation-delay: 2s; }

.contact-line:nth-child(3) { margin-left: 0%; }
.contact-line:nth-child(3)::after { animation-delay: 1s; }

.contact-line:nth-child(4) { margin-left: 25%; }
.contact-line:nth-child(4)::after { animation-delay: 2.5s; }

.contact-line:nth-child(5) { margin-left: 50%; }
.contact-line:nth-child(5)::after { animation-delay: 1.5s; }

@keyframes contactLineDrop {
    0%   { top: -50%; }
    100% { top: 110%; }
}

.contact-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(60px, 8vh, 100px) 20px;
    box-sizing: border-box;
}

.contact-heading-wrap { text-align: center; margin-bottom: clamp(24px, 3vh, 40px); }

/* ステップインジケーター（Codepen: bronsrobin/AJZmJP 準拠） */
.contact-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: clamp(40px, 5vh, 64px);
}

.contact-step {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid transparent;
    border-radius: 50%;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
    font-size: 15px;
    position: relative;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

/* ラベル（data-desc属性から） */
.contact-step::after {
    content: attr(data-desc);
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    transition: color 0.4s ease;
}

/* ステップ間のライン */
.contact-step:nth-child(n+2) {
    margin-left: 80px;
}

.contact-step:nth-child(n+2)::before {
    content: '';
    position: absolute;
    left: -83px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 2px;
    background: rgba(255,255,255,0.15);
    transition: background 0.4s ease;
}

/* アクティブ */
.contact-step.is-active {
    border-color: #a78bfa;
    color: #a78bfa;
    background: rgba(167,139,250,0.1);
}

.contact-step.is-active::after {
    color: #a78bfa;
}

.contact-step.is-active::before {
    background: linear-gradient(to right, #6ee7b7, #a78bfa);
}

/* 完了 */
.contact-step.is-done {
    background-color: #6ee7b7;
    border-color: #6ee7b7;
    color: #1a0533;
    font-size: 0;
}

.contact-step.is-done::after {
    color: #6ee7b7;
}

.contact-step.is-done::before {
    background: #6ee7b7;
}

/* チェックマーク */
.contact-step.is-done .step-check {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.step-check { display: none; }

/* スライダー */
.contact-slider-wrap {
    overflow: hidden;
    width: 100%;
}

.contact-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.contact-slide {
    flex-shrink: 0;
    width: 100%;
}

.contact-heading-en {
    font-size: max(60px, calc(100vw * 90 / 1440));
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 8px;
}

.contact-heading-ja {
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.contact-label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.05em;
}

.contact-required { color: #f87171; margin-left: 2px; }

.contact-input,
.contact-textarea {
    width: 100%;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #0e0e0e;
    outline: none;
    transition: box-shadow 0.2s ease;
    box-sizing: border-box;
}

.contact-input:focus,
.contact-textarea:focus { box-shadow: 0 0 0 3px rgba(167,139,250,0.5); }

.contact-textarea { resize: vertical; min-height: 140px; line-height: 1.7; }

.contact-privacy {
    margin: 24px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.contact-privacy-link {
    color: #a78bfa;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
}

.privacy-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.privacy-modal.is-open { display: flex; }
.privacy-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}
.privacy-modal-content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    width: calc(100% - 40px);
    max-width: 680px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
.privacy-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.4);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s ease;
    z-index: 2;
}
.privacy-modal-close:hover { color: #000; }
.privacy-modal-body {
    overflow-y: auto;
    padding: 48px 40px 40px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.privacy-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #0e0e0e;
    margin: 0 0 20px;
    letter-spacing: 0.05em;
}
.privacy-modal-lead {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 24px;
}
.privacy-modal-body h3 {
    font-size: 13px;
    font-weight: 700;
    color: #0e0e0e;
    margin: 24px 0 6px;
    letter-spacing: 0.05em;
}
.privacy-modal-body p,
.privacy-modal-body ul {
    font-size: 13px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 6px;
}
.privacy-modal-body ul { padding-left: 20px; }
.privacy-modal-body ul li { margin-bottom: 2px; }
.privacy-modal-contact { margin-top: 6px; }
.privacy-modal-date {
    margin-top: 28px;
    color: #999 !important;
    font-size: 12px !important;
}
@media (max-width: 768px) {
    .privacy-modal-body { padding: 48px 24px 32px; }
}

.contact-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.contact-checkbox { width: 16px; height: 16px; flex-shrink: 0; accent-color: #7c3aed; }

.contact-error {
    background: rgba(248,113,113,0.15);
    border: 1px solid rgba(248,113,113,0.4);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #fca5a5;
    margin-bottom: 16px;
}

.contact-btn-wrap { display: flex; justify-content: center; margin-top: 32px; }
.contact-btn-wrap--two { gap: 16px; }

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 16px 40px;
    background: #7c3aed;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-btn:hover { background: #6d28d9; transform: translateY(-2px); }

.contact-btn--back {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
}

.contact-btn--back:hover { background: rgba(255,255,255,0.08); }

.contact-confirm-table { border-top: 1px solid rgba(255,255,255,0.15); margin-bottom: 8px; }

.contact-confirm-row {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.contact-confirm-label {
    flex-shrink: 0;
    width: 140px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}

.contact-confirm-value { font-size: 15px; color: #fff; line-height: 1.7; white-space: pre-wrap; }

.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.contact-modal.is-open { display: flex; }
.contact-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }

.contact-modal-content {
    position: relative;
    z-index: 1;
    background: #271a37;
    border: 1px solid rgba(167,139,250,0.3);
    border-radius: 16px;
    padding: clamp(40px, 6vh, 64px) clamp(32px, 5vw, 64px);
    text-align: center;
    max-width: 480px;
    width: calc(100% - 40px);
}

.contact-modal-icon { font-size: 48px; color: #a78bfa; margin: 0 0 16px; }
.contact-modal-title { font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.contact-modal-text { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.7); margin: 0 0 32px; }
.contact-modal-close { margin-top: 0; }

@media (max-width: 768px) {
    .contact-row { grid-template-columns: 1fr; }
    .contact-confirm-row { flex-direction: column; gap: 6px; }
    .contact-confirm-label { width: auto; }
}

/* ===== Footer ===== */
#footer {
    background: #fff;
    border-top: 1px solid rgba(14,14,14,0.08);
    z-index: 13;
    position: relative;
}

.footer-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(40px, 6vh, 64px) 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo .site-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo-main {
    font-size: 20px;
    font-weight: 700;
    color: #0e0e0e;
    line-height: 1.2;
}

.footer-logo .logo-sub {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #0e0e0e;
    margin-top: 2px;
}

.footer-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0e0e0e;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}

.footer-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #0e0e0e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-nav ul li a:hover::after {
    transform: scaleX(1);
}

.footer-copyright {
    font-size: 11px;
    color: rgba(14,14,14,0.4);
    letter-spacing: 0.05em;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }
}


/* ================================================================
   INNER PAGES — MV / Archive / Single
   ================================================================ */


/* ---- Inner Main共通 ---- */

/* 下層ページ（lh-outerがある）ではPC幅でもscroll-hamburgerを表示 */
body:has(.lh-outer) .scroll-hamburger {
    display: none;
    position: fixed;
    top: 32px;
    right: 20px;
    z-index: 200;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
body:has(.lh-outer) .scroll-hamburger i {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    flex-shrink: 0;
}
body:has(.lh-outer) .scroll-hamburger.is-visible {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}
.inner-main {
    padding: clamp(60px, 8vh, 100px) 0 clamp(80px, 12vh, 140px);
}

.inner-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

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

/* ---- News Archive ---- */
.news-archive-section {
    width: 100%;
}

.news-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-archive-item {
    border-bottom: 1px solid rgba(14, 14, 14, 0.1);
}

.news-archive-item:first-child {
    border-top: 1px solid rgba(14, 14, 14, 0.1);
}

.news-archive-link {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(20px, 3vh, 32px) 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.news-archive-link:hover { opacity: 0.65; }

.news-archive-thumb {
    flex-shrink: 0;
    width: clamp(100px, 18vw, 200px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #e8e8e8;
}

.news-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-archive-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e4f0, #d8d0e8);
}

.news-archive-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.news-archive-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-archive-date {
    font-size: 13px;
    color: #888;
    letter-spacing: 0.05em;
}

.news-archive-cat {
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.news-archive-title {
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 700;
    line-height: 1.5;
    color: #0e0e0e;
    margin: 0;
}

.news-archive-excerpt {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.news-archive-empty {
    text-align: center;
    color: #888;
    padding: 1200px 40px;
    background: #f3f4f6;
    border-radius: 12px;
    font-size: 16px;
}

/* ページネーション */
.news-archive-pagination {
    margin-top: clamp(40px, 6vh, 64px);
    display: flex;
    justify-content: center;
}

.news-archive-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.news-archive-pagination .page-numbers li a,
.news-archive-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(14, 14, 14, 0.15);
    border-radius: 8px;
    font-size: 14px;
    color: #0e0e0e;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-archive-pagination .page-numbers li a:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
}

.news-archive-pagination .page-numbers li span.current {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
}

@media (max-width: 640px) {
    .news-archive-link { flex-direction: column; }
    .news-archive-thumb { width: 100%; }
}

/* ---- News Single ---- */
.news-single {
    max-width: 800px;
    margin: 0 auto;
}

.news-single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.news-single-date {
    font-size: 13px;
    color: #888;
    letter-spacing: 0.05em;
}

.news-single-cat {
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
    padding: 2px 10px;
    border-radius: 20px;
}

.news-single-title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #0e0e0e;
    margin: 0 0 clamp(32px, 5vh, 56px);
    padding-bottom: clamp(24px, 3vh, 40px);
    border-bottom: 1px solid rgba(14, 14, 14, 0.1);
}

.news-single-thumb {
    margin-bottom: clamp(32px, 5vh, 56px);
    border-radius: 12px;
    overflow: hidden;
}

.news-single-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.news-single-content {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.9;
    color: #333;
}

.news-single-content h2 { font-size: 1.4em; font-weight: 700; margin: 2em 0 0.8em; color: #0e0e0e; }
.news-single-content h3 { font-size: 1.2em; font-weight: 700; margin: 1.8em 0 0.6em; color: #0e0e0e; }
.news-single-content p  { margin: 0 0 1.4em; }
.news-single-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5em 0; }
.news-single-content ul, .news-single-content ol { padding-left: 1.5em; margin: 0 0 1.4em; }
.news-single-content li { margin-bottom: 0.4em; }
.news-single-content a  { color: #7c3aed; text-decoration: underline; }

/* 前後ナビ */
.news-single-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: clamp(48px, 8vh, 80px);
    padding-top: clamp(32px, 5vh, 48px);
    border-top: 1px solid rgba(14, 14, 14, 0.1);
}

.news-single-nav-prev,
.news-single-nav-next {
    flex: 1;
    max-width: 48%;
}

.news-single-nav-next {
    text-align: right;
}

.news-single-nav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.news-single-nav a:hover { opacity: 0.65; }

.news-single-nav .nav-label {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.05em;
}

.news-single-nav .nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #0e0e0e;
    line-height: 1.4;
}

/* 一覧へ戻る */
.news-single-back {
    margin-top: clamp(32px, 5vh, 48px);
    text-align: center;
}

.news-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.2s ease;
}

.news-back-btn:hover { opacity: 0.65; }

/* news-card にリンクラップ追加 */
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ================================================================
   l-header（下層ページ用MV）
   ================================================================ */

.lh-outer {
    padding: 20px;
    background: #0e0e0e;
}

.lh-mv {
    width: 100%;
    height: 520px;
    border-radius: var(--r);
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #F9F7F5, #dfdbe6);
}

/* 背景画像 */
.lh-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* オーバーレイ */
.lh-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 6, 20, 0.55);
    z-index: 1;
}

/* ロゴ */
.lh-logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: var(--c-bg);
    height: 80px;
    width: 230px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: var(--r);
}

.lh-corner-tr {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    top: 0;
    right: calc(-1 * var(--r));
    background: url('../image/top/CircleLeft.png') no-repeat 0 0 / var(--r);
}

.lh-corner-bl {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    bottom: calc(-1 * var(--r));
    left: 0;
    background: url('../image/top/CircleLeft.png') no-repeat 0 0 / var(--r);
}

/* PCナビ */
.lh-nav {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    height: 80px;
    display: flex;
    align-items: center;
}

.lh-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lh-nav ul li a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.lh-nav ul li a::before {
    content: '●';
    font-size: 6px;
    color: #fff;
    line-height: 1;
}

.lh-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.lh-nav ul li a:hover::after { transform: scaleX(1); }

/* ページタイトル */
.lh-ttl-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.lh-ttl-en {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(to bottom, #F9F7F5, #dfdbe6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 0;
}

.lh-ttl-ja {
    font-size: clamp(13px, 1.5vw, 18px);
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* コンタクトボタン / ハンバーガー */
.lh-contact {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background: var(--c-bg);
    height: 80px;
    width: 230px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: var(--r);
}

.lh-contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    padding-bottom: 2px;
}

.lh-contact-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.lh-contact-btn:hover::after { transform: scaleX(1); }

.lh-contact-corner-tl {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    top: 0;
    left: calc(-1 * var(--r));
    background: url('../image/top/CircleRight.png') no-repeat 0 0 / var(--r);
}

.lh-contact-corner-br {
    display: block;
    width: var(--r);
    height: var(--r);
    position: absolute;
    bottom: calc(-1 * var(--r));
    right: 0;
    background: url('../image/top/CircleRight.png') no-repeat 0 0 / var(--r);
}

/* SPフルスクリーンメニュー */
.lh-sp-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #fff;
    border-radius: 0;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow: hidden;
}

.lh-sp-menu.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.lh-sp-menu-logo {
    display: flex;
    align-items: center;
}

.lh-sp-menu-logo .site-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lh-sp-menu-logo .logo-main,
.lh-sp-menu-logo .logo-sub { color: #0e0e0e; }

.lh-sp-menu-nav {
    flex: 0 0 20%;
    background: #3d3744;
    padding: 20px 24px 0;
    display: flex;
    flex-direction: column;
    border-radius: 20px 20px 0 0;
}

.lh-sp-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex: 1;
}

.lh-sp-menu-nav ul li { border: none; padding: 0 8px; }
.lh-sp-menu-nav ul li:nth-child(odd) { border: none; padding-left: 0; }
.lh-sp-menu-nav ul li:nth-child(even) { padding-right: 0; }
.lh-sp-menu-nav ul li:nth-last-child(-n+2) { border-bottom: none; }

.lh-sp-menu-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 0;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.lh-sp-menu.is-open .lh-sp-menu-item { opacity: 1; transform: translateY(0); }
.lh-sp-menu.is-open .lh-sp-menu-nav li:nth-child(1) .lh-sp-menu-item { transition-delay: 0.1s; }
.lh-sp-menu.is-open .lh-sp-menu-nav li:nth-child(2) .lh-sp-menu-item { transition-delay: 0.15s; }
.lh-sp-menu.is-open .lh-sp-menu-nav li:nth-child(3) .lh-sp-menu-item { transition-delay: 0.2s; }
.lh-sp-menu.is-open .lh-sp-menu-nav li:nth-child(4) .lh-sp-menu-item { transition-delay: 0.25s; }

/* lh-contact の is-open 状態 */
.lh-contact.is-open { z-index: 101; background: transparent; }
.lh-contact.is-open .lh-contact-corner-tl,
.lh-contact.is-open .lh-contact-corner-br { display: none; }
.lh-contact.is-open .hamburger-line { background: #3d3744; }
.lh-contact.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lh-contact.is-open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lh-contact.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 1024px以下 */
@media (max-width: 1024px) {
    .lh-nav { display: none !important; }
    .lh-contact-btn { display: none !important; }
    #hamburger-btn { display: flex; }
    .lh-logo {
        height: 60px;
        width: 160px;
    }
    .lh-contact {
        width: 80px;
        padding: 0;
        border-bottom-left-radius: var(--r);
    }
    .lh-sp-menu { display: flex; }
}

@media (max-width: 768px) {
    .lh-mv { height: 260px; }
}
