@charset "UTF-8";

/* ==================================================
   Variables & Reset
   ================================================== */
:root {
    --color-black: #050505;
    --color-dark: #0a0a0a;
    --color-white: #ffffff;
    --color-neon: #a855f7;       /* Neon Purple */
    --color-neon-hover: #9333ea;
    --color-gray-300: #d1d5db;
    --color-gray-500: #6b7280;
    
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    
    --header-height: 64px; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
    width: 100%;
}

::selection {
    background-color: var(--color-neon);
    color: var(--color-white);
}

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

/* ==================================================
   Header (Premium Dark Glass)
   ================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px; 
    z-index: 50;
    background-color: rgba(5, 5, 5, 0.3); 
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-logo {
    height: 40px; 
    width: auto;
    opacity: 0.95; 
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.02);
    opacity: 1;
}

/* Hamburger Button */
.menu-btn {
    position: relative;
    z-index: 60;
    width: 32px; 
    height: 24px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 2px;
    background-color: var(--color-white);
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.menu-btn span:nth-child(1) { width: 100%; }
.menu-btn span:nth-child(2) { width: 66%; }
.menu-btn span:nth-child(3) { width: 100%; }

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}
.menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .site-header {
        padding: 0 20px;
    }
}

/* ==================================================
   Menu Panel
   ================================================== */
.menu-panel {
    position: fixed;
    inset: 0; 
    z-index: 40;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-panel.menu-open {
    transform: translateX(0);
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    width: 100%;
    max-width: 448px;
    padding: 0 24px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    transition: opacity 0.3s;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.highlight {
    opacity: 1;
}

.nav-en {
    font-family: var(--font-sans);
    font-size: 1.875rem; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    transition: color 0.3s;
}

.nav-link:hover .nav-en {
    color: var(--color-neon);
}

.nav-link.highlight .nav-en {
    font-size: 2.25rem; 
    font-weight: 900;
    color: var(--color-neon);
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
}

.nav-jp {
    font-family: var(--font-jp);
    font-size: 0.75rem;
    color: var(--color-gray-500);
    letter-spacing: 0.05em;
}

.nav-link:hover .nav-jp {
    color: var(--color-gray-300);
}

/* ==================================================
   Main Hero Section
   ================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px; 
    padding-bottom: 40px; 
    overflow: hidden;
}

/* ★縦長画面用の上ズレ調整（そのまま維持） */
@media screen and (min-height: 880px) {
    .hero-section {
        padding-bottom: 180px; 
    }
}

/* Background Effects */
.bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* ★修正: 画像をhero-content内に移動したため、ここでの配置指定を変更 */
.bg-image {
    position: absolute;
    /* ボタンの右横あたりに配置するための座標 */
    bottom: -27%;
    right: -32%;
    /* コンテンツ幅に対するサイズ指定 */
    width: 95%;
    max-width: none; /* 親要素からはみ出させる */
    
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: float 6s ease-in-out infinite;
    z-index: -1; /* 文字の裏側に回す */
    pointer-events: none;
}

/* Glow Effects */
.glow-spot-1 {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 24rem; 
    height: 24rem;
    background-color: rgba(168, 85, 247, 0.3);
    border-radius: 9999px;
    filter: blur(120px);
    animation: pulse-slow 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.glow-spot-2 {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: rgba(168, 85, 247, 0.1);
    border-radius: 9999px;
    filter: blur(150px);
    mix-blend-mode: screen;
}

.glow-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(168, 85, 247, 0.2), transparent);
    opacity: 0.5;
}

/* Content Container */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1000px; 
    margin: 0 auto;
    padding: 0 32px;
}

.hero-content {
    /* ★追加: 画像の配置基準にするため relative を指定 */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px; 
}

/* Typography Adjustments */
.copy-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-copy {
    font-family: var(--font-sans); 
    font-weight: 900;
    font-size: 2.00rem; 
    line-height: 1.1; 
    letter-spacing: 0.05em; 
    color: var(--color-white);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.main-copy span {
    display: block;
    margin-bottom: 8px;
    white-space: nowrap;
}

.text-gradient {
    color: transparent;
    background-image: linear-gradient(to right, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
}

.sub-copy-jp {
    font-family: var(--font-sans);
    font-weight: 500; 
    font-size: 1.00rem; 
    line-height: 1.1; 
    color: var(--color-gray-300);
    letter-spacing: 0.05em;
    margin-bottom: 50px;
}

.sub-copy-en {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.75rem; 
    color: var(--color-gray-300);
    letter-spacing: 0.05em;
    border-left: 1px solid var(--color-neon); 
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    margin-bottom: 25px;
}

/* Buttons (Compact & Left Aligned) */
.action-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%; 
    padding-top: 0;
}

.btn-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Common Button Styles (Smaller) */
.btn-secondary,
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px; 
    border-radius: 9999px;
    width: auto; 
    transition: all 0.3s ease;
    font-size: 0.75rem; 
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-secondary span {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    transition: color 0.3s;
}

.arrow-icon {
    margin-left: 8px;
    color: var(--color-neon);
    transition: transform 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-neon);
}

.btn-secondary:hover span {
    color: var(--color-neon);
}

.btn-secondary:hover .arrow-icon {
    transform: translateX(4px);
}

/* Get QR Button */
.btn-primary {
    position: relative;
    background-color: var(--color-neon);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.btn-primary span {
    position: relative;
    z-index: 10;
    font-family: var(--font-sans);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--color-neon-hover);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
    transform: scale(1.02);
}

.btn-primary:hover::after {
    border-color: rgba(255, 255, 255, 0.4);
}

/* ==================================================
   Footer
   ================================================== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    text-align: center;
    z-index: 20;
    background: transparent;
    pointer-events: none;
}

.copyright {
    font-family: var(--font-sans);
    font-size: 0.625rem; 
    font-weight: 500;
    color: rgba(107, 114, 128, 0.8);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ==================================================
   Animations
   ================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(18deg); }
    50% { transform: translateY(-10px) rotate(18deg); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* ==================================================
   Responsive (Tablet/Desktop)
   ================================================== */
@media (min-width: 768px) {
    .site-header { padding: 0 48px; }
    
    /* PC版の画像位置調整 */
    .bg-image {
        width: 80%;
        bottom: -20%;
        right: -30%;
    }
    
    .hero-content {
        width: 60%; 
        gap: 32px; 
    }
    
    .main-copy {
        font-size: 3.5rem; 
    }
    
    .sub-copy-jp {
        font-size: 1rem; 
    }
    
    .sub-copy-jp br {
        display: none;
    }
    
    .action-buttons {
        flex-direction: row;
        width: auto; 
        gap: 20px;
    }
    
    .btn-secondary,
    .btn-primary {
        width: auto; 
        padding: 12px 32px; 
    }
    
    .copyright {
        font-size: 0.75rem; 
    }
}

@media (min-width: 1024px) {
    .main-copy {
        font-size: 4.5rem; 
    }
}
