@charset "UTF-8";

/* --- 1. Variables & Reset --- */
:root {
    --bg-main: #050505;
    --bg-sec: #0a0a0a;
    --bg-white: #f5f3f0;
    --bg-purple: #3a2a4b;
    --text-white: #e5e5e5;
    --text-black: #111111;
    --text-gray: #888888;
    --accent-gold: #bfa57d;
    --font-serif: 'Cinzel', serif;
    --font-jp: 'Noto Serif JP', serif;
    --font-tech: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-jp);
    font-size: 18px;
    line-height: 2;
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 840px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* --- Language Toggle Visibility (Refined 2) --- */

/* 
   Strategy: ONLY apply display:none when we want to HIDE.
   Do NOT apply any display property when we want to SHOW (let it loop back to default).
*/

/* 1. Hide EN if body is NOT .lang-en (Default / JP mode) */
/* 1. Standard Toggle: Show only one language at a time */
body:not(.lang-en) .lang-en {
    display: none !important;
}

body.lang-en .lang-jp {
    display: none !important;
}

/* 2. Supplementary English: Show EN without hiding JP */
/* 
   To use this:
   - Do NOT put .lang-jp on the Japanese element
   - Put .lang-en on the English element
*/

/* 3. Ensure writing mode is reset for English text in vertical containers */
body.lang-en .vertical-text-en,
body.lang-en .vertical-jp-text .lang-en,
body.lang-en .design-text .lang-en {
    /* English text should be horizontal even inside vertical containers */
    writing-mode: vertical-rl;
    /* Use vertical for the hints to keep aesthetic */
    display: inline-block;
}

/* Specific overrides for inline elements if needed, can be added to individual sections */

/* --- 2. Utilities --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5vw;
    width: 100%;
}

.fade-up {
    animation: fadeIn Up 1s forwards;
}

.section-label {
    font-family: var(--font-serif);
    color: var(--accent-gold);
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

/* --- 3. Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: transparent;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 80px;
    padding: 0 20px;
    /* 4vwから固定20pxに変更して左端の位置を固定 */
    position: relative;
}

.header-bg-svg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    /* 上下中央に配置 */
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: fill;
    pointer-events: none;
}

.header-logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.header-logo-svg {
    height: clamp(40px, 5vw, 60px);
    /* 1.3倍程度の拡大を考慮しつつサイズ調整 */
    width: auto;
    display: block;
}

/* --- Cyber Menu Toggle --- */
.menu-wrapper {
    position: relative;
    z-index: 3000;
    /* 回路装飾(2000)よりも前面に配置 */
}

.menu-toggle {
    background: transparent;
    border: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    padding-right: 15px;
    z-index: 1100;
    /* パネル(1050)よりも前面に配置 */
}

.bar {
    display: block;
    height: 2px;
    background: #fff;
    transition: 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    transform: skewX(-20deg);
}

.bar-1 {
    width: 35px;
}

.bar-2 {
    width: 25px;
}

.menu-toggle:hover .bar {
    background: #00f3ff;
    /* Neon cyan */
    box-shadow: 0 0 10px #00f3ff;
}

.menu-wrapper.is-active .bar-1 {
    width: 35px;
    transform: translateY(5px) rotate(45deg) skewX(0);
}

.menu-wrapper.is-active .bar-2 {
    width: 35px;
    transform: translateY(-5px) rotate(-45deg) skewX(0);
}

/* --- Cyber Navigation Panel --- */
.cyber-nav {
    position: fixed;
    top: 0;
    right: -350px;
    /* 初期状態は画面外（右） */
    width: 350px;
    height: 70vh;
    /* Adjustment to 70% of screen height */
    overflow-y: auto;
    /* Scroll if content exceeds */
    visibility: hidden;
    opacity: 0;
    transition: 0.5s cubic-bezier(0.8, 0, 0.2, 1);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 100px;
    padding-left: 40px;
    z-index: 1050;
    /* ボタン(1100)より下に配置して、ボタンをクリック可能にする */
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.cyber-nav.is-open {
    visibility: visible;
    opacity: 1;
    right: 0;
    /* 画面内にスライドイン */
}

.nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(0, 243, 255, 0.3);
    z-index: -1;
}

/* Backdrop for clicking outside to close */
.menu-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1000;
    /* Behind nav (1050) and toggle (1100) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Activated by JS on menu open */
.menu-wrapper.is-active .menu-backdrop {
    opacity: 1;
    visibility: visible;
}

/* Scanline Effect */
.nav-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    opacity: 0.3;
}

.nav-content {
    text-align: left;
    width: 100%;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-item {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.5s;
}

.cyber-nav.is-open .nav-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stunning stagger delays */
.cyber-nav.is-open .nav-item:nth-child(1) {
    transition-delay: 0.1s;
}

.cyber-nav.is-open .nav-item:nth-child(2) {
    transition-delay: 0.2s;
}

.cyber-nav.is-open .nav-item:nth-child(3) {
    transition-delay: 0.3s;
}

.cyber-nav.is-open .nav-item:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    font-family: var(--font-tech);
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

.nav-num {
    font-size: 1.6rem;
    color: #00f3ff;
    opacity: 0.6;
}

.nav-text {
    font-size: 1.8rem;
    letter-spacing: 0.2rem;
    font-weight: 700;
}

.nav-link:hover {
    color: #00f3ff;
    text-shadow: 0 0 10px #00f3ff;
    transform: translateX(5px);
}

.nav-socials {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    margin-top: 30px;
    font-size: 1.2rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-socials .lang-switch {
    margin-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch span {
    cursor: pointer;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 4px 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 1px;
}

.lang-switch span:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.lang-switch span.active {
    color: #00f3ff;
    border: 1px solid rgba(0, 243, 255, 0.5);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2), inset 0 0 5px rgba(0, 243, 255, 0.1);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.8);
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-text {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   4. Hero Section - Base Styles (PC)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    /* 100vhから少し増やして下端に余白を作成 */
    width: 100%;
    overflow: hidden;
    background: #000;
    padding: 0;
}

.hero-bg-video {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, #000 100%);
}

.hero-content {
    position: absolute;
    top: 0;
    z-index: 10;
    height: 100vh;
    width: 100%;
}

/* --- Hero Elements --- */

/* センターロゴグループ */
.hero-center-design {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85vw;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.hero-main-logo {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/* ライン装飾 (最前面) */
div.hero-line-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    max-width: 400px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.8;
}

/* Weaving the Ghost */
.hero-left-design {
    position: absolute;
    top: 45%;
    right: 40px;
    transform: translateY(-50%);
    width: clamp(80px, 8vw, 120px);
    z-index: 15;
    opacity: 0.7;
    pointer-events: none;
}

.hero-left-design img.weaving_the_ghost {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    left: 0;
}

/* 大型PC (1440px以上) でのWeavingロゴの被り解消 */
@media (min-width: 1440px) {
    .hero-left-design {
        width: clamp(80px, 6vw, 100px);
        /* 最大サイズを100pxに抑え、割合も6vwに縮小 */
        top: 40%;
        /* 45%から上に引き上げて下のラインから逃がす */
    }
}

/* 3本ライン装飾 (下部) */
.hero-three-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.8;
}

.hero-three-line img,
img.three_line_asset {
    width: 100%;
    height: auto;
}

/* ヒーロー下端の切り抜き装飾 */
.hero-bottom-cutout {
    position: absolute;
    bottom: -3px;
    right: 0;
    width: clamp(200px, 40%, 600px);
    height: 45px;
    background: var(--bg-white);
    /* 左側が斜めのポリゴン */
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 12;
}

/* 3本線アセット専用CSS - 切り抜き部分に接続 */
.hero-three-line-decor {
    position: absolute;
    bottom: -5%;
    left: 55%;
    /* 切り抜きの斜辺付近に合わせる */
    width: clamp(250px, 40vw, 1000px);
    z-index: 11;
    pointer-events: none;
    opacity: 0.9;

}

.hero-three-line-decor img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Hero Section - Responsive
   ========================================================================== */

/* 大型タブレット / 小型PC (1024px以下) */
@media (max-width: 1024px) {
    .hero-left-design {
        top: 50%;
        right: 40px;
        width: clamp(80px, 8vw, 120px);
    }

    .hero-left-design img.weaving_the_ghost {
        width: 100%;
    }

    div.hero-line-decor {
        top: 3%;
        left: 5%;
        width: 60%;
    }

    .hero-main-logo {
        width: 160%;
        top: 0;
        left: 0;
    }

    .hero-three-line-decor {
        left: 45%;
        width: 50%;
        bottom: -5%;
    }
}

/* 標準タブレット (768px以下) */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
    }

    .hero-bg-video {
        position: absolute;
        height: 100%;
        left: 50%;
        width: 100%;
        transform: translateX(-50%);
    }

    .hero-content {
        position: absolute;
        /* stickyから変更して配置を安定させる */
        top: 0;
        height: 100vh;
    }

    .hero-center-design {
        top: 50%;
        width: 100vw;
        max-width: none;
    }

    div.hero-line-decor {
        top: 3%;
        left: 3%;
        width: 120%;
    }

    .hero-left-design {
        top: 50%;
        right: 40px;
        transform: translateY(-50%);
        width: 80px;
    }

    .hero-left-design img.weaving_the_ghost {
        width: 100%;
        top: 0;
    }

    .hero-main-logo {
        width: 100%;
        top: 0;
        left: 0;
    }

    .hero-three-line {
        width: 70%;
        bottom: -5%;
        left: 70%;
        transform: translateX(-50%);
    }

    .hero-three-line img {
        width: 90%;
    }

    /* 切り抜き装飾の適用 */
    .hero-bottom-cutout {
        width: 40%;
        /* 60%から40%に縮小して真ん中を超えないように */
        height: 35px;
        bottom: -7px;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
        display: block;
    }

    .hero-three-line-decor {
        left: 45%;
        width: 50%;
        bottom: -5%;
    }
}

/* スマートフォン (480px以下) */
@media (max-width: 480px) {
    div.hero-line-decor {
        top: 5%;
        left: 5%;
        width: 70%;
    }

    .hero-left-design {
        top: 22%;
        right: 40px;
        width: 10%;
    }

    .hero-left-design img.weaving_the_ghost {
        width: 100%;
    }

    .hero-main-logo {
        /* スマホ: 480px以下 */
        width: 100%;
        top: 0;
        left: 0;
    }

    .hero-bottom-cutout {
        width: 45%;
        /* 65%から45%に縮小して中央を避ける */
        height: 30px;
        bottom: -3px;
        clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .hero-three-line-decor {
        left: 43%;
        width: 55%;
        bottom: 0;
    }
}

/* Layout Elements with Dynamic Sizing */
.hero-center-line-top {
    position: absolute;
    top: clamp(15%, 20%, 25%);
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 800px;
}

.hero-center-line-bottom {
    position: absolute;
    bottom: clamp(15%, 20%, 25%);
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 800px;
}

.hero-center-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-center-visual {
    width: 100%;
    z-index: 2;
}

.hero-x-decoration {
    position: absolute;
    width: 120%;
    /* ロゴより一回り大きく */
    z-index: 1;
    opacity: 0.5;
}

.hero-right-visual {
    position: absolute;
    top: 50%;
    right: 3vw;
    transform: translateY(-50%);
    height: 60vh;
    z-index: 5;
}

/* 画面幅が1200px以下の時に右の要素が中央とぶつかるのを防ぐ */
@media (max-width: 1200px) {
    .hero-right-visual {
        opacity: 0.3;
        /* 薄くして視認性を確保 */
        right: 1vw;
    }
}

@media (max-width: 900px) {
    .hero-right-visual {
        display: none;
        /* 重なりを避けるため早めに非表示 */
    }
}

.hero-barcode {
    position: absolute;
    bottom: 0;
    /* 最下端に配置 */
    left: 40px;
    width: clamp(130px, 15.6vw, 195px);
    /* 1.3倍に拡大 (100-150px -> 130-195px) */
    z-index: 10;
    opacity: 0.8;
}

.hero-barcode img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-barcode {
        bottom: 0;
        left: 5vw;
        width: clamp(130px, 30vw, 150px);
        /* モバイルも少し大きめに */
    }
}

.scroll-indicator {
    font-family: var(--font-tech);
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    letter-spacing: 0.2em;
}

/* --- 5. Sections --- */
section {
    padding: clamp(60px, 10vw, 120px) 0;
}

.section-philosophy {
    position: relative;
    background-color: var(--bg-white);
    color: var(--text-black);
    text-align: center;
    overflow: hidden;
}

.ghost-in-the-weave {
    width: 90vw;
    max-width: 1000px;
    margin: 0 auto clamp(40px, 8vw, 80px);
}

.ghost-in-the-weave img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .ghost-in-the-weave {
        width: 100%;
        margin-bottom: 40px;
    }
}

.section-philosophy .text-body {
    text-align: left;
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    color: var(--text-black);
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .section-philosophy .text-body {
        width: 100%;
        max-width: 600px;
        display: block;
        padding: 0 15px;
        font-size: 0.9rem;
    }
}

.section-philosophy .text-body p {
    margin-bottom: 1.75em;
    /* 間隔を調整（3.5emから半分に変更） */
    line-height: 2.4;
}

.section-philosophy .text-body p:last-child {
    margin-bottom: 0;
}

/* --- Philosophy Image Section --- */
.philosophy-image-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* 1200px以上のデスクトップ向けに、右寄せ＆画面端への食い込みを設定 */
@media (min-width: 1200px) {
    .philosophy-image-container {
        width: 95%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: -10vw;
        border-radius: 4px 0 0 4px;
    }
}

.philosophy-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.philosophy-image-container:hover .philosophy-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .philosophy-image-container {
        width: 100%;
        margin: 0 auto;
        /* 中央配置を維持 */
        border-radius: 0;
        margin-right: 0;
    }
}

.philosophy-visual-block {
    display: flex;
    flex-direction: column;
    /* 縦に並べる */
    align-items: center;
    /* 上から画像が食い込んでくるため、コンテンツが被らないように余白を追加 */
    padding-top: 200px;
    /* 中央に */
    gap: 0;
    /* 重なりを制御するためgapを0に */
    position: relative;
}

@media (max-width: 768px) {
    .philosophy-visual-block {
        flex-direction: column;
    }
}

.vertical-text-jp {
    writing-mode: vertical-rl;
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    letter-spacing: 0.5em;
    height: auto;
    min-height: 200px;
    position: relative;
    z-index: 2;
    background: transparent;
}

@media (max-width: 768px) {
    .vertical-text-jp {
        writing-mode: vertical-rl;
        font-size: 2rem;
        letter-spacing: 0.3em;
        line-height: 1.8;
        min-height: 180px;
        /* margin pulled up by container */
        width: fit-content;
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
    }

    .vertical-text-en {
        writing-mode: vertical-rl;
        font-size: 1rem;
        letter-spacing: 0.2em;
        opacity: 0.6;
        margin-right: 15px;
        /* 日本語との間隔 */
        padding-top: 10px;
    }
}

.vertical-text-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    width: fit-content;
    margin: -160px auto 60px;
    /* PC: さらに上に引き上げ、下の余白を確保 */
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .vertical-text-container {
        margin: -120px auto 40px;
        /* Mobile: 同様に引き上げ */
    }
}

.vertical-text-en {
    writing-mode: vertical-rl;
    font-size: 1.3rem;
    /* 少し大きく */
    font-weight: 600;
    /* 太く */
    letter-spacing: 0.35em;
    opacity: 0.9;
    /* 濃く */
    margin-right: clamp(15px, 2vw, 30px);
    font-family: var(--font-tech);
    padding-top: 30px;
    /* 日本語のレイアウトと調整 */
    color: #000;
    /* 黒に変更 */
}

.two_closs_lines {
    width: 100vw;
    /* 幅を広げて余裕を持たせる */
    position: relative;
    left: 40%;
    margin-left: -80vw;
    /* さらに30%ほど左へシフト */
    margin-top: clamp(20px, 5vw, 40px);
    margin-bottom: clamp(20px, 5vw, 40px);
    pointer-events: none;
    overflow: hidden;
}

.two_closs_lines img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .two_closs_lines {
        width: 120vw;
        /* スマホではあえて大きくして迫力を出す */
        left: 0;
        margin-left: -25vw;
        /* 左側への寄せ具合をスマホ向けに最適化 */
        margin-top: -40px;
        /* 上に引き上げる */
        margin-bottom: 20px;
    }
}

/* Footer Responsive */
.site-footer {
    background: #3f2b4f;
    padding: 40px 5vw;
    text-align: center;
}

/* --- Products Section --- */
.section-products {
    background: var(--bg-main);
    padding: 0;
}

.product-showcase-item {
    position: relative;
    padding: 60px 5vw;
    margin-bottom: 40px;
}

.product-frame-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
}

.product-frame-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.product-type-overlay {
    position: absolute;
    top: 20px;
    left: 5vw;
    display: flex;
    flex-direction: column;
    font-family: var(--font-tech);
    color: var(--text-white);
    opacity: 0.7;
}

.design-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.design-number {
    font-size: 1.2rem;
    font-weight: 600;
}

.product-name-vertical {
    font-size: 1.2rem;
    color: var(--text-white);
    padding: 0 5vw;
    margin-bottom: 15px;
}

.product-desc-vertical {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.8;
    padding: 0 5vw;
}

@media (max-width: 768px) {
    .product-showcase-item {
        padding: 40px 20px;
    }

    .product-type-overlay {
        left: 20px;
    }

    .product-name-vertical {
        padding: 0 20px;
    }

    .product-desc-vertical {
        padding: 0 20px;
    }
}

/* --- Side Pattern (Blue Glow) --- */
.side-pattern {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 1;
}

.side-pattern.left {
    left: 0;
    background: linear-gradient(to right, rgba(30, 60, 180, 0.3), transparent);
}

.side-pattern.right {
    right: 0;
    background: linear-gradient(to left, rgba(30, 60, 180, 0.3), transparent);
}

@media (max-width: 768px) {
    .side-pattern {
        width: 30px;
        opacity: 0.5;
    }
}

/* ================================================== */
/* Design Section - Image Pages (01, 02, 03)          */
/* ================================================== */
.design-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--bg-white);
}

/* Design 01 Image Section */
.design-01-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white) !important;

}

/* 斜め切り抜き装飾 - 上端（左側に配置） */
.design-cutout-top {
    position: absolute;
    top: -4px;
    /* 画像トリミングに合わせて再調整 */
    left: 0;
    width: clamp(200px, 40%, 600px);
    height: 30px;
    background: var(--bg-white);
    /* 右側が斜めのポリゴン（ヒーローの逆向き） */
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    z-index: 12;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

/* 斜め切り抜き装飾 - 下端（右側に配置、ヒーローセクションと同じ） */
.design-cutout-bottom {
    position: absolute;
    bottom: -3px;
    right: 0;
    width: clamp(200px, 40%, 600px);
    height: 30px;
    background: var(--bg-white);
    /* 左側が斜めのポリゴン */
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 12;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.design-01-image .vertical-jp-text {
    color: #fff !important;
}

.design-01-image .vertical-jp-text-sub {
    color: #fff !important;
}

.design-01-image .site-side-pattern {
    opacity: 0.6;
}

.design-01-image .design-type-left {
    display: none;
}

/* Design 02 Image Section */
.design-02-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white) !important;
}

.design-02-image .vertical-jp-text {
    color: #fff !important;
}

.design-02-image .vertical-jp-text-sub {
    color: #fff !important;
}

.design-02-image .site-side-pattern {
    opacity: 0.6;
}

.design-02-image .design-type-left {
    display: none;
}

/* Design 03 Image Section */
.design-03-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white) !important;
}

.design-03-image .vertical-jp-text {
    color: #fff !important;
}

.design-03-image .vertical-jp-text-sub {
    color: #fff !important;
}

.design-03-image .site-side-pattern {
    opacity: 0.6;
}

.design-03-image .design-type-left {
    display: none;
}

/* Background Image */
.design-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* === Design 01 (攻殻機動隊) 画像個別設定 === */

/* PC版 (Base) */
.design-bg-image.design-01-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 上端 3px をトリミングして画像の境界線ノイズをさらに除去 */
    clip-path: inset(3px 0 0 0);
    /* 12% center に設定 */
    object-position: 0% 30%;
}

/* === Design 02 (笑い男) 画像個別設定 === */

/* PC版 (Base) */
.design-bg-image.design-02-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ％を小さくして、画像の「上端」を基準にすることで、中身を下にずらす */
    object-position: center 0%;
}

/* === Design 03 (タチコマ) 画像個別設定 === */

/* PC版 (Base) */
.design-bg-image.design-03-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 垂直方向を上（10%）に寄せて、額縁が白い切り欠きに被らないよう下に下げる */
    object-position: center 10%;
}

/* タブレット版 (768px以下) */
@media (max-width: 768px) {
    .design-bg-image.design-02-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 65% center;
        /* 位置調整 */
    }

    .design-bg-image.design-03-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 40% center;
        /* PCでの位置 */
    }

}



@media (max-width: 480px) {
    .design-bg-image.design-01-image img {
        /* 横も縦もセクションいっぱいに広げる */
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        /* 額縁が中央に来るように配置し、上下左右が均等にカットされる */
        object-fit: cover;
        /* 額縁の位置調整: 数値を小さくすると左へ、大きくすると右へ */
        object-position: 12% center;
        transform: none;
    }

    /* 万が一隙間が出た場合に馴染むよう背景色を設定 */
    /* セクションを縦に伸ばすことで、画像がより多く表示され額縁が小さく見える */
    .design-01-image {
        background-color: #1a2538 !important;
        min-height: 80vh;
        /* 数値を大きくすると額縁がさらに小さくなる */
    }

    /* タイポグラフィと額縁が喧嘩しないように調整 */
    .design-01-type-svg {
        height: 45vh !important;
        left: 10% !important;
        bottom: 5% !important;
    }

    /* === Design 02 スマホ版設定 === */
    .design-bg-image.design-02-image img {
        /* 横も縦もセクションいっぱいに広げる */
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        /* 額縁が中央に来るように配置し、上下左右が均等にカットされる */
        object-fit: cover;
        /* 額縁の位置調整: 数値を小さくすると左へ、大きくすると右へ */
        object-position: 50% center;
        transform: none;
    }

    .design-02-image {
        background-color: #1a2538 !important;
        min-height: 80vh;
        /* 数値を変えると画像の大きさ感が変わる */
    }

    .design-02-type-svg {
        height: 45vh !important;
        right: 10% !important;
        bottom: 10% !important;
    }

    /* === Design 03 スマホ版設定 === */
    .design-bg-image.design-03-image img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        object-fit: cover;
        /* 額縁の位置調整: 上下左右が見切れないように調整 */
        object-position: 50% center;
        transform: none;
    }

    .design-03-image {
        background-color: #1a2538 !important;
        min-height: 80vh;
        /* 数値を変えると画像の大きさ感が変わる */
    }

    .design-03-type-svg {
        height: 45vh !important;
        left: 10% !important;
        bottom: 5% !important;
    }
}

/* Corner Circuit Lines */
.design-corner-lines {
    position: absolute;
    width: clamp(100px, 20vw, 250px);
    z-index: 5;
    pointer-events: none;
}

.design-corner-lines.top-right {
    top: 5%;
    right: 5%;
}

.design-corner-lines.bottom-left {
    bottom: 10%;
    left: 5%;
}

.design-corner-lines img {
    width: 100%;
    height: auto;
}

/* Frame Container */
.design-frame-container {
    position: relative;
    z-index: 10;
    max-width: 50%;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 8px solid #2a2a2a;
    background: #1a1a1a;
}

.design-frame-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Design 01 Typography SVG */
.design-01-type-svg {
    position: absolute;
    left: 3%;
    /* アンカーを避けて中央寄りに */
    bottom: 5%;
    z-index: 15;
    height: 88vh;
    width: auto;
}

.design-01-type-svg img {
    height: 100%;
    width: auto;
}

/* Design 02 Typography SVG */
.design-02-type-svg {
    position: absolute;
    left: auto;
    right: 5%;
    /* 右端に配置 */
    bottom: 10%;
    /* さらに2cmほど上に上げる */
    z-index: 15;
    height: 88vh;
    width: auto;
}

.design-02-type-svg img {
    height: 100%;
    width: auto;
}

/* Design 03 Typography SVG */
.design-03-type-svg {
    position: absolute;
    left: 10%;
    /* 中央寄りに移動（2cm程度） */
    bottom: 5%;
    z-index: 15;
    height: 88vh;
    width: auto;
}

.design-03-type-svg img {
    height: 100%;
    width: auto;
}

/* タブレット (768px以下) */
@media (max-width: 768px) {
    .design-01-type-svg {
        left: 7%;
        /* タブレット: 左からの位置 */
        bottom: 5%;
        /* タブレット: 下からの位置 */
        height: 70vh;
        /* タブレット: 高さ */
    }
}

@media (max-width: 768px) {
    .design-frame-container {
        max-width: 85%;
        margin-top: 100px;
    }
}

/* Left Side Typography */
.design-type-left {
    position: absolute;
    left: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.design-label-vertical {
    font-family: var(--font-serif);
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.7);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.design-number-large {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 300;
    color: #fff;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.design-name-vertical {
    font-family: var(--font-serif);
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.9);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.8;
}

/* Right Side Vertical Japanese Text */
/* === Common Design Text Styles === */
.design-text {
    font-family: var(--font-jp);
    font-size: clamp(0.8rem, 1.1vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.1em;
    line-height: 2;
    z-index: 20;
}

/* Right Side Vertical Japanese Text Position */
.design-text-position-01 {
    position: absolute;
    right: 45%;
    top: 70%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

/* 1024px以上でデザイン01・02・03のテキスト位置・サイズ・列数を調整 */
.br-1024 {
    display: none;
}

/* デフォルトでは非表示 */

@media (min-width: 1024px) {
    .br-1024 {
        display: inline;
    }

    /* 1024px以上でのみ改行を有効化 */

    .design-text-position-01 {
        top: 20%;
        /* 40%から20%に引き上げて、下端の切れを解消 */
        transform: none;
        height: 75%;
        /* 高さを少し広げてバランスを調整 */
        right: 30%;
        font-size: 1.2rem;
    }

    .design-text-position-02 {
        top: 10%;
        /* ヘッダー下付近から開始 */
        transform: none;
        /* 中央寄せ解除 */
        height: 88%;
        /* 下端ギリギリ（約1cm手前）まで広げる */
        font-size: 1.2rem;
    }

    .design-text-position-03 {
        top: 40%;
        /* 他のセクションと揃えて40%の位置から開始 */
        transform: none;
        height: 60%;
        font-size: 1.2rem;
    }
}


.vertical-jp-text-sub {
    font-family: var(--font-jp);
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    /* サイズを大きく */
    color: rgba(255, 255, 255, 0.6);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.08em;
}

/* Design 02 - Text Position */
.design-text-position-02 {
    position: absolute;
    right: auto;
    left: 10%;
    /* 左側に配置して中央寄りに */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* Design 03 - Text Position */
.design-text-position-03 {
    position: absolute;
    right: 15%;
    bottom: 10%;
    /* 50%から大幅に上に移動（5cm程度） */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

@media (max-width: 768px) {
    .design-type-left {
        left: 5%;
        top: auto;
        bottom: 15%;
        transform: none;
    }

    .design-number-large {
        font-size: 4rem;
    }

    .design-text-position-01 {
        top: 50%;
        /* 45%からさらに下げて位置を調整 */
        /* 上からの位置 */
        right: 25%;
        /* 右からの位置 */
        transform: none;
        bottom: auto;
    }

    .design-text-position-02 {
        right: auto;
        left: 10%;
        /* モバイルでも左側に */
        top: 50%;
        transform: none;
    }

    .design-text-position-03 {
        top: auto;
        bottom: 15%;
        /* モバイルでも5cmほど上に上げる */
        right: 25%;
        transform: none;
    }
}

/* ================================================== */
/* Concept Section Styles                             */
/* ================================================== */
.design-01-concept,
.design-02-concept,
.design-03-concept {
    background: var(--bg-white);
    color: var(--text-black);
    padding: 80px 12vw;
    /* パディングを増やしてサイドパターンと避ける */
    min-height: auto;
    position: relative;
}

/* Decorative Side Patterns (vertical stripes like in reference) */
.site-side-pattern {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 20;
    /* 1から20に引き上げ、切り抜き装飾(z-index: 12)より上に */
    background-image: url('../assets/svg/anker.svg');
    background-repeat: repeat-y;
    background-size: 100% auto;
    pointer-events: none;
    opacity: 0.3;
}

.site-side-pattern.left {
    left: 15px;
}

.site-side-pattern.right {
    right: 15px;
}

/* 白背景セクションでの視認性調整 */
.design-01-concept .site-side-pattern,
.design-02-concept .site-side-pattern,
.design-03-concept .site-side-pattern {
    opacity: 0.6;
}

/* 特典 */

/* 白背景用（薄い黒） */

.concept-container {
    max-width: 1000px;
    margin: 0 auto;
    /* 中央寄せ */
    text-align: left;
    position: relative;
    z-index: 5;
}

/* Product Image with Frame */
.concept-image-frame {
    max-width: 280px;
    margin: 0 auto 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.concept-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.image-link-container {
    display: block;
    width: 100%;
    transition: opacity 0.3s ease;
}

.image-link-container:hover {
    opacity: 0.8;
}

/* Keep old class for compatibility */
.concept-image-small {
    max-width: 300px;
    margin: 0 auto 40px;
    border: 6px solid #2a2a2a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.concept-image-small img {
    width: 100%;
    height: auto;
    display: block;
}

.concept-title {
    margin-bottom: 40px;
    text-align: center;
    /* タイトルは中央揃え */
}

.concept-title-main {
    display: block;
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: #8b4c70;
    margin-bottom: 10px;
}

.concept-title-ver {
    display: block;
    font-family: var(--font-jp);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: #8b4c70;
}

.concept-description {
    text-align: left;
    display: block;
    max-width: 1000px;
    margin: 0 0%;
    padding: 0 0%;
    color: var(--text-black);
    font-size: 1.4rem;
    line-height: 2.4;
}

@media (max-width: 768px) {
    .concept-description {
        width: 100%;
        padding: 0 15px;
        font-size: 0.9rem;
    }
}

.concept-description p {
    margin-bottom: 1.75em;
}

.concept-description p:last-child {
    margin-bottom: 0;
}

.concept-highlight {
    margin-top: 30px;
    padding-top: 20px;
    /* border-top を削除 */
}

/* Design Point Inline (in Concept sections) */
.design-point-inline {
    margin-top: 50px;
    padding-top: 30px;
    /* border-top を削除 */
    display: flex;
    flex-direction: column;
    /* アイコンを上、リストを下にする */
    align-items: center;
    /* 全体を中央に寄せる */
    gap: 20px;
    background-color: transparent;
}

.design-point-icon {
    width: 280px;
    /* 大幅に拡大して存在感を出す */
    margin: 0 auto 20px;
    /* アイコンを中央に */
}

.design-point-icon img {
    width: 100%;
    height: auto;
    filter: brightness(0.2);
    /* アイコンの色を少し暗くして落ち着かせる */
}

.design-point-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    /* 塊として中央寄せ可能にする */
    text-align: left;
    /* リスト内のテキスト（ハイフン）は左で揃える */
}

.design-point-list li {
    font-family: var(--font-jp);
    font-size: 1.4rem;
    /* PC版 - concept-descriptionと同じ */
    color: #444;
    margin-bottom: 8px;
    line-height: 1.6;
    position: relative;
}

@media (max-width: 768px) {
    .design-point-list li {
        font-size: 0.9rem;
        /* タブレット/スマホ版 - concept-descriptionと同じ */
    }
}

.design-point-list li:last-child {
    margin-bottom: 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .design-point-inline {
        flex-direction: column;
        align-items: flex-start;
        /* 中央寄せを解除して左寄りに */
        text-align: left;
        /* テキスト左揃え */
        gap: 20px;
    }

    .design-point-list {
        text-align: left;
        /* リスト全体を左揃えに */
    }

    .design-point-icon {
        flex: 0 0 60px;
    }
}

/* ================================================== */
/* Cyber Modern Button                                */
/* ================================================== */
.btn-view-more {
    margin-top: 20px;
    /* 間隔を狭める */
    text-align: center;
    /* 中央揃え */
    width: 100%;
    /* 幅いっぱいに */
}

.cyber-modern-btn {
    display: inline-block;
    position: relative;
    padding: 24px 60px;
    /* 1.5x padding (approx) */
    background: linear-gradient(135deg, #8b4c70 0%, #5b3c68 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-modern-btn:hover {
    background: linear-gradient(135deg, #a05d85 0%, #6d4a7a 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 76, 112, 0.4);
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    /* Slightly more gap for larger size */
    position: relative;
    z-index: 2;
}

.btn-text-en {
    font-family: var(--font-tech);
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    /* 1.5x font size */
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.15em;
}

.btn-text-jp {
    font-family: var(--font-jp);
    font-size: clamp(1.0rem, 1.3vw, 1.2rem);
    /* 1.5x font size */
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
}

.btn-glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cyber-modern-btn:hover .btn-glitch-effect {
    opacity: 1;
    animation: glitch 0.3s infinite;
}

/* Mobile shrink back to original/reasonable size */
@media (max-width: 480px) {
    .cyber-modern-btn {
        padding: 16px 32px;
    }

    .btn-text-en {
        font-size: 1.1rem;
    }

    .btn-text-jp {
        font-size: 0.85rem;
    }
}

@keyframes glitch {

    0%,
    100% {
        transform: translate(0);
    }

    33% {
        transform: translate(-2px, 2px);
    }

    66% {
        transform: translate(2px, -2px);
    }
}


/* ================================================== */
/* Design Point Section (Full Page)                   */
/* ================================================== */
.section-design-point {
    background: var(--bg-purple);
    padding: 80px 5vw;
    position: relative;
    min-height: auto;
}

.design-point-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.design-point-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.design-point-features {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.design-point-features li {
    font-family: var(--font-jp);
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ================================================== */
/* Own The Ghost Section                              */
/* ================================================== */
.section-own-the-ghost {
    background-color: var(--bg-white);
    /* 下のセクションと同じオフホワイトに変更 */
    padding: 0px 0;
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    /* セクション間のわずかな隙間（ナゾの線）を消すために1px重ねる */
    min-height: 80vh;
}

.section-own-the-ghost::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-purple);
    z-index: 0;
    /* 折れ曲がりの高さを縮小 (上側のデザインのみ残し、下側はフラットに) */
    clip-path: polygon(0 5%, 30% 5%, 45% 0, 100% 0, 100% 100%, 0 100%);
}

.own-ghost-inner {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    margin-bottom: 10%;
}

/* 画像フレームをセクション間に配置する設定（HTML変更に対応） */
.own-ghost-image-frame {
    position: relative;
    /* absoluteからrelativeに戻してフロー配置で全幅確保 */
    width: 100%;
    /* 横幅いっぱい */
    max-width: 100%;
    margin: 0;
    left: 0;
    right: 0;

    z-index: 0;
    /* アンカー(z-index: 20)より下にする */
    display: block;

    /* 添付画像のような右上がりの鋭角な切り抜き */
    /* clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 30%); */

    /* 影と線を完全に削除 */
    filter: none !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;

    /* 上下のセクションに被さるようにネガティブマージン再設定（飛び出し量） */
    margin-top: 0;
    margin-bottom: 0;
}


.own-ghost-image-frame img {
    width: 100%;
    /* 全幅に合わせる */
    height: auto;
    display: block;
    object-fit: cover;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
    /* 下部25%（4分の1）をカット */
    clip-path: inset(0 0 25% 0);
}

.design-cutout-bottom-2 {
    position: absolute;
    bottom: -3px;
    right: -1px;
    width: calc(40% + 1px);
    height: 31px;
    background-color: var(--bg-purple) !important;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 50;
    opacity: 1 !important;
    border: none !important;
    outline: 1px solid var(--bg-purple) !important;
}

.section-own-the-ghost .site-side-pattern {
    filter: none;
    opacity: 0.6;
    z-index: 100;
    /* コンテンツや画像(z-index: 10)よりも前面に表示 */
}

.own-ghost-title-svg {
    width: 80%;
    max-width: 800px;
    /* PCでの最大サイズを制限しつつ広げる */
    margin: 0% auto 40px;
}

.own-ghost-title-svg img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.own-ghost-description {
    /* PC (Desktop) Setting */
    font-family: var(--font-jp);
    color: #fff;
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    line-height: 2.2;
    margin: 0 auto 60px;
    padding: 0 30px;
    max-width: 68%;
    letter-spacing: 0.15em;
    text-align: left;
    display: block;
}


.own-ghost-actions {
    display: flex;
    flex-direction: row;
    /* PC版では横並び */
    justify-content: center;
    /* 中央寄せ */
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.ghost-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    /* PC版では横並びのため幅を調整 */
    max-width: 400px;
    height: 120px;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* ボタンの端を切る */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%, 0 35%);
}

.ghost-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.ghost-btn img {
    width: 85%;
    /* 画像の幅を親要素の85%に強制 */
    height: auto;
    /* 高さは自動調整 */
    object-fit: contain;
}

@media (max-width: 768px) {
    .own-ghost-inner {
        padding: 0 5vw;
        /* モバイルではパディングを少し減らす */
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        margin-bottom: 10%;
    }

    .own-ghost-description {
        /* Smartphone Setting (768px) */
        width: 100%;
        max-width: 500px;
        margin: 0 auto 40px;
        text-align: left;
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Small Smartphone Setting (480px) */
    @media (max-width: 480px) {
        .own-ghost-description {
            max-width: 350px;
            /* 狭すぎないよう微調整 */
            margin: 0 auto 30px;
        }
    }

    .own-ghost-actions {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .ghost-btn {
        width: 100%;
        /* モバイルで幅いっぱい */
        max-width: 350px;
        /* 上限を緩和 */
        height: 110px;
        /* モバイル用の高さ */
    }

    .own-ghost-image-frame {
        margin-top: 0;
        margin-bottom: 0;
        left: 0;
        /* 左端に寄せる */
        z-index: 0;
        width: 100%;
    }
}

/* ================================================== */
/* Benefits Section                                   */
/* ================================================== */
.section-benefits {
    background: var(--bg-white);
    color: var(--text-black);
    padding: 40px 5vw 100px;
    /* 上部100pxの1/3程度に縮小 */
    position: relative;
    text-align: center;
}

.benefits-certificate {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 60px;
    /* 上のセクション間隔と合わせるため 40px に設定 */
    position: relative;
    overflow: hidden;
    background-color: var(--bg-white);
    z-index: 1;
}

.benefits-certificate img {
    width: 100%;
    height: auto;
    display: block;
    /* 上下1/5（20%）を削り、中央を表示 */
    clip-path: inset(20% 0 20% 0);
    /* 削った分の空白を詰める（表示領域を制限） */
    margin: -15% 0;
}

.benefits-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    .benefits-content {
        max-width: 90%;
        /* padding: 0 10px; */
    }
}

.benefits-title-svg {
    width: 80%;
    margin: 0 auto;
}

.benefits-title-svg img {
    width: 100%;
    height: auto;
}

.benefits-subtitle-main {
    font-family: var(--font-jp);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: #1a1a1a;
    margin-top: 5%;
    margin-bottom: 5%;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.benefits-box {
    text-align: left;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    /* PC Setting */
    margin-bottom: 3%;
}

/* Tablet Setting */
@media (max-width: 1024px) {
    .benefits-box {
        max-width: 500px;
    }
}

.benefits-highlight {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 500;
    color: #000;
    margin-bottom: 3%;
    line-height: 2;
}

.benefits-desc {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: #333;
    margin-bottom: 3%;
    line-height: 2;
}

.benefits-note {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: #555;
    line-height: 1.8;
}

.benefits-logo-row {
    display: flex;
    flex-direction: row;
    /* 常に横並び */
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 5vw, 60px);
    /* 画面サイズに応じて間隔も調整 */
    margin-top: 5%;
}

.logo-item {
    width: clamp(150px, 20vw, 300px);
    /* 画面サイズに応じて150px〜300pxの範囲で拡大 */
    max-width: none;
    /* max-widthを削除してclampで制御 */
}

.logo-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .benefits-certificate {
        clip-path: none;
        width: 100vw;
        /* 画面幅いっぱいに */
        margin-left: -5vw;
        margin-bottom: 40px;
        position: relative;
    }

    .benefits-logo-row {
        flex-direction: row;
        /* モバイルでも横並びを維持 */
        gap: clamp(20px, 4vw, 40px);
        /* モバイル用の間隔 */
    }

    .logo-item {
        width: clamp(120px, 35vw, 200px);
        /* モバイルでのサイズ範囲 */
    }

    .benefits-box {
        max-width: 90%;
        /* Smartphone Setting */
        margin-bottom: 20px;
    }
}



/* 白背景セクションでの視認性調整 */
.section-benefits .site-side-pattern {
    opacity: 0.6;
}

/* ================================================== */
/* Footer                                             */
/* ================================================== */
.site-footer {
    background: var(--bg-purple);
    /* 画像に合わせて紫に変更 */
    color: var(--text-white);
    padding: 40px 5vw 20px;
    position: relative;
    text-align: center;
    margin-top: -30px;
    /* 前のセクションと重ねる */
}

.footer-content {
    max-width: 600px;
    margin: 3% auto 0;
    position: relative;
    z-index: 10;
}

.footer-copyright,
.footer-copyright-en {
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 4vw;
}

.footer-copyright {
    margin-bottom: 0.5em;
}

.footer-copyright-en {
    margin-bottom: clamp(10px, 3vh, 20px);
}

.footer-disclaimer {
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.footer-privacy-policy {
    max-width: 600px;
    margin: 20px auto 0;
    text-align: left;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    padding: 0;
    /* フッターコンテンツの幅に合わせる */
}

.footer-privacy-policy p {
    margin-bottom: 1em;
}

.footer-privacy-policy .privacy-subtitle.main-title {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
    letter-spacing: 0.1em;
    padding-left: 0;
    border-bottom: none;
}

.footer-privacy-policy .privacy-subtitle.main-title::before {
    left: 0;
}

@media (max-width: 480px) {
    .footer-privacy-policy .privacy-subtitle.main-title::before {
        left: 0;
        /* スマホでは左端にリセット */
    }
}

.footer-privacy-policy .privacy-intro {
    text-align: center;
    margin-bottom: 10px;
}

/* アコーディオン要素 */
.privacy-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 5px;
}

.privacy-subtitle {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding: 6px 0 0;
    cursor: pointer;
    position: relative;
    text-align: center;
    padding-left: 0;
    transition: color 0.3s;
    user-select: none;
}

/* 触ったら開くことがわかるアイコン */
.privacy-subtitle::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-tech);
    font-size: 1.1rem;
    opacity: 0.5;
    transition: transform 0.3s, opacity 0.3s;
}

.privacy-subtitle:hover {
    color: rgba(255, 255, 255, 0.9);
}

.privacy-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 20px;
}

/* クリック/アクティブ状態で開く (JS経由) */
.privacy-item.is-active .privacy-content {
    max-height: 500px;
    /* 内容に合わせて少し余裕を持たせる */
    opacity: 1;
    margin-bottom: 15px;
}

.privacy-item.is-active .privacy-subtitle::before {
    transform: translateY(-50%) rotate(45deg);
    opacity: 1;
    color: #00f3ff;
}

/* --- Mobile Specific Shrink --- */
@media (max-width: 480px) {
    .site-footer {
        padding: 20px 5vw 15px;
    }

    .footer-copyright,
    .footer-copyright-en,
    .footer-disclaimer {
        font-size: 0.7rem;
        padding: 0 2vw;
    }

    .footer-copyright-en {
        margin-bottom: 10px;
    }

    .footer-disclaimer {
        margin-bottom: 8px;
    }

    .footer-privacy-policy {
        margin-top: 10px;
        padding: 0 20px;
        font-size: 0.65rem;
    }

    .privacy-subtitle {
        padding: 4px 0 0 15px;
    }

    .privacy-subtitle::before {
        font-size: 0.9rem;
    }

    .privacy-intro,
    .privacy-content p {
        font-size: 0.65rem;
        line-height: 1.6;
    }
}

/* --- Responsive Utility Classes --- */
/* PCでのみ改行し、スマホでは改行を無視する */
.pc-only-br {
    display: inline;
}

/* スマホでのみ改行し、PCでは改行を無視する */
.mobile-only-br {
    display: none;
}

@media (max-width: 540px) {
    .pc-only-br {
        display: none;
    }

    .mobile-only-br {
        display: block;
        content: "";
        margin-top: 0;
    }
}