/* ========================================
   ゆっくりPC三昧 ブログ - スタイルシート
   「サイバー・クリーン」カラースキーム
   メイン: ディープネイビー #1A237E
   アクセント: エレクトリックシアン #00E5FF
   ======================================== */

/* --- リセット --- */
* {
    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;
}

/* --- ヘッダー --- */
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);
}

/* --- 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;
    }
}

/* --- 記事本文エリア（.blog-body） --- */
.blog-body {
    line-height: 2.0;
    color: #333;
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto;
}

/* 見出し2 (h2) */
.blog-body h2 {
    position: relative;
    background: linear-gradient(135deg, #0D1442, #1A237E);
    color: #fff;
    padding: 16px 28px;
    margin: 50px 0 28px;
    border-radius: 10px;
    box-shadow: 0 4px 0 #080C2A;
    font-size: 1.5rem;
}

.blog-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 6px;
    background: linear-gradient(180deg, #00E5FF, #00B8D4);
    border-radius: 0 3px 3px 0;
}

/* 見出し3 (h3) */
.blog-body h3 {
    border-bottom: 3px solid #00E5FF;
    padding-bottom: 6px;
    margin: 36px 0 18px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    color: #1A237E;
}

/* 太字 (strong) - 蛍光ペン風 */
.blog-body strong {
    background: linear-gradient(transparent 60%, rgba(0, 229, 255, 0.2) 60%);
    font-weight: bold;
    padding: 0 3px;
}

/* 画像 */
.blog-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 36px auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

/* 箇条書き */
.blog-body ul {
    background: #f8f9fb;
    padding: 22px 22px 22px 46px;
    border-radius: 12px;
    border: 1px solid #e0e4e8;
    margin: 26px 0;
    list-style: none;
}

.blog-body li {
    position: relative;
    margin-bottom: 10px;
}

.blog-body li::before {
    content: "▶";
    position: absolute;
    left: -28px;
    color: #00E5FF;
    font-size: 0.85rem;
}

/* 段落 */
.blog-body p {
    margin-bottom: 1.8em;
}

/* --- 記事本文コンテナ --- */
.post-content {
    background: white;
    padding: 50px 44px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 20px auto;
    max-width: 1100px;
}

/* --- ブログ一覧グリッド --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

/* --- ブログカード --- */
.blog-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.2);
}

.blog-card a {
    text-decoration: none;
    color: #333;
}

.blog-card img {
    width: 100%;
    height: 165px;
    object-fit: cover;
}

.card-content {
    padding: 16px;
}

.card-content h3 {
    font-size: 0.98rem;
    margin: 0 0 10px;
    height: 2.8em;
    overflow: hidden;
    color: #1A237E;
    font-weight: 600;
    line-height: 1.4;
}

.card-content p {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
}

/* --- 個別記事ページ (#single-post) --- */
#single-post {
    background-color: #fff;
    padding: 40px;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

#single-post:hover {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

#single-post h2 {
    font-size: 2.2rem;
    color: #1A237E;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.4;
}

#single-post h3 {
    font-size: 1.6rem;
    color: #1A237E;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 14px;
    border-bottom: 3px solid #00E5FF;
    padding-bottom: 8px;
}

#single-post p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    word-wrap: break-word;
}

#single-post blockquote {
    background-color: #f0f4ff;
    border-left: 5px solid #00E5FF;
    padding: 16px;
    font-style: italic;
    margin: 28px 0;
    color: #555;
    font-size: 1.05rem;
    border-radius: 0 10px 10px 0;
}

#single-post ul,
#single-post ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

#single-post li {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 8px;
}

#single-post strong {
    font-weight: bold;
    color: #1A237E;
}

#single-post code {
    background-color: #E8EAF6;
    padding: 3px 7px;
    font-family: 'Courier New', monospace;
    border-radius: 5px;
    font-size: 0.9em;
}

#single-post img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

#single-post a {
    color: #1A237E;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

#single-post a:hover {
    color: #1A237E;
    text-decoration: underline;
}

#single-post .button {
    background: linear-gradient(135deg, #1A237E, #283593);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 700;
}

#single-post .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 35, 126, 0.3);
}

/* --- ブログ投稿カード (#blog-posts) --- */
#blog-posts .post {
    background-color: #fff;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #00E5FF;
    transition: all 0.3s ease;
}

#blog-posts .post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.1);
}

#blog-posts .post h3 {
    font-size: 1.5rem;
    color: #1A237E;
    font-weight: 600;
    margin-bottom: 12px;
}

#blog-posts .post .post-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 16px;
}

#blog-posts .post .read-more {
    color: #00B8D4;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

#blog-posts .post .read-more:hover {
    color: #00E5FF;
}

/* --- ボタンスタイル --- */
button {
    background: linear-gradient(135deg, #1A237E, #283593);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 35, 126, 0.3);
}

/* --- フッター --- */
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;
    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;
    }
}

/* --- 共通 h1 --- */
h1 {
    font-size: 1.8em;
    margin-bottom: 16px;
    color: #1A237E;
}

/* --- 動画関連 --- */
.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;
}

.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);
}

#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;
}

.video-info:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.12);
}

.video-info img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.video-info h2 {
    font-size: 1rem;
    padding: 14px 16px;
    color: #333;
    font-weight: 600;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
}

.video-info p strong {
    color: #00B8D4;
}

.new.video h1 {
    text-align: center;
    margin: 30px 0 16px;
}

.トップ画像 {
    max-width: 100%;
    height: auto;
}

.キャッチコピー {
    display: flex;
    justify-content: center;
}

.g-ytsubscribe {
    margin: 10px 0;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.red-box {
    background: #1A237E;
    padding: 8px;
    border-radius: 12px;
}

/* --- サイトマップボタン --- */
a.Personal-Security,
a.me-to,
a.Contact,
a.Master-videos {
    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;
}