/*
Theme Name: Twenty Twenty Four Child
Template: twentytwentyfour
*/

/* ----------------------------------------------------
   Basic setting:
------------------------------------------------------- */

@media print {
  body {
    color-adjust: exact; /* 標準プロパティ */
    -webkit-print-color-adjust: exact; /* WebKit向け */
	  zoom: 1.0;
  }
	header.wp-block-template-part,footer {
		display: none;
	}
}


/* reset:
--------------------------------------------*/

ul,
ol {
  list-style: none;
}
em,
address {
  font-style: normal;
}

input[type="text"],
input[type="submit"] {
  border-radius: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root :where(.wp-block-search .wp-element-button,.wp-block-search .wp-block-button__link) {
    border-radius: 3px!important;
    background-color: var(--logo)!important;
	font-size: .8rem!important;
	font-weight: 400;
	border-color: var(--logo) !important;
}
.wp-block-search__input {
    border: var(--border2)!important;
   	border-radius: 3px!important;
}

.grecaptcha-badge {
	bottom: 57px!important;
}


/* Basic
--------------------------------------------*/

:root {
  --black: #000;
  --gray: #565661;
  --white: #fff;
  --red: #dc0808;
  --logo: #36318f;
	--logo-back:#D6D4FF;
  --py: #fce6ab;
  --pb: #d4e4ff;
  --pp: #fedbf2;
	--pg: #CBF7E0;
  --gray-border: #B3B2C1;
  --gray-back: #F0F0F5;
  --border1: solid 2px var(--black);
  --border2: solid 1.5px var(--gray-border);
  --font-family: "Noto Sans JP","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック",
    "MS  PGothic", sans-serif;
  --font-family_ac: "Zen Maru Gothic", sans-serif;
  --font-family_en: "Rubik", sans-serif;
  --gap: 20px;
  --maru: 5px;
  --maru2: 15px;
  --arrow: 8px;
  --auto-fill1: repeat(auto-fill, minmax(480px, 1fr));
  --auto-fill2: repeat(auto-fill, minmax(350px, 1fr));
  --pa: 15px;
}


html {
	scroll-behavior: smooth;
  position: relative;
}

@media (min-width: 768px) {
  html {
    font-size: calc(0.90625rem + ((1vw - 7.68px) * 0.2604));
    min-height: 0vw;
  }
}
@media (min-width: 1920px) {
  html {
    font-size: 17.5px;
  }
}


body {
  font-family: var(--font-family);
	font-weight: 400;
	font-size: 1rem;
  color: var(--black);
  position: relative;
}
@media (max-width: 767px) {
  body {
    font-size: 15px;
  }
}

input,
select {
  font-size: 1rem;
  font-family: var(--font-family);
}
html:lang(en) input,
select {
  font-family: var(--font-family_en);
}

:lang(en) {
  font-family: var(--font-family_en);
}
time {
  font-family: var(--font-family_en);
}

/*-- link --*/

a {
  color: var(--black);
  text-decoration: none;
  transition: all 300ms 0s ease;
}
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 2px var(--black) solid;
}

main a {
  text-decoration: underline;
}
main a:hover {
  text-decoration: none;
}

/*-- button --*/

button {
  border: none;
  background: none;
  transition: all 300ms 0s ease;
  font-family: var(--font-family);
  color: var(--black);
}
button:hover {
  cursor: pointer;
}

/* Utility
--------------------------------------------*/

.pc {
  display: block;
}
.sp {
  display: none;
}

.blue {
	color: var(--logo);
}

/*---- .width ----*/

.w5 {
  width: 5%;
}
.w10 {
  width: 10%;
}
.w15 {
  width: 15%;
}
.w20 {
  width: 20%;
}
.w25 {
  width: 25%;
}
.w30 {
  width: 30%;
}
.w40 {
  width: 40%;
}
.w50 {
  width: 50%;
}
.w60 {
  width: 65%;
}
.w70 {
  width: 70%;
}
.w80 {
  width: 80%;
}
.w90 {
  width: 90%;
}
.w100 {
  width: 100%;
}

.w100_sp70 {
  width: 100%;
}

@media (max-width: 767px) {
	.sp50 {
	  width: 50%;
	}
}

.nowrap {
  white-space: nowrap;
}

.align_r {
	text-align: right;
}

.cap_r figcaption{
	text-align: right!important;
}
.cap_l figcaption{
	text-align: left!important;
}

/*---- grid system ----*/

.grid {
  display: grid;
  grid-gap: var(--gap);
  justify-content: space-between;
}

.grid.start {
  justify-content: flex-start;
}

.grid.clm2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid.clm3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid.clm4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid.clm5 {
  grid-template-columns: repeat(5, 1fr);
}
.grid.clm6 {
  grid-template-columns: repeat(6, 1fr);
}

.grid.clm1-2 {
  grid-template-columns: 1fr 2fr;
}
.grid.clm2-1 {
  grid-template-columns: 2fr 1fr;
}
.grid.clm1-3 {
  grid-template-columns: 1fr 3fr;
}
.grid.clm3-1 {
  grid-template-columns: 3fr 1fr;
}
.grid.clm1-4 {
  grid-template-columns: 1fr 4fr;
}
.grid.clm4-1 {
  grid-template-columns: 4fr 1fr;
}
.grid.clm1-5 {
  grid-template-columns: 1fr 5fr;
}
.grid.clm5-1 {
  grid-template-columns: 5fr 1fr;
}

/* element setting:
--------------------------------------------*/

/*---- img  ----*/

img {
  border: none;
  vertical-align: middle;
}

/*-- icon --*/

svg:is(.icon, .icon_blank) {
  margin: 0 6px;
  vertical-align: middle !important;
  width: auto;
  height: 24px;
}
svg.icon_blank {
  height: 18px;
  margin-bottom: 5px;
}

/*------ lnk ------*/

/*-- デフォルト＆バリアント --*/

:is(.wp-block-button,.lnk1) a {
  text-decoration: none;
  display: inline-block;
  min-width: 6rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 400;
}

:is(.wp-block-button,.lnk1) a {
  color: var(--black);
  position: relative;
  margin: 0 auto;
  padding: 0.7rem 50px 0.7rem 7px;
  transition: 0.3s ease-in-out;
  background: url("/common/img/common/arrow1.svg") no-repeat center right 10px;
  background-size: var(--arrow);
}

:is(.wp-block-button,.lnk1) a:hover {
  background: url("/common/img/common/arrow2.svg") no-repeat center right 10px;
  background-size: var(--arrow);
  opacity: 1;
}

:is(.wp-block-button,.lnk1) a:before {
  position: absolute;
  bottom: 0px;
  left: 50%;
  content: "";
  width: 100%;
  height: 2px;
  background: var(--gray-border);
  transform: translateX(-50%);
}
:is(.wp-block-button,.lnk1) a:after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: var(--black);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}

:is(.wp-block-button,.lnk1) a:hover:after {
  transform: scale(1, 1);
}

/*-- 輪郭 --*/

.wp-block-button.is-style-outline a {
  border-width: 2px;
  padding: 1rem 40px 1rem var(--pa);
	min-width: 12rem;
}
.wp-block-button.is-style-outline a:hover {
  background-color: var(--gray-back) !important;
  border-color: var(--black) !important;
  background: url("/common/img/common/arrow2.svg") no-repeat center right 10px;
  background-size: var(--arrow);
  color: var(--black)!important;
}
.wp-block-button.is-style-outline a:before {
  display: none;
}
.wp-block-button.is-style-outline a:after {
  display: none;
}

/*-- iframe --*/
iframe {
  width: 100%;
	display: block;
	margin: 0 auto;
  border: none;
}

/* header:
--------------------------------------------*/

header ul{
	margin: 0;
	padding: 0;
}
header.wp-block-template-part {
	background:#fff;
	margin-bottom: 2rem;
			box-shadow: 0 7px 10px rgba(0, 0, 0, .03);
}

header.wp-block-template-part div#header  {
  display: grid;
  grid-template-columns: 25% 1fr;
  justify-content: center;
  align-items: center;
	padding: 1.5% 0;
			padding-right: var(--wp--style--root--padding-right);
		padding-left: var(--wp--style--root--padding-left);
	margin-block-start: 0;
	grid-gap: 20px;
	max-width: 1366px;
	margin: 0 auto;
	box-sizing: content-box;
}

@media screen and (max-width: 1000px) {
	header.wp-block-template-part div#header  {
	  grid-template-columns: 20% 1fr;
	}
}

header .logo {
	grid-row: 1 / 3;
}

header .logo img {
	width: 100%;
  max-width: 180px;
}

header ul.sub li :is(a, button) {
  font-size: 0.9rem;
  padding: 0.5rem 0 0.5rem 28px;
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 23px;
}
header ul.sub li :is(a, button):hover {
  text-decoration: underline;
}
header ul.sub li:nth-child(1) :is(a, button) {
  background-image: url("/common/img/common/icon_lang.svg");
}
header ul.sub li:nth-child(1) :is(a, button) {
  background-image: url("/common/img/common/icon_furigana.svg");
}
header ul.sub li:nth-child(2) :is(a, button) {
  background-image: url("/common/img/common/icon_yasanichi.svg");
}
header ul.sub li:nth-child(3) :is(a, button) {
  background-image: url("/common/img/common/icon_search.svg");
}

header ul.sub svg.icon_blank {
	display:none;
}


header ul.glnav {
	grid-column: 2 / 3;
    justify-self: end;
}

header ul.glnav li {
	display: inline-block;
	margin-left: 2rem;
	font-size: 1.1rem;
}


header ul.sns.pc {
	margin-block-start: 0!important;
  position: absolute;
  top: 90px;
  right: 14px;
  z-index: 997;
}

header ul.sns.pc li {
  margin-bottom: 1rem;
}

header ul.sns li img {
  width: 23px;
}
header ul.sns li:last-child img {
  width: 28px;
}

@media screen and (min-width: 768px) {
  header ul.sub {
    justify-self: end;
  }

  header ul.sub li {
    display: inline;
    margin-left: 2rem;
  }
}


/*hamburger*/
.hamburger {
  width: 30px;
  height: 22px;
 position: absolute;
  right: 10px;
  top: 25px;
  cursor: pointer;
  z-index: 999;
	margin-block-start: 0!important;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--black); /* 線の色 */
  transition: all 0.3s ease-in-out; /* アニメーション効果（任意） */
}

.hamburger::before {
  top: 0;
}

.hamburger::after {
  bottom: 0;
}

.hamburger span {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background-color: var(--black); /* 中央の線の色 */
  transition: all 0.3s ease-in-out; /* アニメーション効果（任意） */
}

/* 開いた時のスタイル (例) */
.hamburger.open span {
  opacity: 0;
}

.hamburger.open::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.open::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/*--gnav--*/

#gnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    display: none;
  overflow-y: auto;
    background: var(--white);
    margin: auto 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

#gnav > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
		margin: 0!important;
	padding: 0!important;
	position: absolute;
	width: 100%;
}

#gnav > div > ul {
  padding: 1.5rem 0 1.5rem 1.5rem;
	margin-top: 3rem;
}

#gnav > div > ul > li {
  margin-bottom: 1.3rem;
}

#gnav > div > ul > li > a {
  border-bottom: var(--border1);
  display: block;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-weight: 500;
  padding: 0.5rem 50px.5rem 0.5rem;
  transition: 0.3s ease-in-out;
	background: url(/common/img/common/arrow1.svg) no-repeat center right 10px;
	background-size: var(--arrow);
}
@media screen and (min-width: 768px) {
	#gnav > div > ul > li > a:hover {
	  background: var(--logo-back)  url(/common/img/common/arrow2.svg) no-repeat center right 10px;
	  background-size: var(--arrow);
	}

	#gnav > div > ul > li.grants > a:hover {
	  background: var(--py)  url(/common/img/common/arrow2.svg) no-repeat center right 10px;
	  background-size: var(--arrow);
	}
	#gnav > div > ul > li.support > a:hover {
	  background: var(--pb)  url(/common/img/common/arrow2.svg) no-repeat center right 10px;
	  background-size: var(--arrow);
	}
	#gnav > div > ul > li.festivals > a:hover {
	  background: var(--pp)  url(/common/img/common/arrow2.svg) no-repeat center right 10px;
	  background-size: var(--arrow);
	}
	#gnav > div > ul > li.strategy > a:hover {
	  background: var(--pg)  url(/common/img/common/arrow2.svg) no-repeat center right 10px;
	  background-size: var(--arrow);
	}
}

#gnav > div > ul > li > ul {
  font-size: 0.85rem;
  line-height: 1;
	padding-inline-start: 0;
}
#gnav > div > ul > li > ul li a {
  padding: 0.5rem 0 0.5rem 0.5rem;
  display: block;
}
#gnav > div > ul > li > ul li a:hover {
	text-decoration: underline;
}

#gnav > div > ul:nth-of-type(2) > li > ul li:nth-last-child(4) {
  margin-top: 0.7rem;
}

#gnav > div > ul:last-of-type {
	margin: 3rem 2rem 0 0;
}

/*囲み*/
#gnav > div > ul:first-of-type {
  padding: 1rem 1rem 0 1rem;
	border: var(--border1);
	height: fit-content;
	margin: 4rem 0 0 2rem;
	border-radius: var(--maru);
}
#gnav > div > ul:first-of-type > li > a {
    border-bottom: none;
    font-size: .8rem;
	display:inline-block;
	background: 0;
}
#gnav > div > ul:first-of-type > li > a span:lang(en){
    color: var(--logo);
	font-size: 1.5rem;
	display: inline-block;
	margin-left:.5rem:
}

@media screen and (max-width: 1200px) {
	header .logo img {
		max-width: 150px;
	}
	header ul.glnav li {
		margin-left: 1.5rem;
	}
}

@media screen and (min-width: 960px) {
	/*sticky*/
	header.wp-block-template-part.scroll {
		transition: all 300ms 0s ease;
		position: sticky;
		top: 0;
		z-index: 4;
		background: #E9E8FC;
	}
	header.wp-block-template-part.scroll div#header {
		padding: 1% 0;
					padding-right: var(--wp--style--root--padding-right);
		padding-left: var(--wp--style--root--padding-left);

	}
	header.scroll ul.sub {
		display: none;
	} 

	header.scroll .logo img {
		max-width: 130px;
		transition: all 300ms 0s ease;
	}

	header.wp-block-template-part.scroll ul.glnav{
		grid-row: 1/3;
	}
}

@media screen and (max-width: 960px) {
	header ul.glnav {
		display: none;
	}
	#gnav > div {
    	display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: var(--gap);
		padding: 2rem!important;
	}
	
	#gnav > div > ul:first-of-type {
		width: 100%;
		grid-column: 1/3;
		margin: 0;
		padding: 0;
		border: none;
	}
	
	#gnav > div > ul:first-of-type  > li > a {
		padding: 0 0.5rem;
	}
	
	#gnav > div > ul,#gnav > div > ul:last-of-type  {
		padding: 0;
		margin: 0;
	}
	#gnav > div > ul:first-of-type > li {
		margin-bottom: 0;
	}
	#gnav > div > ul:first-of-type > li:first-child {
		grid-row: 1 / 5;
	}
	#gnav > div > ul > li > ul {
		font-size: .9rem;
	}
	#gnav > div > ul > li > a {
		font-size: 1.1rem;
	}
}

@media screen and (max-width: 960px) and (min-width: 768px) {
	#gnav > div > ul:first-of-type {
		background: var(--gray-back);
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: var(--gap);
		padding: 1rem;
	}
	header ul.sub {
		grid-row: 1 /3;
	}
}

@media screen and (max-width: 767px){
	header.wp-block-template-part {
		margin-bottom: 1rem;
	}
	
	header.wp-block-template-part div#header {
		grid-template-columns: 1fr;
		padding: 1% 3% 4% 3%;
		gap: 10px;
	}
	#header .logo {
		padding: 15px 0 20px;
		grid-row: 1 / 2;
	}
	
	#header .logo img {
		max-width: 80%;
		max-width: auto;
	}
	#gnav > div {
		grid-template-columns: 1fr;
		padding: 0 !important;
        grid-gap: 0;		
	}
	#gnav > div >*{
		grid-column: 1 /3;
	}
	#gnav > div > ul > li {
		margin-bottom: 0;
		border-bottom: var(--border1);
	}
	#gnav > div > ul > li > a {
		font-size: 1rem;
		margin-bottom: 0;
		padding: 1.3rem 1rem;
		border:none;
		width: 100%;
	}
	#gnav > div > ul:first-of-type > li {
		border-bottom: var(--border2);
	}
	#gnav > div > ul:first-of-type > li:last-child {
		border-bottom: var(--border1);
	}
	#gnav > div > ul:first-of-type > li:first-child {
		border-top: var(--border1);
	}
	#gnav > div > ul:first-of-type > li > a {
        padding: 1rem;
		background: var(--gray-back) url(/common/img/common/arrow2.svg) no-repeat center right 12px;
		background-size: 7px;
		font-size: .9rem;
    }
	#gnav > div > ul:first-of-type > li:nth-child(1) > a,
	#gnav > div > ul:first-of-type > li:nth-child(2) > a{
		background: var(--gray-back) url(/common/img/common/arrow3.svg) no-repeat center right 10px;
		background-size: 12px;
    }
	#gnav > div > ul:first-of-type > li:nth-child(1) > a.on,
	#gnav > div > ul:first-of-type > li:nth-child(2) > a.on{
		background-image: url(/common/img/common/arrow5.svg);
    }
	
	#gnav > div > ul > li > ul {
		font-size: .9rem;
		padding: 0 .5rem 1rem;
		display: none;
	}
	#gnav > div > ul > li > ul li a {
		padding: 1rem 0 0.5rem 0.5rem;
	}
	#gnav > div > ul:first-of-type > li > a span:lang(en) {
		font-size: 1.3rem;
	}
	header ul.sub {
		display: flex;
		justify-content:space-between;
		gap:10px;
	}
	header ul.sub li :is(a, button) {
		font-size: 0.9rem;
		padding: 0.5rem 0 0.5rem 23px;
		background-size: 20px;
	}
	header ul.sns.sp {
		width: 90%;
		padding: 1.5rem 1rem;
	}
	header ul.sns.sp li{
		display: inline-block;
		margin-right: 2rem;
	}
	#gnav > div > ul > li.grants > a {
        background: var(--py) url(/common/img/common/arrow3.svg) no-repeat center right 10px;
		background-size: 12px;
    }
	#gnav > div > ul > li.support > a {
        background: var(--pb) url(/common/img/common/arrow3.svg) no-repeat center right 10px;
		background-size: 12px;
    }
	#gnav > div > ul > li.festivals > a {
        background: var(--pp) url(/common/img/common/arrow3.svg) no-repeat center right 10px;
		background-size: 12px;
    }
	#gnav > div > ul > li.strategy > a {
        background: var(--pg) url(/common/img/common/arrow3.svg) no-repeat center right 10px;
		background-size: 12px;
    }
	#gnav > div > ul > li.grants > a.on,
	#gnav > div > ul > li.support > a.on,
	#gnav > div > ul > li.festivals > a.on,
	#gnav > div > ul > li.strategy > a.on {
		 background-image: url(/common/img/common/arrow5.svg);
		background-size: 12px;
	}
}
@media screen and (max-width: 395px){
	header ul.sub li :is(a, button) {
		font-size: 0.85rem;
	}
}
@media screen and (max-width: 380px){
	header ul.sub li :is(a, button) {
		font-size: 0.8rem;
	}
}
@media screen and (max-width: 375px){
	header ul.sub li :is(a, button) {
		font-size: 0.75rem;
	}
}
@media screen and (max-width: 365px){
	header ul.sub li :is(a, button) {
		font-size: 0.7rem;
	}
}


/* footer:
--------------------------------------------*/

footer {
	margin-block-start: 0!important;
  font-size: 0.9rem;
  border-top: var(--border1);
}

footer ul.sub {
	padding: 0;
}

footer > div > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: var(--gap);
  margin: 0 auto;
  align-items: flex-end;
}

footer .banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  align-items: center;
  padding: 3rem 0 0;
}

footer .banner li img {
  max-width: 200px;
}

footer .banner li:last-child img {
  max-width: 280px;
}

footer .footer1 h2 img {
  max-width: 350px;
}

footer .footer1 h2 {
  margin-bottom: 1rem;
}

footer .footer2 ul li {
  display: inline-block;
  margin-left: 1.5rem;
}

footer .footer2 ul li a:hover {
  text-decoration: underline;
}

footer .footer2 ul.sns {
  margin-bottom: 1rem;
}

footer .footer2 ul.sns li img {
  width: 23px;
}
footer .footer2 ul.sns li:last-child img {
  width: 30px;
}

footer #copy {
  padding-bottom: 10px;
  color: var(--gray);
	line-height: 1.1;
}

/*-- page_top --*/

#page_top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 99;
  opacity: 0.9;
}

#page_top a {
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;
  background: var(--black);
}

#page_top a img {
  width: 12px;
  height: 12px;
	margin-top: 8px;
}

@media screen and (min-width: 768px) {
  footer .banner {
    grid-column: 1 / 3;
  }

  footer div.outline {
    align-items: flex-end;
  }

  footer .footer2 {
    justify-self: end;
    text-align: right;
  }

  footer #copy {
    grid-column: 1 / 3;
  }
}

/* news :
--------------------------------------------*/

:root :where(.wp-block-post-terms a:where(:not(.wp-element-button))) {
  text-align: left;
    background: var(--gray-back);
    display: inline-block;
    padding: 5px 10px;
    border-radius: var(--maru);
    color: var(--black);
	margin-right: .5rem;
}
:root :where(.wp-block-post-terms a:where(:not(.wp-element-button))):hover {
    background: var(--white);
    color: var(--logo);
}

.wp-block-post-date time {
  font-size: 1rem !important;
}

.wp-block-post-terms .wp-block-post-terms__separator {
  display: none;
}

.news_top > div {
	display: inline-block;
}


/* news一覧 サムネイル無 :
--------------------------------------------*/

ul.news {
 margin-block-start: 0 !important;
}

ul.news li:before {
	display: none;
}

ul.news,ul.news li {
	padding: 0!important;
}

ul.news li {
	margin: 0!important;
}

ul.news li a {
	display: grid;
    grid-template-columns: 7rem auto 1fr;
    justify-content: flex-start;
    align-items: center;
    border-bottom: var(--border2);
    padding: 1.2rem var(--pa);
    grid-gap: var(--gap);
    text-decoration: none;
}
ul.news li a:hover {
    background-color: var(--gray-back);
}

ul.news li a > br{
	display: none;
}

ul.news li a time,ul.news_thumb a time {
	color: var(--gray);
}

/* news サムネイル付 :
--------------------------------------------*/	

ul.news_thumb{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: var(--gap);
}

ul.news_thumb li:before{
	display: none;
}

ul.news_thumb,ul.news_thumb li {
	padding: 0!important;
}

ul.news_thumb li {
	margin: 0!important;
	
}

ul.news_thumb li a{
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-column-gap: 1rem;
	align-items: center;
	border: var(--border2);
	padding: 1rem;
	text-decoration: none;
	border-radius: var(--maru);
	line-height: 1.5em;
	height: fit-content;
	height: 100%;
}

ul.news_thumb li a:hover{
	background: var(--gray-back) ;
}

ul.news_thumb li a time{
	color: var(--gray);
}

ul.news_thumb li a img{
	grid-column: 1/2;
	grid-row: 1/3;
	width: 100%;
    height: auto;
	border-radius: var(--maru);
	aspect-ratio: 5 / 4;
	object-fit: cover;
}

ul.news_thumb li a :is(time,span.txt){
	grid-column: 2/3;
}

ul.news_thumb li a span.txt{
	align-self: flex-start;
}
ul.news_thumb li a span.cate{
	 text-align: left;
    font-size: .75rem;
    background: var(--gray-back);
    display: inline-block;
    padding: 5px 10px;
    border-radius: var(--maru);
    color: var(--black);
	margin: 0 .7rem .3rem 0;
}

ul.news_thumb li a > br{
	display: none;
}


/* note :
--------------------------------------------*/	

ul.note{
	display: grid;
	grid-template-columns: var(--auto-fill2);
	grid-gap: var(--gap);
	padding: 0!important;
}
ul.note li:before{
	display: none;
}
ul.note li{
	margin: 0!important;
	padding: 0!important;
}

ul.note li a{
	border: var(--border1);
	padding: 15px 15px 1.5rem;
	text-decoration: none;
	border-radius: var(--maru);
	height: -webkit-fill-available;
	display: flex;
    flex-direction: column;
    justify-content: flex-start;;
	line-height: 1.5;
	min-height: 350px;
	height: 100%;
}

ul.note li a:hover{
	background: var(--gray-back);
}

ul.note a img{
	width: 100%;
	height: 250px;
	border-radius: var(--maru);
	object-fit: cover;
}

ul.note a .txt {
	margin-top: 0.8rem;
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--gray);
}
ul.note a .sub_txt {
    margin-top: 0.8rem;
    display: block;
    font-size: 1rem;
    font-weight: 500;
}



/*---- gdpr ----*/

#gdpr {
  display: block;
  text-align: left;
  background: rgba(0, 0, 0, 0.8);
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  z-index: 100;
  border-radius: var(--maru);
  color: var(--white);
  padding: 2rem 4rem 1.5rem;
  position: fixed;
  text-align: center;
}

@media screen and (max-width: 1600px) {
  #gdpr {
    width: 80vw;
  }
}

@media screen and (max-width: 1366px) {
  #gdpr {
    width: 90vw;
  }
}

#gdpr svg path {
  fill: var(--white);
}

#gdpr p {
  text-align: left;
}

#gdpr button {
  border-radius: var(--maru);
  color: var(--white);
  padding: 0.75rem 1rem;
  min-width: 8rem;
  margin-top: 1.5rem;
  font-weight: 500;
  border: 1.5px var(--white) solid;
}

#gdpr button:hover {
  background: rgba(0, 0, 0, 0.9);
}

#gdpr a {
  text-decoration: underline;
  color: var(--white);
}

#gdpr a:hover {
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  #gdpr {
    width: 96vw;
	  padding:1.5rem 1rem;
	  bottom: 10px;
  }
}

/*---- modal 翻訳 ----*/

.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
.modal_bg {
  background: rgba(0, 0, 0, 0.5);
  height: 100vh;
  position: absolute;
	width:100vw;
	margin-left:calc((-100vw + 100%) / 2);
	min-height:100vh;
	box-sizing:border-box;
}
.modal_content {
  border-radius: var(--maru);
  border: var(--border1);
  background: #fff;
  left: 50%;
  padding: 40px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 60%;
  z-index: 10000;
}

@media screen and (max-width: 1200px) {
  .modal_content {
    width: 80%;
  }
}

.modal_close a {
  position: absolute;
  top: 10px;
  right: 13px;
}
.modal_close a img {
  width: 15px;
}

.language-switcher-list {
  margin-top: 3rem;
	margin-left: 0;
}

.language-switcher-list li {
  display: inline-block;
  margin-right: 10px;
}

.language-switcher-list li a {
  display: block;
  padding: 0.5rem 1rem;
  border: var(--border1);
  border-radius: var(--maru);
  min-width: 5rem;
}

.language-switcher-list li a:hover {
	background: var(--gray-back);
}
.language-switcher-list li a svg {
	display: none;
}

.grants_program_h ul.language-switcher-list li:nth-child(3),
.grants_program_h ul.language-switcher-list li:nth-child(4),
.grants_program_h ul.language-switcher-list li:nth-child(5) {
	display: none;
}

/* ----------------------------------------------------
   SP setting:
------------------------------------------------------- */

/* Basic
--------------------------------------------*/

@media screen and (max-width: 959px){
	
	:root {
	  --auto-fill2: repeat(auto-fill, minmax(300px, 1fr));
	}
}

/* Utility
--------------------------------------------*/
@media screen and (max-width: 767px){
	.pc{display: none;}
	.sp{display: block;}
	
	body {
	  --wp--style--root--padding-right:3%!important;
	  --wp--style--root--padding-left: 3%!important;			
	}
}

/*---- .width ----*/
@media screen and (max-width: 767px){

	.sp_w100 { width: 100%; }
	.w100_sp70 { width: 70%; }
	.sp_w10 {width: 10%;}
}

/*---- grid system ----*/
@media screen and (max-width: 767px){
	.grid {
		grid-template-columns: 1fr!important;
	}
	
	.grid.sp_clm2{grid-template-columns: repeat(2,1fr)!important;}
	.grid.sp_clm3{grid-template-columns: repeat(3,1fr)!important;}
	.grid.clm3-1-1 {grid-template-columns: 1fr 1fr!important;}
	.grid.clm3-1-1 > *:first-of-type {grid-column: 1  / 3}
}

/* footer:
--------------------------------------------*/
@media screen and (max-width: 767px){
	
	footer > div > div {
		grid-template-columns: 1fr;
		text-align: center;
	}
	
	footer .banner {
		grid-template-columns: 1fr;
		grid-row-gap: var(--gap);
		margin-bottom: 2rem;
	}
	
	footer .banner li:nth-child(1) img {
		width: 110px;
	}
	footer .banner li:nth-child(2) img {
		width: 140px;
	}
	footer .banner li:nth-child(3) img {
		width: 220px;
	}
	
	footer .footer1 h2 img {
		max-width: 160px;
	}
}

ul.activity-report-list li a {
	height: 100%;
}