/* ========================================
   ゆっくりPC三昧 公式サイト - メインスタイル
   「サイバー・クリーン」カラースキーム
   メイン: ディープネイビー #1A237E
   アクセント: エレクトリックシアン #00E5FF
   ベース: オフホワイト #F0F2F5 / ダークグレー #1C1C2E
   ======================================== */

/* --- リセット & ベース --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    background-color: #f9f9f9;
    color: #333;
}

/* --- フェードインアニメーション --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(0, 229, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    }
}

main>* {
    animation: fadeInUp 0.6s ease-out both;
}

/* --- ヘッダー --- */
header {
    background: linear-gradient(135deg, #0D1442 0%, #1A237E 50%, #0D1442 100%);
    color: #fff;
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    min-height: 70px;
    border-bottom: 2px solid rgba(0, 229, 255, 0.15);
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-title img {
    height: 44px;
    width: 44px;
    border-radius: 8px;
    transition: transform 0.3s;
    border: 2px solid rgba(0, 229, 255, 0.3);
}

.logo-title img:hover {
    transform: rotate(10deg) scale(1.1);
}

.logo-title h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- ナビゲーション --- */
nav.menu {
    display: flex;
}

nav.menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav.menu ul li {
    margin: 0;
}

nav.menu ul li a {
    text-decoration: none;
    color: #B0BEC5;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

nav.menu ul li a:hover {
    color: #ffffff;
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-1px);
}

/* --- Google CSE 検索ウィジェットの十字ボタンを非表示 --- */
.gsc-search-button-v2 svg,
.gsc-clear-button,
table.gsc-search-box td.gsc-clear-button,
.gcse-search .gsc-control-cse .gsc-clear-button {
    display: none !important;
}

/* --- ハンバーガーメニュー --- */
.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: #00E5FF;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s;
}

.menu-toggle:hover {
    background: rgba(0, 229, 255, 0.15);
}

/* --- レスポンシブ（モバイル） --- */
@media (max-width: 768px) {
    header {
        padding: 10px 4%;
    }

    .logo-title h1 {
        font-size: 1.1rem;
    }

    nav.menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0D1442;
        border-top: 2px solid rgba(0, 229, 255, 0.2);
        margin-top: 10px;
        border-radius: 0 0 12px 12px;
    }

    nav.menu ul {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0;
        gap: 0;
    }

    nav.menu ul li a {
        display: block;
        width: 100%;
        padding: 14px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .menu-toggle {
        display: block;
    }

    nav.menu.active {
        display: flex;
    }
}

/* --- メインコンテンツ --- */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* --- トップバナー --- */
.トップ画像 {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.キャッチコピー {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A237E;
    margin: 20px 0 10px;
    padding: 0 10px;
}

/* --- キャラクターカード --- */
.character-button {
    display: flex;
    align-items: center;
    background: #fff;
    border: none;
    border-left: 5px solid #00E5FF;
    border-radius: 16px;
    padding: 24px;
    margin: 24px auto;
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: left;
}

.character-button:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.12);
    border-left-color: #00B8D4;
}

.character-button img {
    width: 90px;
    height: auto;
    margin-right: 20px;
    border-radius: 50%;
    border: 3px solid #00E5FF;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.2);
}

.character-button .text h2 {
    font-size: 1.3rem;
    margin: 0 0 8px;
    color: #1A237E;
}

.character-button .text p {
    font-size: 0.95rem;
    margin: 0;
    color: #B0BEC5;
    line-height: 1.7;
}

/* --- 更新情報セクション --- */
#news {
    margin: 30px auto;
    max-width: 800px;
}

#news h1 {
    font-size: 1.5rem;
    color: #1A237E;
}

#news-list li {
    padding: 6px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
    color: #555;
}

/* --- ボタンコンテナ --- */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 30px 0;
    width: 100%;
}

/* --- YouTube登録ボタン --- */
.g-ytsubscribe {
    margin: 10px 0;
}

.youtube-subscribe,
.btn-video-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 52px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-video-channel {
    background: linear-gradient(135deg, #c20000, #ff1a1a);
    color: #fff;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 14px rgba(194, 0, 0, 0.25);
}

.btn-video-channel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(194, 0, 0, 0.35);
}

/* --- 発掘動画ボックス --- */
.red-box {
    background: #1A237E;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(26, 35, 126, 0.3);
}

/* --- 最新動画セクション --- */
.new.video h1 {
    text-align: center;
    margin: 30px 0 16px;
    font-size: 1.6rem;
    color: #1A237E;
    position: relative;
}

.new.video h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    border-radius: 2px;
    margin: 10px auto 0;
}

/* --- 動画カード --- */
#video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 20px;
}

.video-info {
    background: #fff;
    border: none;
    border-radius: 14px;
    padding: 0;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.video-info:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.2);
}

.video-info img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 0;
}

.video-info h2 {
    font-size: 1rem;
    margin: 0;
    padding: 14px 16px;
    color: #333;
    line-height: 1.5;
    font-weight: 600;
}

.video-info a {
    text-decoration: none;
    color: inherit;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
    padding: 0 16px 14px;
}

.video-info p strong {
    color: #00B8D4;
}

/* --- サイトマップ（ナビゲーター） --- */
.Navigator.in.home {
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
}

.Navigator.in.home h1 {
    font-size: 1.5rem;
    color: #1A237E;
    margin-bottom: 20px;
}

/* --- サイトマップボタン共通スタイル --- */
a.Personal-Security,
a.me-to,
a.Contact,
a.Master-videos,
a.Master-videos2 {
    display: inline-block;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

a.Personal-Security {
    background: linear-gradient(135deg, #1A237E, #283593);
}

a.Personal-Security:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 35, 126, 0.3);
}

a.me-to {
    background: linear-gradient(135deg, #00897B, #00695C);
}

a.me-to:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 137, 123, 0.3);
}

a.Contact {
    background: linear-gradient(135deg, #5C6BC0, #3F51B5);
}

a.Contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(92, 107, 192, 0.3);
}

a.Master-videos {
    background: linear-gradient(135deg, #00ACC1, #0097A7);
}

a.Master-videos:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 172, 193, 0.3);
}

a.Master-videos2 {
    background: linear-gradient(135deg, #E53935, #C62828);
}

a.Master-videos2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.3);
}

/* --- 検索結果 --- */
#search-results {
    margin-top: 20px;
}

.search-result {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
}

.search-result h3 {
    margin: 0;
    font-size: 1.1em;
    color: #1A237E;
}

.search-result p {
    margin-top: 5px;
    color: #666;
}

/* --- h1 共通 --- */
h1 {
    font-size: 1.8em;
    margin-bottom: 16px;
    color: #1A237E;
}

/* --- フッター --- */
footer {
    background: linear-gradient(135deg, #0D1442, #1A237E);
    color: #fff;
    padding: 30px 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    border-top: 2px solid rgba(0, 229, 255, 0.15);
}

footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .footer-logo img {
    width: 40px;
    height: auto;
    border-radius: 8px;
}

footer .footer-logo span {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer .footer-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

footer .footer-links ul li a {
    color: #90A4AE;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

footer .footer-links ul li a:hover {
    color: #00E5FF;
}

footer .copyright {
    font-size: 0.85em;
    color: #546E7A;
    margin-top: 10px;
    flex-basis: 100%;
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        gap: 16px;
        padding: 24px 6%;
    }

    footer .footer-links ul {
        flex-direction: column;
        gap: 8px;
    }
}

/* --- 検索フォーム --- */
.search-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-form input[type="search"] {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #C5CAE9;
    border-radius: 8px;
    background: #F0F2F5;
    transition: border-color 0.3s;
}

.search-form input[type="search"]:focus {
    border-color: #00E5FF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.search-form button {
    padding: 8px 14px;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #1A237E, #283593);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.search-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}