/*
Theme Name: emme5
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emme5
Tags: 
*/

/* 余分なスペースを削除 */
main, footer {
  margin-top: 0;
}

.wp-block-group {
  margin-block-start: 0px;
}

/* logo */
/*
.header-img {
  align-itemse: flex-start;
}
*/

/* topページのタイトル非表示 */
.home .title-group {
  display: none;
}
/* 検索 */
.wp-block-search__inside-wrapper {
  border: 0;
}
/* メニュー */
/*
.wp-block-navigation-item {
  text-align: right;
}
*/
/*
.wp-block-navigation-item__content {
  font-weight: bold;
}
*/
.wp-block-navigation-item__label:hover {
  color: #1eaa39;
}
/* submenu */
.wp-block-navigation-submenu li {
 width: 15rem;
}
/* 固定ページタイトル */
.title-bg {
	
}

/* headerのlink menu */
.top-link-menu {
	list-style-type: none;
	
}

.top-link-menu li {
	margin-right: 2em;
	font-size: 12px;
}
.top-link-menu li a {
    text-decoration: none;
}
.top-link-menu li a:hover {
	color: #1eaa39;
}
.link-english:before{
  content:"\f0ac";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: #1eaa39;
  padding-right:2px;
}
/*
.top-link-menu li {
	margin-right: 1em;
    border: 1px solid #1eaa39;
	border-radius: 10px;
	padding: 0px 8px;
	font-size: 12px;
}
.top-link-menu li a {
    text-decoration: none;
}
.top-link-menu li a:hover {
	color: #fff;
}
.top-link-menu li:hover {	
	background-color:  #1eaa39;
}
*/
.top_category_link a {
	text-decoration: none;
}
.top_category_link a:hover {
	text-decoration: underline;
	text-decoration-thickness: 3px;
}
.color_black a:hover {
	color: black;
}
/* a 要素の左に矢印をつける */
.a_arrow {
  position: relative;
  display: inline-block;
  padding-left: 27px;
}
.a_arrow:before {
  content: '';
  width: 18px;
  height: 18px;
  background: #1eaa39;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
.a_arrow:after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  left: 4px;
  bottom: 0;
  margin: auto;
}

/* ul li 要素の左に矢印をつける */
.list_arrow {
  margin-left: -20px!important; /* 左の余白を強制的に変更 */
}
.list_arrow li {
  list-style-type: none;
  position: relative;
}
.list_arrow li:before {
  display: inline-block;
  content: '';
  width: 18px;
  height: 18px;
  background: #1eaa39;
  border-radius: 50%;
  vertical-align: sub; 
/*
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
	*/
  margin: auto;
  margin-right: 5px;
}
.list_arrow li:after {
  display: inline-block;
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 1px;
  left: 4px;
  bottom: -1px;
  margin: auto;
  margin-right: 5px;
}

/* デフォルトのブレークポイント無効化. */
@media (min-width: 600px) {
  /* メニューを非表示. */
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
  /* Openボタン（ハンバーガーボタン）を表示. */
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
}
.navi-zindex {
  z-index: 10;
}
/* 新しいブレークポイント設定. */
@media (min-width: 700px) {
  /* メニューを表示. */
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    background-color: inherit;
    display: block;
    position: relative;
    width: 100%;
    z-index: auto;
  }
  /* Openボタン（ハンバーガーボタン）を非表示. */
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }
}

/* リンクの下線消去 */
.no-underline {
  text-decoration: none;
}

/* frontpage 新着記事 */
.front_post {
  display: flex;
}
.front_post a {
  text-decoration: none;
}
.front_post a:hover{
  color: #00974a;
}
.front_post_img {
  flex-basis: 150px;
}

.front_post_img img {
  width:120px;
  padding-right:2em;
}
.front_post_info {
  flex: 1;
}
.front_post_info_inner {
  display: flex;
  flex-direction: column;
}
.front_post_daycat {
  display: flex;
  margin-top:5px;
}
.front_post_day {
  padding-right: 1.5rem;
  font-size: 0.9rem;
}
.front_post_category {
  height: 1.5em;
  border-radius: 5px;
  color: white;
  padding: 0 8px 3px 8px;
  font-size: 0.9rem;
}

.front_post_title {
  font-weight: normal;
}

.category_slug_info {
  background-color: #f78da7;
}

.category_slug_event {
  background-color: #00d084;
}
.category_slug_uncategorized {
  background-color: black;
}

/* フッターメニュー　*/

.footer-right ul li {
  margin-bottom: 1rem;
  margin-right: 3rem;
  width: 8rem;
}

@media screen and ( max-width: 781px ) {
	/* footer を縦並びにしたときの中央揃え */
	.footer-left {
  	   	padding-left:calc( (100% - 202px)/2 );  	
	}
	.footer-right {
		padding-left: 50px!important;
		margin-top: 30px!important;
		padding-top: 30px!important; 
		border-top: 1px solid #dcdcdc;
	}
}


/* read more wp プラグインの表示変更 */
.rmwp-button-wrap {
	width: 100%;
	display: block;
	text-align: center;
	position: relative;
}
.rmwp-button-wrap button {
	border: none;
	border-radius: 10px;
	padding: 10px 20px;
	margin: 0;
	/*width: 120px;*/
	font-size: 14px;
	background: #1eaa39; /* ボタンの背景色 */
	color: white; /* ボタンの文字色 */
}

/*コンテンツの内容が少ない時にフッターの位置を調整とメインコンテンツの背景色設置用*/
body, html, .wp-site-blocks {
  height: 100vh;
}
.flex-parent {
  display: flex;
  flex-flow: column;
  height: 100vh;
}
.flex-child {
  flex-grow: 1;

}
.flex-child-inner {
  height: 100%;
}

.vcenter {
  display: flex;
}
.vcenter-inbox  {
 align-self: center;
}

/* grid 縦並び*/
/*
@media screen and ( max-width: 600px ) {
 .mgrid {
   grid-template-columns: repeat(1, auto)!important;
  }
}
*/
/* 教員テーブル */
.kyoin td:nth-child(1){
width:10rem;
}
.kyoin td:nth-child(2){
width:12rem;
}

.kyoin th {
  /*background-color: #D5EEFF;*/
  /*color: white;*/
  border-top: 3px solid #FFF;
}

