@charset "UTF-8";
/*
Theme Name: pgl
Theme URI: 
Description: arkhe の子テーマ
Template: arkhe
Version: 1.0.0
*/

/* Contents
------------------------------------------------------------
* layout
* header
	menu
* page
	common
	home-fieldnote-list
	H2見出し
* sub
	widget
	List
------------------------------------------------------------ */

/*=================================================
 * layout
 *================================================*/
* {
    text-underline-offset: 0.2em;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/*=================================================
 * header
 *================================================*/
[data-btns=l-r] .l-header__body {
    grid-template-areas: "menu left center right search";
    grid-template-columns: var(--ark-drawerW) calc(10% - var(--ark-drawerW)) 80% calc(10% - var(--ark-searchW)) var(--ark-searchW);
}

/* menu */
[data-btns=rl-rr] .l-header__body {
    grid-template-areas: "left center right menu search";
    grid-template-columns: 15% 70% auto var(--ark-drawerW) var(--ark-searchW);
}
.has-text>.c-headLogo {
    
    line-height: 1.5;
    font-weight: 700;
}
.has-text>.c-headLogo:hover {
    text-decoration: none;
}
.c-gnav__depth1 {
    min-width: 200px;
    left: 0;
    transform: none;
}
.c-gnav__depth1:before {
    background-color: var(--ark-color--main);
    left: 17%;
    bottom: 99%;
    height: 2em;
}

.c-gnav__li:hover {
    color: #fff;
	background-color: #345fb0;
}

.c-gnav {
    font-size: 1.2rem;
	padding-bottom: 30px;
}

.current-menu-item{
	color:#ffffff !important;
}

.current-menu-item  a,
.current_page_item  a{
 	background-color: #1e3664;
}


/*=================================================
* page
 *================================================*/
/* common */
.button_to_diagram_elements {
    border: 2px solid #555;
    border-radius: 15px;
}
.button_to_diagram_elements:hover {
    background-color: #f0f0f0;
}

/* home-fieldnote-list */
.home-fieldnote-list li .wp-block-post-featured-image {
    overflow: hidden;
}
.home-fieldnote-list li:hover .wp-block-post-featured-image img {
    transition: transform 0.25s;
}
.home-fieldnote-list li:hover .wp-block-post-featured-image img {
    transform: scale(1.15);
}

/*H2見出し*/
h2.wp-block-heading {
    color: #fff;/*文字色（白）*/
    font-size: 20px;/*文字サイズ*/
    padding: 10px;/*文字回りの余白（上下左右）*/
    display: block;
    position: relative;
}

h2.wp-block-heading:before {
    content: '|';
    font-size: 28px;/*マーク部のサイズ*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #567a4d;/*背景色*/
    z-index: -1;
	border-radius: 5px;
}

/*H3見出し*/
h3.wp-block-heading {
	font-size: 18px;/*文字サイズ*/
  	border-bottom: 3px solid #567a4d;
}

/*H4見出し*/
h4.wp-block-heading {
    font-size: 18px;/*文字サイズ*/
	padding : 0.25rem;
  	border-left: 4px solid #567a4d;
}

/*=================================================
* sub
 *================================================*/
/* widget */
.c-widget+.c-widget {
    margin-top: 1rem;
}

/* お知らせ */
.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child {
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 120px;
  font-size: 16px;
  color: #1e3664;
  padding: 0 20px 0 0;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}