/* ==========================================
   会員交流イベント情報
========================================== */
.member-event {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.member-event .page-title {
    color: #45B035;
    text-align: left;
    margin: 0 0 35px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 2rem;
    font-weight: bold;
}

.event-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    background: #fff;
}
.event-item h2 {
    background: #E8F5E4;
    color: #333;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 24px;
    margin-bottom: 20px;
}
.event-image {
    margin-bottom: 20px;
    text-align: center;
}
.event-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.event-info p {
    margin-bottom: 12px;
    line-height: 1.8;
}
.event-info strong {
    display: inline-block;
    background: #45B035;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 8px;
}
.event-content {
    margin-top: 20px;
    line-height: 1.9;
}

.event-content a {
    color: #333;
    text-decoration: none;
}
.event-content a:hover {
    color: #45B035;
    text-decoration: underline;
}

/* ==========================================
   会員交流イベント情報
   過去イベント・事務局警告
========================================== */

/* 事務局向け：開催日未登録警告 */
.member-event-warning {
    color: #d00;
    font-weight: bold;
    margin: -15px 0 25px;
}

/* 過去のイベント */
.event-history {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    margin-bottom: 30px;
}

/* 「過去のイベント」見出し */
.event-history > summary {
    position: relative;
    padding: 12px 45px 12px 15px;
    background: #f0f8ed;
    border-left: 5px solid #45B035;
    color: #45B035;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
}

/* デフォルトの三角形を非表示 */
.event-history > summary::-webkit-details-marker {
    display: none;
}

/* ＋ */
.event-history > summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #45B035;
    font-size: 28px;
    font-weight: normal;
    line-height: 1;
}

/* 開いたときは − */
.event-history[open] > summary::after {
    content: "−";
}

/* 過去イベント一覧 */
.event-history-list {
    margin-top: 15px;
}

/* 過去イベント：年度 */
.event-history-year {
    margin-top: 20px;
}

/* 年度見出し */
.event-history-year > summary {
    position: relative;
    padding: 10px 45px 10px 15px;
    color: #45B035;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid #cde8c5;
}

/* 過去イベント1件 */
.event-history-item {
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

/* 過去イベントタイトル */
.event-history-item > summary {
    position: relative;
    padding: 15px 45px 15px 20px;
    color: #45B035;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
}

/* デフォルトの三角形を非表示 */
.event-history-item > summary::-webkit-details-marker {
    display: none;
}

/* ＋ */
.event-history-item > summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #45B035;
    font-size: 24px;
    font-weight: normal;
    line-height: 1;
}

/* 開いたときは − */
.event-history-item[open] > summary::after {
    content: "−";
}

/* 過去イベントの内容 */
.event-history-content {
    padding: 0 20px 25px;
    border-top: 1px solid #eee;
}

/* 過去イベントの画像 */
.event-history-content .event-image {
    margin-top: 20px;
}

/* 過去イベントの情報 */
.event-history-content .event-info {
    margin-top: 20px;
}










/* ==========================================
   イベント・セミナー 一覧
========================================== */

.event-seminar-archive {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.event-seminar-archive .page-title {
    color: #45B035;
    text-align: left;
    margin: 0 0 35px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 2rem;
    font-weight: bold;
}

.event-seminar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-seminar-item {
    padding: 35px;
    margin: 0 30px 30px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: .25s;
}

.event-seminar-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.event-seminar-title {
    color: #45B035;
    padding: 0;
    border-radius: 0;
    font-size: 22px;
    margin: 0 0 15px;
}

.event-seminar-title a {
    color: #45B035;
    text-decoration: none;
}

.event-seminar-title a:hover {
    color: #45B035;
    text-decoration: underline;
}

.event-seminar-item p {
    line-height: 1.6;
    margin: 5px 0;
}

.event-seminar-date,
.event-seminar-location {
    color: #333;
}

.event-seminar-excerpt {
    background-color: #f0f8ed;
    padding: 10px 15px;
    margin-top: 10px;
    line-height: 1.6;
    min-height: calc(1.6em * 3);
}

/* ==========================================
   イベント・セミナー一覧
   タイトルリンク
   外部リンクアイコン
========================================== */

.event-seminar-title a::after {
    display: inline-block;
    content: "\f35d";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    margin-left: 5px;
    padding: 0;
}

/* ==========================================
   イベント・セミナー 詳細
========================================== */

.event-seminar-single {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.event-seminar-detail {
    padding: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.event-seminar-detail-title {
    color: #45B035;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
    border-bottom: 2px solid #45B035;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.event-seminar-info {
    background: #f3f9f1;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.event-seminar-info strong {
    color: #333;
}

.event-seminar-info p {
    margin: 5px 0 0;
}

.event-seminar-content {
    line-height: 1.8;
}

/* ==========================================
   イベント・セミナー ページ送り
========================================== */

.event-seminar-archive .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    box-sizing: border-box;
    margin-left: 6px;
    padding: 0 10px;
    border: 1px solid #45B035;
    border-radius: 6px;
    background: #fff;
    color: #45B035;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.event-seminar-archive .page-numbers.current {
    background: #45B035;
    color: #fff;
}

.event-seminar-archive .page-numbers:hover {
    background: #45B035;
    color: #fff;
}

.event-seminar-archive .page-numbers.next {
    padding: 0 14px;
}

.event-seminar-archive .pagination {
    text-align: center;
}

/* ==========================================
   イベント・セミナー
   年月見出し・過去年度折りたたみ
========================================== */

/* 開催予定：年月見出し */
.event-seminar-group-title {
    color: #45B035;
    font-size: 20px;
    font-weight: bold;
    margin: 35px 0 15px;
    padding: 10px 15px;
    background-color: #f0f8ed;
    border-left: 5px solid #45B035;
}

/* 過去のイベント・セミナー */
.event-seminar-history {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

/* 「過去のイベント・セミナー」見出し */
.event-seminar-history > summary {
    cursor: pointer;
    color: #45B035;
    font-size: 20px;
    font-weight: bold;
    padding: 12px 15px;
    background-color: #f0f8ed;
    border-left: 5px solid #45B035;
}

/* 過去年度 */
.event-seminar-history-year {
    margin-top: 20px;
}

/* 年度見出し */
.event-seminar-history-year > summary {
    cursor: pointer;
    color: #45B035;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    border-bottom: 1px solid #cde8c5;
}

/* 年度内のイベント */
.event-seminar-history-content {
    padding-top: 20px;
}

/* 開催日未登録の警告 */
.event-seminar-warning {
    color: #d00;
    font-weight: bold;
    margin-bottom: 25px;
}

/* スマホ対応：イベント・セミナー */
@media screen and (max-width:768px) {
	
    /* イベント・セミナー詳細：タイトル */
    .event-seminar-detail-title {
        font-size: 20px !important;
    }

}


