/* common.css - 共通スタイルシート */

/* ===== グローバル/共通要素のスタイル ===== */
html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('/Original_Club/images/rose_bg.png');
    background-color: #1a1a1a;
    color: #eee;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    box-sizing: border-box;
}

/* 変数定義（もしあれば、必要に応じて追加・変更してください） */
:root {
    --primary-color: #ff0000;
    /* 赤色 */
    --secondary-color: #00f;
    /* 青色 */
    --text-color: #333;
    /* 暗いテキスト色 */
    --light-text-color: #eee;
    /* 明るいテキスト色 */
    --background-color: #1a1a1a;
    /* 暗い背景色 */
    --card-bg-color: #fff;
    /* カードの背景色 */
    --border-color: #ddd;
    /* ボーダー色 */
}


/* ===== メインコンテンツの共通コンテナ ===== */
/* container は各ページで異なるレイアウトを持つため、共通で持たせるのは基本的なマージンやパディング */
/* 各ページの .container はそれぞれのCSSファイルで詳細を定義する */
.container {
    max-width: 1200px;
    width: calc(100% - 40px);
    /* 左右に20pxずつの余白 */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 20px; */
    /* セクション間のスペース */
    min-height: calc(100vh - 80px);
    /* フッターなどを考慮する場合は調整 */
}

/* 各ページのタイトル（h1）の共通スタイル */
.container h1 {
    color: #ffffff;
    text-align: center;
    font-size: 2em;
    margin: 0 auto; 
    text-shadow: 0 0 10px #ff0000;
    /* ネオン効果 */
    border-bottom: 2px solid rgba(255, 0, 0, 0.5);
    padding-bottom: 10px;
}


/* ========== header_title 専用スタイル ========== */

.header_title {
    width: 100%;
    text-align: center;
    background: transparent;
}

.header_title .logo {
    font-family: 'Brush Script MT', cursive;
    font-size: 4rem;
    color: white;
    padding-top: 20px;
    padding-bottom: 10px;
    text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000;
    animation: flicker 1.5s infinite alternate;
}

.header_title .info {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 15px;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.menu li a {
    display: inline-block;
    background-color: #000000ad;
    color: #ffffff;
    text-shadow:
        0 0 7px #ff0000,
        0 0 10px #ff0000,
        0 0 21px #ff0000;
    border: 1px solid #ff0000;
    padding: 10px 16px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    font-weight: bold;
    box-shadow: 0 0 20px rgb(255, 0, 0);
}

.menu li a::after {
    content: attr(data-en);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #ffffff;
    background-color: #000000ad;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.menu li a:hover::after {
    transform: translateY(0);
}

.menu li a:hover {
    color: transparent;
}

.footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    width: 100%;
    text-align: center;
    font-family: sans-serif;
    color: white;
}

.footer a {
    text-shadow: 1px 1px 2px red;
    color: white;
    font-weight: bold;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.footer a:hover {
    text-shadow: 0 0 8px red, 0 0 16px red;
    transform: scale(1.05);
}

/* SNSアイコンの設定 */
.footer-sns {
    margin-top: 10px;
    margin-bottom: 15px;
}

.footer-sns a svg {
    transition: all 0.3s ease;
}

.footer-sns a:hover svg {
    filter: drop-shadow(0 0 5px red);
    transform: scale(1.2);
}


/* ナビゲーション（PCのみ表示） */
.footer-nav {
    margin: 10px 0;
}

.footer-nav a {
    display: inline-block;
    margin: 5px 10px;
}

/* 著作権 */
.footer-copy {
    font-size: 12px;
    color: #ccc;
    margin-top: 10px;
}

@keyframes flicker {
    100% {
        text-shadow:
            0 0 4px #ff0000,
            0 0 11px #ff0000,
            0 0 19px #ff0000,
            0 0 40px #ff1414,
            0 0 80px #ff1414,
            0 0 90px #ff1414,
            0 0 100px #ff1414,
            0 0 150px #ff1414;
    }

    0% {
        text-shadow:
            0 0 2px #ff0000,
            0 0 4px #ff0000,
            0 0 6px #ff0000,
            0 0 10px #ff1414,
            0 0 45px #ff1414,
            0 0 55px #ff1414,
            0 0 70px #ff1414,
            0 0 80px #ff1414,
    }
}

@media screen and (max-width: 768px) {
    .footer-nav {
        display: none;
    }
}
/* レスポンシブ対応 (共通部分のみ) */
@media (max-width: 768px) {
.menu {
        display: none;
    }

    .header_title .logo {
        font-size: 2.5rem;
    }

    .header_title .info {
        font-size: 0.8rem;
    }

    .main-content {
        padding-left: 10px;
        padding-right: 10px;
    }


    .container {
        padding-top: 0px;
        /* ヘッダーの高さ調整 */
    }


    .nav-overlay__link {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }


    .nav-overlay__link {
        font-size: 1.5em;
    }

    .header_title .logo {
        font-size: 2rem;
    }
    .header_title .info {
        font-size: 0.6rem;
    }
}