/* ===================================
   JYO Inc. - 共通スタイル
=================================== */

:root {
    --neon-yellow: #FFE000;
    --neon-green: #00FF88;
    --hot-pink: #FF006E;
    --electric-blue: #00D4FF;
    --warning-orange: #FF6B00;
    --bg-black: #0A0A0A;
    --bg-dark: #1A1A1A;
    --text-gray: #CCCCCC;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg-black);
    color: #fff;
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ===================================
   パンくずリスト
=================================== */

.breadcrumb {
    background: var(--bg-dark);
    padding: 15px 0;
}

.breadcrumb ol {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--neon-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--hot-pink);
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: var(--neon-yellow);
    font-weight: 700;
}

/* ===================================
   タイポグラフィ
=================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 20px;
    line-height: 1.8;
}

a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: var(--neon-yellow);
}

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

/* ===================================
   フォーム
=================================== */

form input,
form textarea,
form select {
    font-family: 'Noto Sans JP', sans-serif;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: var(--neon-yellow);
    box-shadow: 0 0 20px rgba(255, 224, 0, 0.3);
}

form input::placeholder,
form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   レイアウト
=================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 80px 0;
}

.section-small {
    padding: 60px 0;
}

/* ===================================
   ヘッダー
=================================== */

header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-black) 100%);
    border-bottom: 3px solid var(--neon-yellow);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    line-height: 0;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 224, 0, 0.5));
    transition: all 0.3s;
}

.logo img:hover {
    filter: drop-shadow(0 0 20px rgba(255, 224, 0, 0.8));
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    border-color: var(--neon-yellow);
    color: var(--neon-yellow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 3px solid var(--neon-yellow);
    color: var(--neon-yellow);
    font-size: 1.5rem;
    padding: 10px 15px;
    cursor: pointer;
}

/* ===================================
   警告バナー
=================================== */

.warning-banner {
    background: var(--hot-pink);
    color: #000;
    text-align: center;
    padding: 15px;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* ===================================
   ヒーローセクション
=================================== */

.hero {
    background: radial-gradient(circle at 50% 50%, rgba(255, 224, 0, 0.1) 0%, transparent 70%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: 0;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    text-shadow: 0 0 30px var(--neon-yellow), 0 0 60px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s;
}

.hero h1 span {
    color: var(--neon-yellow);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--electric-blue);
    margin-bottom: 50px;
    animation: fadeInUp 1.2s;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

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

/* ===================================
   カード
=================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--bg-dark);
    border: 3px solid var(--neon-green);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-yellow), var(--hot-pink), var(--electric-blue), var(--neon-green));
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.card:hover::before {
    transform: translateX(0);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-title {
    color: var(--neon-yellow);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.card-description {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ===================================
   ボタン
=================================== */

.btn {
    display: inline-block;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    border: 3px solid;
    letter-spacing: 2px;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--hot-pink), var(--warning-orange));
    color: #fff;
    border-color: var(--neon-yellow);
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.5);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
}

.btn-secondary:hover {
    background: var(--neon-yellow);
    color: #000;
}

.btn-large {
    padding: 25px 60px;
    font-size: 1.5rem;
}

/* ===================================
   セクションタイトル
=================================== */

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--neon-yellow);
    text-shadow: 0 0 30px var(--neon-yellow);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 150px;
    height: 5px;
    background: var(--hot-pink);
    margin: 20px auto 0;
    box-shadow: 0 0 20px var(--hot-pink);
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* ===================================
   統計カード
=================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-dark), transparent);
    border: 3px solid var(--neon-green);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transform: skewX(-3deg);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: skewX(-3deg) scale(1.05);
    box-shadow: 0 0 50px var(--neon-green);
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    color: var(--neon-green);
    font-weight: 700;
    text-shadow: 0 0 20px var(--neon-green);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 700;
}

/* ===================================
   アラートボックス
=================================== */

.alert-box {
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border: 4px solid;
}

.alert-danger {
    background: rgba(255, 0, 110, 0.1);
    border-color: var(--hot-pink);
}

.alert-warning {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--warning-orange);
}

.alert-info {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--electric-blue);
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--neon-green);
}

/* ===================================
   フッター
=================================== */

footer {
    background: var(--bg-dark);
    border-top: 3px solid var(--neon-green);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--neon-yellow);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* ===================================
   レスポンシブ
=================================== */

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* モバイル（768px以下） */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    .hero {
        padding: 60px 0;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .hero h1 { 
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle { 
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .logo img {
        height: 45px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-top: 3px solid var(--neon-yellow);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .card-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .card-grid {
        gap: 20px;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-description {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 1rem;
        display: block;
        text-align: center;
    }
    
    .btn-large {
        padding: 18px 40px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .alert-box {
        padding: 25px 20px;
    }
    
    .warning-banner {
        font-size: 0.9rem;
        padding: 12px 10px;
    }
    
    /* フォームのレスポンシブ */
    form input,
    form textarea,
    form select {
        font-size: 16px !important; /* iOS zoom防止 */
    }
    
    /* グリッドの最小幅調整 */
    .stats-grid,
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* フッターグリッド */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .hero h1 { 
        font-size: 1.8rem;
    }
    
    .hero-subtitle { 
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .logo img {
        height: 40px;
    }
}

/* ===================================
   アニメーション
=================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

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

/* グリッチエフェクト */
.glitch {
    animation: glitch 3s infinite;
}

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

/* パルスアニメーション */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 224, 0, 0.3); 
    }
    50% { 
        box-shadow: 0 0 50px rgba(255, 224, 0, 0.6); 
    }
}
