/* ========================================
   ゆっくり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 subtleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@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 30px rgba(0, 0, 0, 0.5);
    min-height: 70px;
    border-bottom: 2px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* 検索ボックスの幅を制限して中央や右に寄せる */
.search-wrapper {
    max-width: 300px;
    /* ここを好みの幅に変えてね */
    margin-left: auto;
    /* 右寄せにするならこれ */
    margin-right: 20px;
    /* 画面端から少し離す */
}

.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;
}

.gcse-search {
    max-width: 220px !important;
}

.gsc-control-cse {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.gsc-search-box {
    margin-bottom: 0 !important;
}

.gsc-input-box {
    border-radius: 6px !important;
}

table.gsc-search-box td.gsc-input {
    padding-right: 4px !important;
}

.gsc-search-button {
    margin-left: 4px !important;
}

.gsc-search-button-v2 {
    padding: 6px 10px !important;
    border-radius: 6px !important;
    min-width: auto !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: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 60px rgba(0, 229, 255, 0.06);
    margin-bottom: 24px;
    border: 1px solid rgba(0, 229, 255, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.トップ画像:hover {
    transform: scale(1.005);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25), 0 0 80px 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;
}

/* h1→h2変更に対応したセクションスタイル */
.character-button .text h2 {
    font-size: 1.3rem;
    margin: 0 0 8px;
    color: #1A237E;
}

/* --- キャラクターカード --- */
.character-button {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-left: 5px solid #00E5FF;
    border-radius: 18px;
    padding: 28px;
    margin: 28px auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: left;
}

.character-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left-color: #00B8D4;
    border-color: rgba(0, 229, 255, 0.25);
}

.character-button img {
    width: 90px;
    height: auto;
    margin-right: 20px;
    border-radius: 50%;
    border: 3px solid #00E5FF;
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-button img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(0, 229, 255, 0.35);
}

.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: #666;
    line-height: 1.7;

}

/* --- 更新情報セクション --- */
#news {
    margin: 30px auto;
    max-width: 800px;
}

#news h2 {
    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 h2 {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 1.7rem;
    color: #1A237E;
    position: relative;
    letter-spacing: 0.05em;
}

.new.video h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    border-radius: 2px;
    margin: 12px auto 0;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

/* --- 動画カード --- */
#video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin: 24px;
}

.video-info {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 0;
    width: 300px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 229, 255, 0.08);
}

.video-info:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15), 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 229, 255, 0.3);
}

.video-info img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s ease;
}

.video-info:hover img {
    transform: scale(1.04);
}

.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: 50px auto;
    max-width: 800px;
    text-align: center;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.Navigator.in.home h2 {
    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);
}

/* --- サイトマップページスタイル (プレミアムデザイン) --- */
.sitemap-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 80px 5% 100px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.sitemap-container::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.sitemap-container h2 {
    text-align: center;
    color: #1A237E;
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.sitemap-container h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #00E5FF, #00B8D4);
    border-radius: 10px;
    margin: 15px auto 0;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.sitemap-section {
    background: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sitemap-section:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.1);
}

.sitemap-section h3 {
    color: #1A237E;
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 229, 255, 0.15);
    display: flex;
    align-items: center;
}

.sitemap-section h3::before {
    content: "📁";
    margin-right: 12px;
    font-size: 1.1rem;
}

.sitemap-section ul {
    list-style: none;
    padding: 0;
}

.sitemap-section ul li {
    margin-bottom: 16px;
}

.sitemap-section ul li a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 4px 0;
}

.sitemap-section ul li a:hover {
    color: #00B8D4;
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
}

.sitemap-section ul li a::before {
    content: "→";
    font-family: monospace;
    font-size: 1.1rem;
    margin-right: 12px;
    color: #00E5FF;
    transition: transform 0.3s ease;
}

.sitemap-section ul li a:hover::before {
    transform: scaleX(1.3);
}

@media (max-width: 768px) {
    .sitemap-container {
        margin: 30px 15px;
        padding: 50px 20px 80px;
    }

    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.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, #080C2A 0%, #0D1442 30%, #1A237E 70%, #0D1442 100%);
    color: #fff;
    padding: 36px 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 50px;
    border-top: 3px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 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;
    }
}

/* --- モバイル対応強化 --- */
@media (max-width: 768px) {
    .キャッチコピー {
        font-size: 1rem;
        padding: 0 8px;
    }

    .video-info {
        width: 100%;
        max-width: 340px;
    }

    #video-list {
        gap: 16px;
        margin: 16px 10px;
    }

    .character-button {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .character-button img {
        width: 70px;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .youtube-subscribe,
    .btn-video-channel {
        width: 100%;
        max-width: 280px;
    }

    .Navigator.in.home a {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 6px auto;
    }

    main {
        padding: 20px 12px;
    }

    .gcse-search {
        max-width: 160px !important;
    }
}

/* --- 検索フォーム --- */
.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);

}