@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

body {
	font-family: "M PLUS 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.no-kaigyou {
	white-space: nowrap;
}


/* common======================= */

@media screen and (min-width: 960px) {
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 80%;
  min-width: 950px;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 70%;
		min-width: 1000px;
}
}

@media screen and (max-width: 960px){
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
	.sp-wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
	width: 92%;
}
}


.no-kaigyou {
	white-space: nowrap;
}


/* マージン======================= */

.m-left {
	margin-left: auto;
}

.m-right {
	margin-right: auto;
}

.m-center {
	margin: 0 auto;
}

.mt-20 {
	margin-top: 20px;
}

/*コンテンツ下余白なし*/
#content {
padding-top: 0;
margin-bottom: 0px;
}
.w-beforeFooter{
	margin: 0;
}


/* カラーボックス===================== */

.color-box-white {
	background: #fff;
	padding: 2rem;
	border-radius: 30px;
}

.color-box-green {
	background: #e2f7e5;
	padding: 2rem;
	border-radius: 30px;
	box-shadow: 5px 5px 10px #d3d3d3;
}

.color-box-blue {
	background: #edf5fc;
	padding: 2rem;
	border-radius: 30px;
	box-shadow: 5px 5px 10px #d3d3d3;
}

.color-box-orange {
	background: #f7ece2;
	padding: 2rem;
	border-radius: 30px;
	box-shadow: 5px 5px 10px #d3d3d3;
}

/* テーブル========================= */

.c_table td{
	line-height: 1.8;
	padding: 15px 0;
}

/* 見出し========================== */

.lead {
	font-size: clamp(1rem, 1.5vw, 1.8rem);
}

.sec-title {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 5rem auto 1rem;
  gap: 1rem;
}

.sec-title h2 {
  font-size: 1.5rem;
  white-space: nowrap;
}
.sec-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #16aa4f;
}


/* フォントサイズ====================== */

.text-level01 {
	font-size: clamp(1.3rem, 2.3vw, 2rem);
	text-align: center;
}

@media screen and (max-width:480px) {
.text-level01 {
	text-align: left;
}
}


/* ボタン========================= */

a.c_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	white-space: nowrap;
	height: 3.5rem;
	max-width: 300px;
	padding: 0 4rem;
	border: 1px solid #f4f4f4;
	border-radius: 100px;
	background-size: 400%;
	color: #fff;
	letter-spacing: 0.2rem;
	transition: border-color 0.5s ease;
}
a.c_btn:hover::before {
  transform: scaleX(1);
}
a.c_btn:hover {
	color: #fff;
}
a.c_btn span {
  position: relative;
  z-index: 1;
}
a.c_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: #139247;
  transition: all 0.475s;
}

/* ヘッダーメニュー=============== */

.l-header {
	border-top: solid 7px var(--color_main)
}

.-series .c-headLogo a{
	font-size: clamp(10px, 1.3vw, 23px);
	white-space: nowrap;
}

.c-gnav>.menu-item>a .ttl {
	font-size: clamp(12px, 1vw, 15px);
  letter-spacing: 0.05rem;   /*文字の間隔*/
  font-weight: 500;
}

@media screen and (max-width: 480px){
  .-series .c-headLogo a{
	font-size: 1rem;
	white-space: nowrap;
}
}


/* メインビジュアル================= */

.p-mainVisual__inner{
	padding: 0 3% 0 3%;
}

.main-text {
	font-size: clamp(1.3rem, 3.5vw, 3.5rem);
	letter-spacing: 0.3rem;
	font-weight: 500;
}


/* お知らせ========================== */

.news-item {
}
.newsList {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  align-items: flex-start; 
	background-color: #fff;
}
ul.newsList {
  padding: 1.5rem 0 1.5rem 1rem;
	width: 100%;
	margin: 15px auto;
	border-radius: 10px;
}

ul.newsList li {
  margin: 0 10px;
}

ul.newsList li a {
  color: #333;
  transition: all 0.3s ease;
  display: inline-block; 
}

ul.newsList li a:hover {
  color: #139247;
  transform: translateX(5px); 
}

/* 日付の右にNEWが来ても崩れないように */
.news_date{
  min-width: 110px;       /* 既存より少しだけ広げてもOK */
  font-weight: bold;
  color: #777;
  display: inline-flex;   /* 日付とNEWを横並びに */
  align-items: center;
  gap: 8px;               /* 日付とNEWの間隔 */
}

/* NEWバッジ */
.news_new{
  display: inline-block;
  padding: 2px 6px;
	margin-left: 7px;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: #e60000;
  border-radius: 4px;
  letter-spacing: .02em;
  transform: translateY(-1px); /* ベースライン微調整（任意） */
}

/* スマホ時の縦並びでも違和感が出ないように（任意） */
@media (max-width: 768px){
  .news_date{ margin-bottom: 4px; }
}


.news_text {
  flex: 1; 
}

.scroll {
  overflow: auto;
  height: 100%;
  max-height: 300px;
  width: 100%;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #dfdfdf #fff;
}

/* WebKit */
.scroll::-webkit-scrollbar {
  width: 10px;
}
.scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
.scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media screen and (max-width: 768px) {
	.top-news-wrapper {
		width: 93%;
		margin: 0 auto;
	}
  .newsList {
    flex-direction: column;
  }
	.news_text p{
    margin-top: 0.8em;
  }
	.scroll {
  max-height: 400px;
}
}


/*news詳細ページ*/
.c-postTitle__ttl{
	display: none;
}

.text_h2{
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.news_date{
		margin-bottom: 20px;
}
.news-box{
	max-width: 1200px;
	margin: 80px 0 80px 0;
}

.news_file {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.news-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 1.6em;
  color: #fff;
  background-color: #e87e39;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid transparent; 
	margin-top: 30px;
}

.news-file-btn:hover {
  border: 1px solid #e87e39;
  background-color: transparent;
  color: #333;
}

.news_img_top{
	text-align: center;
}

.text_main p{
	margin-bottom: 1.5em;
}

.news-box div + div {
	margin-bottom: 10px;
}

.text_main{
	margin-top: 40px;
	margin-bottom: 30px;
}
@media screen and (max-width: 480px){
  .text_box{
    font-size: 17px;
  }
}

.flex_news_img{
width:100%;
  height:auto;
  display:flex;
  flex-direction:row; /* 記載しなくてもデフォルトで指定されている */
  flex-wrap:wrap; /* 折り返し */
  justify-content:space-between;
	 gap: 10px 4px; /* 余白 */
	margin-top: 60px;
}
.flex_news_img::after{
  content:"";
  display: block;
  width:32%;
}

.news_img{
	width: 32.5%;
}
@media screen and (max-width: 480px){
	.flex_news_img{
    flex-direction: column;
  }
  .news_img{
    width: 100%;
  }
}

/* トピックス================== */

.topix_file-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.topix_file-item {
  background: #fff;
  margin-bottom: 20px;
  padding: 22px 16px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topix_file-item:hover {
  
}

.topix_file-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.topix_file-item a:hover {
  color: #139247;
	transform: translateX(3px);
}

/* PDFアイコン画像 */
.pdf-icon {
  flex-shrink: 0;
  width: 25px;
  height: auto;
  display: inline-block;
}

/* モバイル時 */
@media (max-width: 768px) {
  .topix_file-item {
    padding: 10px 14px;
  }
}





/* トップページ======================== */

.top-about-box {
	position: relative;
	top: -70px;
}

.top-about-text {
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	font-weight: 500;
	letter-spacing: 0.05rem;
	color: #fff;
	background-color: #20ba53;
	padding: 2rem 3rem;
	border-radius: 15px;
}

.image-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
	z-index: 0;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
	position: relative;
	z-index: 0;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 59, 114, 0.4);
  z-index: 1;
  pointer-events: none;
}

.top-contents-item {
	position: relative;
}

.top-contents-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 1.5rem;
  pointer-events: none; 
}

.top-contents-text h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
	font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.title-with-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 必要に応じてleftに変更 */
}

.arrow-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #083b72;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.image-wrapper:hover ~ .top-contents-text .arrow-circle {
  transform: scale(1.2);
}

.arrow-icon {
  display: inline-block;
  color: #fff;
  transition: all 0.5s ease;
}

/* 画像ホバー時に矢印が右にスライド */
.image-wrapper:hover ~ .top-contents-text .arrow-icon {
  transform: translateX(5px);
}



@media screen and (max-width: 480px) {
	.top-about-text {
	padding: 1rem 2rem;
}
	.top-contents-text {
	pointer-events: none; 
		font-size: 14px;
}
}


/* ページ共通==================== */

.l-main {
	margin-bottom: 100px;
}


/* 協会概要======================== */

.pdf-list .swell-block-linkList__link {
padding: 20px 10px;
}

.pdf-list .swell-block-linkList__link img{

}

.pdf-list .swell-block-linkList__link img {
  vertical-align: text-bottom;
	margin-right: 7px;
}




/* 会報============================ */

.page-hero--newsletter {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
	margin-bottom: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
  overflow: hidden;
}

.page-hero--newsletter { background-image: url('http://www.j-forestry.or.jp/wp-content/uploads/2025/11/newsletter-header.jpg'); }


.page-hero::before{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2); /* 暗さはお好みで */
  pointer-events: none;
}

.page-hero--newsletter .page-hero__title{
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;      /* 完全中央寄せ */
  padding: 0 4vw;
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 0 15px rgba(0,0,0,0.5);
}

@media (max-width: 768px){
  .page-hero--newsletter {
  min-height: 165px;
}
}


/*==============================
  年見出し（横幅いっぱいの緑ベタ＋四辺ステッチ）
==============================*/
.newsletter-year{
  position: relative;
  width: 100%;
  background-color: #139247;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 0; /* ボタン側で内側余白を設定 */
  margin: clamp(40px, 6vw, 64px) 0 20px;
  box-sizing: border-box;
  overflow: hidden;
}

/* 四辺ステッチ */
.newsletter-year::before{
  content: "";
  position: absolute;
  inset: 4px 4px;
  background:
    repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 5px) top / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 5px) bottom / 100% 1px no-repeat,
    repeating-linear-gradient(0deg, #fff 0 3px, transparent 3px 5px) left / 1px 100% no-repeat,
    repeating-linear-gradient(0deg, #fff 0 3px, transparent 3px 5px) right / 1px 100% no-repeat;
  opacity: .9;
  pointer-events: none;
}

/* 年ラベル */
.newsletter-year span{
  position: relative;
  z-index: 1;
  letter-spacing: .03em;
}

/* ボタン化（flex配置で「西暦＋説明」＋ 右端にアイコン） */
.ny-acc-btn{
  all: unset;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75em 1em;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  gap: 10px; /* 西暦と説明にちょっと余白 */
}

/* 西暦タイトル部分 */
.ny-acc-title{
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
}

/* 西暦の右隣に「クリックで開閉」 */
.ny-acc-title::after{
  content: "クリックで開閉";
  display: inline-block;
  margin-left: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.03em;
}

/* 右端の＋／−アイコン */
.ny-acc-icon{
  margin-left: auto;    /* ここで右端に押しやる */
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
  user-select: none;
  text-align: right;
  min-width: 1.2em;     /* ＋と−で幅がブレないように */
}

/* 閉：＋ ／ 開：− を出し分け */
.ny-acc-btn .ny-acc-icon::before{
  content: "+";
}
.ny-acc-btn[aria-expanded="true"] .ny-acc-icon::before{
  content: "−"; /* U+2212 マイナス記号 */
}

/* ホバー／フォーカス時の視覚効果 */
.ny-acc-btn:hover,
.ny-acc-btn:focus-visible{
  background-color: rgba(255,255,255,.05);
  outline: 2px solid rgba(255,255,255,.25);
  outline-offset: -2px;
  transition: background-color .2s ease;
}


/* 高さアニメーション（滑らかに開閉） */
.newsletter-panel{
  overflow: hidden;
  height: auto; /* PHPでhiddenを外した年だけauto */
  transition: height .28s ease;
}

@media (max-width: 768px){
  .ny-acc-title::after{
    content: "タップで開閉";
  }
}


/* 動きを減らす設定のユーザー対応 */
@media (prefers-reduced-motion: reduce){
  .newsletter-panel{
    transition: none !important;
  }
}




/*==============================
  一覧グリッド（4カラム）
==============================*/
.newsletter-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
	margin-top: 40px;
}

.newsletter-item a{
  display: block;
  text-decoration: none;
}

.newsletter-thumb{
  width: 100%;
  aspect-ratio: 3 / 4;  /* 縦長サムネ想定 */
  object-fit: cover;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  display: block;
}

.newsletter-thumb--placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #777;
  font-size: 14px;
}

.newsletter-title{
	text-align: center;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.newsletter-item a:hover .newsletter-thumb{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: all .2s ease;
}

/* レスポンシブ */
@media (max-width: 1024px){
  .newsletter-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .newsletter-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}


/* 林活地方議連====================== */

/* ヒーロー（任意：画像はCSSで指定） */
.page-hero--group{
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  background: center / cover no-repeat var(--group-hero, url('http://www.j-forestry.or.jp/wp-content/uploads/2025/11/group-header.jpg'));
  min-height: 300px;
}
.page-hero--group::before{
  content:"";
	position:absolute;
	inset:0; background: rgba(0,0,0,.1);
}
.page-hero--group .page-hero__title{
  position:absolute; inset:0;
	display:grid;
	place-items:center;
	margin:0;
  color:#fff;
	font-size: 2rem;
}

@media (max-width: 768px){
  .page-hero--group {
  min-height: 165px;
}
}

/* ===== アコーディオン「中身」だけ置き換え（group-list） ===== */
.group-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;                    /* 行間 */
}

/* h3 を .group-item の「上」に出し、全幅の下線 */
.group-item__cat{
  margin: 24px 0 8px;
  padding-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #139247;
  border-bottom: 2px solid rgba(19,146,71,.25);  /* 横幅いっぱいの下線 */
}

/* 行のカード */
.group-item{
  background: #fff;
  border-radius: 10px;
  padding: 17px 14px;
}

.group-item__row{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1a1a1a;
}

/* h3：選択肢ラベル（提言・事業報告…） */
.group-item__cat{
  margin: 24px 0 8px;
  padding-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #139247;
  border-bottom: 2px solid rgba(19,146,71,.25);  /* 横幅いっぱいの下線 */
}

.group-item__thumb{
  width: 28px;
  height: 28px;
  border-radius: 4px;
  flex: 0 0 28px;
  background: no-repeat center/cover
    url("http://www.j-forestry.or.jp/wp-content/uploads/2025/11/pdf-icon.png");
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}

.group-item__name{
  font-size: .98rem;
  line-height: 1.6;
  transition: color .18s ease, transform .18s ease;
}

/* ホバー／フォーカス時のアニメ */
.group-item__row:hover .group-item__name,
.group-item__row:focus-visible .group-item__name{
  color: #139247;
  transform: translateX(3px);
}

/* アクセシビリティ：フォーカス見える化 */
.group-item__row:focus-visible{
  outline: 2px solid rgba(19,146,71,.35);
  outline-offset: 2px;
  border-radius: 6px;
}

/* PDFリンク */
.group-item__link{
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
}
.group-item__link a{
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.group-item__link a:hover{
  opacity: .85;
}

/* SPは1カラム */
@media (max-width: 768px){
  .group-list{ grid-template-columns: 1fr; }
}


/* 会員ページ ログイン全体 */
.member-login {
  max-width: 480px;
  margin: 80px auto;
  padding: 32px 28px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* タイトル */
.member-login .c-title {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  margin-bottom: 24px;
  border-left: 4px solid #007bbb; /* お好みでブランドカラーに */
  padding-left: 10px;
}

/* フォーム */
.member-login__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ラベル＋入力行 */
.member-login__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ラベル */
.member-login__row label {
  font-size: 0.95rem;
  font-weight: 600;
}

/* テキストボックス */
.member-login__row input[type="text"],
.member-login__row input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.member-login__row input[type="text"]:focus,
.member-login__row input[type="password"]:focus {
  border-color: #007bbb;
  box-shadow: 0 0 0 3px rgba(0, 123, 187, 0.18);
  outline: none;
}

/* ボタン */
.member-login__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: #007bbb;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.member-login__btn:hover {
  background: #0066a0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.member-login__btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* エラーメッセージ */
.member-login__error {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #ffe5e5;
  color: #b30000;
  font-size: 0.95rem;
}

/* 注釈 */
.member-login__note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 16px;
}

/* スマホ少し余白を減らす */
@media (max-width: 599px) {
  .member-login {
    margin: 40px auto;
    padding: 24px 18px;
  }
}


/* =========================================
   会員限定ページ：ヒーロー
========================================= */
.page-hero--member {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  background: center/cover no-repeat var(--member-hero, url('http://www.j-forestry.or.jp/wp-content/uploads/2025/11/member-header.jpg'));
  min-height: 300px;
}

.page-hero--member::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.15);
}

.page-hero--member .page-hero__title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

@media (max-width: 768px){
  .page-hero--member {
  min-height: 165px;
}
}

/* =========================================
   会員限定ページ：コンテンツ部
   （archive-group の中身を流用）
========================================= */

.member-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* h3：入力された分類名 */
.group-item__cat {
  margin: 24px 0 8px;
  padding-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #139247;
  border-bottom: 1px solid #139247;
}

/* 1行のカード */
.group-item {
  background: #fff;
  border-radius: 10px;
  padding: 18px 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.group-item__row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1a1a1a;
}

/* PDFアイコン */
.group-item__thumb {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  flex: 0 0 28px;
  background: no-repeat center/cover url("http://www.j-forestry.or.jp/wp-content/uploads/2025/11/pdf-icon.png");
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}

/* PDFタイトル */
.group-item__name {
  font-size: .98rem;
  line-height: 1.6;
  transition: color .18s ease, transform .18s ease;
}

/* ホバー時アニメ */
.group-item__row:hover .group-item__name,
.group-item__row:focus-visible .group-item__name {
  color: #139247;
  transform: translateX(2px);
}

/* フォーカスリング */
.group-item__row:focus-visible {
  outline: 2px solid rgba(19,146,71,.35);
  outline-offset: 2px;
  border-radius: 6px;
}


/*-------------------------------------------*/
/* お問い合わせフォーム      */
/*-------------------------------------------*/

/* ベース */
.section--contact .section__content,
.form--contact { width: 100%; }

.form__title { margin: 0 0 .8rem; font-weight: 700; font-size: 1.25rem; }
.form__note  { margin: 0 0 1rem; color: var(--c-muted); font-size: .95rem; }

/* グリッド：基本1列 / 860px〜で2列 */
.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2.4vw, 18px);
	background-color: #f0f0f0;
	padding: 1.5rem;
	border-radius: 10px;
}
@media (min-width: 860px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
}
.form__group { margin-bottom: 20px; }
.form__group--full { grid-column: 1 / -1; }

/* ラベル／コントロール */
.form__label { display:block; font-weight:600; margin: 0 0 .8rem; }
.form__control,
.form__group select {
  width: 100%;
  padding: .5em 1em;
  border: 1px solid var(--c-border, #ddd);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--c-text, #333);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__control:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--c-brand, #78bee6);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand, #78bee6) 25%, transparent);
}
.form__control:focus-visible,
.form__group select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c-brand, #78bee6) 60%, transparent);
  outline-offset: 2px;
}

/* 必須バッジ */
.form__label.is-required::after {
  content: "必須";
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.2em 0.5em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background-color: #e53935;
  border-radius: 4px;
  line-height: 1;
  vertical-align: middle;
}

/* CF7改行除去（整形のため） */
.wpcf7 br { display: none !important; }

/*-------------------------------------------*/
/* 横並び指定：お名前・ふりがな・メール      */
/*-------------------------------------------*/

/* お名前・ふりがな（姓/名・せい/めい） */
.from_name {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* PCは横並び維持 */
}
.from_name .item-box {
  flex: 1 1 0;
}
.from_name label { margin: 0 0 .25rem; display:block; }

/* メール（メール＋確認用） */
.form__group--email-double {
  display: flex;
  gap: 20px;
}
.form__group--email-double .form__group {
  flex: 1 1 0;
  margin-bottom: 0; /* 余白重複を防止 */
}

/* 短い幅 */
/* スマホ（〜768px）は縦に戻す */
@media (max-width: 768px) {
  .from_name { flex-direction: column; gap: 10px; }
  .form__group--email-double { flex-direction: column; gap: 10px; }
}

/* PC(860px〜)では左カラム(1列目)に固定して半幅のまま表示 */
@media (min-width: 860px) {
  .form__group--col1 {
    grid-column: 1 / 2 !important; /* 左カラム固定＝半幅 */
  }
}
/* スマホ側は元々1カラムなので指定不要（念のため書くなら下で全幅に） */
@media (max-width: 859px) {
  .form__group--col1 {
    grid-column: 1 / -1; /* なくてもOK */
  }
}

/*-------------------------------------------*/
/* 電話番号＋FAX番号 横並び                 */
/*-------------------------------------------*/
.form__group--tel-fax {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.form__group--tel-fax .item-box {
  flex: 1 1 0;
}

.form__group--tel-fax .form__label {
  margin-bottom: .5rem;
  display: block;
}

/* スマホでは縦並び */
@media (max-width: 768px) {
  .form__group--tel-fax {
    flex-direction: column;
    gap: 10px;
  }
}


/*ラジオボタン） */
.form__radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.form__radio-list label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
  font-size: .95rem;
}

.form__radio-list input[type="radio"] {
  width: 1rem;
  height: 1rem;
}


/*-------------------------------------------*/
/* 送信ボタン                                */
/*-------------------------------------------*/
.form__actions { margin-top: .5rem; text-align: center; }
.wpcf7-submit.btn {
  width: 200px;
  background-color: #232323;
  color: #fff;
  border-radius: 50px;
  padding: 0.8em 2em;
  border: none;
  margin-top: 20px;
  transition: opacity .3s ease, transform .2s ease;
  cursor: pointer;
}
.wpcf7-submit.btn:hover { opacity: .88; }
.wpcf7-submit.btn:active { transform: translateY(1px); }

/*-------------------------------------------*/
/* 個人情報保護方針（スクロール枠）           */
/*-------------------------------------------*/
.contact-scroll {
  overflow: auto;
  height: 250px;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
	background-color: #fff;
	margin: 20px 0;
  padding: 10px;
  scrollbar-width: thin;                 /* Firefox */
  scrollbar-color: #c0c0c0 #eeeeee;      /* Firefox */
}
/* WebKit系スクロールバー */
.contact-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.contact-scroll::-webkit-scrollbar-track { background-color: #eeeeee; }
.contact-scroll::-webkit-scrollbar-thumb { background-color: #c0c0c0; }

/* 見出しやリストの体裁 */
.privacy-title {
  font-size: 1.2rem;
	margin-bottom: 15px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}
.contact-privacy-item { 
	margin-bottom: 40px;
}
.contact-privacy-item ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
}
.contact-privacy-item ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
}


/*-------------------------------------------*/
/* CF7 メッセージ/エラー                     */
/*-------------------------------------------*/
.wpcf7 form .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .95rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #22c55e;
  background: #ecfdf5;
  color: #14532d;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border: 1px solid #ef4444;
  background: #fef2f2;
  color: #7f1d1d;
}

.wpcf7-not-valid-tip {
  margin-top: .35rem;
  font-size: .9rem;
  color: #b91c1c;
}
.email-error,
.zip-error-tip {
  display: block;
  color: #b91c1c;
  font-size: .9rem;
  margin-top: .35rem;
}


/* フッター====================== */

.l-footer__widgetArea {
	padding: 50px 0 50px 0;
}

@media (min-width: 960px) {
	.w-footer__box {
		align-self: flex-end;
	}
}

@media screen and (max-width: 768px) {
	.l-footer__inner {
    padding-bottom: 80px;
}
}

@media not all and (min-width: 960px) {
    .w-footer__box + .w-footer__box {
        margin-top: 0;
    }
}
	@media not all and (min-width: 960px) {
    .w-footer__box {
        padding: 0 0px;
    }
}
	
@media screen and (max-width:768px){
	#nav_menu-2 {
	display: none;
}
	#nav_menu-3 {
	display: none;
}
}


/*ぱんクズリスト非表示*/
#breadcrumb {
 display: none;
}

/*reCAPTCHA全面表示*/
.grecaptcha-badge {
	z-index: 1; 
}

/* 「トップへ戻るボタン」の位置調整 */ 
.p-fixBtnWrap { 
	bottom: 85px;
	right: 10px
}