@charset "utf-8";


/*
教師教育デザイン学プログラム
style.css
2025/03/19
*/


/* Tag Setting */
body {
  color: #333;
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  letter-spacing: 0.1em;
  text-align: justify;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
nav a,
drawer a,
.catchphrase,
.kyachi,
#text p,
.circle div a,
#news-category a
.home p.circle-inner-text {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

s {
  text-decoration: line-through;
}

sup {
  font-size: smaller;
  vertical-align: super;
}

sub {
  font-size: smaller;
  vertical-align: sub;
}

a {
  color: #005E3C;
}

a:visited {
}

a:hover {
  opacity: 0.5;
  transition : 0.5s;
}

a:active {
}

img {
  height: auto;
  width: 100%;
}

figcaption {
  text-align: center;
}

table th {
  background-color: #eee;
  vertical-align: middle;
}

table th,
table td {
  border: #ccc solid 1px;
  padding: 10px;
}

table caption {
  text-align: left;
}




/* Common Setting */
/* html and body */
html,
body {
 min-height: 100vh;
}

body > footer {
  position: sticky;
  top: 100vh;
}




/* header */
#header {
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 5px #666;
}



/* logo */
@media (width < 520px) {
  #logo {
    width: 300px;
  }
}

#logo h1 a {
  align-items: end;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
}

#logo h1 a:hover {
  opacity: 1;
}

#logo h1 img {
  height: 40px;
  width: auto;
}
@media (width < 520px) {
  #logo h1 img {
    height: 30px;
  }
}

#logo h1 span {
  display: block;
  margin-left: 10px;
}
@media (width < 520px) {
  #logo h1 span {
    margin-left: 38px;
  }
}




/* trigger */
#trigger {
  display: none;
  cursor: pointer;
  height: 26px;
  position: relative;
  width: 34px;
}
@media (width < 1050px) {
  #trigger {
    display: block;
  }
}

#trigger span {
  background: #009333;
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  transition: .35s ease-in-out;
  width: 100%;
}

#trigger span:nth-child(1) {
    top: 0;
}

#trigger span:nth-child(2) {
    top: 11px;
}

#trigger span:nth-child(3) {
    top: 22px;
}

@media (width < 1050px) {
  .open #trigger span:nth-child(1) {
    top: 11px;
    transform: rotate(315deg);
  }
  
  .open #trigger span:nth-child(2) {
    left: 50%;
    width: 0;
  }
  
  .open #trigger span:nth-child(3) {
    top: 11px;
    transform: rotate(-315deg);
  }
}



/* navigation */
.main-navigation-wrap {
  align-content: center;
  display: flex;
}

@media (width < 1050px) {
  .main-navigation-wrap {
    display: none;
  }
}

.main-navigation {
  align-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.main-navigation li a {
  color: #009333;
  display: block;
}



/* drawer */
#drawer-wrap {
  display: none;
}
@media (width < 1050px) {
  #drawer-wrap {
    display: block;
    width: 100%;
  }

  #drawer::-webkit-scrollbar {
    display:none;
  }

  #drawer {
    background: #fff;
    display: none;
    height: 100%;
    left: 0;
    overflow: scroll;
    padding-top: 60px;
    position: fixed;
    scrollbar-width: none;  
    top: 0;
    width: 100%;
    z-index: -100;
    -ms-overflow-style: none;  
  }

  #drawer ul li {
    border-top: #009333 solid 1px;
  }

  #drawer ul li:last-child {
    border-bottom: #009333 solid 1px;
  }

  #drawer ul li a {
    position: relative;
    color: #009333;
    display: block;
    padding: 20px;
  }

  #drawer ul li a::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 27px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 3px solid #009333;
    border-right: 3px solid #009333;
    transform: rotate(45deg);
    box-sizing: border-box;
  }
}
@media (width < 520px) {
  #drawer {
    padding-top: 69.5px;
  }
}




/* front-page.php */
/* Common */
.home main h2 {
  font-size: 28px;
  margin: 80px 0;
}

.home main h2 span {
  display: block;
  font-size: 16px;
}

.home main h3 {
  background-color: #eee;
  padding: 10px 20px;
  font-size: 24px;
  margin-bottom: 40px;
}

.home main p,
.home main table,
.home main ul{
  margin-bottom: 40px;
}

#top-news{
  max-width: 960px;
  margin: 0 auto;
}




/* サークルコンテンツの設定 */
/* Root変数 */
:root {
  --r: 240;
}
@media (width < 960px) {
  :root {
    --r: 180;
  }
}
@media (width < 520px) {
  :root {
    --r: 150;
  }
}

/* アニメーションフレーム */
@keyframes usuku { 
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes ukiagaru { 
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes syukusyou1 {
  0% {
    height: 1000px;
    width: 1000px;
  }
  100% {
    height: calc(var(--r) * 2px);
    width: calc(var(--r) * 2px);
  }
}

@keyframes syukusyou2 {
  0% {
    translate: 0 0;
  }
  100% {
    translate: var(--x) var(--y);
  }
}

@keyframes idou {
  0% {
    display: none;
  }
  100% {
    display: block;
  }
}




/* circle-back */
#circle-back {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 80px 0;
  background-color: #fff;
}
@media (width > 1200px) {
  #circle-back {
    height: 100vh;

  }
}
@media (width < 520px) {
  #circle-back {
    padding: 80px 0 40px 0;
  }
}




/* cicle-back-image */
#circle-back-image {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  top: 0;
  animation: usuku 3s linear 1s 1 normal forwards running;
}

#circle-back-image figure {
width: 100%;
height: 100%;
}

.home #circle-back-image img {
object-fit: cover;
object-position: center center;
height: 100%;
width: 100%;
}




/* circle-wrap */
#circle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  flex-direction: row-reverse;
  width: 80%;
}
@media (width < 1200px) {
  #circle-wrap {
    flex-direction: column;
    gap: 0;
  }
}
@media (width < 520px) {
  #circle-wrap {
    width: 90%;
  }
}




/* circle-inner */
#circle-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

figure.circle-inner-text {
  animation: ukiagaru 3s linear 2.5s forwards;
  position: absolute;
  opacity: 0;
  width: 69%;
}

p.circle-inner-text {
  animation: ukiagaru 3s linear 5s forwards;
  text-shadow: none;
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin-top: 100px;
  margin-bottom: 0;
  background-color: #333;
  color: #fff;
  opacity: 0;
  text-align: center;
}
@media (width < 960px) {
  p.circle-inner-text {
    font-size: 10px;
  }
}
@media (width < 520px) {
  p.circle-inner-text {
    font-size: 8px;
  }
}

/* circle */
.circle {
  animation: syukusyou1 2s linear forwards;
  align-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.circle .circle-item {
  --a2: calc(var(--a) * 1deg - 90deg);
  --x: calc(cos(var(--a2)) * var(--r) * 1px);
  --y: calc(sin(var(--a2)) * var(--r) * 1px);
  animation: ukiagaru 3s linear 2.5s forwards ,syukusyou2 4s linear forwards;
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.4);
  opacity: 0;
  position: absolute;
  z-index: 20;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (width < 960px) {
  .circle .circle-item {
    width: 80px;
    height: 80px;
  }
}
@media (width < 520px) {
  .circle .circle-item {
    width: 70px;
    height: 70px;
  }
}

.circle .circle-item a {
  display: block;
  color: #fff;
  font-size: 14px;
  text-align: center;
}
@media (width < 960px) {
  .circle .circle-item a {
    font-size: 11px;
  }
}
@media (width < 520px) {
  .circle .circle-item a {
    font-size: 11px;
  }
}

.circle-item:nth-child(1)  {background-color: #F28D2C;}
.circle-item:nth-child(2)  {background-color: #E7453A;}
.circle-item:nth-child(3)  {background-color: #3E2E22;}
.circle-item:nth-child(4)  {background-color: #25873A;}
.circle-item:nth-child(5)  {background-color: #369C8D;}
.circle-item:nth-child(6)  {background-color: #009ED6;}
.circle-item:nth-child(7)  {background-color: #412F73;}
.circle-item:nth-child(8)  {background-color: #6B2A78;}
.circle-item:nth-child(9)  {background-color: #D23157;}
.circle-item:nth-child(10) {background-color: #9C8070;}
.circle-item:nth-child(11) {background-color: #5E3D22;}
.circle-item:nth-child(12) {background-color: #737474;}




/* cirle-text */
#circle-text {
  animation: ukiagaru 3s linear 5s forwards;
  margin: 0 auto;
  opacity: 0;
  position: relative;
  top: center;
  left: center;
}

.home main h2.circle-title {
  width: 80%;
  margin: 0 0 40px 0;
}
@media (width < 520px) {
  .circle-title {
    margin-bottom: 20px;
  }
}

.circle-sub-text01 {
  font-size: clamp(2.313rem, -3.521rem + 7.78vw, 5.813rem);
  margin-bottom: 40px;
}
@media (width < 520px) {
  .circle-sub-text01 {
    margin-bottom: 20px;
  }
}

.circle-sub-text02 {
  font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
  color: #009333;
}

@media (width < 1200px) {
  .circle-title,.circle-sub-text01,.circle-sub-text02 {
  }
}

.home p.circle-sub-text02 {
  margin-bottom: 0;
}




/* トップページ ― 概要 */
#top-gaiyou {
  width: 960px;
  margin: 0 auto;
}
@media (width < 960px) {
  #top-gaiyou {
    width: 90%;
  }
}




/* トップページ - NEWS */
#top-news {
  width: 100%;
}

#top-news-inner {
  margin: 0 auto;
  width: 960px;
  padding-bottom: 80px;
}
@media (max-width: 959px) {
  #top-news-inner {
    width: 90%;
  }
}

#top-news-inner h2 {
  border-left: #333 solid 10px;
  padding: 8px 10px 8px 15px;
}

#top-news ul {
  height: 400px;
  overflow-y: scroll;
}
@media (width < 520px) {
  #top-news ul {
    height: 500px;
  }
}

#top-news ul li {
  border-bottom: #ccc solid 1px;
}

#top-news ul li:first-child  {
  border-top: #ccc solid 1px;
}

#top-news ul li a {
  align-items: center;
  display: flex;
  gap: 20px;  
  justify-content: left;
  padding: 20px 10px;
  color: #333;
  position: relative;
}
@media (width < 520px) {
  #top-news ul li a {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}

#top-news ul li a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 3px solid #005E3C;
  border-right: 3px solid #005E3C;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.top-news-day {
  color: #888;
}

.top-news-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.top-news-title span {
  margin-bottom: 10px;
}

.top-new-tag {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.top-new-tag span {
  display: block;
  padding: 2px 5px;
  background-color: #EFF4ED;
  font-size: 13px;
  color: #005E3C;
}

.top-new-tag span.new {
  background-color: #f00;
  color: #fff;
}

.top-new-tag span.event-end {
  background-color: #888;
  color: #fff;
}








/* 
================================================== */
/* 
-------------------------------------------------- */
.home main h3 {
  background-color: #009333;
  color: #fff;
  border-radius: 10px;
}

.top-setumei01-wrap {
  width: 100%;
  background-color: #F4F5F1;
  padding: 80px 0;
}

.top-setumei01 {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 70%;
  margin: 0 auto;
}
@media (width < 1200px) {
  .top-setumei01 {
    width: 90%;
  }
}

.top-setumei01 .top-setumei-item {
  width: calc((100% - 40px) / 2);
  display: flex;
  flex-direction: column;
  flex-basis: auto;
}
@media (width < 920px) {
  .top-setumei01 .top-setumei-item {
    width: 100%;
  }
}

.top-setumei-item figure {
  margin-bottom: 40px;
}

.top-setumei01 .top-setumei-item *:nth-child(3) {
  flex-grow: 1;
}

/* 
-------------------------------------------------- */
.top-setumei02-wrap {
  width: 100%;
  padding: 80px 0 40px 0;
}

.top-setumei02 {
  display: flex;
  flex-wrap: wrap;
  width: 70%;
  margin: 0 auto;
  gap: 40px;
}
@media (width < 1200px) {
  .top-setumei02 {
    width: 90%;
  }
}

.top-setumei02 .top-setumei-item {
  width: calc((100% - 80px)/ 3);
}
@media (width < 1420px) {
  .top-setumei02 .top-setumei-item {
    width: calc((100% - 40px)/ 2);
  }
}
@media (width < 730px) {
  .top-setumei02 .top-setumei-item {
    width: 100%;
  }
}

.top-setumei02 .top-setumei-item a {
  color: #fff;
  position: relative;
  background-color: #6FBA2C;
  border-radius: 10px;
  padding: 30px 20px;
  display: block;
  font-size: 24px;
  text-align: center;
}

.home ul.top-setumei02 {
  margin-bottom: 0;
}

.btn_read_more  {
  display: flex;
  justify-content: center;
}

.btn_read_more a {
  color: #fff;
  position: relative;
  background-color: #ABCD03;
  border-radius: 10px;
  padding: 8px;
  display: block;
  width: 180px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
}

#page-main .btn_read_more a {
  text-decoration: none;
}




















/* 
-------------------------------------------------- */
.top-course {
  width: 600px;
  margin: 0 auto;
}
@media (width < 960px) {
  .top-course {
    width: 400px;
    margin: 0 auto;
  }
}
@media (width < 520px) {
  .top-course {
    width: 100%;
  }
}


/* page.php
================================================== */
/* 
-------------------------------------------------- */
#page-main .language {
  margin-top: 80px;
  margin-bottom: 20px;
}

#sub-title {
  background-color: #F4F5F1;
  height: 300px;
  position: relative;
}
@media (width < 520px) {
  #sub-title {
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    position: static;
  }
}

#sub-title h2 {
  align-items: center;
  display: flex;
  font-size: 32px;
  margin: 0 auto;
  width: 960px;
  color: #009333;
  height: 300px
}
@media (width < 960px) {
  #sub-title h2 {
    width: 90%;
  }
}
@media (width < 520px) {
  #sub-title h2 {
    justify-content: center;
    margin: 0;
    padding: 40px 10px;
    width: 100%;
    height: 100px
  }
}

#sub-title figure {
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  width: 40%;
  height: 300px;
  position: absolute;
  top: 20px;
  right: 0;
  box-shadow: 0px 2px 5px 0 #666;
}
@media (width < 960px) {
  #sub-title figure {
    width: 60%;
  }
}
@media (width < 520px) {
  #sub-title figure {
    width: 100%;
    height: 260px;
    position: static;    
  }
}

/* イベント */
.blog        #sub-title figure,
.archive     #sub-title figure,
.single      #sub-title figure {background-image: url("../img/back02.jpg");}
/* 概要 */
.page-id-13   #sub-title figure {background-image: url("../img/back01.jpg");}
/* 入試情報 */
.page-id-34 #sub-title figure,
.page-id-31  #sub-title figure,
.page-id-29  #sub-title figure {background-image: url("../img/back03.jpg");}
/* 教員紹介 */
.page-id-27  #sub-title figure,
.page-id-23  #sub-title figure {background-image: url("../img/back04.jpg");}
/* お問合せ、プライバシーポリシー */
.page-id-21  #sub-title figure,
.page-id-3   #sub-title figure {background-image: url("../img/back05.jpg");}

#sub-title figure span {
  display: none;
}

#page-main {
  width: 960px;
  margin: 0 auto;
}
@media (width < 960px) {
  #page-main {
    width: 90%;
  }
}

.title-space #page-main *:nth-child(2) {
  margin-top: 0;
}

.page-id-34 #page-main *:nth-child(2) *:first-child,
.page-id-31 #page-main *:nth-child(2) *:first-child,
.page-id-29 #page-main *:nth-child(2) *:first-child {
  margin-top: 0;
}

.page-id-34 #page-main {
  margin-top: 80px;
}

.page-id-137 #page-main *:first-child .wp-block-column h3  {
  margin-top: 80px;
}

#page-main h3 {
  background-color: #009333;
  border-radius: 10px;
  margin-top: 40px;
  padding: 10px 20px;
  font-size: 24px;
  color: #fff;
}

#page-main h4 {
  background-color: #6FBA2C;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 22px;
  color: #fff;
}

#page-main h5 {
  font-size: 20px;
  margin-bottom: 20px;
}

#page-main h6 {
  font-size: 18px;
  margin-bottom: 20px;
}

#page-main h3,
#page-main h4,
#page-main table,
#page-main ul,
#page-main ol,
#page-main p,
#page-main figure {
  margin-bottom: 40px;
}

#page-main figure.wp-block-flexible-table-block-table {
  margin-bottom: 0;
}

#page-main ul {
  list-style: disc;
  margin-left: 20px;
}

#page-main ul li,
#page-main ol li {
  margin-bottom: 10px;
}

#page-main ul li:last-child
#page-main ol li:last-child {
  margin-bottom: 0;
}

#page-main ol {
	list-style-type: decimal;
  margin-left: 20px;
}

#page-main a {
  text-decoration: underline;
}



/* 概要
-------------------------------------------------- */
.page-id-137 #page-main {}

.paper-img {
  width: 50%;
  margin: 0 auto 40px auto;
}




/* 入試情報
-------------------------------------------------- */
.page-id-34 #page-main {
    width: 60%;
    margin: 0 auto;
    padding-top: 80px;
}
@media (width < 1200px) {
  .page-id-34 #page-main {
    width: 90%;
  }
}

.page-id-34 #page-main ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.page-id-34 #page-main ul li {
  width: calc((100% - 80px)/ 3);
}
@media (width < 1790px) {
  .page-id-34 #page-main ul li {
    width: calc((100% - 40px)/ 2);
  }
}
@media (width < 920px) {
  .page-id-34 #page-main ul li {
    width: 100%;
  }
}

.page-id-34 #page-main ul li a {
  text-decoration: none;
  color: #fff;
  position: relative;
  background-color: #6FBA2C;
  border-radius: 10px;
  padding: 30px 20px;
  display: block;
  font-size: 24px;
  text-align: center;
}

.page-id-34 .kakomon-table01 {
  width: 80%;
  margin: 0 auto;
}
@media (width < 770px) {
  .page-id-34 .kakomon-table01 {
    width: 100%;
  }
}

.page-id-34 .kakomon-table02 {
  width: 50%;
  margin: 0 auto;
}
@media (width < 770px) {
  .page-id-34 .kakomon-table02 {
    width: 100%;
  }
}

.question-table table th {
  width: 120px;
  white-space: nowrap;
}

.question-tabl-en table th {
  width: 220px;
}

/* お問い合わせ */
#contact-form {
  width: 800px;
  margin: 80px auto 0 auto;
}
@media (width < 960px) {
  #contact-form {
    width: 90%;
  }
}




/* home.php and archive.php
================================================== */
/* 
-------------------------------------------------- */
#news_main {
  width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
@media (width < 960px) {
  #news_main {
    width: 90%;
  }
}

#news_main article {
  width: calc((100% - 40px) / 2);
  box-shadow: -1px 2px 5px 0px #ddd;
  border-radius: 10px;
}
@media (width < 960px) {
  #news_main article {
    width: 100%;
  }
}




#news_main figure{
  position: relative;
}

.news-item figure img {
  border-radius: 10px 10px 0 0;
  height: calc(460px / 16 * 9);
  object-fit: cover;
}
@media (width < 960px) {
.news-item figure img {
  height: calc(90vw / 16 * 9);
  object-fit: cover;
}
}



#news_main figure figcaption {
  color: #fff;
  position: absolute;
  bottom: 0;
  right: -15px;
  padding: 5px;
}

#news_main figure figcaption::before {
  border-bottom: 15px solid transparent;
  content: '';
  right: 0;
  position: absolute;
  top: 100%;
}


/* news-item */
.news-item time {
  display: block;
  margin: 20px;
  color: #888;
}

.news-item span {
  background-color: #EFF4ED;
  font-size: 13px;
  margin: 0 10px;
  padding: 2px 5px;
}

figcaption.learning,    .learning span    {background-color: #F28D2C;}
figcaption.special,     .special span     {background-color: #E7453A;}
figcaption.science,     .science span     {background-color: #3E2E22;}
figcaption.mathematics, .mathematics span {background-color: #25873A;}
figcaption.technology,  .technology span  {background-color: #369C8D;}
figcaption.social,      .social span      {background-color: #009ED6;}
figcaption.japanese,    .japanese span    {background-color: #412F73;}
figcaption.english,     .english span     {background-color: #6B2A78;}
figcaption.health,      .health span      {background-color: #D23157;}
figcaption.human,       .human span       {background-color: #9C8070;}
figcaption.music,       .music span       {background-color: #5E3D22;}
figcaption.art,         .art span         {background-color: #737474;}

#news_main .learning::before    {border-left: 15px solid #90541A;}
#news_main .special::before     {border-left: 15px solid #8A2922;}
#news_main .science::before     {border-left: 15px solid #251B14;}
#news_main .mathematics::before {border-left: 15px solid #165022;}
#news_main .technology::before  {border-left: 15px solid #205D54;}
#news_main .social::before      {border-left: 15px solid #005E7F;}
#news_main .japanese::before    {border-left: 15px solid #261C44;}
#news_main .english::before     {border-left: 15px solid #3F1947;}
#news_main .health::before      {border-left: 15px solid #7D1D33;}
#news_main .human::before       {border-left: 15px solid #5D4C42;}
#news_main .music::before       {border-left: 15px solid #382414;}
#news_main .art::before         {border-left: 15px solid #444545;}




/* 一時非適応
.others,
.public-lecture,
.briefing-session,
.lecture,
.concert-exhibition {
  padding: 5px;
}

.others {background-color: #EFF4ED;}
.public-lecture {background-color: #EFF4ED;}
.briefing-session {background-color: #EFF4ED;}
.lecture {background-color: #EFF4ED;}
.concert-exhibition {background-color: #EFF4ED;}
*/

.news-item h3 {
  margin: 20px;
  font-size: 18px;
  color: #333;
}

/* 
-------------------------------------------------- */
#news-category {
  width: 960px;
  margin: 0 auto;
}
@media (width < 960px) {
#news-category {
  width: 90%;
}
}

#news-category h3 {
  background-color: #6FBA2C;
  border: #6FBA2C solid 1px;
  padding: 10px 20px;
  margin-top: 80px;
  color: #fff;
  border-radius: 10px 10px 0 0;
}

#news-category ul {
  border: #6FBA2C solid 1px;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;  
  margin-bottom: 80px;
  border-radius: 0 0 10px 10px;
}

#news-category ul li a {
  border-radius: 10px;
  display: block;
  background: #EFF4ED;
  padding: 10px;
  color: #005E3C;
}

/* 
-------------------------------------------------- */
.pagination {
  margin-top: 80px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 960px;
  margin: 0 auto;
  gap: 20px;
}
@media (width < 960px) {
.nav-links {
  width: 90%;
}
}

.page-numbers {
  padding: 20px;
  background-color: #EFF4ED;
  color: #005E3C;
  border-radius: 10px;
}

.current {
  background-color: #7FAE9D;
  color: #fff;
}


/* single.php */
#page-infomation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  align-items: center;
  padding: 10px;
  border-bottom: #ccc solid 1px;
  border-top: #ccc solid 1px;
}
@media (width < 960px) {
  #page-infomation {
  }
}
@media (width < 520px) {
  #page-infomation {
    flex-direction: column;
    align-items: flex-start;    
  }
}

#page-infomation time {
  color: #888;
}

#page-infomation *:nth-child(2) {
  background: #EFF4ED;
  color: #005E3C;
  padding: 5px 10px;
}

#page-infomation .learning    {background-color: #F28D2C;}
#page-infomation .special     {background-color: #E7453A;}
#page-infomation .science     {background-color: #3E2E22;}
#page-infomation .mathematics {background-color: #25873A;}
#page-infomation .technology  {background-color: #369C8D;}
#page-infomation .social      {background-color: #009ED6;}
#page-infomation .japanese    {background-color: #412F73;}
#page-infomation .english     {background-color: #6B2A78;}
#page-infomation .health      {background-color: #D23157;}
#page-infomation .human       {background-color: #9C8070;}
#page-infomation .music       {background-color: #5E3D22;}
#page-infomation .art         {background-color: #737474;}

#page-infomation .learning,
#page-infomation .special,
#page-infomation .science,
#page-infomation .mathematics,
#page-infomation .technology,
#page-infomation .social,
#page-infomation .japanese,
#page-infomation .english,
#page-infomation .health,
#page-infomation .human,
#page-infomation .music,
#page-infomation .art {
  padding: 5px 10px;
  color: #fff;
}




.single #page-main h3 {
  margin-top: 80px;
}




/* Common Setting */
/* footer */
footer {
  background: #009333;
  width: 100%;
  font-size: 13px;
  margin-top: 40px;
}

.single footer,
.blog footer {
  margin-top: 80px;
}


/* pagetop */
#pagetop {
  background-color: #ABCD03;
	bottom: 20px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  display: none;
	position: fixed;
	right: 20px;
}

#pagetop a {
	display: block;
	height: 26px;
	width: 26px;
}

#pagetop a span {
	display: none;
}


/* copyright */
#copyright {
  padding: 10px 0;
}

#copyright p {
  color: #fff;
  text-align: center;
  font-size: 12px;
}




/* Wordpress setting */
/* Gallery */
.wp-block-gallery {
  --wp--style--unstable-gallery-gap: 40px !important;
  gap: 40px !important;
  margin-bottom: 40px;
}

.wp-block-image figcaption {
  margin-top: 10px !important;
  padding: 0 !important;
  position: static !important;
}

.wp-element-caption {
  background-image: none !important;
  color: #333 !important;
}

@media (max-width: 959px) {
  .wp-block-gallery {
    --wp--style--unstable-gallery-gap: 20px !important;
    gap: 20px !important;
    margin-bottom: 20px;
  }
}

@media (max-width: 519px) {
  .wp-block-gallery {
    --wp--style--unstable-gallery-gap: 10px !important;
    gap: 10px !important;
    margin-bottom: 20px;
  }
}

.wp-block-image {
  margin-bottom: 40px;
}

.wp-block-group {
  margin-bottom: 40px;
}

:where(.is-layout-flex) {
  gap: 40px !important;
}

@media (max-width: 959px) {
  .wp-block-image {
    margin-bottom: 20px;
  }
  
  .wp-block-group {
    margin-bottom: 20px;
  }

  :where(.is-layout-flex) {
    gap: 20px !important;
    margin-bottom: 20px;
  }
}

@media (max-width: 519px) {
  :where(.is-layout-flex) {
    gap: 10px !important;
    margin-bottom: 20px;
  }
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
  object-fit: contain !important;
}

/* 埋込ファイル */
.wp-block-file {
  margin-bottom: 40px;
}

#page-main a.wp-block-file__button {
  padding: 5px 10px;
  text-decoration: none;
}


/* Pagination */
.page-numbers {
  display: flex;
}

/* Contactform7 */
.wpcf7-form {
}

.wpcf7-text,
.wpcf7-textarea {
  width: 100%;
  margin-top: 5px;
}

.wpcf7-select,
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-submit,
.wpcf7-spinner,
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-submit,
.wpcf7-spinner {
  font-size: 100%;
  padding: 5px;
}

.wpcf7-not-valid-tip {
  margin-top: 5px;
}

.wpcf7-spinner {
  display: block !important;
}

.required {
  font-size: 13px;
  color: #f00;
  padding-left: 10px;
}

.text-center {
  text-align: center;
}