/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Version: 1.0.0
*/

/* ========================================
   ページの内容が少なくてもフッターを下に配置 */
   ======================================== */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wp-site-blocks {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wp-site-blocks > main {
    flex-grow: 1;
}

/* ========================================
   mtg_notice 開催案内：レイアウト調整
   ======================================== */

/* 案内カード全体 */
.mtg-notice-card {
    position: relative;
    box-sizing: border-box;

    max-width: 720px;
    margin: 30px auto;
    padding: 10px;
    background: #fff;
    color: #111;


}

/* 対面・オンラインのラベル */
.mtg-notice-badge {
    box-sizing: border-box;
    margin: 0 0 20px auto;
    padding: 3px 10px;
    width: fit-content;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 400;
    color: #fff;
	 border-radius: 6px;
}

.mtg-notice-face .mtg-notice-badge {
    background-color: #079fe3;
}

.mtg-notice-online .mtg-notice-badge {
    background-color: #20ad3b;
}

/* 第○回・固定タイトル */
.mtg-notice-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.1em;
    margin: 0 0 35px;
margin-bottom:40px;
    padding: 10px 20px;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
border-bottom: 5px solid #ddd;
	border-top: 1px solid #666;
}

.mtg-notice-number {
    margin: 0;
}

.mtg-notice-fixed-title {
    margin-left: 0.5em;
}

/* 開催情報 */
.mtg-notice-details {
    margin: 0;
    padding: 0;
}

.mtg-notice-row {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    column-gap: 30px;
    align-items: start;
    margin: 0 0 16px;
    padding: 0;
padding-bottom:15px;
	border-bottom: 1px solid #666;
}

/* 項目名 */
.mtg-notice-row dt {
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 1.8;
    white-space: nowrap;
	text-align: right;
}

/* ACFの値 */
.mtg-notice-row dd {
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* URL */
.mtg-notice-row dd a {
    color: #087db5;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

/* コメント欄：画像に合わせて高さを確保 */
.mtg-notice-comment {
    margin-top: 0;
    margin-bottom: 0;
}

.mtg-notice-comment dd {
    min-height: 245px;
    white-space: normal;
}

/* 投稿日 */
.mtg-notice-posted {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mtg-notice-posted time {
    display: inline-block;
    box-sizing: border-box;
    min-width: 200px;
    color: #111;
}

/* =====================================
   mtg_notice
   トップページ表示の文字・余白調整
   ===================================== */

/* マウスを乗せたとき */
.mtg-notice-list-item a:hover {
    background: #f7f7f7;
}

/* 対面・オンラインのラベル共通 */
.mtg-notice-list-badge {
    display: inline-block;
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

/* 対面 */
.mtg-notice-list-badge-face {
    background-color: #079fe3;
}

/* オンライン */
.mtg-notice-list-badge-online {
    background-color: #20ad3b;
}

/* 第○回 */
.mtg-notice-list-number {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* 日時 */
.mtg-notice-list-datetime {
    min-width: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* スマートフォン */
@media screen and (max-width: 768px) {
 .mtg-notice-card {
 width:100%;
 margin:0 auto;
 padding: 0;
  }

    .mtg-notice-badge {
        margin-bottom: 25px;
        padding: 4px 12px;
        font-size: 1.1rem;
    }

    .mtg-notice-heading {
        justify-content: flex-start;
        margin-bottom: 28px;
        font-size: 1.3rem;
    }

    .mtg-notice-fixed-title {
 text-align: center;
 white-space: nowrap;
    }

    .mtg-notice-row {
        grid-template-columns: 100px minmax(0, 1fr);
        column-gap: 8px;
        margin-bottom: 15px;
    }

    .mtg-notice-row dt,
    .mtg-notice-row dd {
        font-size: 1rem;
    }

    .mtg-notice-row dt {
        letter-spacing: 0.05em;
    }

    .mtg-notice-comment dd {
        min-height: 180px;
    }

    .mtg-notice-posted {
        gap: 8px;
        margin-top: 30px;
        font-size: 0.95rem;
    }

    .mtg-notice-posted time {
        min-width: 0;
    }
    .mtg-notice-list-view {
        font-size: 15px;
        line-height: 1.5;
    }

    .mtg-notice-list-item a {
        align-items: flex-start;
        gap: 6px 12px;
        padding: 13px 8px;
    }

    .mtg-notice-list-badge {
        font-size: 12px;
    }

    .mtg-notice-list-number {
        font-size: 15px;
    }

    .mtg-notice-list-datetime {
        flex-basis: 100%;
        font-size: 14px;
    }
}
/* =====================================
   mtg_notice 一覧
   アーカイブページ表示の文字・余白調整
   ===================================== */

/* 一覧全体 */
.mtg-notice-list-view {
    width: 100%;
    margin: 20px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

/* 各投稿の行 */
.mtg-notice-list-item {
    margin: 0;
    padding: 0;
	border-bottom: 1px solid #ddd;

}

.mtg-notice-list-item:first-child {
    border-top: 1px solid #ddd;
}

/* リンク全体 */
.mtg-notice-list-item a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    padding: 8px 6px;
    color: inherit;
    text-decoration: none;
    line-height: 1.4;
}

/* マウスを乗せたとき */
.mtg-notice-list-item a:hover {
    background: #f7f7f7;
}

/* 対面・オンラインのラベル共通 */
.mtg-notice-list-badge {
    display: inline-block;
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

/* 第○回 */
.mtg-notice-list-number {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* 日時 */
.mtg-notice-list-datetime {
    min-width: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* ========================================
   report 定例会報告：レイアウト調整
   ======================================== */

/* 定例会報告 */
.meeting-report {
    max-width: 700px;
    margin: 0 auto;
}

.meeting-report__title {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.meeting-report__date {
    margin-bottom: 28px;
    color: #666;
    font-size: 0.85rem;
}

.meeting-report__photo {
    margin-bottom: 28px;
}

.meeting-report__photo img {
    display: block;
    width: 100%;
    height: auto;
}

.meeting-report__comment {
 font-size:0.9rem;
    line-height: 1.5;
}

/* =====================================
   report 一覧
   トップページ表示の文字・余白調整
   ===================================== */
/* 定例会報告：トップページ最新4件 */
.report-latest {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

/* 各投稿 */
.report-latest__item {
    min-width: 0;
}

/* 投稿ページへのリンク */
.report-latest__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* 画像 */
.report-latest__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.report-latest__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* タイトル */
.report-latest__title {
    margin: 6px 0 4px;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
}

/* 開催日 */
.report-latest__date {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* マウスを乗せたとき */
.report-latest__link:hover {
    opacity: 0.8;
}

/* スマートフォン */
@media screen and (max-width: 768px) {
	.report-latest {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
	}
}