
.mini-logo { height: 40px; margin-bottom: 10px; }

/* releases.css */

.releases-header {
    text-align: left;
    margin-bottom: 40px;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 10px;
}

.version-title {
    font-size: 2.8rem;
    color: #202124;
    margin-bottom: 5px;
}

.releases-date {
    color: #5f6368;
    font-size: 1rem;
}

.illustration-box {
    width: 100%;       /* 親要素の幅いっぱいに */
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;     /* 中身を中央に寄せるための設定 */
    justify-content: center;
    align-items: center;
    overflow: hidden;  /* はみ出し防止 */
}

.img_illust {
    display: block;    /* 余計な隙間を消すためにブロック要素化 */
    width: 90%;        /* PCでは少し余裕を持たせる（100%でもOK） */
    max-width: 1000px; /* ★必ず px をつける */
    height: auto;      /* アスペクト比を維持 */
    margin: 0 auto;    /* 中央寄せ */
    border-radius: 24px; /* Pixelのスクショなら角丸にするとそれっぽいです */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* ほんのり影をつけると浮き出て綺麗 */
}

.mini-img {
    width: 70%;       /* 親要素の幅いっぱいに */
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;     /* 中身を中央に寄せるための設定 */
    justify-content: left;
    overflow: hidden;  /* はみ出し防止 */
    border-radius: 24px; /* Pixelのスクショなら角丸にするとそれっぽいです */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* ほんのり影をつけると浮き出て綺麗 */
}

.max-mini-img {
    width: 50%;
    max-width: 600px;
    /* margin-leftを0にして左に詰め、下方向に40pxの余白を持たせます */
    margin: 0 0 40px 0; 
    display: flex;
    justify-content: flex-start; /* leftの代わりにより一般的な書き方 */
    text-align: left;
    overflow: hidden;
    border-radius: 24px;
}


iframe {
    display: block;
    width: 100% !important; /* ★90%から100%に変更して !important で強制 */
    height: auto;
    aspect-ratio: 16 / 9;   /* ★これで高さを自動計算 */
    max-width: 700px;      /* PCでの最大幅は守る */
    margin: 20px auto;      /* 上下に少し余白を足すと綺麗 */
    border: none;           /* 余計な枠線を消す */
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video_title {
    text-align: center;
    font-size: 2rem;
}

/* スマホ版の微調整 */
@media (max-width: 768px) {
    .img_illust {
        width: 100%;   /* スマホでは画面幅いっぱい（または少しマージン） */
        border-radius: 16px; /* 角丸を少し小さく */
    }
}

.changelog-section {
    text-align: left;
    margin-bottom: 40px;
}

.log-group {
    margin-bottom: 25px;
}

.log-group h2 {
    font-size: 1.2rem;
    color: #1A73E8;
    margin-bottom: 10px;
}

.log-group ul {
    list-style: none;
    padding-left: 15px;
}

.log-group li {
    font-size: 1rem;
    color: #3c4043;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.log-group li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #dadce0;
}

.download-notice {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.download-notice p {
    color: #5f6368;
    font-size: 0.95rem;
    margin: 0;
}

/* ボタンレイアウト */
.btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* ボタンレイアウト */
.btn-grid_driver {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.dl-btn {
    text-decoration: none;
    padding: 20px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-download_devices {
    background: #1A73E8;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}


.btn-driver {
    background: #ffffff;
    color: #1A73E8;
    border: 2px solid #1A73E8;
}

.dl-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-main {
    font-size: 1.1rem;
    font-weight: bold;
}

.btn-sub {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 4px;
}

/* 旧バージョンボタン */
.archive-area {
    border-top: 1px solid #f1f3f4;
    padding-top: 30px;
}

.btn-archive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #5f6368;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 20px;
    background: #f1f3f4;
    transition: background 0.2s;
}

.btn-archive:hover { background: #e8eaed; }

.icon-history {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .btn-grid { grid-template-columns: 1fr; }
    .version-title { font-size: 2rem; }
}

/* スクリーンショットギャラリー */
.screenshot-section {
    margin: 40px 0;
}

.screenshot-section h2 {
    font-size: 1.2rem;
    color: #1A73E8;
    margin-bottom: 15px;
    text-align: left;
}

.image-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto; /* 横スクロールできるように */
    padding-bottom: 10px;
    /* スクロールバーの見た目を少し綺麗に */
    scrollbar-width: thin;
    scrollbar-color: #dadce0 transparent;
}

.image-gallery::-webkit-scrollbar {
    height: 6px;
}
.image-gallery::-webkit-scrollbar-thumb {
    background: #dadce0;
    border-radius: 10px;
}

.gallery-item {
    flex: 0 0 280px; /* 画像の幅を固定（スマホだとちょうどいいサイズ） */
    text-align: center;
}

.ss-image {
    width: 100%;
    height: auto;
    border-radius: 16px; /* Pixelっぽい角丸 */
    border: 1px solid #dadce0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.ss-image:hover {
    transform: scale(1.02);
}

.image-caption {
    font-size: 0.85rem;
    color: #5f6368;
    margin-top: 10px;
}

/* PCで見るときは並べる（余裕があれば） */
@media (min-width: 1000px) {
    .image-gallery {
        flex-wrap: wrap; /* たくさんある場合は折り返し */
        overflow-x: visible;
    }
    .gallery-item {
        flex: 0 0 calc(33.33% - 11px); /* 3枚並び */
    }
}


/* --- フッターを画面最下部に固定の白い帯として配置 --- */
.main-footer {
    position: relative;
    z-index: 10; /* 図形(z-index: 1)より絶対上に持ってくる */
    background-color: #ffffff;
    width: 100%;
    border-top: 1px solid #f1f3f4;
    margin-top: 50px; /* 箱との間の隙間（背景が見える部分） */
    padding: 20px 0;
}

/* フッター内の中身を中央寄せにするための枠 */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 92%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- コンテナの修正（浮いた感じをあえて活かす、または密着させる） --- */
.main-container {
    background: #ffffff;
    border-radius: 40px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px; /* ここをしっかり取る */
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}

/* スマホ対応：フッターを縦並びに */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column-reverse;
        gap: 15px;
    }
    .main-container {
        padding: 30px; /* スマホのときはパディングを小さくして箱を広げる */
        margin-top: 20px;
    }
}
/* Xボタン：Android Pie風チップデザイン */
.x-button {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f3f4; /* 薄いグレー背景 */
    color: #3c4043;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px; /* カプセル型 */
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.x-button:hover {
    background-color: #e8f0fe; /* ほんのり青く */
    color: #1A73E8;
    border-color: #d2e3fc;
}

.x-icon {
    width: 16px;
    height: 16px;
    fill: currentColor; /* 文字色と同じ色にする */
}

/* --- 編集者用：強調ツールセット --- */

/* 1. テキスト強調（赤・太字） */
.text-danger {
    color: #EA4335 !important; /* Google Red */
    font-weight: bold;
}

/* 2. テキスト強調（青・太字） */
.text-primary {
    color: #1A73E8 !important; /* Google Blue */
    font-weight: bold;
}

/* 3. 重要ラベル（赤バッジ） */
.label-important {
    display: inline-block;
    background: #fce8e6;
    color: #EA4335;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-right: 5px;
}

/* 4. 警告ボックス（枠付き） */
.alert-box {
    background: #fef7e0; /* 薄い黄色 */
    border: 1px solid #FBBC05;
    border-left: 6px solid #FBBC05;
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px 0;
    color: #3c4043;
}

.alert-box.danger {
    background: #fce8e6; /* 薄い赤 */
    border-color: #EA4335;
    border-left-color: #EA4335;
}

/* 5. 打ち消し線（古い情報用） */
.text-old {
    text-decoration: line-through;
    color: #9aa0a6;
}

.link_a {
    text-decoration: none;
    font-weight: bold;
    color: #1A73E8;
}

.link_a:hover {
    text-decoration: underline;
    font-weight: bold;
    color: #1A73E8;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .main-footer {
        padding: 30px 20px;
        margin-left: -30px;  /* スマホのpaddingに合わせる */
        margin-right: -30px;
        flex-direction: column-reverse;
        gap: 20px;
    }
    .x-button {
        width: fit-content;
        margin: 0 auto;
    }
    
}


/* スマホ版（お任せ）：カードの幅が狭まるので、中央寄せにしてタップしやすく */
@media (max-width: 650px) {
    .header-inner {
        flex-direction: row; /* 横並びを維持 */
        justify-content: space-between;
        padding: 0 10px;
    }
    
    .nav-links {
        gap: 12px; /* スマホでは間隔を少し狭く */
    }

        .nav-item {
        font-size: 0.7rem; /* 文字をさらに小さくして収める */
        color: #000000;
    }
    
    .global-header {
        padding: 10px 0;
    }
}

/* データ詳細セクション */
.data-details {
    margin: 40px 0;
    text-align: left;
}

.details-title {
    font-size: 1.1rem;
    color: #202124;
    margin-bottom: 15px;
    font-weight: 700;
}

.details-table {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 8px 0;
    border: 1px solid #dadce0;
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row .label {
    color: #5f6368;
    font-size: 0.9rem;
    font-weight: 500;
}

.table-row .value {
    color: #202124;
    font-size: 0.9rem;
    font-weight: 700;
}

/* アップデート案内メッセージ */
.update-info-box {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #e8f0fe; /* 薄い青 */
    border-radius: 12px;
}

.update-info-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #1967d2;
    line-height: 1.5;
}

.info-icon {
    width: 20px;
    height: 20px;
    fill: #1a73e8;
    flex-shrink: 0;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .table-row {
        flex-direction: column;
        gap: 4px;
    }
}


/* 記事ページ用の追加スタイル */
        .article-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            line-height: 1.8;
            color: #1a1c1e;
        }

        /* 編集者プロフィールセクション (M3デザイン) */
        .author-card {
            background: #f0f4f8; /* M3 Surface Variant */
            border-radius: 28px;
            padding: 24px;
            margin-top: 60px;
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .author-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            background: #d3e4ff; /* アイコンがない場合のフォールバック色 */
        }

        .author-info {
            flex: 1;
        }

        .author-label {
            font-size: 0.8rem;
            color: #44474e;
            font-weight: bold;
            display: block;
            margin-bottom: 4px;
        }

        .author-name {
            font-size: 1.25rem;
            font-weight: 700;
            margin: 0 0 8px 0;
            color: #001d36;
        }

        .author-bio {
            font-size: 0.95rem;
            margin: 0;
            color: #44474e;
        }

        @media (max-width: 600px) {
            .author-card {
                flex-direction: column;
                text-align: center;
                padding: 32px 20px;
            }
        }

        /* 記事一覧ページ専用のスタイル */
        .articles-container {
            max-width: 1000px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .page-header {
            margin-bottom: 40px;
            text-align: center;
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1a1c1e;
            margin-bottom: 8px;
        }

        /* 記事カードのグリッド */
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }

        .article-card {
            background: #ffffff;
            border-radius: 28px; /* M3 角丸 */
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            border: 1px solid #e1e3e5; /* 控えめな境界線 */
        }

        .article-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.08);
            background-color: #f8f9ff;
        }

        .card-thumbnail {
            width: 100%;
            height: 180px;
            background: #f0f4f8;
            object-fit: cover;
        }

        .card-content {
            padding: 24px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .card-meta {
            display: flex;
            gap: 12px;
            font-size: 0.85rem;
            color: #44474e;
            margin-bottom: 12px;
        }

        .card-tag {
            background: #d3e4ff;
            color: #001d36;
            padding: 2px 10px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.75rem;
        }

        .card-tag {
            background: #d3e4ff;
            color: #001d36;
            padding: 2px 10px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.75rem;
        }
        
        .card-tag-important {
            background: #ffd3d3;
            color: #001d36;
            padding: 2px 10px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.75rem;
        }

        .card-tag-tips {
            background: #fff3d3;
            color: #001d36;
            padding: 2px 10px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.75rem;
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin: 0 0 12px 0;
            line-height: 1.4;
            color: #1a1c1e;
        }

        .card-excerpt {
            font-size: 0.95rem;
            color: #44474e;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        @media (max-width: 600px) {
            .page-title { font-size: 2rem; }
            .articles-grid { grid-template-columns: 1fr; }

            .max-mini-img {
                width: 70%;
                max-width: 700px;
                /* margin-leftを0にして左に詰め、下方向に40pxの余白を持たせます */
                margin: 0 0 40px 0; 
                display: flex;
                justify-content: flex-start; /* leftの代わりにより一般的な書き方 */
                text-align: left;
                overflow: hidden;
                border-radius: 24px;
            }
        }