@charset "UTF-8";

/* =========================================================
   1. 全体設定・変数（共通カラーとフォント）
========================================================= */
:root {
    --primary-color: #004085;   /* メインカラー（濃い青） */
    --secondary-color: #007bff; /* サブカラー（明るい青） */
    --accent-color: #e74c3c;    /* アクセントカラー（赤系） */
    --bg-color: #f8f9fa;        /* 背景色 */
    --text-color: #333333;      /* 基本のテキスト色 */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* =========================================================
   2. ヘッダー・ナビゲーション（上部固定メニュー）
========================================================= */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.nav-links li a i {
    margin-right: 6px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links .support-btn {
    background-color: var(--accent-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 1rem;
}

.nav-links .support-btn i {
    color: #fff;
}

.nav-links .support-btn:hover {
    background-color: #c0392b;
    color: #fff;
}

/* =========================================================
   3. Google翻訳ウィジェットのデザイン調整
========================================================= */
#google_translate_element {
    display: flex;
    align-items: center;
}
.goog-te-gadget-simple {
    border: 1px solid #ccc !important;
    border-radius: 20px !important;
    padding: 5px 10px !important;
    font-size: 0.9rem !important;
    background-color: #f8f9fa !important;
}
.goog-te-banner-frame { display: none !important; } 
body { top: 0px !important; position: static !important; }

/* =========================================================
   4. フッター
========================================================= */
footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

/* =========================================================
   5. レスポンシブ対応（スマホ表示）
========================================================= */
@media (max-width: 768px) {
    .nav-links li a span {
        display: none; /* スマホではアイコンのみ表示してスッキリさせる */
    }
}
/* =========================================================
   5. 画像・動画の保護（ドラッグ・選択禁止）
========================================================= */
img, video {
    -webkit-touch-callout: none; /* iOS Safari用 */
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto; /* クリック自体は有効にする */
}


