
/* --- クレジットページ専用スタイル --- */
.credits-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.mini-logo {
    height: 40px;
    margin-bottom: 20px;
}

.title_text {
    font-size: 2.8rem;
    color: #1A73E8;
    margin: 0;
}

/* セクション設定 */
.credits-section {
    margin-bottom: 60px;
}

.credits-section h2 {
    font-size: 1.8rem;
    color: #202124;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.credits-section h2::before {
    content: "";
    width: 8px;
    height: 32px;
    background: #4285F4; /* Google Blue */
    margin-right: 15px;
    border-radius: 4px;
}

/* グリッドレイアウト */
.credits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tester-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* カード基本デザイン */
.credit-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 25px;
    display: flex;
    align-items: center;
    border: 1px solid #dadce0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.credit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* 役割別の色（左側のアクセント線） */
.dev-card-red { border-left: 8px solid #EA4335; }
.dev-card-blue { border-left: 8px solid #4285F4; }
.dev-card-green { border-left: 8px solid #34A853; }
.dev-card-yellow { border-left: 8px solid #FBBC05; }
.debug-card { border-left: 8px solid #9aa0a6; }

/* アイコン */
.icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    object-fit: cover;
    background: #f1f3f4;
    border: 2px solid #f1f3f4;
}

/* テキスト装飾 */
.role {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 12px;
    background: #f1f3f4;
    color: #5f6368;
    display: inline-block;
    margin-bottom: 8px;
}

.name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 4px;
}

.message {
    font-size: 0.9rem;
    color: #5f6368;
    line-height: 1.5;
    margin: 0;
}

/* レスポンシブ */
@media (max-width: 1000px) {
    .credits-grid, .tester-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .title_text { font-size: 2rem; }
    .credits-container { padding: 30px 15px; }
    .credit-card { flex-direction: column; text-align: center; }
    .icon { margin-right: 0; margin-bottom: 15px; }
}

/* クレジット専用：カード内のレイアウト */

.credits-header {
    text-align: center;
    margin-bottom: 50px;
}

.mini-logo {
    height: 40px;
    margin-bottom: 15px;
}

.title_text {
    font-size: 3rem;
    color: #1A73E8;
    margin: 0;
}

/* グリッド設定 */
.credits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 開発者は2列 */
    gap: 24px;
    margin-bottom: 50px;
}

.tester-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* テスターは3列 */
    gap: 20px;
}

/* 個別のクレジットカード */
.credit-card {
    background: #f8f9fa; /* 箱の中の箱は少しだけグレーにして立体感を */
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    border: 1px solid #dadce0;
    transition: transform 0.2s ease;
}

.credit-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* 開発者の色アクセント */
.dev-card-red { border-left: 6px solid #EA4335; }
.dev-card-blue { border-left: 6px solid #4285F4; }
.dev-card-green { border-left: 6px solid #34A853; }
.dev-card-yellow { border-left: 6px solid #FBBC05; }
.tester-card { border-left: 6px solid #9aa0a6; }

.icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 18px;
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid #fff;
}

.role {
    font-size: 0.75rem;
    font-weight: bold;
    color: #5f6368;
    background: #e8eaed;
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 5px;
    display: inline-block;
}

.name {
    font-size: 1.15rem;
    font-weight: bold;
    color: #202124;
}

.message {
    font-size: 0.85rem;
    color: #5f6368;
    line-height: 1.4;
    margin-top: 5px;
}

/* レスポンシブ */
@media (max-width: 1000px) {
    .credits-grid, .tester-grid { grid-template-columns: 1fr; }
}

/* --- ベース設定の下に追加 --- */

/* これが「いつもの白い大きな箱」 */
.main-container {
    background: #ffffff;
    border-radius: 40px; /* Pieらしい深い角丸 */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* 柔らかい影 */
    width: 92%;
    max-width: 1200px;
    margin: 0 auto 40px auto; /* 下に余白 */
    padding: 60px;
    box-sizing: border-box;
    position: relative;
    z-index: 2; /* 背景図形より上に */
}

/* クレジット全体の調整 */
.credits-page {
    padding-bottom: 0; /* フッターを密着させるため */
}

/* --- ここから下は既に持っているクレジット用CSSを継続 --- */

.credits-header {
    text-align: center;
    margin-bottom: 50px;
}
/* ...以下、お持ちのコードへ続く... */


/* --- フッターを画面最下部に固定の白い帯として配置 --- */
.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 {
    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; /* 文字色と同じ色にする */
}

/* スマホ対応 */
@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;
    }
    
}




/* ヘッダー全体の設定 */
.global-header {
    width: 100%;
    /* 薄暗い色：背景図形を殺さない程度の絶妙な半透明グレー */
    background: rgba(0, 0, 0, 0.03); 
    backdrop-filter: blur(4px); /* 背景を少しぼかすと高級感が出ます */
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
    margin-bottom: 20px;
    padding: 12px 0;
}


/* カードの幅と一致させるためのインナー */
.header-inner {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* これで左と右に分かれる */
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-item {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #000000; /* Google Sub Text Color */
    transition: color 0.2s ease;
    position: relative;
}

.nav-item:hover {
    color: #1A73E8; /* ホバーでGoogle Blueに */
}

.home-btn {
    font-weight: 700 !important; /* ホームだけ少し太くして視認性アップ */
    color: #202124 !important;    /* ホームは少し濃い色に */
}

/* 右側のリンク集 */
.nav-links {
    display: flex;
    gap: 24px;
}

/* スマホ版（お任せ）：カードの幅が狭まるので、中央寄せにしてタップしやすく */
@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;
    }
}



.info-notice-box {
    background-color: #f1f3f4; /* Google背景グレー */
    color: #3c4043;
    padding: 16px 32px;
    border-radius: 20px;
    margin-top: 25px;
    display: inline-block; /* 内容に合わせた幅にする */
    border: 1px solid #dadce0;
}

.info-notice-box p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .info-notice-box {
        padding: 12px 20px;
        margin-top: 15px;
        width: 90%; /* スマホでは横幅いっぱいに近く */
    }
    .info-notice-box p {
        font-size: 0.85rem;
    }
}