/* iPE Website - Common Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF4500;
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --border-orange: #FF4500;
    --line-pattern-color: #FF4500;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-orange);
}

/* Background Line Pattern */
.bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 69, 0, 0.1) 2px,
        rgba(255, 69, 0, 0.1) 4px
    );
}

/* Container */
.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 15%;
    height: 100vw;

    padding: 25px 30px;
    background: transparent;
    z-index: 1000;
    pointer-events: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    color: var(--primary-orange);
    letter-spacing: 2px;
    pointer-events: auto;
}

.header-logo {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1000;
    pointer-events: auto;
}

.header-logo img {
    height: 30px;
    width: auto;
    display: block;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    pointer-events: auto;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--primary-orange);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Side Navigation */
#nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    transition: left 0.4s ease;
    z-index: 999;
    padding: 120px 0 40px;
    border-right: 1px solid rgba(255, 69, 0, 0.3);
    pointer-events: auto;
}

#nav.active {
    left: 0;
}

#nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
}

#nav ul li {
    border-bottom: 1px solid rgba(255, 69, 0, 0.1);
}

#nav a {
    display: block;
    padding: 20px 40px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#nav a img {
    height: 16px;
    width: auto;
}

#nav a:hover {
    background-color: rgba(255, 69, 0, 0.1);
    padding-left: 50px;
}

.nav__social {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 15px !important;
    margin-top: 30px;
    padding: 20px 40px;
    border-bottom: none !important;
}

.nav__social li {
    list-style: none;
    border-bottom: none !important;
}

.nav__social a {
    display: block;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    transition: opacity 0.3s ease;
}

.nav__social a:hover {
    opacity: 0.7;
    background-color: transparent !important;
    padding-left: 0 !important;
}

.nav__social svg {
    width: 100%;
    height: 100%;
}

.nav__social svg path {
    fill: #ffffff;
}

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

/* Main Content */
main {
    position: relative;
    z-index: 1;
    padding-top: 0;
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 36px;
    color: var(--primary-orange);
    text-align: center;
    /* margin-bottom: 20px; */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title img {
    height: 24px;
    width: auto;
    display: inline-block;
    filter: brightness(0) invert(1);
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: #dfdbd9;
    margin-bottom: 10px;
    padding-bottom: 30px;
    margin-top: 0;
    padding-top: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-orange);
    color: var(--text-white);
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

/* Contact CTA Section */
.contact-cta {
    padding: 60px 0;
    text-align: center;
    background-color: #000000;
}

.contact-cta .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn-large {
    font-size: 18px;
    width: 400px;
    padding: 30px 20px 25px;
    line-height: 1.8;
    color: #000 !important;
    border-radius: 5px !important;
}

.btn-large img {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.btn-large span {
    font-size: 14px;
    font-weight: normal;
}

.btn-line {
    background-color: #06C755 !important;
}

.btn-line:hover {
    background-color: #05b04d !important;
}

.btn-line-img {
    width: 80% !important;
    padding: 15px;
}

.btn:hover {
    background-color: #ff6a33;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background-color: var(--primary-orange);
}

.btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Card Styling */
.card {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #1a1a1a;
}

.card-content {
    padding: 20px;
}

.card-date {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-orange);
}

.card-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
footer {
    position: relative;
    background-color: #000;
    padding: 60px 0 30px;
    margin-top: 30px;
    z-index: 10;
    /* border-top: 1px solid rgba(255, 69, 0, 0.2); */
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-logo {
    width: 100px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-nav {
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
    display: inline-block;
}

.footer-nav a img {
    height: 12px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.footer__social li {
    list-style: none;
}

.footer__social a {
    display: block;
    width: 32px;
    height: 32px;
    transition: opacity 0.3s ease;
}

.footer__social a:hover {
    opacity: 0.7;
}

.footer__social svg {
    width: 100%;
    height: 100%;
}

.footer__social svg path {
    fill: #ffffff;
}

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

.footer-copyright {
    font-size: 12px;
    color: #ffffff;
    padding-top: 30px;
    /* border-top: 1px solid rgba(255, 69, 0, 0.1); */
}

/* LINE Button (Fixed) */
.line-button {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: #06C755;
    color: white;
    padding: 15px 24px;
    border-radius: 20px 0 0 0;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.line-button img {
    width: 180px;
    height: auto;
    display: block;
}

.line-button:hover {
    background-color: #05a847;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 20px 20px;
        left: inherit;
        right: 3vw;
    }

    .header-logo {
        top: 1rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    nav {
        width: 100%;
        /* max-width: 300px; */
    }

    #nav a:hover {
        padding-left: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Contact CTA */
    .contact-cta {
        padding: 60px 0;
    }

    .btn-large {
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
    }

    .btn-large img {
        max-width: 200px;
    }

    .btn-line-img {
        width: 100% !important;
    }

    section {
        padding: 60px 0;
    }

    .line-button {
        bottom: 0;
        right: 0;
        padding: 12px 20px;
        font-size: 12px;
    }

    /* Footer */
    footer {
        padding: 40px 0 70px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer-nav {
        margin-bottom: 20px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .footer-nav a img {
        height: 14px;
    }

    .footer-info {
        font-size: 12px;
        line-height: 1.8;
    }

    .footer-bottom {
        margin-top: 30px;
        font-size: 11px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

.pagination button {
    background-color: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    /* padding: 12px 24px; */
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background-color: var(--primary-orange);
    color: white;
}

.pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 69, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background-color: var(--primary-orange);
    transform: scale(1.2);
}

/* Noise & Glitch Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.05s;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.3"/></svg>');
    background-repeat: repeat;
    mix-blend-mode: multiply;
}

.noise-overlay.active {
    opacity: 0.15;
}

/* Scan Line Effect */
/* Scan line effect removed */

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch-anim 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes glitch-anim {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    10% {
        transform: translate(-2px, 2px);
    }
    20% {
        transform: translate(2px, -2px);
    }
    30% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(2px, -2px);
        filter: hue-rotate(10deg);
    }
    50% {
        transform: translate(-2px, 2px);
    }
    60% {
        transform: translate(2px, -2px);
    }
    70% {
        transform: translate(-2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    90% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(-10deg);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: #ff0000;
    animation: glitch-before 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
    color: #00ffff;
    animation: glitch-after 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-before {
    0%, 100% {
        transform: translate(0);
    }
    33% {
        transform: translate(-2px, 0);
    }
    66% {
        transform: translate(2px, 0);
    }
}

@keyframes glitch-after {
    0%, 100% {
        transform: translate(0);
    }
    33% {
        transform: translate(2px, 0);
    }
    66% {
        transform: translate(-2px, 0);
    }
}

/* Static Noise Animation */
@keyframes noise {
    0%, 100% {
        background-position: 0 0;
    }
    10% {
        background-position: -5% -10%;
    }
    20% {
        background-position: -15% 5%;
    }
    30% {
        background-position: 7% -25%;
    }
    40% {
        background-position: 20% 25%;
    }
    50% {
        background-position: -25% 10%;
    }
    60% {
        background-position: 15% 5%;
    }
    70% {
        background-position: 0 15%;
    }
    80% {
        background-position: 25% 35%;
    }
    90% {
        background-position: -10% 10%;
    }
}

.noise-overlay.active {
    animation: noise 0.2s infinite;
}

/* PC/SP Display Control */
/* PCのみ表示 (SP時は非表示) */
.pc {
    display: block;
}

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

/* SPのみ表示 (PC時は非表示) */
.sp {
    display: none;
}

@media (max-width: 768px) {
    .sp {
        display: block !important;
    }
}

/* ========================================
   下層ページ共通スタイル (Page Header & Glitch Effects)
   ======================================== */

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 5, 0, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 48px;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    position: relative;
}

.page-title img {
    height: 20px;
    width: auto;
    margin: auto;
    position: relative;
    z-index: 2;
    display: inline-block;
    filter: brightness(0) invert(1);
}

.page-subtitle {
    font-size: 16px;
    color: #dfdbd9;
}

/* Hero Copy Background - 下層ページ背景テキスト */
.hero-copy-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.hero-copy-bg img {
    width: 100%;
    height: auto;
    position: relative;
}

/* Glitch layers for hero-copy - コピー02グリッチ (Heartbeat) */
.hero-copy-bg::before,
.hero-copy-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/top/hero_copy01.svg?v=20251030');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.hero-copy-bg::before {
    z-index: 2;
    animation: heroCopy02Glitch1 2.5s step-end infinite;
}

.hero-copy-bg::after {
    z-index: 3;
    animation: heroCopy02Glitch2 2.5s step-end infinite;
}

/* Glitch with heartbeat rhythm - Red channel - 頻度増加版 */
@keyframes heroCopy02Glitch1 {
    0%, 100% { opacity: 0; }
    4% { opacity: 0.8; transform: translate(-10px, 2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.4); }
    4.2% { opacity: 0; }
    8% { opacity: 0.9; transform: translate(12px, -2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.5); }
    8.3% { opacity: 0; }
    20% { opacity: 0.8; transform: translate(-10px, 2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.4); }
    20.2% { opacity: 0; }
    24% { opacity: 0.9; transform: translate(12px, -2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.5); }
    24.3% { opacity: 0; }
    40% { opacity: 0.8; transform: translate(-10px, 2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.4); }
    40.2% { opacity: 0; }
    44% { opacity: 0.9; transform: translate(12px, -2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.5); }
    44.3% { opacity: 0; }
    60% { opacity: 0.8; transform: translate(-10px, 2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.4); }
    60.2% { opacity: 0; }
    64% { opacity: 0.9; transform: translate(12px, -2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.5); }
    64.3% { opacity: 0; }
    80% { opacity: 0.8; transform: translate(-10px, 2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.4); }
    80.2% { opacity: 0; }
    84% { opacity: 0.9; transform: translate(12px, -2px); filter: sepia(1) saturate(10) hue-rotate(-50deg) brightness(1.5); }
    84.3% { opacity: 0; }
}

/* Glitch with heartbeat rhythm - Cyan channel - 頻度増加版 */
@keyframes heroCopy02Glitch2 {
    0%, 100% { opacity: 0; }
    4.1% { opacity: 0.8; transform: translate(9px, -2px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.4); }
    4.3% { opacity: 0; }
    8.1% { opacity: 0.9; transform: translate(-11px, 3px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.5); }
    8.4% { opacity: 0; }
    20.1% { opacity: 0.8; transform: translate(9px, -2px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.4); }
    20.3% { opacity: 0; }
    24.1% { opacity: 0.9; transform: translate(-11px, 3px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.5); }
    24.4% { opacity: 0; }
    40.1% { opacity: 0.8; transform: translate(9px, -2px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.4); }
    40.3% { opacity: 0; }
    44.1% { opacity: 0.9; transform: translate(-11px, 3px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.5); }
    44.4% { opacity: 0; }
    60.1% { opacity: 0.8; transform: translate(9px, -2px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.4); }
    60.3% { opacity: 0; }
    64.1% { opacity: 0.9; transform: translate(-11px, 3px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.5); }
    64.4% { opacity: 0; }
    80.1% { opacity: 0.8; transform: translate(9px, -2px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.4); }
    80.3% { opacity: 0; }
    84.1% { opacity: 0.9; transform: translate(-11px, 3px); filter: sepia(1) saturate(10) hue-rotate(120deg) brightness(1.5); }
    84.4% { opacity: 0; }
}

/* Page Title Glitch Effect */
.page-title::before,
.page-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: auto;
    height: 20px;
    background-image: url('../img/common/title_01_01.svg?v=20251030');
    background-size: auto 20px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    pointer-events: none;
}

.page-title::before {
    animation: page-title-glitch-1 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite both;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(7471%) hue-rotate(346deg) brightness(101%) contrast(107%);
    mix-blend-mode: screen;
    z-index: 1;
}

.page-title::after {
    animation: page-title-glitch-2 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite reverse both;
    filter: brightness(0) saturate(100%) invert(84%) sepia(87%) saturate(2686%) hue-rotate(140deg) brightness(103%) contrast(101%);
    mix-blend-mode: screen;
    z-index: 1;
}

@keyframes page-title-glitch-1 {
    0% { opacity: 0; transform: translate(0, 0); }
    2% { opacity: 0.8; transform: translate(-2px, 3px); }
    4% { opacity: 0.8; transform: translate(-2px, -3px); }
    6% { opacity: 0.8; transform: translate(2px, 2px); }
    8% { opacity: 0; transform: translate(0, 0); }
    10% { opacity: 0.8; transform: translate(3px, -2px); }
    12% { opacity: 0; transform: translate(0, 0); }
    14% { opacity: 0.8; transform: translate(-1px, 4px); }
    16% { opacity: 0; transform: translate(0, 0); }
    18% { opacity: 0.8; transform: translate(-3px, -3px); }
    20% { opacity: 0; transform: translate(0, 0); }
    22% { opacity: 0.8; transform: translate(2px, -2px); }
    24%, 100% { opacity: 0; transform: translate(0, 0); }
}

@keyframes page-title-glitch-2 {
    0% { opacity: 0; transform: translate(0, 0); }
    2% { opacity: 0.7; transform: translate(2px, -3px); }
    4% { opacity: 0.7; transform: translate(2px, 3px); }
    6% { opacity: 0.7; transform: translate(-1px, -2px); }
    8% { opacity: 0; transform: translate(0, 0); }
    10% { opacity: 0.7; transform: translate(-3px, 2px); }
    12% { opacity: 0; transform: translate(0, 0); }
    14% { opacity: 0.7; transform: translate(1px, -3px); }
    16% { opacity: 0; transform: translate(0, 0); }
    18% { opacity: 0.7; transform: translate(3px, 3px); }
    20% { opacity: 0; transform: translate(0, 0); }
    22% { opacity: 0.7; transform: translate(-2px, 2px); }
    24%, 100% { opacity: 0; transform: translate(0, 0); }
}

/* 下層ページ レスポンシブ */
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
        margin-bottom: 0;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .hero-copy-bg {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        width: 30vw;
        transition: none;
    }

    .hero-copy-bg::before,
    .hero-copy-bg::after {
        background-image: url('../img/top/hero_copy01_sp.svg?v=20251030');
        background-size: 100% auto;
    }
}
