/*
Theme Name:リファレンス六本松ビル
Description:リファレンス六本松ビルテーマ
Theme URI: none
Author: Terazaki
Author URI: none
Version: 1.00
*/
@import url(pc.css) screen and (min-width: 800px);
@import url(sp.css) screen and (max-width: 799px);
@import url(pc.css) print;
@charset "utf-8";

html, body {
	width: 100%;
	height: 100%;
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

img, video {
	max-width: 100%;
	height: auto;
}

button {
	all: unset;
}
body{
	-webkit-text-size-adjust: 100%;
	margin:0 0 0px 0;
	text-align:center;
	background: #FFF;
	color:#333;
	font-family: Noto Sans JP,"Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Sans-Serif;
	font-size: 0.95em;
	line-height:1.8em;
	overflow-x: hidden;
	position:relative;
}
	.swiper-container {
	width: 100%;
	height: 100%;
	}
	.swiper-slide {
	text-align: center;
	font-size: 18px;
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	}

.sawarabi-gothic-regular {
	font-family: "Sawarabi Gothic", sans-serif;
	font-weight: 400;
	font-style: normal;
}

#index_news {
	background: #000;
	color: #FFF;
	padding: 2em 0;
}
#index_news a {
	color: #FFF;
}
#inquiry {
	background: #000;
	color: #fff;
	padding: 5em 0;
}
/* ▼▼▼▼▼会報誌▼▼▼▼▼▼ */
.kaiho-archive {

}

.kaiho-list {

}

.kaiho-item {

}

.kaiho-thumbnail img {

}

.kaiho-pdf-link {

}

.kaiho-pdf-link:hover {

}

.pagination {
	padding: 1em 2em;
}

ul.news_list {
	padding: 3em;
}

.breadcrumb {
	border: 1px solid #ccc;
	background: #ededed;
	text-align: left;
	font-size: .85em;
	height: 3em;
	padding: .3em 1em;
}

/* お知らせ一覧（シンプルリスト） */
.news_list {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

/* 各行のデザイン */
.news_list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 15px;
	height: 5.5em; /* 行の高さを少し広く */
	line-height: 2.5em;
	font-size: 1em;
	border-bottom: 1px solid #ddd;
}

/* 交互の背景色（白と薄い灰色） */
.news_list li:nth-child(odd) {
	background-color: #ffffff;
}

.news_list li:nth-child(even) {
	background-color: #f5f5f5;
}

/* 日付のデザイン */
.news_date {
	color: #555;
	font-size: 0.9em;
	flex: 0 0 80px; /* 固定幅 */
	text-align: left;
}

/* タイトルのデザイン */
.news_title {
	text-decoration: none;
	color: #333;
	flex-grow: 1; /* タイトル部分が自動で伸縮 */
	padding-left: 10px;
}

.news_title:hover {
	text-decoration: underline;
	color: #0073aa;
}

/* ページネーションのデザイン */
.custom-pagination {
	margin-top: 20px;
	text-align: center;
	height: 5em;
}

.custom-pagination ul {
	display: flex;
	list-style: none;
	padding: 0;
	justify-content: center;
	margin: 0 auto;
	gap: 10px; /* ボタン間の余白 */
}

.custom-pagination ul li {
	display: inline-block;
}

/* ページネーションのボタン */
.custom-pagination a, .custom-pagination .current {
	text-decoration: none;
	padding: 8px 12px;
	border: 1px solid #ddd;
	color: #0073aa;
	border-radius: 5px;
	transition: background 0.3s, color 0.3s;
}

.custom-pagination .current {
	background-color: #000;
	color: #fff;
	border: 1px solid #000;
}

.custom-pagination a:hover {
	background-color: #0073aa;
	color: #fff;
}

/* ギャラリー全体のレイアウト */
.gallery {
	display: flex; /* 横並びにする */
	flex-wrap: wrap; /* 画面サイズに応じて折り返し */
	gap: 10px; /* 画像の間隔 */
	justify-content: center; /* 中央寄せ */
}

/* ギャラリーアイテム */
.gallery-item {
	display: flex; /* フレックスボックスを適用 */
	flex: 1 1 calc(33.333% - 20px); /* 3列表示（間隔を考慮） */
	max-width: calc(33.333% - 20px);
	align-items: center;
	justify-content: center;
}

/* スマホ・タブレット対応 */
@media screen and (max-width: 1024px) {
	.gallery-item {
		flex: 1 1 calc(50% - 20px); /* 2列表示 */
		max-width: calc(50% - 20px);
	}
}

@media screen and (max-width: 768px) {
	.gallery-item {
		flex: 1 1 100%; /* 1列表示 */
		max-width: 100%;
	}
}

.kaiho-archive {
	text-align: center;
	margin: 30px auto;
	max-width: 900px;
}

.kaiho-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin: 3em 0;
}

.kaiho-item {
	width: 45%;
	background: #f9f9f9;
	padding: 15px;
	border-radius: 8px;
	text-align: left;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.kaiho-thumbnail img {
	width: 100%;
	border-radius: 5px;
}

.kaiho-pdf-link {
	display: inline-block;
	background: #ebebeb;
	color: #fff;
	padding: 8px 12px;
	border-radius: 5px;
	text-decoration: none;
	transition: 0.3s;
	width: 200px;
	height: 50px;
}

.kaiho-pdf-link:hover {
	background: #005f8d;
}

/* ページネーション */
.pagination {
	margin-top: 20px;
}

.pagination ul {
	display: flex;
	list-style: none;
	padding: 0;
	justify-content: center;
	gap: 10px;
}

.pagination a, .pagination .current {
	text-decoration: none;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	color: #0073aa;
	transition: background 0.3s, color 0.3s;
}

.pagination .current {
	background-color: #0073aa;
	color: #fff;
}

/* 会報誌一覧ページ */
.kaiho-archive {
	max-width: 900px;
	margin: 30px auto;
}

/* 各アイテム（横並び） */
.kaiho-item {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

/* アイキャッチ画像（左側） */
.kaiho-thumbnail {
	flex: 0 0 150px;
	height: 200px;
	margin-right: 15px;
}

.kaiho-thumbnail img {
	width: 150px;
	height: 200px;
	object-fit: cover;
}

/* タイトル・日付・PDFリンク（右側） */
.kaiho-content {
	flex-grow: 1;
}

/* タイトル */
.kaiho-title {
	font-size: 1.2em;
	font-weight: bold;
	color: #000; /* 黒色 */
	margin-bottom: 5px;
}

/* 日付 */
.kaiho-date {
	font-size: 0.9em;
	color: #666;
}

/* PDFバナーのコンテナ */
.kaiho-pdf-container {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

/* PDFバナーのリンク */
.kaiho-pdf-link {
	display: flex;
	align-items: center;
	gap: 5px; /* アイコンとテキストの間隔 */
	text-decoration: none;
	color: #333;
	font-size: 16px;
	font-weight: bold;
}

/* PDFアイコン */
.kaiho-pdf-icon {
	width: 25px;
	height: 30px;
	display: inline-block;
}

/* PDFバナー画像 */
.kaiho-pdf-link img {
	display: block;
	width: 25px;
	height: 30px;
	margin: 0 .5em 0 0;
}

/* PDFテキスト */
.kaiho-pdf-text {
	display: inline-block;
	vertical-align: middle;
}
.kaiho-pdf-text:hover {
	color:#fff;
}

/* ページネーション */
.pagination {
	margin-top: 20px;
	text-align: center;
}

.pagination ul {
	display: flex;
	list-style: none;
	padding: 0;
	justify-content: center;
	gap: 10px;
}

.pagination a, .pagination .current {
	text-decoration: none;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	color: #0073aa;
	transition: background 0.3s, color 0.3s;
}

.pagination .current {
	background-color: #0073aa;
	color: #fff;
}

.cp_table table {
	width: 100%;
}

.member-qr {
	padding: 3em 3em 0 3em;
}

.member-qr h4 {
	font-size: 1.2em;
	margin: 1em 0;
}

.member-qr img {
	text-align: center;
	width: 150px;
}

.member-body form {
	padding: 0 0 0 3em;
	/* text-align: center; */
}

.member-hatsuka-body {
	padding: 2em;
}

/* ==========================
   アーカイブ一覧のページネーション
   ========================== */
.archive-pagination {
	margin-top: 20px;
	text-align: center;
	height: 5em;
}

.archive-pagination ul {
	display: flex;
	list-style: none;
	padding: 0;
	justify-content: center;
	margin: 0 auto;
	gap: 10px; /* ボタン間の余白 */
}

.archive-pagination ul li {
	display: inline-block;
}

/* アーカイブページのボタン */
.archive-pagination a, 
.archive-pagination .current {
	text-decoration: none;
	padding: 8px 12px;
	border: 1px solid #ddd;
	color: #0073aa;
	border-radius: 5px;
	transition: background 0.3s, color 0.3s;
}

.archive-pagination .current {
	background-color: #000;
	color: #fff;
	border: 1px solid #000;
}

.archive-pagination a:hover {
	background-color: #0073aa;
	color: #fff;
}


/* ==========================
   個別ページのナビゲーション
   ========================== */
/* シングルページのページナビゲーション */
.single-pagination {
	display: flex;
	justify-content: space-between; /* 両端に配置 */
	align-items: center;
	width: 100%;
	border-top: 1px dotted #888; /* 上の点線 */
	border-bottom: 1px dotted #888; /* 下の点線 */
	margin: 30px 0;
	padding: 10px 0;
	font-size: 0.9em;
	position: relative;
}

/* 中央の区切り線 */
.single-pagination::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: #888; /* 中央の区切り線 */
	transform: translateX(-50%);
}

/* 前後のナビゲーションボタン */
.single-pagination .nav-previous,
.single-pagination .nav-next {
	flex: 1;
	text-align: center;
}

/* 左のナビゲーション（前の記事） */
.single-pagination .nav-previous {
	text-align: left;
}

/* 右のナビゲーション（次の記事） */
.single-pagination .nav-next {
	text-align: right;
}

/* リンクデザイン */
.single-pagination .nav-previous a,
.single-pagination .nav-next a {
	font-size: 1em;
	font-weight: normal;
	text-decoration: none;
	color: #333;
	transition: color 0.3s;
}

/* ホバー時のエフェクト（色のみ変更） */
.single-pagination .nav-previous a:hover,
.single-pagination .nav-next a:hover {
	color: #0073aa;
}

/* モバイル対応（狭い画面では縦並び） */
@media screen and (max-width: 768px) {
	.single-pagination {
		flex-direction: column;
		text-align: center;
		padding: 15px 0;
	}
	
	/* 中央線を非表示（スマホでは不要） */
	.single-pagination::after {
		display: none;
	}

	.single-pagination .nav-previous,
	.single-pagination .nav-next {
		text-align: center;
		margin-bottom: 10px;
	}
}
/* PDFリンク全体のスタイル */
.finance-pdf {
	display: flex;
	flex-direction: column;
	 /* 各リンクの間隔 */
	max-width: 400px; /* 最大幅を指定 */
	margin: 20px;
}

/* PDFリンクのボタン風デザイン */
.finance-pdf a {
	display: flex;
	align-items: center;
	padding: 12px 15px;
	background: #f5f5f5; /* 薄いグレー */
	color: #333;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	border: 1px solid #ddd; /* 枠線 */
	transition: background 0.3s, color 0.3s;
}

/* PDFアイコン画像を左側に追加 */
.finance-pdf a::before {
	content: "";
	display: inline-block;
	width: 20px;  /* アイコンの幅 */
	height: 20px; /* アイコンの高さ */
	background: url("http://demo.plus-cms.com/f-doboku/wp-content/themes/wp_fdoboku/img/pdf-icon.png") no-repeat center center;
	background-size: contain;
	margin-right: 10px;
}

/* ホバー時のデザイン変更 */
.finance-pdf a:hover {
	background: #e0e0e0; /* 少し濃いグレー */
	color: #0073aa;
}

/* スマホ対応（画面幅が狭い場合の調整） */
@media screen and (max-width: 480px) {
	.finance-pdf {
		max-width: 100%;
	}

	.finance-pdf a {
		padding: 10px;
		font-size: 0.9em;
	}

	.finance-pdf a::before {
		width: 18px; /* スマホ用に少し縮小 */
		height: 18px;
	}
}

.member-mail-body {
	padding: 2em;
}

.wpcf7-list-item {
	display: block; /* 各ラジオボタンを縦に配置 */
	margin-bottom: 5px;
}

.wpcf7-list-item label {
	display: flex; /* ラジオボタンとテキストを横並びに */
	align-items: center; /* 高さを揃える */
	gap: 5px; /* ラジオボタンとテキストの間隔 */
}

input.wpcf7-form-control.wpcf7-text {
	height: 1em;
}

input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-required.wpcf7-validates-as-number {
	height: 1em;
}

input.wpcf7-form-control.wpcf7-date.wpcf7-validates-as-required.wpcf7-validates-as-date {
	height: 1em;
}

/* ページネーション（黒と白デザイン） */
.pagination {
	margin-top: 20px;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-block;
	text-decoration: none;
	padding: 8px 12px;
	border: 1px solid #000; /* 黒枠 */
	border-radius: 5px;
	color: #000; /* 黒文字 */
	background-color: #fff; /* 白背景 */
	transition: background 0.3s, color 0.3s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background-color: #000; /* 黒背景 */
	color: #fff; /* 白文字 */
}

/* 「次へ」ボタン */
.pagination .next.page-numbers {
	background-color: #000; /* 黒背景 */
	color: #fff; /* 白文字 */
	border: 1px solid #000;
}

.pagination .next.page-numbers:hover {
	background-color: #fff; /* 白背景 */
	color: #000; /* 黒文字 */
}

/* PDFリンク全体のスタイル */
.public-pdf {
	display: flex;
	flex-direction: column;
	 /* 各リンクの間隔 */
	max-width: 400px; /* 最大幅を指定 */
	margin: 20px auto;
}

/* PDFリンクのボタン風デザイン */
.public-pdf a {
	display: flex;
	align-items: center;
	padding: 12px 15px;
	background: #f5f5f5; /* 薄いグレー */
	color: #333;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	border: 1px solid #ddd; /* 枠線 */
	transition: background 0.3s, color 0.3s;
}

/* PDFアイコン画像を左側に追加 */
.public-pdf a::before {
	content: "";
	display: inline-block;
	width: 20px;  /* アイコンの幅 */
	height: 20px; /* アイコンの高さ */
	background: url("http://demo.plus-cms.com/f-doboku/wp-content/themes/wp_fdoboku/img/pdf-icon.png") no-repeat center center;
	background-size: contain;
	margin-right: 10px;
}

/* ホバー時のデザイン変更 */
.public-pdf a:hover {
	background: #e0e0e0; /* 少し濃いグレー */
	color: #0073aa;
}

/* スマホ対応（画面幅が狭い場合の調整） */
@media screen and (max-width: 480px) {
	.public-pdf {
		max-width: 100%;
	}

	.public-pdf a {
		padding: 10px;
		font-size: 0.9em;
	}

	.public-pdf a::before {
		width: 18px; /* スマホ用に少し縮小 */
		height: 18px;
	}
}

/* ハンバーガーメニュー全体の高さを制御 */
.globalMenuSp {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh; /* 画面いっぱい */
	background: rgba(0, 0, 0, 0.9); /* 半透明の背景 */
	overflow-y: auto; /* 縦スクロールを許可 */
	display: none; /* 初期状態は非表示 */
	z-index: 1000;
	padding-bottom: 50px; /* 下部の余白を確保 */
}

/* 子メニューのデフォルト状態 */
.globalMenuSp .submenu {
	display: none;
}

/* 子メニュー展開時の高さ調整 */
.globalMenuSp ul {
	max-height: calc(100vh - 50px); /* 画面の高さを超えないようにする */
	overflow-y: auto; /* スクロール可能にする */
}

/* メインビジュアルの画像を領域いっぱいに */
#main_img .splide__slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* 全幅っぽく見せたい場合（任意） */
.main_back,
#main_img,
#mainSplide {
  width: 100%;
}

/* メイン帯に高さの安定感を出したい場合（任意） */
@media (min-width: 768px) {
  /* 例：横長 16:7 程度の比率を維持（画像には object-fit を使わない素直な運用） */
  #main_img .splide__track { /* 余白や段差が出る場合は調整 */
	margin: 0 auto;
  }
}

/* ==========================
   常設委員会ページのスタイル
   ========================== */
/* 見出しのスタイル */
/* 業務内容のリストスタイル（①②③を自動付与） */
.committee-list {
	list-style-type: decimal;
	padding-left: 1.5em;
	margin-bottom: 2em;
	line-height: 1.8;
}

.committee-list li {
	margin-bottom: 5px;
}

/* テーブルの見た目と列幅は content.css で共通管理 */

html {scroll-behavior: smooth;}