@charset "utf-8";
/*
Theme Name: 前橋市大利根町自治会HPテンプレート
Description: 前橋市大利根町自治会HPレイアウトです。
Version: 1.0
Author: Reneil
Author URI: http://reneil.jp/
License: GNU General Public License
License URI: license.txt
*/


/*==================================================
スタイルシート
==================================================*/
@import url(css/mobile.css) all and (max-width: 1023px); 
@import url(css/default.css) all and (min-width: 1024px); 


/*==================================================
基本設定
==================================================*/
* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
	background-color: #fff;
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	letter-spacing: .1em;
}




/*==================================================
:root　CSS変数宣言
==================================================*/
:root {
	/* color */
	--blue: #5fbbd4;  /* footer */
	--lightblue: #bcdce4;  /* header */
	--gray: #737373;
	--lightgray: #F4F2EF;
	--yellow: #dab300; /* h3 underline */
	--bluegreen: #006a6c; /* h4 */
	--brown: #946c45; /* h5 */
	--home: #ecaa2b;
	--kairan: #5fbbd4;
	--info: #12a27c;
	--oyakudachi: #f0957b;
	--dantai: #89c135;
	--bousai: #c178ae;
	--team-otone: #e16d4f;
	--otoiawase: #75bc9b;

	/* fontsize */
	--h2: 2rem;
	--h3: 2.8rem; 
	--h4: 2.3rem; 
	--h5: 2rem; 
	--font-size-xxs: 1rem;
	--font-size-xs: 1.3rem;
	--font-size-s: 1.8rem;
	--font-size-m: 2rem;
	--font-size-l: 2.3rem;
	--font-size-xl: 2.6rem;
	--font-size-xxl: 3.6rem;

	/* h2 background */
	--h2-deg: 56deg; /* 傾き */
	--h2-co-point: 190px; /* 色の交点 */
}


/*==================================================
全体
==================================================*/
.wrap{
	width: 100%;
	display : flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}

.main_area{
	text-align: center;
	position: relative;
}

.topsub_area{ /* トップページ回覧板・広報紙～サークル活動の紹介タブエリア */
	text-align: center;
	position: relative;
}

.content_page { /*固定ページの上下に余白付与*/
	margin: 3.5rem 0;
}

.content_page p {
	margin:30px;
}


.content_home { /*トップページ各項目の上下に余白付与*/
	margin: 2rem 0;
}

/* アイコン */
i {
	padding: 0;
	margin: 0;
}

p.otone_tel {
	display: flex;
	align-items: baseline;

	.fa-phone::before { /* 電話番号アイコン */
		color: var(--oyakudachi);
		font-size: var(--font-size-l);
		padding-right: 1rem;
	}
}

.cursor:before{
	font-family: "Font Awesome 5 Free";
	content: '\f0da';
	font-weight: 900;
	color:#cc0099;
	margin-right:0.5em;
}


hr {/* 区切りの線 */
	margin: 18px 0;
	opacity: .3;
}

/* おおとねふれあいサロンページ */
.fureai-item.wp-block-columns {
	h5 {
		margin-top: 5px;
	}

	p img {
		margin: 1.2rem 1.2rem 0 0;
	}
}

/*==================================================
トップスライドエリア
==================================================*/
.slide_area{
	position : relative;
	z-index:0;
}

ul.slider{
	overflow: hidden;
}

.slide_area img{
	margin :0 auto;
	object-fit:cover;
	overflow:hidden;
}


/*==================================================
メニュー
==================================================*/
/* ナビメニュー・トップページのメニュー */
ul.glovalmenu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	width: 100%;
	transition: all .2s;

	li {

		&:nth-child(1) {
			background: #ecaa2b;
		}

		&:nth-child(2) {
			background: #5fbbd4;
		}

		&:nth-child(3) {
			background: #12a27c;
		}

		&:nth-child(4) {
			background: #f0957b;
		}

		&:nth-child(5) {
			background: #89c135;
		}

		&:nth-child(6) {
			background: #c178ae;
		}

		&:nth-child(7) {
			background: #e16d4f;
		}

		&:nth-child(8) {
			background: #75bc9b;
		}

		a {
			display: flex;
			justify-content: center;
			flex-direction: column;
			align-items: center;
			height: auto;
			padding: 0 0 1rem;
			text-decoration: none;
			color: #fff;
			font-weight: bold;
			transition: all .12s;

			&:hover {
				opacity: .7;
			}	
		}

		span {
			text-align: center;
			font-size: large;
			margin: 0 1rem;
		}
	}
}

ul.topmenu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	transition: all .2s;

	li {

		&:nth-child(1) {
			background: #ecaa2b;
		}

		&:nth-child(2) {
			background: #5fbbd4;
		}

		&:nth-child(3) {
			background: #12a27c;
		}

		&:nth-child(4) {
			background: #f0957b;
		}

		&:nth-child(5) {
			background: #89c135;
		}

		&:nth-child(6) {
			background: #c178ae;
		}

		&:nth-child(7) {
			background: #e16d4f;
		}

		&:nth-child(8) {
			background: #75bc9b;
		}

		a {
			display: flex;
			justify-content: center;
			flex-direction: column;
			align-items: center;
			height: auto;
			padding: 0 0 1rem;
			text-decoration: none;
			color: #fff;
			font-weight: bold;
			transition: all .12s;

			&:hover {
				opacity: .7;
			}	
		}

		span {
			text-align: center;
		}
	}
}
/* ナビメニュー（トップページ以外で表示） */
nav.gnavi {
	display: flex;
	justify-content: center;
	align-items: center;
}


/*==================================================
見出し・文字
==================================================*/
h1,
h2,
h3,
h4,
h5 {
	font-weight: bold;
}

h1 {
	font-size: 20px;
}

h2 {
	font-size: var(--h2);
	padding: 1.6rem;
	margin: 2rem 0 0;
	border: 1px solid #000;
	border-radius : 10px 0 0 0;
	border-right:none;
	color: #000;
	position: relative;

	&::before {
		content: '';
		background-color: #fff;
		position: absolute;
		width: calc(100% - var(--h2-co-point));
		height: 3px;
		top: -3px;
		right: 0px;
	}

	&::after {
		content: '';
		background-color: #000;
		width: 66px;
		height: 1px;
		top: 27px;
		left: calc(var(--h2-co-point) - 15px);
		transform: rotate(var(--h2-deg));
		position: absolute;
	}
}

/* h2のタブのスタイル（span） */
.mbgo,
.mbgb,
.mbgg,
.mbgpk,
.mbgyg,
.mbgpp,
.mbgr,
.mbgpg {
	width:100%;
	height:100%;
	display:block;
	border-radius : 10px 0 0 0;
	position:absolute;
	top:5px;
	left:5px;
	z-index:-1;
}

.mbgo{ /* home */
	background: linear-gradient(var(--h2-deg), var(--home) 0 var(--h2-co-point), #fff var(--h2-co-point));
}

.mbgb{ /* kairan */
	background: linear-gradient(var(--h2-deg), var(--kairan) 0 var(--h2-co-point), #fff var(--h2-co-point));
}

.mbgg{ /* info */
	background: linear-gradient(var(--h2-deg), var(--info) 0 var(--h2-co-point), #fff var(--h2-co-point));
}

.mbgpk{ /* oyakudachi */
	background: linear-gradient(var(--h2-deg), var(--oyakudachi) 0 var(--h2-co-point), #fff var(--h2-co-point));
}

.mbgyg{ /* dantai */
	background: linear-gradient(var(--h2-deg), var(--dantai) 0 var(--h2-co-point), #fff var(--h2-co-point));
}

.mbgpp{ /* bousai */
	background: linear-gradient(var(--h2-deg), var(--bousai) 0 var(--h2-co-point), #fff var(--h2-co-point));
}

.mbgr{ /* team-otone */
	background: linear-gradient(var(--h2-deg), var(--team-otone) 0 var(--h2-co-point), #fff var(--h2-co-point));
}

.mbgpg{ /* otoiawase */
	background: linear-gradient(var(--h2-deg), var(--otoiawase) 0 var(--h2-co-point), #fff var(--h2-co-point));
}

h2.topsubm { /* トップページ下部水色の見出し */
	border: 3px solid #000;
	border-radius : 0;
	background: var(--lightblue);
	box-shadow: 5px 5px #000;

	&::before, &::after {
		width: 0;
	}
}

h3 {
	font-size: var(--h3);
	margin: 3rem 0 2rem;
	padding: 0 1.6rem;
	background: linear-gradient(transparent 60%, var(--yellow) 60%);
}

.topsub_area h4 {
	padding: ;
}

h4 {
	font-size: var(--h4);
	margin: 3rem 0 2rem;
	padding: 0 1.6rem;
	color: var(--bluegreen);
	border-bottom: 3px dotted var(--bluegreen);
	transition: all .12s;
}

h4 a {
	display: flex;
	align-items: center;
	width: 95%;
	text-decoration: none;
	color: var(--bluegreen);
	transition: all .12s;

	&::after{ /* h4右端の矢印アイコン */
		font-family: "Font Awesome 6 Free";
		content: "\f35a";
		font-weight: 600;
		color: var(--bluegreen);
		font-size: var(--font-size-xl);
		position: absolute;
		right: 1.6rem;
	}

	&:hover {
		opacity: .7;
	}
}

h5{
	font-size: var(--h5);
	margin-top: 1.5rem;
	color: var(--brown);

	&::before{
		content: '\f152';
		font-family: "Font Awesome 6 free";
		font-weight: 400;
		padding-right: .6rem;
	}
}

.main_area p,
.topsub_area p {
	font-size: var(--font-size-m);
	line-height: 4rem;
}

.main_area p {
	&:not(:has(a[data-type="page"],mark)){ /* テキスト、リンク、テキストとなっている段落の文字の折り返しを回避 */
		font-size: var(--font-size-m);
		display: flex;
		align-items: center;
	}

	&:has(i.fa-phone) { /* 電話のアイコンを文字と揃える */
		align-items: baseline !important;
	}
}


.flex-item {
	flex-direction:row;
}

/*==================================================
パンくずリスト（プラグイン） 
==================================================*/
body:not(.home) #breadcrumb {
	margin-top: 1.6rem;
	font-size: var(--font-size-s);
	letter-spacing: 0.05em;
	padding-left: 0.6rem;

	a {
		text-decoration: none;
		color: #000;
	}

	i {
		margin: 0 1rem;
		color: var(--lightblue);
	}
}


/*==================================================
リンク
==================================================*/
p a {/*固定ページ内の段落のリンク*/
	padding-bottom: 1.6rem;
	color: #000;
	align-items: center;
	text-decoration: none;
	transition: all .12s;

	&:hover {
		cursor: pointer;
		opacity: .7;
	}
}

p a:not([data-type="page"]) { /* テキスト、リンク、テキストとなっている段落の文字の折り返しを回避 */
	display: flex;
	width: 100%;
}

/* 外部リンクの前にアイコンを表示
* <a> 要素で href が ".jp",".jp/",".html","enu1（前橋市地域包括支援センターのリンク）"のいずれかで終わるもの、大文字小文字を区別しない */
a[href$=".jp" i]::before,
a[href$=".jp/" i]::before,
a[href$=".com/" i]:not([href="https://otonemachi.com/"])::before,
a[href$=".html" i]::before,
a[href$="enu1" i]::before {
	font-family: "Font Awesome 6 Free";
	content: "\f08e";
	font-weight: 600;
	padding: 0 8px 0 0;
	font-size: var(--font-size-l);
	color: var(--bluegreen);
}

/* 内部リンクの後ろにアイコンを表示
* <a> 要素で href にtarget,data-type属性を含まない、お知らせ一覧のページネーション、PDF以外のもの*/
p:not(.prev, .pager-all, .next) a:not([href$=".pdf" i])[href^="https://otonemachi"][href$="/"]:not([target]):not([data-type])::after {
	font-family: "Font Awesome 6 Free";
	content: "\f0a9";
	font-weight: 600;
	padding: 0 0 0 16px;
	font-size: var(--font-size-xl);
	color: var(--blue);
}

/* PDFファイルの前にアイコンを表示
* <a> 要素で href が ".pdf" で終わるもの、大文字小文字を区別しない */
p a[href$=".pdf" i]::before,
h4 a[href$=".pdf" i]::before{
	font-family: "Font Awesome 6 Free";
	content: "\f1c1";
	font-weight: 600;
	padding: 0 8px 0 0;
	font-size: var(--font-size-xl);
	color: #C25337;
}

/* 画像ファイルの前にアイコンを表示 */
p a[href$=".jpg" i]:not(:has(img))::before,
p a[href$=".jpeg" i]:not(:has(img))::before,
p a[href$=".png" i]:not(:has(img))::before,
p a[href$=".psd" i]:not(:has(img))::before,
h4 a[href$=".jpg" i]:not(:has(img))::before,
h4 a[href$=".jpeg" i]:not(:has(img))::before,
h4 a[href$=".png" i]:not(:has(img))::before,
h4 a[href$=".psd" i]:not(:has(img))::before {
	font-family: "Font Awesome 6 Free";
	content: "\f1c5";
	font-weight: 600;
	padding: 0 8px 0 0;
	font-size: var(--font-size-xl);
	color: #75bc9b;
}


/*==================================================
改行
==================================================*/
.br::after {
	content: "\A" ;
	white-space: pre ;
}


/*==================================================
画像
==================================================*/
img{
	width: 100%;
	height: auto;
	image-rendering: -webkit-optimize-contrast;
}

.wp-block-image img,
.img_border_none img {
	width: 100%;
	margin: 1.6rem 0;
}

.wp-block-image img { /*固定ページ内のimg（枠線あり）*/
	border: 1px solid #888;
}

.img_border_none img { /*固定ページ内のimg（枠線なし）*/
	border: none;
}

.wp-block-column { /*カラム内の画像*/
	margin-right: 1.6rem;
}


/*==================================================
テーブル
==================================================*/
/* 大利根町の歴史・大利根町の現状・役員一覧 */
table.table,
figure.otone-genjo table {
	font-size: var(--font-size-m);

	th {
		padding: .6rem;
		font-weight: bold;
		white-space: nowrap;
	}

	td {
		padding: .6rem;
	}
}

/* 大利根町の現状 */
figure.otone-genjo  {

	tr:first-of-type {
		font-weight: bold;
	}

	th,td {
		white-space: nowrap;
		text-align: center;
		border: 3px solid var(--lightgray);
	}
}

h4.genjo_h4 { /* テーブルの見出し */
	margin: 2rem 0 1rem;
	padding: .6rem 1.6rem;
}

/* 大利根町の歴史 */
table.table_history {
	th,td {
		padding: 1rem;
	}

	th {
		padding-right: 3.2rem !important;
		color: var(--bluegreen);
		text-align-last: justify;       /* Chrome・Firefox用 */
		text-justify: inter-ideograph;  /* IE・Edge用 */
	}
}

/* 役員一覧・大利根町自主防災会組織 */
table.table_yakuin,
table.table_sosiki {
	width: 100%;

	tbody {
		display: flex;
		flex-direction: row;

		tr {
			display: flex;
			flex-direction: column;
		}

		th {
			text-align: center;
			border-top: 3px solid var(--lightgray);
			border-bottom: 3px solid var(--lightgray);
		}
	}
}

/* 役員一覧 */
table.table_yakuin tr {
	border-bottom: 3px solid var(--lightgray);
	border-right: 3px solid var(--lightgray);

	&:first-child {
		border-left: 3px solid var(--lightgray);
	}

	th,td {
		white-space: nowrap;
	}
}

/* 大利根町自主防災会組織 */
figure.sosiki {
	margin-bottom: 2rem;
	font-weight: bold;
	background-color: var(--lightgray);

	td {
		padding: 2rem .6rem;
		text-align: center;
	}
}

table.table_sosiki { /* 総務・消火班・・・給水班 */
	th:nth-child(2) {
		font-weight: 500;
		text-align: left;
	}
	
	td {
		padding: 1.6rem .6rem;
		text-align: left;
	}
}

figure.sosiki table,
table.table_sosiki {
	width: 100%;
	font-size: var(--font-size-m);

	tbody {
		width: 100%;
		border: 3px solid var(--lightgray);
	}

	tr {
		display: flex;
	}

	th,td {
		border: 3px solid var(--lightgray);
	}
	
	td {
		padding: 1rem .4rem;
		margin: 0;
		flex-basis: 100%;
	}
}

p.sosiki-all { /* 組織合計人数 */
	display: flex;
	justify-content: right;
	margin-bottom: 8rem;
}


/*==================================================
お知らせ
==================================================*/
/* 共通 */
.info_area h3 {
	&:first-of-type {
		margin: 0;
	}

	&:not(h3:first-of-type) { /* 「ピックアップ」「お知らせ一覧」 */
		margin: 4rem 0 0;
	}
}

article.info_art { /* お知らせ部品 */
	width:100%;
	border-bottom: 1px solid #ddd;
	transition: color .12s;

	&:hover {
		border-bottom: 1px solid var(--lightblue);

		p.info_item_right::after { 
			color: var(--lightblue);
		}
	}

	a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 2rem 1.6rem 1.2rem 1.6rem;
		text-decoration: none;
		color: #000;


		p.info_item_right::after { /* お知らせ右端の矢印アイコン  */
			font-family: "Font Awesome 6 Free";
			content: "\f0a9";
			font-weight: 600;
			color: var(--blue);
			font-size: var(--font-size-xxl);
			position: absolute;
			right: 16px;
			transition: all .2s;
		}

		&:hover .info_item h3,
		&:hover p.info_day,
		&:hover span.tags {
			color: var(--gray);
			transition: all .12s;
		}
	}
}

div.info_day_tag { /* 日付、タグ */
	display: flex;
	width: 100%;
	font-size: var(--font-size-s);
	padding: 0;
	line-height: normal;

	p {
		line-height: 2rem;
	}
}

p.info_day { /* 日付 */
	white-space: nowrap;
}

span.tag { /*お知らせタグ*/
	display: inline-block;	
	width: fit-content;
	padding: 0 1rem;
	margin: 1px 6px 1px 0 !important;
	font-size: var(--font-size-xs);
	border-radius: 25px;
	background-color: var(--lightgray);
	white-space: nowrap;
}

.info_item h3 { /* タイトル */
	display : block;
	max-width: 65vw;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin: .2rem 0;
	padding: 0;
	font-size: var(--font-size-m);
	font-weight: 500;
	background: none;
}

/* トップページ */
div.toppage.info_area {
	margin-bottom: 8rem;
}

a.info-link { /* お知らせ一覧ページへのリンク */
	float: right;
	font-size: var(--font-size-m);
}

/* お知らせ一覧ページ */
div.info_link_area { /* カテゴリーセレクトボックス・カレンダーへのリンク */
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	margin: 3rem 0;

	div.info-select { /* カテゴリーセレクトボックス */
		position: relative;

		select {
			padding: 1.6rem 6rem 1.6rem 1.6rem;
			font-size: var(--font-size-s);
			color: #000;
			background-color: #fff;
			border: 1px solid var(--gray);
			border-radius: 1rem;
			-webkit-appearance: none;
			appearance: none;
			transition: all .12s;

			&:hover {
				cursor: pointer;
			}
		}

		&::after { /* セレクトボックス右端の下矢印 */
			font-family: "Font Awesome 6 Free";
			content: "\f078";
			font-weight: 600;
			font-size: var(--font-size-s);
			color: var(--bluegreen);
			position: absolute;
			left: 19rem;
			top: 1.2rem;
			pointer-events: none;
		}

		&:hover {
			opacity: .7;
		}
	}
}

div.info-cal-link { /* カレンダーへのリンク */
	font-size: var(--font-size-m);
}

.info-cal-link a,
a.info-link { /* お知らせ一覧ページへのリンク・カレンダーへのリンク */
	display: inline-block;
	text-decoration: none;
	color: #000;
	padding: 1rem 0;
	font-weight: bold;
	transition: all .12s;

	&::after { /* 右矢印 */
		font-family: "Font Awesome 6 Free";
		content: "\f178";
		font-weight: 600;
		padding-left: 1.6rem;
		color: var(--bluegreen);
		font-size: var(--font-size-l);
	}

	&:hover {
		opacity: .7;
	}
}

.info-cal-link a::before { /* カレンダーアイコン */
	font-family: "Font Awesome 6 Free";
	content: "\f073";
	font-weight: 600;
	padding-right: .6rem;
	color: var(--info);
	font-size: var(--font-size-l);
}

/* お知らせ投稿詳細ページ（single.php） */
h3.single_h3 {
	margin-top: .5rem;
}

div div.content_single div.info_day_tag { /* タグ */
	margin-top: 3rem;
	flex-direction: row; /* タグを横並びにする */
}


/*==================================================
ページネーション
==================================================*/
ul.page-numbers, /* お知らせ一覧ページ */
div.single-pager /* 投稿記事ページ */{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 8rem;
}

.page-numbers li,
.single-pager p {
	display: flex;
	align-items: center;
	font-size: var(--font-size-m);
	margin: 0 .5rem;
}

.page-numbers li .current { /* 現在のページ */
	color: #fff;
	border: solid 2px var(--blue);
	background-color: var(--blue);
	border-radius: 25px;
	transition: color .12s;

	&:hover {
		cursor: default;
	}
}

.single-pager .pager-all a{ /* 一覧へ戻るリンク */
	text-decoration: none;
	padding: .8rem 3rem;
	margin: 0 4rem;
	font-size: var(--font-size-s);
	font-weight: 500;
	border: solid 1px var(--gray);
	border-radius: .5rem;
	white-space: nowrap;
	transition: all .2s;

	&:hover{
		border: solid 1px var(--blue);
		color: #fff;
		background-color: var(--blue);
		border: solid 1px var(--blue);
	}
}

.page-numbers a,
.page-numbers span{ /* ページネーションの数字（現在のページ以外） */
	text-decoration: none;
	color: #000;
	border: solid 2px var(--blue);
	background-color: transparent;
	border-radius: 25px;
	transition: all .2s;
}

a.page-numbers,
.page-numbers span {
	padding: .4rem 1.4rem;
}

/* 前のページにとぶリンク、次のページにとぶリンク共通 */
.prev a,
.next a { /* 投稿詳細ページ（single.php） */
	padding: 0 1.4rem;
	font-size: var(--font-size-xl);
}

a.prev.page-numbers,
a.next.page-numbers { /* お知らせ一覧ページ */
	padding: 0 1.2rem;
	font-size: var(--font-size-l);

}

/* 前のページにとぶリンク */
a.prev.page-numbers,
.prev a {
	border: solid 2px transparent;
	background-color: transparent;
	border-radius: 25px;

	&::before{ /* 左矢印 */
		font-family: "Font Awesome 6 Free";
		content: "\f053";
		font-weight: 600;
		color: var(--blue);
	}
}

/* 次のページにとぶリンク */
a.next.page-numbers,
.next a {
	border: solid 2px transparent;
	background-color: transparent;
	border-radius: 25px;

	&::after{/* 右矢印 */
		font-family: "Font Awesome 6 Free";
		content: "\f054";
		font-weight: 600;
		color: var(--blue);
	}
}

.page-numbers a:hover,
.single-pager .prev a:hover,
.single-pager .next a:hover {
	color: #fff;
	border: solid 2px var(--lightblue);
	background-color: var(--lightblue);
}


/*==================================================
カレンダー（プラグイン） 
==================================================*/
/* カレンダーの上（ツールバー） */
div.eo-fullcalendar div.fc-toolbar {
	margin: 2.6rem 0 .6rem;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 6rem;
	position: relative;

	button.fc-button,
	span.fc-icon { /* デフォルトの設定を削除 */
		position: static; 
		margin: 0;
	}

	button.fc-state-default { /* button共通 */
		background-color: transparent;
		color: #000;
		border: 0;
		text-shadow: none;
		box-shadow: none;
	}

	div.fc-center { /* ツールバー中央 年月 */
		display: flex;
		align-items: center;
		padding-right: 1rem;

		button {
			font-size: var(--font-size-l);
			display: flex;
			align-items: center;
			transition: all .12s;

			&:hover {
				color: var(--lightblue);
			}
		}

		h2 {
			display: flex;
			align-items: center;
			white-space: nowrap;
			padding: 0 3rem;
			float: none;
			font-size: var(--h4);
			font-weight: bold;
			line-height: 1.6;

			&::before,
			&::after { /* h2共通の装飾を削除 */
				opacity: 0;
			}
		}

		span.fc-icon { /* "<"と ">" */
			font-family: "FontAwesome";
			font-size: var(--font-size-xxl);
		}
	}

	div.fc-right { /* ツールバー右側 */
		float: right;
		display: flex;
		order: 4;

		button.fc-today-button { /* "今日"に戻るボタン */
			opacity: 1;
			border: 1px solid var(--gray);
			border-radius: .5rem;
			font-size: var(--font-size-s);
			font-weight: 500;
			color: var(--gray);
			transition: all .12s;

			&:hover {
				color: #fff;
				border: 1px solid var(--lightblue);
				background-color: var(--lightblue);
			}
		}
	}
}

/* カレンダー（テーブル） */
/* 全体共通 */
div.fc th, 
div.fc td {
	border: 0;
	border-right: 1px solid rgba(0, 0, 0, 0.1);

	&:last-child {
		border-right: 0;
	}
}

/* th共通 */
div.fc th {
	font-size: var(--font-size-m);
	line-height: 1.6;
	font-weight: normal;

	&::after { /* 曜日の後ろにアルファペットの曜日表示 */
		font-weight: 400;
		letter-spacing: normal;
		margin-left: .8rem;
		position: relative;
		font-size: var(--font-size-xs);
		line-height: 1.6;
		opacity: .3;
	}

	&.fc-mon::after { /* 月 */
		content: "MON";
	}

	&.fc-tue::after { /* 火 */
		content: "TUE";
	}

	&.fc-wed::after { /* 水 */
		content: "WED";
	}

	&.fc-thu::after { /* 木 */
		content: "THU";
	}

	&.fc-fri::after { /* 金 */
		content: "FRI";
	}

	&.fc-sat::after { /* 土 */
		content: "SAT";
	}

	&.fc-sun { /* 日 */
		color: var(--team-otone); /* 日曜日のみ赤にする*/

		&::after {
			content: "SUN";
		}
	}
}

/* td共通 */
div.fc table div.fc-row {
	border-bottom: 1px solid #000;

	&.fc-widget-header { /* 曜日 */
		background: #fff;
		text-align: left;
	}
}

/* 日付 */
div.fc tbody .fc-day-grid .fc-row {
	padding-bottom: 2rem;

	td.fc-day-number { /* 数字 */
		text-align: left;
		font-weight: 400;
		letter-spacing: normal;
		font-size: var(--font-size-m);
		line-height: 1.6;
	}

	td.fc-event-container { /* イベント */
		a.fc-day-grid-event.fc-event {
			margin: .2rem 0;
			padding: .6rem;
			background-color: var(--info) !important;
			border-color: var(--info) !important;
			color: #fff;
			font-size: var(--font-size-s);

			.fc-content {
				display: flex;

				span {
					font-weight: normal;

					&.fc-time {
						font-size: 0;
						visibility: hidden;
						order: 1;
					}

					&.fc-title {
						order: 0;
					}
				}
			}
		}
	}
}

/* イベントホバー時のツールチップ */
div.qtip.qtip-default {
	padding: .6rem;

	div.qtip-titlebar {
		background-color: #fff;
		font-weight: 500;

		div.qtip-title {
			font-size: var(--font-size-s);
			font-weight: bold;

			&::before {
				font-family: "Font Awesome 6 Free";
				content: "";
				font-weight: 600;
				color: var(--info);
			}
		}
	}

	div.qtip-content {
		font-size: var(--font-size-xs);
		position: relative;
	}
}

/* イベント詳細 */
.main_area_single div.info_link_area {
	margin-bottom: 0;
}

.main_area_single .info-cal-link {
	justify-content: flex-end;
}

h3.entry-title {
	margin: 0 0 2rem;
}

div.entry-content { /* イベント内容 */

	p {
		display: block !important;
	}

	div.eventorganiser-event-meta { /* 【日付】～地図 */

		ul.eo-event-meta {
			font-size: var(--font-size-m);
			margin: 0;
		}

		li {
			display: block;
			line-height: 4rem;
		}
	}
}

/*==================================================
お問い合わせページ
==================================================*/
.wpforms-container,
.wpforms-field-container,
.wpforms-field-name,
.wpforms-field-email,
.wpforms-field-text,
.wpforms-field-textarea {
	flex-direction: column;
}

div.wpforms-container-full .wpforms-form .wpforms-submit-container {
    display: flex;
	justify-content: center;
}

label.wpforms-field-label {
	margin: 0 !important;
}

.wpforms-container .wpforms-form * {
	padding: 0 16px;
}

/* お問合せ無効化 */
div.wpforms-container-full input[type=date], div.wpforms-container-full input[type=datetime], div.wpforms-container-full input[type=datetime-local], div.wpforms-container-full input[type=email], div.wpforms-container-full input[type=month], div.wpforms-container-full input[type=number], div.wpforms-container-full input[type=password], div.wpforms-container-full input[type=range], div.wpforms-container-full input[type=search], div.wpforms-container-full input[type=tel], div.wpforms-container-full input[type=text], div.wpforms-container-full input[type=time], div.wpforms-container-full input[type=url], div.wpforms-container-full input[type=week], div.wpforms-container-full select, div.wpforms-container-full textarea, .wp-core-ui div.wpforms-container-full input[type=date], .wp-core-ui div.wpforms-container-full input[type=datetime], .wp-core-ui div.wpforms-container-full input[type=datetime-local], .wp-core-ui div.wpforms-container-full input[type=email], .wp-core-ui div.wpforms-container-full input[type=month], .wp-core-ui div.wpforms-container-full input[type=number], .wp-core-ui div.wpforms-container-full input[type=password], .wp-core-ui div.wpforms-container-full input[type=range], .wp-core-ui div.wpforms-container-full input[type=search], .wp-core-ui div.wpforms-container-full input[type=tel], .wp-core-ui div.wpforms-container-full input[type=text], .wp-core-ui div.wpforms-container-full input[type=time], .wp-core-ui div.wpforms-container-full input[type=url], .wp-core-ui div.wpforms-container-full input[type=week], .wp-core-ui div.wpforms-container-full select, .wp-core-ui div.wpforms-container-full textarea, div.wpforms-container-full button[type=submit]:not(:hover):not(:active),.wpforms-container .wpforms-form .wpforms-field-label, .wpforms-container .wpforms-form .wpforms-field-sublabel, .wpforms-container .wpforms-form .wpforms-field-description, .wpforms-container .wpforms-form textarea, .wpforms-container .wpforms-form li, .wpforms-container .wpforms-form th {
	pointer-events: none;
}


/*==================================================
フッター
==================================================*/
footer {
	width: 100%;
}

.footer_upper {
	width: 100%;
	height: 64px;
	margin-top: 15rem;
	background: url(./material/footerback.png) repeat-x;
}

footer {

	.footer_area {
		width: 100%;
		margin: 0 auto;
		padding-bottom: 2rem;
		background: var(--blue);
		color: #fff;
		letter-spacing: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
	}

	.site_name img {
		width: auto;
		height: 20rem;
		padding-left: 1.6rem;
	}

	.site_info {
		padding-left: 2rem;
	}

	p {
		width: auto;
		color: #000;
		font-size: var(--font-size-xs);

		&.address {
			font-size: var(--font-size-s);
			margin-bottom: 1rem;
			font-weight: 500;
		}
	}
}


/*==================================================
トップへ上がるボタン
==================================================*/
#PageTopBtn {
	position: fixed;
	z-index: 5;

	a {
		display: block;
		padding: 10px 14px;
		text-decoration: none;
		color: #fff; 
		background: var(--blue);
		text-align: center;
		border-radius: .5rem; 
		outline: none; 
		opacity: .7;

		&:hover {
			text-decoration: none; 
			background: var(--lightblue); 
		}
	}

	i {
		position: relative;
		font-size: xxx-large;
	}
}

.ptbd{
	display:none;
}

/*------------------------------------------------------------------------*/

.item-group {
    display: flex;       /* 横並び */
    margin: 0;           /* pの上下余白をリセット */
    line-height: 0;      /* インライン空白の余白を消す */
}

.item-group a {
    display: flex !important;        /* 横幅いっぱいの影響を無視 */
    flex-direction: column !important; /* 画像の上に文字 */
    align-items: center !important;  /* 中央揃え */
    text-align: center !important;
    width: auto;                     /* 自然な幅に */
}




.kouhoushi {
	position:relative;
	right:25%;
}

.kouhoushi a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: auto;
}

@media screen and (max-width:640px) {
.kouhoushi {
	position:relative;
	right:19%;
}

}

  .flex-item {
    display: flex !important;        /* 横並びのflexは維持 */
    flex-direction: column !important; /* スマホだけ縦に */
    align-items: center;
    gap: 15px;                       /* リンク間の間隔 */
  }


a.no-icon::before {
  content: none !important;
}


/*------------------------------------
 * 資料室
-----------------------------------------*/


.item-group a {
    display: flex !important;        /* 横幅いっぱいの影響を無視 */
    flex-direction: column !important; /* 画像の上に文字 */
    align-items: center !important;  /* 中央揃え */
    text-align: center !important;
    width: auto;                     /* 自然な幅に */
	text-decoration: none;
  color: inherit;
}

.item-group strong {
	font-size:20px;
}

@media screen and (max-width:640px) {
		.wp-block-table a {
		margin:0 20px;
	}
}
