/* ==========================================
   会員活動内容 一覧
========================================== */
.member-archive {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ページタイトル */
.member-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;
}

/* 一覧 */
.member-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 50音 行見出し */
.member-group-title {
    list-style: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #45B035;
    margin: 40px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #45B035;
}

/* 1団体カード */
.member-item {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    padding: 35px;
    margin-bottom: 30px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: .25s;
}

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

/* ロゴ */
.member-logo {
    width: 180px;
    height: 110px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eeeeee;
    background: #ffffff;
}

.member-logo img {
    width: 160px;
    height: 90px;
    object-fit: contain;
}

/* 情報 */
.member-info {
    flex: 1;
}

.member-info h2 {
    margin: 0 0 15px;
    font-size: 1.35rem;
}

.member-info h2 a {
    color: #45B035;
    text-decoration: none;
}

.member-info h2 a:hover {

    text-decoration: underline;
}

.member-info p {
    margin: 0;
    color: #555;
    line-height: 1.8;
}

/* ==========================================
   会員活動内容一覧
   団体名リンク
   外部リンクアイコン
========================================== */
.member-info h2 a::after {
    display: inline-block;
    content: "\f35d";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    margin-left: 5px;
    padding: 0;
}

/* ==========================================
   会員活動内容 詳細
========================================== */
.member-detail {
    text-align: center;
    padding-top: 20px;
}

.member-detail .page-title {
    color: #45B035;
    text-align: left;
    margin: 0 0 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 30px !important;
    font-weight: bold;
}

/* 団体名 */
.member-title {
    margin: 30px auto;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

/* ==========================================
   写真
========================================== */
.activity-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px auto 50px;
}

.activity-images .activity-image {
    width: 45%;
    max-width: 450px;
    height: auto;
}

.activity-images .activity-image:only-child {
    width: 60%;
    max-width: 600px;
}

/* ==========================================
   活動内容
========================================== */
.activity-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: left;
    line-height: 2;
}

/* ==========================================
   詳細情報
========================================== */
.member-detail-info {
    max-width: 800px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    text-align: left;
}

.info-item {
    margin-bottom: 35px;
}

.info-item h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: bold;
}

.info-item p {
    margin: 0;
    line-height: 1.8;
}

/* ==========================================
   詳細はこちらボタン
========================================== */
.website-button {
    display: inline-block;
    background: #45B035;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.website-button:hover {
    opacity: 0.8;
}

/* ==========================================
   一覧に戻るボタン
========================================== */
.back-list {
    text-align: right;
}

.back-list-button {
    display: inline-block;
    background: #45B035;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.back-list-button:hover {
    opacity: 0.8;
}

/* ==========================================
   詳細はこちら・一覧に戻るボタン配置
========================================== */
.member-detail-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================
   スマホ対応
========================================== */
@media screen and (max-width:768px) {
    .member-item {
        flex-direction: column;
        gap:20px;
    }
    .member-logo {
        width:100%;
    }
    .activity-images {
        flex-direction:column;
        align-items:center;
    }
    .activity-images .activity-image,
    .activity-images .activity-image:only-child {
        width:80%;
    }
}

/* ==========================================
   会員活動内容 ページ送り
========================================== */
.member-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;
}

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

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

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

.member-archive .pagination {
    text-align: center;
}

/* スマホ対応：会員活動 */
@media screen and (max-width:768px) {

    /* 会員活動内容詳細：本文 */
    .activity-content {
        margin-left: 15px !important;
        margin-right: 15px !important;
        box-sizing: border-box !important;
    }
	
	/* 会員活動内容詳細：所在地 */
    .member-detail-info .info-item:first-child {
        margin-left: 15px !important;
    }
	
	/* 会員活動内容詳細：ボタン */
    .member-detail-buttons {
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
	
}
