/*!
style.css
*/

/* === グローバル設定 === */
body {
    font-family: "Yu Mincho", serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    font-style: normal;
    font-weight: 200;
    text-align: center;
}

/* === シンプルなヘッダー設定（PC版） === */
.simple-header {
    background-color: #5a3e2b !important;
    color: white !important;
    padding: 5px 0;
    text-align: center;
    width: 100%;
}

/* ヘッダー内のタイトル（PC版） */
.simple-header .site-title a {
    font-size: 20px;
    font-family: "Yu Mincho", serif;
    font-weight: bold;
    color: white !important;
    text-decoration: none;
}

.simple-header .site-title a:hover {
    text-decoration: underline;
}


/* === テキストのレイアウト修正 === */
.text-column {
    width: 75%;
    text-align: justify;
    font-weight: lighter;
    line-height: 25px;
    margin: 0 auto;
    color: #333;
    padding: 20px 0;
}


/* === 事務局役員名簿（PC横並び、スマホ縦並び） === */
.officers {
    text-align: center;
    padding: 50px 20px;
    background: #333;
    color: white;
}

.officer-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.officer-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    min-width: 250px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}

.officer-card img {
    max-width: 100px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* === スマホ対応（縦並び）=== */
@media (max-width: 768px) {
    .officer-slider {
        flex-direction: column;
        align-items: center;
    }

    .officer-card {
        width: 90%;
    }
}

/* === 四大詠唱（PC横並び、スマホ縦並び） === */
.chants {
    background: url("../images/fire_background.jpg") no-repeat center center/cover;
    color: #ffdd99;
    text-align: center;
    padding: 50px 20px;
}

.chant-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.chant {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    min-width: 250px;
    box-shadow: 0px 4px 10px rgba(255, 140, 0, 0.5);
}

.chant p {
    font-size: 18px;
    font-weight: bold;
    color: #ff4500;
}

.chant span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #ffdd99;
}

/* === 戒め（PC横並び、スマホ縦並び） === */
.laws {
    text-align: center;
    padding: 50px 20px;
    background: #222;
    color: white;
}

.law-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.law-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    min-width: 250px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}

.law-card h3 {
    font-size: 18px;
    color: #ffdd99;
}

/* === スマホ対応（縦並び）=== */
@media (max-width: 768px) {
    .officer-slider {
        flex-direction: column;
        align-items: center;
    }

    .officer-card {
        width: 90%;
    }

    .chant-container {
        flex-direction: column;
        align-items: center;
    }

    .chant {
        width: 90%;
    }

    .law-container {
        flex-direction: column;
        align-items: center;
    }

    .law-card {
        width: 90%;
    }
}

/* === 炎の背景エフェクト（membersonlyX3.php 用） === */
.flame-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/flame_background.gif") no-repeat center center/cover;
    opacity: 0.6;
    z-index: -1;
}

.highlight-link {
    color: #ffcc00;
    /* 通常の状態では明るい黄色 */
    font-weight: bold;
    text-decoration: none;
    /* 下線を消す */
    padding: 2px 5px;
    background-color: #222;
    /* 暗めの背景 */
    border-radius: 3px;
    /* 角を少し丸める */
    transition: all 0.3s ease-in-out;
}

.highlight-link:hover {
    color: #ff0000;
    /* ホバー時は赤にする */
    background-color: #444;
}

.highlight-link:visited {
    color: #00ffcc;
    /* 訪問済みリンクの色を明るいシアンに変更 */
    background-color: #333;
    /* 訪問済みのときの背景色 */
}