/*
Theme Name: Kuugo Original
Description: 背景オーロラ（柔らかさ）＆スマホ改行最適化版
Version: 34.0
*/

*, *::before, *::after { box-sizing: border-box !important; }

:root {
    /* ★真っ黒から、ほんのり青みがかったネイビーグレーに変更して柔らかさを出す */
    --bg-dark: #0a0e17; 
    --mecha-blue: #00E5FF; 
    --gold-gradient: linear-gradient(135deg, #B8860B 0%, #FFDF00 25%, #FFF080 50%, #D4AF37 75%, #B8860B 100%);
    --silver-gradient: linear-gradient(135deg, #888888 0%, #D3D3D3 25%, #FFFFFF 50%, #A9A9A9 75%, #888888 100%);
}

body { 
    background-color: var(--bg-dark) !important; 
    /* ★追加：背景にフワッとした青と金の光（オーロラ）を置いて圧迫感をなくす */
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px) !important;
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px !important;
    background-attachment: fixed !important; /* スクロールしても光の位置を固定 */
    color: #f0f0f0 !important; 
    margin: 0; padding: 0; 
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}
a { text-decoration: none !important; color: inherit !important; }

/* ゴールド＆シルバー発光アニメ */
@keyframes super-gold-shine {
    0% { background-position: -200% center; filter: drop-shadow(0 0 2px rgba(212,175,55,0.3)); }
    50% { background-position: 0% center; filter: drop-shadow(0 0 8px rgba(255,223,0,0.6)); text-shadow: 0 0 3px rgba(255,223,0,0.4); } 
    100% { background-position: 200% center; filter: drop-shadow(0 0 2px rgba(212,175,55,0.3)); }
}
@keyframes silver-shine {
    0% { background-position: -200% center; filter: drop-shadow(0 0 2px rgba(255,255,255,0.3)); }
    50% { background-position: 0% center; filter: drop-shadow(0 0 10px rgba(255,255,255,0.7)); text-shadow: 0 0 5px rgba(255,255,255,0.8); } 
    100% { background-position: 200% center; filter: drop-shadow(0 0 2px rgba(255,255,255,0.3)); }
}

h1, h2, h3, .glitter-gold, .title {
    background: var(--gold-gradient) !important; background-size: 200% auto !important;
    -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important;
    animation: super-gold-shine 4s ease-in-out infinite !important; display: inline-block !important; font-weight: 900 !important;
}

/* パネル背景も少し透明度を上げて柔らかく */
.c-armor-panel, .c-step-card, .c-faq-card, .c-feature-card, .c-timeline-box {
    background: rgba(15, 17, 22, 0.45) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1) !important; box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
}

/* =========================================
   ヘッダー
========================================= */
.l-header { position: fixed; top: 0; left: 0; width: 100%; height: 80px; background: rgba(8,10,15,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 9999; border-bottom: none; display: flex; align-items: center; }
.l-header::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 6px; background-image: linear-gradient(45deg, transparent 20%, #D4AF37 20%, #FFDF00 50%, #D4AF37 80%, transparent 80%), linear-gradient(-45deg, transparent 20%, #B8860B 20%, #D4AF37 50%, #B8860B 80%, transparent 80%); background-size: 12px 6px; box-shadow: 0 2px 5px rgba(212,175,55,0.4); }
.l-header__inner { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.l-header__inner img { height: 60px !important; width: auto !important; filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); }
.l-header__nav ul { display: flex; gap: 15px; list-style: none; margin: 0; padding: 0; align-items: center; }
.l-header__link { color: #ccc !important; font-weight: bold; font-size: 0.85rem; transition: 0.3s; position: relative; padding-bottom: 5px; letter-spacing: 1px; }
.l-header__link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--mecha-blue); transition: all 0.3s ease; box-shadow: 0 0 5px var(--mecha-blue); }
.l-header__link:hover { color: #fff !important; text-shadow: 0 0 10px var(--mecha-blue); }
.l-header__link:hover::after { width: 100%; }

/* シルバーボタン */
.l-header__btn-silver { 
    position: relative; background: linear-gradient(135deg, #a8a8a8 0%, #e0e0e0 25%, #ffffff 50%, #c0c0c0 75%, #a8a8a8 100%) !important; 
    color: #000 !important; padding: 10px 25px; font-weight: 900; font-size: 0.95rem; letter-spacing: 1px;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px); transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 0 10px rgba(255,255,255,0.3); margin-left: 10px; overflow: hidden; 
}
.l-header__btn-silver::before { content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%; background: rgba(255, 255, 255, 0.9); transform: skewX(-25deg); animation: silver-flash 3s infinite linear; z-index: 1; }
@keyframes silver-flash { 0% { left: -150%; } 15% { left: 200%; } 100% { left: 200%; } }
.l-header__btn-silver:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(255,255,255,0.8); filter: brightness(1.1); }
body.admin-bar .l-header { top: 32px !important; }

/* =========================================
   フッター
========================================= */
.l-footer { background-color: #050608; padding: 60px 20px 120px; border-top: none; color: #ccc; position: relative; }
.l-footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 10px; background-image: linear-gradient(45deg, transparent 20%, #D4AF37 20%, #FFDF00 50%, #D4AF37 80%, transparent 80%), linear-gradient(-45deg, transparent 20%, #B8860B 20%, #D4AF37 50%, #B8860B 80%, transparent 80%); background-size: 20px 10px; box-shadow: 0 0 10px rgba(212,175,55,0.4); }
.l-footer__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.l-footer__info p { margin: 8px 0; line-height: 1.6; font-size: 0.95rem; font-weight: bold; }
.l-footer__tel { color: #D4AF37 !important; font-size: 1.5rem !important; font-weight: 900 !important; margin-top: 15px !important; letter-spacing: 1px; }

.l-footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 15px; width: 100%; max-width: 600px; }
.l-footer__nav a { display: block; padding: 12px 10px; border: 1px solid #333; background: rgba(255,255,255,0.02); color: #ccc !important; font-size: 0.85rem; font-weight: bold; text-align: center; transition: 0.3s; position: relative; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.l-footer__nav a:hover { border-color: var(--mecha-blue); color: #fff !important; background: rgba(0,229,255,0.05); transform: translateY(-2px); }
.l-footer__nav a::after { content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--mecha-blue); transform: scaleY(0); transition: 0.3s; }
.l-footer__nav a:hover::after { transform: scaleY(1); }

.l-footer__nav a.is-silver { border-color: #C0C0C0; color: #fff !important; background: rgba(255,255,255,0.1); text-shadow: 0 0 5px rgba(255,255,255,0.5); }
.l-footer__nav a.is-silver::after { background: #C0C0C0; }
.l-footer__nav a.is-silver:hover { background: rgba(255,255,255,0.2); box-shadow: 0 0 15px rgba(255,255,255,0.3); border-color: #fff; }
.l-footer__copyright { text-align: center; margin-top: 60px; font-size: 0.8rem; color: #666; }

/* =========================================
   固定バナー
========================================= */
.c-floating-banner { position: fixed; bottom: 0; left: 0; width: 100vw !important; background: rgba(8,10,15,0.9); padding: 15px 20px; z-index: 9999; display: flex; justify-content: center; align-items: center; gap: 30px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -10px 30px rgba(0,0,0,0.8); }
.c-floating-banner::before { content: ''; position: absolute; top: -8px; left: 0; width: 100%; height: 8px; background-image: linear-gradient(45deg, transparent 20%, #D4AF37 20%, #FFDF00 50%, #D4AF37 80%, transparent 80%), linear-gradient(-45deg, transparent 20%, #B8860B 20%, #D4AF37 50%, #B8860B 80%, transparent 80%); background-size: 16px 8px; box-shadow: 0 0 10px rgba(255,223,0,0.6); z-index: 10000; }
.c-floating-banner__text { color: #fff; font-weight: 900; margin: 0; font-size: 1.1rem; letter-spacing: 3px; font-family: 'Orbitron', sans-serif; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.c-floating-banner__btn { background: var(--gold-gradient) !important; background-size: 200% auto !important; animation: super-gold-shine 4s ease-in-out infinite !important; color: #000 !important; font-weight: 900; padding: 12px 40px; border-radius: 50px; font-size: 1.2rem; box-shadow: 0 0 15px rgba(255,223,0,0.3); transition: 0.2s; display: inline-block; border: 2px solid #FFF; text-align: center; }
.c-floating-banner__btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 25px rgba(255,223,0,0.8); }

/* 全ボタン共通クリックモーション */
.l-header__btn-silver:active, .c-helmet-btn:active, .c-floating-banner__btn:active, .l-footer__nav a:active { transform: scale(0.92) translateY(2px) !important; box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.8) !important; filter: brightness(1.5) !important; transition: all 0.05s ease !important; }

/* ページ遷移モーション（モニター展開） */
@keyframes crt-deploy {
    0% { opacity: 0; transform: scale(1, 0.01); filter: brightness(3) drop-shadow(0 0 20px #00E5FF); }
    40% { opacity: 1; transform: scale(1, 0.01); filter: brightness(2) drop-shadow(0 0 10px #00E5FF); }
    70% { transform: scale(1, 1.05); filter: brightness(1.2); }
    100% { opacity: 1; transform: scale(1, 1); filter: brightness(1); }
}
main { animation: crt-deploy 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; opacity: 0; transform-origin: center center; }

/* =========================================
   ★追加：スマホ・PCの改行と折り返し制御クラス
========================================= */
/* PCでのみ改行（スマホでは改行しない） */
.u-br-pc { display: block; }
/* 文節ブロック（単語の途中で変に折れるのを防ぐ） */
.u-word-block { display: inline-block; }

@media (max-width: 768px) {
    .u-br-pc { display: none; } /* スマホ時は改行を無効化 */
    
    body.admin-bar .l-header { top: 46px !important; }
    main { padding-top: 90px !important; padding-bottom: 120px !important; }
    .l-container { padding: 0 15px !important; }
    .l-header { height: 70px; }
    .l-header__inner img { height: 45px !important; }
    .l-header__nav ul li:not(:last-child) { display: none; }
    
    .c-floating-banner { flex-direction: column; gap: 8px; padding: 12px 15px 20px !important; }
    .c-floating-banner__text { font-size: 0.9rem !important; letter-spacing: 1px; }
    .c-floating-banner__btn { width: 100% !important; font-size: 1rem !important; padding: 12px 10px !important; }
}