
.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
 
.clearfix:before {
　　　　content: "";
	display: block;
	clear: both;
}
 
.clearfix {
	display: block;
}


.widget_post_list .post_list_title {
	color:#000000!important;
	font-weight:100!important;
}
.widget_post_list .post_list_date {
	font-size:14px!important;
}
.widget_post_list:hover {
	background:#FDFDE9;
}
.header-wrap {
	border-bottom:0px solid #414141;
	box-shadow: none!important;
	background:#FFFFFF;
}
.headertop {
	margin-bottom:0!important;
}
/*トップヘッダー*/
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 10px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  font-family: "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
  position: relative;
  z-index: 100;
}

/* ===== 左端：タイトル ===== */
.site-title {
  justify-self: start;
  margin: 0;
  font-size: 1.1em;
  font-weight: 700;
  white-space: nowrap;
}
.site-title span {
    font-size:0.7em;
}
/* ===== 中央：メインナビゲーション ===== */
.main-nav {
    display:block;
  justify-self: center;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 10px 4px;
  font-size: 0.9em;
  font-weight: 600;
  color: #1f2b22;
  text-decoration: none;
  transition: color 0.25s ease;
}

.main-nav > ul > li > a:hover {
  color: #3f8f4c;
}

/* 下層メニューを持つ項目に矢印を表示 */
.has-submenu > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  margin-bottom: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.has-submenu:hover > a::after,
.has-submenu:focus-within > a::after {
  transform: rotate(225deg);
}

/* ===== 下層メニュー（ドロップダウン） ===== */
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu li a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #1f2b22;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.submenu li a:hover {
  background: rgba(63, 143, 76, 0.08);
  color: #3f8f4c;
}

/* ===== 右端：問い合わせ・お知らせ ===== */
.header-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 10px 10px 10px 0;
}

.header-link {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1f2b22;
  text-decoration: none;
  padding-bottom: 6px;
  transition: color 0.25s ease;
}

.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #3f8f4c;
  transition: width 0.25s ease;
}

.header-link:hover {
  color: #3f8f4c;
}

.header-link:hover::after {
  width: 100%;
}

.header-links a + a {
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  padding-left: 36px;
}


/*トップヘッダーここまで*/

/*トップスライダー*/
.topslid {
    width:100%;
    margin:0;
    padding:0;
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.topslid img {
    display: block;
    z-index: 0;
    width:100%!important;
    height:80vh!important;
    object-fit: cover!important;
}
/* 右上の三角形 */
.topslid::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 30%;
  background: rgba(0, 0, 0, 0.55); /* 色・不透明度は調整可 */
  clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 1;
}

/* 左下の三角形 */
.topslid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20%;
  height: 30%;
  background: rgba(0, 0, 0, 0.55);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
    z-index: 1;
}
h2.wpcp-image-caption {
    font-size:2.4em!important;
}
/*フッター*/
.footerimg {
	margin:0;
	padding:0;
	text-align:right;
	border-bottom:5px solid #BFFFB9;
    
}

#bottom-footer {
	margin-top:40px;
	padding:30px;
	background:#D6D6D6;
}
#bottom-footer .link {
	text-align:right;
	font-size:0.9em;
}
#bottom-footer .link a {
	color:black;
	margin-right:8px;
}
#bottom-footer .link a:hover {
	color:red;
	text-decoration: underline;
}
#bottom-footer .footertitle {
	color:#000000;
	font-size:1.2em;
	font-weight:bold;
}
#bottom-footer .footertitle p {
	font-size:0.7em;
}

#onlynav {
	background:none!important;
}

/*さわらび明朝体*/
.Sawarabi {
	font-family: "Sawarabi Mincho";
}

/*カテゴリーページタイトル*/

h1.catpage_title {
	text-shadow: none!important;
	font-family: "Sawarabi Mincho"!important;
	color:#464E6F;
	font-weight:100;
}

.pageheaderimg {
	display:block;
	width:100%;
	padding:0;
	
}
.pageheaderimg img {
	width:100%;
	height:150px;
	object-fit: cover;
	opacity: 0.5;
}
/*---------------------
　　　　トップページ
----------------------*/
.topback_a {
    background:url(/kanri/wp-content/uploads/top/topbacka.png) top left no-repeat;
    background-size:contain;
    background-attachment: fixed;
}
.topback_b {
    background:url(/kanri/wp-content/uploads/top/topbackb.png) top right no-repeat;
    background-size:contain;
    background-attachment: fixed;
}
.topback_c {
    background:url(/kanri/wp-content/uploads/top/topbackc.png) top left no-repeat;
    background-size:contain;
    background-attachment: fixed;
}

/*ピックアップ*/
.toppress {
    width:100%;
    margin:0;
    padding:12px 10%;
    background:#355C3E;
}
.toppress a {
    display:block;
    color:#fff;
    font-weight:bold;
    font-size:1.1em;
    border-left:5px solid #F84C52;
    padding-left:10px;
}
.toppress a:hover {
    color:#fff;
    opacity: 1;
    font-size:1.2em;
}




/*新着情報*/
.allnews {
	margin:0 auto;
	padding-top:8px;
	padding-bottom:40px;
	width:95%;
	
}
.allnews .title {
	font-size:1.8em;
	padding-bottom:10px;
}

.allnewsline {
	display: grid;
	grid-template-columns: 1fr 3fr 6fr;
	padding:8px;
	border-bottom:2px dotted #C0C0C0;
}
.allnewslinetop {
	display: grid;
	grid-template-columns: 1fr 7fr;
	padding:8px;
	border-bottom:2px dotted #C0C0C0;
	font-size:1.1em;
}
.simplelist .allnewsline {
	display: grid;
	grid-template-columns: 7fr 1fr;
	padding:8px 8px 8px 16px;
	border-bottom:2px dotted #C0C0C0;
	border-left:5px solid #9DD4BF;
}
.simplelist .allnewsline .cat1 {
	display:none;
}
.allnewsline .cat3,.allnewslinetop .cat3 {
}
.allnewsline .cat3 a,.allnewslinetop .cat3 a {
	color:#000000;
}
.allnewsline .cat3 a:hover,.allnewslinetop .cat3 a:hover {
	color:#4DB7D1;
}
.allnewsline .cat4,.allnewslinetop .cat4 {
	font-size:0.9em;
	color:#A2A2A2;
}



/*カテゴリ色分け*/
span.allnewscat {
	display:inline-block;
	padding:3px 5px;
	font-size:0.9em;
	color:#FFFFFF;
	width:90%;
	text-align:center;
	border-radius: 10px;
}
span.a_news, span.a_yotei {background:#F5B4F5;}
span.i_news {background:#5ABDCA;}
span.k_news {background:#B1DDCC;}
span.w_news {background:#C8C75B;}
span.c_news {background:#59ABBC;}
span.j_news {background:#A076CD;}
span.j_yotei {background:#A076CD;}
span.uncategorized {background:#A076CD;}

.allnews .motto {
	text-align:right;
	font-size:0.9em;
}
/*-----------------------
　　footer　
-----------------------*/

/*-----------------------
　　事業内容　
-----------------------*/
.power-card {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none!important;
  transition: transform 0.3s ease;
}

.power-card:hover {
  transform: translateY(-8px);
}

.power-card__image {
  position: relative;
  width: 100%;
  line-height: 0; /* 画像下の余分な隙間を防止 */
    border-radius: 30px;
}

.power-card__image-inner {
  overflow: hidden; /* 拡大した画像を切り抜く */
    border-radius: 30px;
}

.power-card__image-inner img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
    border-radius: 30px;
}

.power-card:hover .power-card__image-inner img {
  transform: scale(1.1);
    border-radius: 30px;
}

.power-card__badge {
  position: absolute;
  bottom: -0.5em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background: #fff;
  padding: 0.25em 1.125em;
  font-weight: bold;
  font-size: 1.5em; /* 20px相当 */
  line-height: 1;
  color: #333;
  white-space: nowrap;
}

.power-card__body {
  padding-top: 0.5em;
  text-align: center;
}

.power-card__title {
  margin: 0;
  padding: 0;
  border: none!important; /* テーマ側の見出し下線を打ち消す */
  font-size: 1.2em; /* 18px相当 */
  font-weight: bold;
  line-height: 0.8rem;
  color: #222;
}

.power-card__divider {
  display: block;
  width: 6em;
  height: 0.125em;
  margin: 0 auto 0.75em;
  background: #3fae8b;
  border: none;
}

.power-card__subtitle {
  margin: 0;
  padding: 0;
  font-size: 0.9em; /* 15px相当 */
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: #3fae8b;
}

.power-card__text {
  margin: 0;
  padding: 0 1em 1.5em;
  font-size: 0.8125em; /* 13px相当 */
  line-height: 1.9;
  color: #666;
  text-align: left;
}

.power-card:hover,
.power-card:visited,
.power-card:active {
  color: inherit;
  text-decoration: none;
}

/*ヘッダー*/
.jigyohead {
    width:100%;
    position:relative;
    height:180px;
    background-attachment: fixed;
    background-size:100%;
}
.jigyohead h1 {
    display:inline-block;
    position:absolute;
    text-align:center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
    padding:10px 20px;
    border:1px solid #fff;
    background:hsla(0,0%,100%,0.80);
    letter-spacing: 0.45em;
    font-weight:400;
}
.jigyohead.hydro {
    background:url(/kanri/wp-content/uploads/jigyo/h1-head.jpg) top center no-repeat;
    background-attachment: fixed;
}
.jigyohead.biomass {
    background:url(/kanri/wp-content/uploads/jigyo/h2-head.jpg) top center no-repeat;
    background-attachment: fixed;
}
.jigyohead.biomass h1 {
    background:hsla(0,0%,0%,0.80);
    color:#fff;
    font-weight:500;
}
.jigyohead.solar {
    background:url(/kanri/wp-content/uploads/jigyo/h3-head.jpg) top center no-repeat;
    background-attachment: fixed;
}
/*-------------------------
　シングルページ
-------------------------*/
h1.singletitle {
	font-size:1.5em!important;
	font-weight:100;
	padding:20px;
	text-align:center;
	border:1px solid #C7C7C7;
}
.post-meta-bottom {
	width:100%;
	text-align:right!important;
}
.single-post-main .content {
	margin:8px;
	font-size:1.0em;
}

/*ファイルダウンロード枠*/
.singledownload {
	margin:30px 0 30px 0;
	padding:10px;
}
.singledownload .title {
	margin-bottom:10px;
	text-align:center;
	width:100%;
	border-bottom:1px solid #939393;
}
.singledownload .title span {
	padding:4px 10px;
	font-weight:bold;
}
/*画像枠*/
.singlefieldimg {
	display:flex;
	align-items:stretch;
	flex-wrap: wrap;
	margin:30px 0;
	text-align:center;
	padding:0;
}
.singlefieldimg figure {
	width:calc( 100% / 2 );
	margin-bottom:20px;
	padding:8px;
	text-align:center;
	
}
.singlefieldimg figure img {
	width:100%;
	margin:0;
	padding:0;
	border:1px solid #E4E4E4;
}
.singlefieldimg figure figcaption {
	text-align:left;
	font-size:0.95em;
	padding:4px 12px;
	color:#000000;
	background:#F7F7F7;
}

/*トップ画像*/
figure.topimg {
	width:100%;
	padding:10px;
	margin-bottom:20px;
}
figure.topimg img {
	width:100%;
	margin-bottom:0;
	padding-bottom:0;
	border:1px solid #E4E4E4;
}
figure.topimg figcaption {
	text-align:left;
	margin:0;
	font-size:0.95em;
	padding:4px 12px;
	color:#000000;
	background:#F7F7F7;
}
/*-----------------------------
　カスタムフィールド（ダウンロード）
------------------------------*/
a.downloadlink {
	display:block;
	padding:8px;
	padding-left: 8px;
	margin-bottom:8px;
	border-bottom:1px dotted #C4C4C4;
}
	
a.downloadlink {
	color:#000000;
	font-size:0.9em;
}
a.downloadlink:hover {
	color:#000000;
	background: #FCFFD7;
	font-size:1em;
	
}
a.downloadlink span {
	display:inline-block;
	padding:4px;
	background:#86B08F;
	font-size:0.9em;
	color:#FFFFFF;
	width:90px;
	border-radius: 10px;
	text-align:center;
	margin-right:10px;
}
/*-----------------------------
　センターについて
------------------------------*/
/
/*-----------------------------
　各施設共通
------------------------------*/
.sisetsutitle {
	display:block;
}
.sisetsutitle .phead {
	display:block;
	clear:both;
}
.sisetsutitle .phead .left {
	float:left;
	width:50%;
}
.sisetsutitle .phead .left img {
	padding:10px 20px;
	margin-bottom:10px;
}
.sisetsutitle .phead .left span{
	font-size:0.9em;
	font-weight:bold;
	text-indent:15px;
	color:#727272;
}
.sisetsutitle .phead .right {
	float:left;
	width:50%;
}
.sisetsutitle .phead .right a {
	display:inline-block;
	margin-right:10px;
	padding:8px 16px;
	min-width:100px;
	text-align:center;
	font-size:0.9em;
	color:#707070;
	border-bottom:1px dotted #707070;
	margin-bottom:10px;
	font-weight:bold;
}
.sisetsutitle .phead .right a:hover {
	background:#FFFFFF;
}

/*サイドバー新着*/
.widget_post_list {
	border-bottom:1px dotted #DCDCDC;
}
