/* ============================================
   株式会社Miyabee - えぐいデザイン V3
   ============================================ */

:root {
    --color-black: #FFFFFF;
    --color-white: #000000;
    --color-gray: #f5f5f5;
    --color-gray-light: #e5e5e5;
    --color-text: #000000;
    
    /* ネオンカラー（強化版） */
    --color-neon-purple: #A855F7;
    --color-neon-pink: #EC4899;
    --color-neon-blue: #3B82F6;
    #1E90FF: #1E90FF; /* 蛍光グリーン追加 */
    --color-neon-cyan: #00BFFF;
}

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

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background: #FFFFFF;
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(30, 144, 255, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.15), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(135, 206, 235, 0.1), transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}



/* ============================================
   ヘッダー（超シンプル）
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.3));
    transition: transform 0.3s ease;
    background: transparent;
    padding: 10px;
    border-radius: 8px;
}

header .logo:hover {
    transform: scale(1.1);
}

header nav {
    display: flex;
    gap: 40px;
}

header nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    position: relative;
    transition: color 0.3s ease;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1E90FF, #00BFFF);
    transition: width 0.3s ease;
}

header nav a:hover {
    color: #1E90FF;
}

header nav a:hover::after {
    width: 100%;
}

/* ============================================
   超巨大ロゴヒーロー（ノバセル風）
   ============================================ */
.mega-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
}

.mega-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 144, 255, 0.15), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 191, 255, 0.15), transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.mega-logo-container {
    position: relative;
    z-index: 100;
    text-align: center;
    overflow: visible;
}

.mega-logo-container::before,
.mega-logo-container::after {
    content: '日本をバズらせる';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(48px, 10vw, 160px);
    font-weight: 900;
    opacity: 0;
    color: rgba(0, 255, 255, 0.3);
    pointer-events: none;
    white-space: nowrap;
}

.mega-logo-container::before {
    animation: scatter1 4s ease-out infinite;
}

.mega-logo-container::after {
    animation: scatter2 4s ease-out infinite 0.5s;
}

@keyframes scatter1 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    10% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translate(-80%, -80%) scale(1.5) rotate(-15deg);
    }
}

@keyframes scatter2 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    10% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translate(-20%, -80%) scale(1.5) rotate(15deg);
    }
}

.mega-logo-container h1 {
    font-size: clamp(48px, 10vw, 160px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, #1E90FF, #00BFFF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 3s infinite;
    position: relative;
    margin-bottom: 20px;
    white-space: nowrap;
    transform: skewY(-3deg);
    padding: 20px 0;
    overflow: visible;
    z-index: 10;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
}

.mega-logo-container h1 .buzz-highlight {
    font-size: 1.3em;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(135deg, #FF00FF, #00FFFF, #FFFF00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 0, 255, 0.5);
    display: inline-block;
    animation: buzzPulse 2s ease-in-out infinite;
    padding: 0 5px;
    overflow: visible;
}

@keyframes buzzPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.mega-logo-container p {
    font-size: clamp(20px, 3vw, 36px);
    margin-top: 40px;
    font-weight: 300;
    letter-spacing: 4px;
    opacity: 0.9;
}

.mega-logo-container .vision-text {
    font-size: clamp(16px, 2vw, 24px);
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
    opacity: 0.8;
}

/* ============================================
   斜めレイアウト（GIG風）
   ============================================ */
.diagonal-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.diagonal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: var(--color-gray);
    transform: skewY(-3deg);
    z-index: -1;
}

.diagonal-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.diagonal-text h2 {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1E90FF, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 10;
    position: relative;
}

.diagonal-text p {
    font-size: 20px;
    line-height: 2;
    color: #000000;
    opacity: 1;
    z-index: 10;
    position: relative;
}

/* ============================================
   幾何学的モチーフ（アイザック風）
   ============================================ */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.geometric-shape {
    position: absolute;
    border: 1px solid rgba(0,255,65,0.2);
    animation: float-rotate 20s infinite ease-in-out;
}

.geometric-shape:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 0s;
}

.geometric-shape:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 150px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation-delay: 5s;
}

.geometric-shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 180px;
    height: 180px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation-delay: 10s;
}

@keyframes float-rotate {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(0, -40px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, -20px) rotate(270deg);
    }
}

/* ============================================
   事業カードグリッド（強化版）
   ============================================ */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 60px;
}

.business-card {
    background: var(--color-gray);
    padding: 60px 40px;
    border-radius: 0;
    border: 2px solid #1E90FF;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
    z-index: 1;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 144, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.business-card:hover::before {
    left: 100%;
}

.business-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 40px 80px rgba(30, 144, 255, 0.4);
    border-color: #00BFFF;
}

.business-card h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1E90FF;
    font-weight: 900;
}

.business-card p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
}

.business-card .btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #1E90FF, #00BFFF);
    color: #000000;
    text-decoration: none;
    font-weight: 900;
    border-radius: 50px;
    transition: transform 0.3s ease;
}

.business-card .btn:hover {
    transform: scale(1.1);
}

/* ============================================
   セクション共通
   ============================================ */
.section {
    padding: 150px 60px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section h2 {
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 900;
    margin-bottom: 80px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #FFFFFF, #1E90FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section h2::after {
    content: attr(data-en);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    letter-spacing: 8px;
    opacity: 0.5;
    font-weight: 400;
    color: #1E90FF;
}

/* ============================================
   フッター
   ============================================ */
footer {
    background: #000000;
    border-top: 1px solid #1E90FF;
    padding: 80px 60px 40px;
    text-align: center;
    color: #FFFFFF !important;
}

footer p {
    margin-bottom: 15px;
    opacity: 1 !important;
    font-size: 14px;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    line-height: 1.7;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

footer nav a {
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    opacity: 1 !important;
    font-weight: 600 !important;
}

footer nav a:hover {
    color: #1E90FF;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 768px) {
    header {
        padding: 20px 30px;
    }
    
    header nav {
        gap: 20px;
    }
    
    header nav a {
        font-size: 12px;
    }
    
    .section {
        padding: 80px 30px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
        padding: 0 30px;
    }
    
    .diagonal-content {
        grid-template-columns: 1fr;
        padding: 0 30px;
    }
}



/* ============================================
   ドロップダウンメニュー
   ============================================ */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 9999;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(30, 144, 255, 0.5);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    z-index: 99999;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100000;
    cursor: pointer;
}

.dropdown-menu a:hover {
    background: rgba(30, 144, 255, 0.15);
    color: #1E90FF;
    padding-left: 30px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   カスタムカーソル
   ============================================ */
* {
    cursor: none;
}

.dropdown-menu,
.dropdown-menu * {
    cursor: pointer !important;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #00BFFF;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, border-color 0.15s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: scale(2);
    border-color: #1E90FF;
}

.custom-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #1E90FF;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

/* ============================================
   強化されたスクロールアニメーション
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.business-card {
    opacity: 0;
    transform: translateY(40px) rotateX(10deg);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.business-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.business-card:nth-child(1) { transition-delay: 0.1s; }
.business-card:nth-child(2) { transition-delay: 0.2s; }
.business-card:nth-child(3) { transition-delay: 0.3s; }
.business-card:nth-child(4) { transition-delay: 0.4s; }
.business-card:nth-child(5) { transition-delay: 0.5s; }
.business-card:nth-child(6) { transition-delay: 0.6s; }



/* フッター内のドロップダウンメニュー（上向き表示） */
footer .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 10px;
}

footer .dropdown:hover .dropdown-menu {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ============================================
   MISSION & VALUES アニメーション
   ============================================ */
.diagonal-text h2 {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.diagonal-text.visible h2 {
    opacity: 1;
    transform: translateX(0);
}

.diagonal-text p {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.diagonal-text.visible p:nth-of-type(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.diagonal-text.visible p:nth-of-type(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.diagonal-text.visible p:nth-of-type(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.diagonal-text.visible p:nth-of-type(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.diagonal-text.visible p:nth-of-type(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

/* 光のパーティクルエフェクト */
.light-particle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: rgba(30, 144, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

.light-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.light-particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.light-particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.light-particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.light-particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.light-particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.light-particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.light-particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.light-particle:nth-child(9) { left: 90%; animation-delay: 8s; }



/* ============================================
   動く漢字エフェクト
   ============================================ */
.kanji-effect {
    position: fixed;
    font-size: 120px;
    font-weight: 900;
    color: rgba(30, 144, 255, 0.03);
    pointer-events: none;
    z-index: 0;
    font-family: 'Noto Sans JP', sans-serif;
    animation: kanjiFloat 15s ease-in-out infinite;
}

@keyframes kanjiFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0;
    }
}

.kanji-effect:nth-child(1) { left: 5%; animation-delay: 0s; }
.kanji-effect:nth-child(2) { left: 15%; animation-delay: 2s; }
.kanji-effect:nth-child(3) { left: 25%; animation-delay: 4s; }
.kanji-effect:nth-child(4) { left: 35%; animation-delay: 6s; }
.kanji-effect:nth-child(5) { left: 45%; animation-delay: 8s; }
.kanji-effect:nth-child(6) { left: 55%; animation-delay: 10s; }
.kanji-effect:nth-child(7) { left: 65%; animation-delay: 12s; }
.kanji-effect:nth-child(8) { left: 75%; animation-delay: 14s; }
.kanji-effect:nth-child(9) { left: 85%; animation-delay: 16s; }
.kanji-effect:nth-child(10) { left: 95%; animation-delay: 18s; }



/* ============================================
   事業カードのホバーエフェクト強化
   ============================================ */
.business-card {
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(30, 144, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.business-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.business-card:hover {
    transform: translateY(-10px) scale(1.02);
}

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

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

/* ============================================
   実績数字のグロー効果
   ============================================ */
.counter {
    background: linear-gradient(135deg, #1E90FF, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}



/* 青背景セクション */
.section--blue,
.section--blue * {
    color: #FFFFFF !important;
}

.section--blue h1,
.section--blue h2,
.section--blue h3 {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.section--blue p,
.section--blue li {
    color: #F5F5F5 !important;
    font-weight: 500 !important;
}


/* フォーム要素 */
input, textarea, select {
    color: #111111 !important;
    border: 1px solid #D0D0D0 !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #3B82F6 !important;
    outline: none;
}

input::placeholder, textarea::placeholder {
    color: #666666 !important;
}

label {
    color: #111111 !important;
    font-weight: 600 !important;
}

button[type="submit"] {
    cursor: pointer !important;
}

button[type="submit"]:hover {
    opacity: 0.9;
}


/* 価格表示 */
.price {
    white-space: nowrap;
    font-weight: 700;
}
