/**
 * Template: snow-monkey
 * Theme Name: Snow Monkey Child
 */

.c-section { padding-top: 1.0rem!important; }

h2.top {
  padding: 10px 10px 10px 15px;
  border: 1px solid #ccc;
  position: relative;
  color: #333!important;
  right: 10px;
}

h2.top:before{
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 3px;
  height: 26px;
  background: #c00000;
}

h2.top:after{
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 100px;
  height: 2px;
  background: #c00000;
}


.wp-block-column>h2 {
	background: #fff!important;
	color: #333;
	border-left: none!important;
	
}

h3 { font-size: 1.1rem; }

.p-entry-content>h3 { 
    border-bottom: solid 1px #c00000;
    margin-top: 2rem!important;
}


.c-entry__title { 
  padding: 10px 10px 10px 15px;
  border: 1px solid #ccc;
  position: relative;
  color: #333!important;
  right: 10px;
  border-left: none;
  font-size: 22px;
  margin-bottom: 30px!important;
}

.c-entry__title::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 3px;
  height: 26px;
  background: #c00000;
}

.c-entry__title::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 100px;
  height: 2px;
  background: #c00000;
}

.c-site-branding .custom-logo, .wpaw-site-branding__logo .custom-logo {
        margin-top: 10px;
        width: 330px;
}

@media (max-width:1023px) {
.c-site-branding .custom-logo, .wpaw-site-branding__logo .custom-logo {
            width: 300px;
        margin-top: 17px;
}
}


@media (max-width: 767px) {
.c-site-branding .custom-logo, .wpaw-site-branding__logo .custom-logo {
    width: 300px;
        margin-top: 17px;
        height: auto;
}
h2.top {
font-size: 22px;
}

h2.top:before {
  top: 16px;
  height: 20px;
}

h2.top:after{
  right: -10px;
  width: 50px;
}
.c-entry__title {
font-size: 22px;
}
.c-entry__title::before {
  top: 16px;
  height: 20px;
}

.c-entry__title::after{
  right: -10px;
  width: 50px;
}

}
	


.smb-btn-wrapper.is-style-text .smb-btn {
	text-decoration: underline;
}

a.smb-btn {
background: #c00000;
}

.smb-media-text__title {
	font-size: 1.3rem;
}

.c-page-top a {
	background: #c00000;
}

.c-drawer { 
	background: #fff!important;
}

.c-drawer__inner {
border-left: 1px solid #c00000;
}

.c-drawer .c-hamburger-btn__bar {
background: #333;
}


.c-hamburger-btn__label {
color: #333;
}

.c-drawer .c-ic-angle-right:before {
color: #333;
}

.c-drawer .c-ic-angle-right:before {
    border-color: var(--wp--preset--color--red);
}

.c-drawer a {
color: #333;
}

.c-drawer__item {
border-bottom: solid 1px #c00000;
}

.mt-0 { margin-top: 0!important; }
.mb-5 { margin-bottom: 20px; }


/* トップページ */

body.post-type-archive-schedule ul.c-entries a {
	color: #333;
    pointer-events: none;
    text-decoration: none;
 }
body.post-type-archive-schedule ul.c-entries a.gmap-link {
	color: #c00000;
	pointer-events: auto;
	text-decoration: underline;
}

.landing-schedule-block a {
	color: #333;
    pointer-events: none;
    text-decoration: none;
 }

 .landing-schedule-block a.gmap-link {
	color: #c00000;
	pointer-events: auto;
	text-decoration: underline;
}

.c-entry__header {
    margin-bottom: 0;
}

body.home .c-entries--text li.c-entries__item > a {
    pointer-events: none;
}


/*
.c-entries__item>a {
    pointer-events: none;
}
*/
/* 投稿タイトル非表示 */
.c-entry-summary__header .entry-title {
    display: none;
}

/* アーカイブタイトル非表示 */
.c-entry-summary__title {
    display: none;
}

h3.c-entry-summary__title { font-weight: bold!important; padding-left: 10px!important; }

.c-entry-summary__body p:nth-child(3) { padding-bottom: 20px; }

.riji { text-align: center; max-width: 150px; }

/** 事業報告　**/
.d-flex { display: flex; }
.single-reports-lead { display: flex; list-style: none; font-size: 16px; justify-content: space-between; padding-left: 0; }
.single-reports-lead li { width: 48%; }

#gallery ul { list-style: none; font-size: 16px; flex-direction: row;
flex-wrap: wrap; justify-content: flex-start; justify-content: space-between; }

#gallery ul::after{
  content:"";
  display: block;
  width:30%;
}

#gallery ul { /*align-items: baseline;*/ padding-left: 0; }
#gallery ul li { width: 32%; font-size: 14px; }
.single-reports-pics { text-align: center; font-size: 14px; }

@media( max-width:767px ){
.single-reports-lead { flex-wrap: wrap; }
.single-reports-lead li { width: 100%; }
	.single-reports-lead li	img {margin-bottom: 20px;}
#gallery ul li { width: 48%;}
}
/*
@media( max-width:599px ){
	#gallery ul li { width: 100%;}
}
*/

/* メッセージ */
.big-txt { font-size: 26px; }
.message-b strong:before { content:'《'; color: #c00000; font-weight: bold;  padding-right: 5px;}
.message-b strong:after { content:'》'; color: #c00000; font-weight: bold;  padding-left: 5px; }

/* Top バナーリスト */
.t-banner { border: solid 1px #eee; max-width: 365px;
max-height: 63px; height: 70px; border-radius: 6px; display: block; color: #333; text-decoration: none; background-size: cover; margin-top: 0!important; margin-bottom: 30px; }

.t-banner p { padding-top: 12px; text-align: center; 
font-size: 20px; font-weight: bold; }

.u-aligncenter-wrapper {
	margin-top: 0!important;
}

.mx230 img {
	max-width: 230px!important;
}

.mx250 img {
	max-width: 250px!important;
}

/* スライダー */
.custom { background: radial-gradient(
  circle,
  rgba(240, 200, 150, 1) 0%,
  rgba(250, 225, 200, 1) 60%,
  rgba(255, 245, 235, 1) 100%
);

 width: 100%!important; margin: 0 auto!important; /*background:url('http://fukaya-jc.org/JCHP/2026/wp-content/uploads/2025/12/22350435-scaled.jpg');
 background-size: cover;*/
}
#metaslider_container_27 { max-width: 1200px!important; margin: auto!important; }
.flex-direction-nav li {
    border: none!important;
}

/* 事業案内 */
h2.c-entry-summary__title { font-weight: bold!important; padding-left: 10px!important; }


/* メンバー紹介 */

.member-info {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;	
}

.member-info .box {
display: flex;	
width: 24%;
border: solid 1px #eee;
padding: 5px;
margin-bottom: 20px;
align-items: center;	
}

.member-info .box .left {
	width: 35%;
	text-align: center;
}

.member-info .box .left img {
height: 100px;	
object-fit: cover;	
}

.member-info .box .right {
	width: 65%;
}

.member-info .box ul {
	list-style: none;
	font-size: 14px;
	padding-left: 5px;
}

.member-info .box ul li span {
	padding-left: 15px;
}

.member-info .box dl {
	list-style: none;
	font-size: 13px;
	padding-left: 7px;
	display: flex;
	flex-wrap: wrap;
}

.member-info .box dl dt {
	width: 40%;
	font-weight: normal;
}

.member-info .box dl dd {
	width: 60%;
}

/* 最後のコンテンツを左寄せにする指定 */
.member-info:after {
    content: "";
    display: block;
    width: 24%;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
}

.member-info:before {
    content: "";
    width: 24%;
    order: 1;
}

@media( max-width:767px ){
.member-info .box {
display: flex;	
width: 48%;
	}
}

@media( max-width:440px ){
.member-info .box .left {
	width: 85%;
	margin-top: 5px;
}
.member-info .box .left img {
height: 140px;	
width: 100%;
}	
.member-info .box .right {
	width: 90%;
	margin-top: 5px;
}	
.member-info .box {
    flex-direction: column;
}
.member-info .box dl dt {
	width: 100%;
	font-weight: normal;
}

.member-info .box dl dd {
	width: 100%;
}	
}

@media (min-width: 782px) {
.wp-block-column:not(:first-child) {
	margin-left: 0.8rem!important;
}
}

/* ヘッダー */

.l-header:not(.l-header--left) .c-row, .l-header:not(.l-header--left) .c-row__col {
    height: 80px;	
}


.p-global-nav .c-navbar__item>a {
    margin-top: 5px;	
}

.l-header__content {
	padding: 0;
	}

.c-hamburger-btn {
	height: 80px;
}


@media (max-width: 767px) {
.l-header__content {
	padding: 0;
	}
}

/* 2024 CSS ver */
.l-banner-01 {
	border: dashed 1px #c00000;
}

.l-banner-01 a {
	text-decoration: none; 
	color: #333;
	text-align: center;
	padding: 10px 20px 10px 15px;
	font-weight: bold;
	display: block;
	margin-left: 25px;
}

.l-banner-01 a:hover {
	opacity: 0.6;
	transition-duration: 0.5s;
}

.l-banner-01 a span {
	background: #666; 
	color: #fff; 
	border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
    margin-left: 10px;
    font-weight: normal;
}

.sns-table {
    width: 100%;
}

.sns-table th {
background: #111!important; 
color: #fff!important; 
text-align: center!important;
}

.sns-table td {
	padding: 0!important;
	font-weight: bold;
}

.sns-table td a {
	padding: 10px 20px 10px 15px;
	display: block;
	text-decoration: none;
	color: #111111;
}

.sns-table td a:hover {
	opacity: 0.6;
	transition-duration: 0.5s;
}

.contact-btn {
    margin-top: 10px; 
	background: #c00000; 
	color: #fff; 
	border-radius: 30px; 
	font-size: 14px;
	}

.contact-btn a {
	color: #fff;
	display:block;
	text-decoration: none;
	padding: 8px 12px; 
}

@media (max-width:1129px) {
	.contact-btn {
		margin-top: 0; 
	}
}

.p-global-nav .c-navbar__item>a {
	padding: 20px;
}

@media (max-width:1360px) {
.p-global-nav .c-navbar__item>a {
	padding: 20px 10px;
}
.c-row--lg-margin>.c-row__col {
	padding-right: 0!important;
	padding-left: 0!important;
	}
}

@media (max-width:1100px) {
	.c-hamburger-btn {
		display: block;
	}
}

@media (min-width: 64em) {
.c-container.c-container {
    max-width: 1480px;
    max-width: auto!important;
}
}

@media (min-width: 64em) {
.c-sub-nav--center .c-navbar {
    font-weight: bold;
}
}

.wp-block-image a {
    display: block;
}



/* 事業案内　select要素の枠線を消す */
#schedule_committee {
    border: none; /* 枠線を消す */
    -webkit-appearance: none; /* Safari, Chromeなどでのデフォルトの矢印を消す */
    -moz-appearance: none; /* Firefoxでのデフォルトの矢印を消す */
    appearance: none; /* 他のブラウザでも矢印を消す */
    background: transparent; /* 背景を透明に */
    padding-right: 20px; /* 右側に余白を追加して矢印部分の空間を確保 */
}

/* オプションの背景や枠を設定する */
#schedule_committee option {
    background-color: white; /* 必要に応じて背景色を設定 */
}

/* もしカスタム矢印を追加したい場合 */
#schedule_committee::after {
    content: "▼"; /* カスタム矢印 */
    position: absolute;
    right: 10px;
    pointer-events: none;
}

.schedule-block {
    margin-top: -20px;
    margin-bottom: 15px;
}

/* 特定のカスタム投稿アーカイブだけに適用 */
body.post-type-archive-schedule .c-entry__content {
}

.c-entries--text2.c-entries {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}

.c-entries--text2.c-entries::after {
  content: "";
  display: block;
  width: 30%;
}

.c-entries--text2.c-entries li.c-entries__item {
    width: 30%;
    box-sizing: border-box;
}


.c-entries--text2.c-entries li.c-entries__item img {
    display: block;
    height: 200px;
    object-fit: cover;  /* 画像が枠に収まるようにする */
    width: 100%;
}

/* カスタム投稿タイプ 'reports' のアーカイブページにのみ適用 */
body.post-type-archive-reports .p-archive .c-entries--text {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

body.post-type-archive-reports .p-archive ul.c-entries li.c-entries__item {
    width: 32%;
    box-sizing: border-box;
}

/* 画像が2枚のとき中央寄せ */
body.post-type-archive-reports .p-archive .c-entries--text::after {
  content: "";
  display: block;
  width: 32%;
}

body.post-type-archive-reports .p-archive ul.c-entries li.c-entries__item img {
    display: block;
    height: 250px;
    object-fit: cover;  /* 画像が枠に収まるようにする */
    width: 100%;
}


@media (max-width: 781px) {
    body.post-type-archive-reports .p-archive ul.c-entries li.c-entries__item {
    width: 48%;
}

    body.post-type-archive-reports .p-archive ul.c-entries li.c-entries__item img {
    height: 200px;
}

    .c-entries--text2.c-entries li.c-entries__item {
    width: 48%;
}
    .c-entries--text2.c-entries li.c-entries__item img {
    height: 150px;
}
}


/* reports-flexbox：2カラムのコンテナ */
.reports-flexbox {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* カラム間の余白 */
    align-items: flex-start;
}

/* 左側：アイキャッチ画像 */
.reports-flexbox-left {
    flex: 1; /* 幅を均等に */
    min-width: 300px; /* 最小幅 */
    max-width: 50%; /* 最大幅 */
    text-align: center;
}

/* 右側：場所とメッセージ */
.reports-flexbox-right {
    flex: 1; /* 幅を均等に */
    min-width: 300px;
    max-width: 50%;
}

/* アイキャッチ画像のサイズ調整 */
.reports-thumbnail {
    width: 100%; /* 画像の幅を親要素に合わせる */
    height: auto;
}

.reports-thumbnail {
    max-width: 100%;
    height: auto;
}

.reports-area-gallery {
    display: flex; 
    flex-wrap: wrap; 
    margin-top: 20px;
    width: 100%;
    justify-content: space-between;
}

.reports-area-gallery::after {
  content: "";
  display: block;
  width: 32%;
}

.reports-area-item {
    width: 32%;
    box-sizing: border-box;
    padding-bottom: 20px;
}

.reports-area-item img {
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    border: 1px solid #ccc;
}

.reports-area-item p {
    margin-top: 10px; 
    text-align: left;
}


@media (max-width: 781px) {
    .reports-flexbox {
        gap: 0;
    }
    .reports-flexbox-left {
        min-width: 100%;
    }
    .reports-flexbox-right {
    min-width: 100%;
    max-width: 100%;
    }
    .reports-flexbox-right {
        margin-top: 20px;
    }
    .reports-area-item {
    width: 48%;
    }
    .reports-area-item img {
    height: 200px; 
    }
    /* トップメッセージ部分 */
    .wp-block-snow-monkey-blocks-btn-box.smb-btn-box {
    padding: 0;
    }
}

.l-contents__inner {
    margin-top: 0;
}

.director-bg {
    background: url('http://fukaya-jc.org/JCHP/2026/wp-content/uploads/2025/12/bg04.gif');
 background-size: cover;
}