/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 17 2026 | 04:59:14 */

/* ===== 部活動紹介 雑誌風（左右交互） ===== */
.mag-board {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px;

}

.mag-article {
    display: flex;
    align-items: stretch;
    margin-bottom: 50px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(0,0,0,0.18);
    overflow: hidden;
    min-height: 520px;

}

/* 偶数番目は写真と文字を左右反転 */
/* 偶数番目（mag-flipクラス）は写真と文字を左右反転 */
.mag-article.mag-flip {
    flex-direction: row-reverse;
}

/* 写真 */
.mag-photo {
    flex: 0 0 50%;
    width: 50%;
    height: 360px;
    background: #eee;
    overflow: hidden;
}
.mag-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mag-noimg {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

/* 文字情報 */
.mag-text {
    flex: 1;
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    max-height: 520px;

}

.mag-name {
    font-size: 1.8em;
    font-weight: bold;
    color: #1a2a3a;
    margin: 0 0 18px;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 14px;

}
.mag-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: #c0392b;

}

.mag-lead {
    font-size: 0.95em;
    color: #c0392b;
    line-height: 1.7;
    margin: 0 0 22px;
    font-weight: bold;

}

.mag-meta {
    margin-bottom: 10px;
    line-height: 1.6;

}
.mag-label {
    display: block;
    font-size: 0.68em;
    font-weight: bold;
    color: #8a8a8a;
    letter-spacing: 0.15em;
    margin-bottom: 3px;

}
.mag-value {
    font-size: 0.88em;
    color: #333;

}

/* スマホ：縦積み（写真上・文字下に統一） */
@media (max-width: 700px) {
.mag-article,
    .mag-article.mag-flip {
        flex-direction: column;
    }
    .mag-photo {
        flex: 0 0 auto;
        width: 100%;
        min-height: 220px;
        height: 220px;
    }
    .mag-text {
        padding: 28px 26px;
    }
    .mag-name {
        font-size: 1.5em;
    }
}
