@charset "UTF-8";

/*
Theme Name: idai-gs
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
*/

.site {
    max-width: 1200px;
	padding-top: .8em;
    padding-left: .8em;
	padding-right: .8em;
}

/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.site-header {
}

.site-title {
	margin: 0 0 0 .4em;
	max-width: calc(100% - .8em - 58px);
	/*height: 56px;*/
}

.site-title a {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 0 .8em;
	width: 100%;
}
.site-title a > span {
	flex-shrink: 1;
}
.site-title img {
	vertical-align: middle;
}
.site-title .logo {
	margin-right: .5em;
}

.site-header-flex {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	position: relative;
	display: block;
	z-index: 10;
	width: 100%;
}

.main-navigation button {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 15;
}

.main-navigation ul {
	display: block;
	/*overflow: hidden;*/
	background: none;
	line-height: 2em;
	white-space: nowrap;
}
.main-navigation .menu-wrapper {
	position: fixed;
	padding: 0 1.2em 0;
	top: 0;
	right: -17em;
	width: 17em;
	height: 100vh;
	background: #fff;
	transition: right .2s;
	overflow-y: scroll;
	z-index: 2;
}

.main-navigation a {
    padding: .6em 2em;
}

.main-navigation .current-menu-item > a,
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active {
    color: #333;
    transition: color .2s;
}

.main-navigation .current-menu-item > a,
.main-navigation li:hover > a,
.main-navigation li.focus > a {
    background-color: #49b521;
    transition: background-color .2s;
	color: #fff;
}

.main-navigation.toggled .menu-wrapper{
    right: 0;
    overflow-y: scroll;
    transition: right .3s;
}

.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: -999em;
	background: #c9d9c3;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation ul ul a {
	min-width: 200px;
	padding-right: .2em;
	white-space: normal;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	position: static;
}

.main-navigation li {
    position: relative;
	width: auto;
	margin-bottom: 0;
	text-align: left;
}

.main-navigation .overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background: #000;
	opacity: 0;
	transition: opacity .3s;
	z-index: 1;
}
.main-navigation.toggled .overlay {
	opacity: .4;
	pointer-events: auto;
}

.main-navigation-close {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 2em auto;
	padding: .6em 1.5em;
	width: 80%;
	background: #000;
	color: #fff;
	font-size: 90%;
}

.site-header .search-form {
	display: flex;
	align-items: stretch;
	margin: .8em 0;
	border: 1px solid #49B521
}
.site-header .search-form input[type=search] {
	flex-shrink: 1;
	width: 100%;
	border: none;
}
.site-header .search-submit {
	padding: .2em .8em;
	border:none;
	background: #49B521;
	color: #fff;
}
.site-header .menu-wrapper .search-form {
	margin-right: 54px;
}


/*--------------------------------------------------------------
## link button
--------------------------------------------------------------*/

a.link-button {
	position: relative;
	display: inline-block;
	margin: .5em 1em;
	padding: .8em 2em;
	border: 3px solid #004714;
	min-width: 12em;
	text-align: center;
	text-decoration: none;
	color: #004714;
	line-height: 1.3;
	transition: color .15s ease-in;
	z-index: 1;
}
a.link-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #004714;
	z-index: -2;
}
a.link-button::after {
	content: '';
	margin: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	z-index: -1;
	transition: width .15s ease-in, height .15s .03s ease-in;
}
a.link-button:hover,
a.link-button:focus {
	color: #fff;
}
a.link-button:hover::after,
a.link-button:focus::after {
	width: 0;
	height: 0;
	transition: width .3s ease-in, height .15s ease-in;
}

a.link-button.small {
	padding: .3em .6em;
	min-width: 8em;
}

a.link-button.large {
	padding: 1.2em;
}

a.link-button.w100p {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

/*--------------------------------------------------------------
## content
--------------------------------------------------------------*/

article + article {
	margin-top: 3em;
	padding-top: 3em;
	border-top: solid 1px #ccc;
}

.entry-header h1,
.entry-header h2,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	line-height: 1.3;
}

.entry-header h1,
.entry-header h2 {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 26px;
    border-bottom:2px dotted #00661e;
    padding-bottom:10px;
}

.index-news ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.index-news li {
	margin: 0;
	padding: 1.6em .2em 1.6em .8em;
	line-height: 1.3;
	border-bottom: 1px solid #4C4451;
}
.index-news li:first-child {
	border-top: 1px solid #4C4451;
}

.index-news-date {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: .6em;
	font-size: .9em;
    color:#666;
}

.index-news-text {
	width: 100%;
}

.entry-meta {
	font-size: 85%;
}
.entry-date {
	color: #666;;
}

a.cat-name-tag {
	display: inline-block;
	margin-left: 1em;
	padding: .4em 1em;
	min-width: 6em;
	color: #fff;
	text-decoration: none;
	font-size: 85%;
	text-align: center;
}
.cat-name-tag {
	background: #0084c4;
    border-radius: 5px;/* 他のカテゴリが該当しない場合 */
}
.cat-name-tag.color-news {
	background: #0084c4;
    border-radius: 5px;
}
.cat-name-tag.color-update {
	background: #f96559;
    border-radius: 5px;
}
.cat-name-tag.color-lecture {
	background: #af6dab;
    border-radius: 5px;
}

.site-header-absolute + .site-content .entry-content {
	margin-top: 0;
}

.event-list {
}
.event-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.event-list li {
	margin: 0;
	padding: 1.6em .4em;
	border-bottom: 1px solid #ccc;
	line-height: 1.5;
}
.event-list-mb {
	margin-bottom: 3em;
}
.event-list-index li {
	border-bottom: 1px solid #4C4451;
}
.event-list-index li:first-child {
	border-top: 1px solid #4C4451;
}
.event-list-img-box {
	text-align: center;
}
.event-list-img-box img {
	margin-bottom: 1.2em;
	vertical-align: top;
}
.event-list-date {
	padding-left: 3.2em;
	text-indent: -3.2em;
    font-size:.9em;
    color:"#666";
}
.event-list-time {
	padding-left: 3.2em;
}
.event-title {
	margin-bottom: .4em;
	font-weight: bold;
}

.entry-content-event {
	margin-left: auto;
	margin-right: auto;
	max-width: 900px;
}

.event-desc-table {
	margin: 3em 0;
	border: 1px solid #ccc;
}
.event-desc-table th,
.event-desc-table td {
	display: block;
	padding-left: .8em;
	padding-right: .8em;
}
.event-desc-table th {
	background: #f9f9f9;
	text-align: left;
}
.event-desc-table td {
	padding-left: 1.5em;
	padding-bottom: 1em;
}

.event-desc-table td p:last-child{
	margin-bottom: 0;
}

.event-detail-pdf {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 3em;
}
.event-detail-pdf a {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 1em 1em;
	padding: .8em 1.5em;
	color: #fff;
	background: #49b521;
	text-decoration: none;
	transition: opacity .3s;
}
.event-detail-pdf a:hover {
	opacity: .8;
}

.event-detail-pdf i.fas {
	margin-right: .8em;
	font-size: 120%;
}

/*--------------------------------------------------------------
## Sidebar
--------------------------------------------------------------*/

.widget h2 {
	color: #fff;
	text-align: center;
	padding:0.15em;
	/*border-top: solid 2px #82be28;
	border-bottom: solid 2px #82be28;*/
	background: #79bf5e;
	border-left:solid 2px #fff;
	border-right:solid 2px #fff;
	font-size:1em;
    border-radius: 10px;
}

.widget ul {
	margin: 1.2em .5em 0 1em;
	padding-left: 0;
	list-style: none;
}

.widget li {
	position: relative;
	margin-bottom: .5em;
	padding-bottom: .8em;
	padding-left: 1em;
	font-size:.9em;
	line-height: 1.5;
	border-bottom:1px dotted #d4fa9d;
}
.widget li:last-child {
	border-bottom: none ;
}

.widget li::before {
	position: absolute;
	top: .1em;
	left: 0;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	content: "\f105";
	color:#82be28;
}


/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.to-top {
	position: fixed;
	bottom: -230px;
	right: 4px;
	transition: bottom .3s;
	z-index: 999;
}
.to-top > img {
	width: 50px;
	vertical-align: top;
}
.to-top.show {
    bottom: 4px;
}

.site-footer {
	margin: 5em calc(50% - 50vw) 0;
	padding: 2.5em calc(50vw - 50%) 2.5em;
	background: #778c6d url('img/footer-bg.jpg') center center;
	background-size: cover;
	color: #fff;
	text-align: center;
}
.site-footer a {
	color: #fff;
}

.site-footer-button {
	margin: 2em 0;
}
.site-footer-button > a {
	display: block;
	margin: .5em .4em;
}
.site-footer-address {
	margin-top: 2em;
}
.site-footer-tel {
	font-size: 125%;
}

.site-footer-menu {
	margin: 3em 0;
}
.site-footer-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 85%;
}
.site-footer-menu li {
	margin: 0;
}
.site-footer-menu a {
	position: relative;
	display: block;
	margin: 0 auto 1em;
	padding: 1em 70px 1em .4em;
	border: 1px solid #fff;
	line-height: 1.2;
	max-width: 25em;
	text-decoration: none;
	transition: background-color .3s;
}
.site-footer-menu a::after {
	position: absolute;
	content: url("img/footer-arrow.svg");
	width: 60px;
	right: 20px;
	top: calc(50% - 7px);
}
.site-footer-menu a:hover {
	background-color: rgba(255,255,255, .3);
}

.site-copyright {
	text-align: center;
	margin: 1em 0;
	font-size: 85%;
}


/*--------------------------------------------------------------
# form
--------------------------------------------------------------*/

.mw_wp_form input[type=submit] {
    background: #49B521;
    color: #fff;
}

.mw_wp_form_row {
	margin-bottom: 1.2em;
	border-bottom: 1px dotted #005123;
	padding-bottom: 1.2em;
}
.mw_wp_form_row > label,
.mw_wp_form_row > div > label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: .2em;
}

.mwform-radio-field.horizontal-item {
	white-space: nowrap;
	margin-right: 20px;
}
.mw_wp_form .horizontal-item + .horizontal-item {
	margin-left: 0;
}
/*--------------------------------------------------------------
# large devices
--------------------------------------------------------------*/

/* ≧ 568px sm (small) スマホ横 */
@media screen and (min-width: 35.5em), print {

	.event-list li {
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		padding: 1.6em .2em 1.6em .8em;
	}
	.event-list-img-box {
		margin-right: 30px;
		min-width: 120px;
		text-align: center;
	}
	.event-list-img-box img {
		margin-bottom: 0;
	}
	.event-list-time {
		display: inline;
		padding-left: 0;
	}

	.event-desc-table th,
	.event-desc-table td {
		display: table-cell;
		border: 1px solid #ccc;
		}
	.event-desc-table th {
		text-align: center;
	}
	.event-desc-table td {
		padding-left: .8em;
		padding-bottom: .5em;
	}

}

/* ≧ 768px md (medium) タブレット縦 */
@media screen and (min-width: 48em), print {
	.site-footer-menu ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		font-size: 70%;
	}
	.site-footer-menu li {
		margin: 0 1em;
		width: 40%;
	}
	.site-footer-menu a {
		margin: 0 auto 1.5em;
	}

}

/* ≧ 1024px lg (large) タブレット横 */
@media screen and (min-width: 64em), print {

	.site {
		position: relative;
		padding-top: 0;
	}

	.site-header {
		position: static;
		background: none;
		height: auto;
		top: 0;
		left: 0;
	}

	.site-branding {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.site-branding > div {
		/*flex: 1 1 auto;*/
		flex-grow: 0;
	}

	.site-branding > div:first-child {
		flex-shrink: 2;
	}

	.site-title {
		display: block;
		margin: 0 4em 0 0;
		min-width: 21em;
		max-width: none;
		height: auto;
		flex-grow: 1;
		align-self: center;
	}
	.site-title a {
		padding: 0;
		align-items: flex-end;
	}

	.site-title .logo {
		flex-shrink: .7;
	}

	.site-header-search-pc {
		flex-shrink: 1;
		max-width: 260px;
	}

	.menu-access-pc ul {
		display: flex;
		margin: 0 0 0 1.5em;
		padding: .5em 1em;
		list-style: none;
		font-size: 0.9rem;
		line-height: 1;
		background: #a4da8f;
		font-weight: bold;
	}
	.menu-access-pc li {
		margin-bottom: 0;
	}
	.menu-access-pc a {
		display: block;
		padding: 1em 1em;
		background: #a4da8f;
		transition: background-color .2s;
		white-space: nowrap;
		text-decoration: none;
	}
	.menu-access-pc a:hover,
	.menu-access-pc a:focus,
	.menu-access-pc a:active {
		background: #fff;
	}

	.main-navigation .menu-wrapper {
		display: block;
		position: static;
		margin-top: 1em;
		padding: 0;
		width: auto;
		height: auto;
		overflow: visible;
	}

	.main-navigation.toggled .menu-wrapper {
		overflow: hidden;
	}

	.main-navigation ul {
		max-height: none;
		background: #fff;
	}

	.main-navigation ul.menu {
		display: flex;
		position: static;
		width: auto;
		border: none;
	}

	.main-navigation.toggled ul {
		display: flex;
	}

	.main-navigation .menu > li {
		margin-bottom: 0;
		border: none;
		width: 10%;
	}
	.main-navigation .menu > li:not(:last-child) {
		border-right: 1px solid #49b521;
	}

	.main-navigation .menu-section {
		border: none;
	}

	.main-navigation a {
		display: block;
		padding: 1.25em .3em;
		line-height: 1;
		text-align: center;
		color: #4C4C4C;
		font-weight: bold;
		transition: border-bottom-width .3s, border-top-width .3s;
	}

	.main-navigation ul ul {
		font-size: 95%;
		padding: 20px;
		background: rgba(255,255,255,.9);
	}
	.main-navigation ul ul a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 1.2em;
		color: #333;
		white-space: nowrap;
	}
	.main-navigation ul ul a::after {
		display: inline-block;
		margin-top: -.3em;
		margin-left: 3em;
		content: url("img/submenu-arrow.svg");
		width: 40px;
	}
	.main-navigation ul ul li {
		line-height: 1.2;
		border-bottom: solid 1px #AFAFAF;
	}

	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		position: absolute;
		left: auto;
	}

	.main-navigation .sub-menu-col2 > ul {
		column-count: 2;
	}
	.main-navigation .sub-menu-col2 > ul > li {
		break-inside: avoid;
	}

	.main-navigation .sub-menu-pull-left-20em > ul {
		margin-left: -20em;
	}

	.main-navigation ul li.sub-menu-right:hover > ul,
	.main-navigation ul li.sub-menu-right.focus > ul {
		left: auto;
		right: 0;
	}

	.main-navigation button,
	a.main-navigation-sp-top,
	.main-navigation-close,
	.main-navigation .search-form {
		display: none;
	}

	.main-navigation.toggled .overlay {
		display: none;
	}

	.event-list.event-list-full ul {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.event-list.event-list-full li {
		padding-right: 1.5em;
		width: 50%;
	}



	.widget-area {
		padding-top: 126px;
	}

	.content-area {
		width: 70%;
	}

	.widget-area {
		width: 30%;
	}

	.to-top > img {
		width: 70px;
	}


	.mw_wp_form_row {
		display: flex;
		padding-left: .8em;
	}
	.mw_wp_form_row > div:first-child,
	.mw_wp_form_row > label {
		align-items: flex-start;
		width: 15em;
		margin-top: .2em;
		flex-shrink: 0;
	}

	.site-footer-menu ul {
		/*font-size: 80%;*/
	}
	.site-footer-tel {
		font-size: 150%;
	}

}

/* ≧ 1280px xl (extra large) PC */
@media screen and (min-width: 80em) {
	.site-footer-menu li {
		width: 21%;
	}

}
