@charset "utf-8";
/*
name:style.css
site:template
date:20240201
*/

/*
  Variable
---------------------------------------------------------------------------------------------------- */
:root {
  --head-font01: 2rem;
  --head-font02: 2rem;
  --head-font03: 1.75rem;
  --head-font04: 1.5rem;
  --head-font05: 1.25rem;
  --head-font06: 1.125rem;
  --gradation-color01: linear-gradient(90deg, #0065e1, #003371);
  --top-inner-size: 1080px;
  --flex-box-gap: 1.5rem;   
  --flex-box-size02: calc((100% - var(--flex-box-gap) * 1) / 2);
  --flex-box-size03: calc((100% - var(--flex-box-gap) * 2) / 3);
  --flex-box-size04: calc((100% - var(--flex-box-gap) * 3) / 4);
  --logo-home-font01: 2rem;
  --logo-home-font02: 1.25rem;
  --logo-page-font01: 1.25rem;
  --logo-page-font02: 0.875rem;
  --logo-padding: 2rem;
  --slide-item-size: calc(100vw / 6);
  --menu-btn-padding: 2rem;
  --menu-dialog-margin: 0;
  --sub-title--paddin: 4rem 0;
  --post-width01: 764px;
  --post-width02: 252px;
  --post-gap: 4rem;
  --teacher-item-width: 252px;
  --flex-oder: row;
  --cource-list-width: calc((100% - var(--flex-box-gap) * 3) / 4);
  --gradation-gap: 4rem;
  --report-img: 252px;
  --course-img-size: calc((100% - var(--flex-box-gap) * 1) / 2);
  --course-img-size: calc((100% - var(--flex-box-gap) * 1) / 2);
  --report-direction row;
  --sub-margin: 4rem;
@media(width < 1280px) {
  --top-inner-size: 90%;
  --logo-home-font01: 1.25rem;
  --logo-home-font02: 0.875rem;
  --slide-item-size: calc(100vw / 3);
  --menu-dialog-margin: 6rem;
  --post-width01: 100%;
  --post-width02: 100%;
  --cource-list-width: calc((100% - var(--flex-box-gap) * 2) / 3);
  --course-img-size: 100%;
  --course-img-size: 100%;
  --sub-margin: 0;
}
@media(width < 720px) {
  --head-font01: 1.5rem;
  --head-font02: 1.5rem;
  --head-font03: 1.375rem;
  --head-font04: 1.25em;
  --head-font05: 1.125rem;
  --head-font06: 1rem;
  --flex-box-gap: 1rem;   
  --flex-box-size02: calc((100% - var(--flex-box-gap) * 1) / 2);
  --flex-box-size03: 100%;
  --flex-box-size04: calc((100% - var(--flex-box-gap) * 1) / 2);
  --logo-home-font01: 1rem;
  --logo-home-font02: 0.813rem;
  --logo-page-font01: 1rem;
  --logo-page-font02: 0.813rem;
  --logo-padding: 1rem;
  --report-img: 100%;
  --slide-item-size: calc(100vw / 2);
  --menu-btn-padding: 1rem;
  --menu-dialog-margin: 5rem;
  --teacher-item-width: 100%;
  --flex-oder: column;
  --report-direction: column;
  --cource-list-width: 100%;
}
}

/*
  Tag Setting
---------------------------------------------------------------------------------------------------- */

/* Footer Buttom */
html,
body {
 min-height: 100vh;
}

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

/* Font */
body {
  font-family: sans-serif;
	font-size: 1rem;
	color: #333;
	letter-spacing: 0.06em;
	text-align: left;
overflow-x: hidden;
}

/* Heading */
h1 {font-size: var(--head-font01);}
h2 {font-size: var(--head-font02);}
h3 {font-size: var(--head-font03);}
h4 {font-size: var(--head-font04);}
h5 {font-size: var(--head-font05);}
h6 {font-size: var(--head-font06);}

/* Link */
a {
  color: #0065e1;
  text-decoration: none;
}

a:visited {
  color: #0065e1;
}

a:hover {
  color: #003371;
  text-decoration: underline;
}

a:active {
  color: #0065e1;
}


/* Table */
th {
  background-color: #eee;
}

th,td{
  text-align: left;
  padding: 0.5rem 1rem;
  border: solid 1px #707070;
}

/* Navigation */
nav ul,
nav ol {
  list-style: none;
  padding: 0;
}

/* Flex box */
.flex-box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flex-box-gap);
}

.flex-box-imte02 {
  width: var(--flex-box-size02);
}

.flex-box-imte03 {
  width: var(--flex-box-size03);
}

.flex-box-imte04 {
  width: var(--flex-box-size04);
}

h1,
h2,
.tmp-page h3,
.tmp-page h4,
.tmp-page h5,
.tmp-page h6,
.side-archives {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

/* Common Setting
---------------------------------------------------------------------------------------------------- */
/* header */
#header {
  width: 100%;
  z-index: 1000;
  background-color: #fff;
}

.home #header {
  position: absolute;
  background-color: transparent;
}

/* logo */
#logo {
  padding: var(--logo-padding);
}

#logo h1 {
  font-size: var(--logo-page-font01);
}

#logo span {
  font-size: var(--logo-page-font02);
  display: block;  
}

#logo a {
  display: block;
  color: #333;
  margin-right: 6rem;
}

#logo a:hover {
  text-decoration: none;
  opacity: 1;
}

.home #logo h1 {
  font-size: var(--logo-home-font01);
}

.home #logo span {
  font-size: var(--logo-home-font02);
}

.home #logo a {
  color: #fff;
}

/* Menu All */
#button-open,#button-close {
  border: 0;
  color: #fff;
  cursor:  pointer;
  position: fixed;
  top: var(--menu-btn-padding);
  right: var(--menu-btn-padding);
  padding: 0.5rem;
  background-color: #0065E1;
  z-index: 1000;
}

#button-open:hover,#button-close:hover {
    background-color: #003371;
}

.menu-dialog {
  background-color: #0065E1;
  border: 0;
  color: #fff;
  inset: 72px 32px 0 auto;
  margin: 0;
  max-height: none;
  max-width:  none;
  padding: 0;
  position: fixed;
  opacity: 0;
  /* Scrollbar None */
  overflow-y: scroll;
  scrollbar-width: none;
  /* In Motion Stop */
  interactivity: inert;
  pointer-events: none;
}

.menu-dialog ul {
  margin-top: var(--menu-dialog-margin);
}

.menu-dialog li {
  border-bottom: solid 1px #fff;
}

.menu-dialog li:last-child {
  border-bottom: none;
}

.menu-dialog a {
  color: #fff;
  display: block;
  padding: 1rem;
  text-decoration: none;
}

.menu-dialog a:hover {
  background-color: #003371;
}

.menu-dialog[open] {
  opacity: 1;
  
  interactivity: auto;
  pointer-events: auto;
}

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

/* Menu SP */
@media(width < 1280px) {
  #button-close {
    border: solid 1px #fff;
  }

  .menu-dialog {
    inset: 0 0 0 0;
    height: 100%;
    width: 100%;
  }

  .menu-dialog ul li:first-child {
    border-top: solid 1px #fff;
  }

  .menu-dialog ul li:last-child {
    border-bottom: solid 1px #fff;
  }
}

body:has(dialog[open]) {
  overflow: hidden;
}



#wrap {
  display: flex;
  gap: var(--gradation-gap);
  flex-wrap: wrap;
  flex-direction: var(--report-direction);
}

#contents {
  width: var(--post-width01);
}

#contents a:nth-last-child(2) .post-news {
  margin-bottom: 0;
}

#contents a:nth-last-child(2) .post-report {
  margin-bottom: 0;
}

#sub {
  width: var(--post-width02);
}

.single #sub {
  margin-top: var(--sub-margin);
}

#sub h3 {
  background-image: var(--gradation-color01);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
}

#sub ul {
  margin-bottom: 2rem;
}

#sub li {
  margin-bottom: 0.5rem;
}

#sub .children li {
  margin-top: 0.5rem;
}

#sub a {
  display: block;
}

/* sub title */
#sub-title {
  background-image: url("../img/img61.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
  width: 100vw;
  margin: 0 calc(50% - 50vw);

}
#sub-title h2 {
  color: #fff;
  max-width: var(--top-inner-size);
  margin: 0 auto;
  padding: var(--sub-title--paddin);
}

#sub .side-archives ul {
  margin-bottom: 0;
}

/* main */
main {
  max-width: var(--top-inner-size);
  margin: 0 auto;
}

.home main {
  max-width: 100%;
}

.home section {
  padding: 4rem 0;
}

/* Page ALL */
.tmp-page h3,
.tmp-page h4,
.tmp-page h5,
.tmp-page table,
.tmp-page ul,
.tmp-page ol,
.tmp-page .flex-box,
.tmp-page p,
.pgm-box,
.tmp-txt
{
  margin-bottom: 2rem;
}

.tmp-page img {
  width: 100%;
}

.tmp-page ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.tmp-page ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.tmp-page h3 {
  background-image: var(--gradation-color01);
  color: #fff;
  padding: 0.5rem 1rem;
  margin-top: 4rem;
}

.tmp-txt {
  margin-bottom: 2rem;
}

.tmp-txt p {
  margin-bottom: 1rem;
}

/* List-stule none */
ol.list-none,
.pb01 ul,
.pb02 ul,
.pb03 ul,
.pb04 ul,
.pb05 ul,
#sub ul,
.course-text ol,
#cource-list,
.teacher-item ul,
.page-id-41 ul,
.page-id-12 ul,
ul.pagination {
  padding: 0;
  list-style: none;
}

/* front-page.php
---------------------------------------------------------------------------------------------------- */
.home h2 {
 margin-bottom: 2rem;
}

.home h2 span {
  color: #0065E1;
  display: block;
  font-size: 0.875rem;
}

.home a {
  text-decoration: none;
}

.page-id-8 #footer {
  margin-top: 0;
}

/* Slide
----------------------------------------------------------------------------------------------------------------- */
.slide {
  overflow: hidden;
  position: relative;
  height: 100vh;
}

.slide .slide-item {
  opacity: 0;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size:  cover;
}

.slide .slide-item:nth-child(1) {
  background-image: url("../img/img01.jpg");

  animation-name: anime01;
  animation-duration: 21s;
  animation-timing-function: ease;
  animation-delay: 0;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.slide .slide-item:nth-child(2) {
  background-image: url("../img/img03.jpg");

	animation-name: anime01;
	animation-duration: 21s;
	animation-timing-function: ease;
  animation-delay: 7s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.slide .slide-item:nth-child(3) {
  background-image: url("../img/img05.jpg");

	animation-name: anime02;
	animation-duration: 21s;
	animation-timing-function: ease;
  animation-delay: 14s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

@keyframes anime01 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes anime02 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
  }
  100% {
    opacity: 1;
  }
}


.slide .slide-item span {
  background-color: rgb(0 0 0 / 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide .slide-item img {
  opacity: 0;
  width: 100%;
  height: auto;
}

.slide .slide-item:nth-child(1) span {
	animation-name: anime01;
	animation-duration: 19s;
	animation-timing-function: ease;
  animation-delay: 2s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.slide .slide-item:nth-child(2) span {
	animation-name: anime01;
	animation-duration: 19s;
	animation-timing-function: ease;
  animation-delay: 9s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.slide .slide-item:nth-child(3) span {
	animation-name: anime02;
	animation-duration: 19s;
	animation-timing-function: ease;
  animation-delay: 16s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.slide .slide-item:nth-child(1) img {
	animation-name: anime01;
	animation-duration: 19s;
	animation-timing-function: ease;
  animation-delay: 2s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.slide .slide-item:nth-child(2) img {
	animation-name: anime01;
	animation-duration: 19s;
	animation-timing-function: ease;
  animation-delay: 9s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.slide .slide-item:nth-child(3) img {
	animation-name: anime02;
	animation-duration: 19s;
	animation-timing-function: ease;
  animation-delay: 16s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}


/* top-program
----------------------------------------------------------------------------------------------------------------- */
#top-program-inner {
  max-width: var(--top-inner-size);
  margin: 0 auto;
}

#top-program h3 {
  background-image: var(--gradation-color01);
  color: #fff;
  padding: 1rem;  
}

#top-program .flex-box-imte03 {
  background-color: #F8F8F8;
}

#top-program .flex-box-imte03:hover {
 opacity: 0.8;
}

#top-program .flex-box-imte03 p {
  padding: 1rem;
  margin-bottom: 0;
}

#top-program .flex-box-imte03 a {
  color: #333;
}

/* top-news
----------------------------------------------------------------------------------------------------------------- */
#top-news {
  background-color: #F8F8F8;
}

#top-news-inner {
  max-width: var(--top-inner-size);
  margin: 0 auto;
}

#top-news-inner li {
  color: #fff;
  font-size: 1.375rem;
  border-bottom: solid 1px #ccc;
}

#top-news-inner li a {
  display: block;
  color: #333;
  padding: 0.5rem;
}

#top-news-inner li a:hover {
 opacity: 0.8;
}

#top-news-inner li time {
  display: block;
  font-size: 1rem;
}

#top-program-inner p:nth-child(2) {
  margin-bottom: 2rem;
}

#top-news-inner .btn01 {
  margin-top: 3rem;
}

/* top-report
----------------------------------------------------------------------------------------------------------------- */
.top-report-wap .flex-box {
  margin-bottom: 1rem;
}

.top-report-wap a {
  display: block;
  color: #333;
}

.top-report-wap a:hover {
 opacity: 0.8;
}

#top-report-inner {
  max-width: var(--top-inner-size);
  margin: 0 auto;
}

#top-report-inner .btn01 {
  margin-top: 3rem;
}

.top-report-box {
  display: flex;
  gap: var(--flex-box-gap);
  flex-direction: var(--report-direction);
  margin-bottom: 2rem;
}

.top-report-img,
.top-report-img img {
  width: var(--report-img);
  height: auto;
}

.top-report-text {
  flex: 1;
}

.top-report-text time {
  display: block;
}

.top-report-text span {
  background-color: #0065E1;
  font-size: 0.813rem;
  padding: 0.313rem;
  color: #fff;
}

.top-report-text p:nth-child(2) {
  margin: 1rem 0;
}


/* top-course
----------------------------------------------------------------------------------------------------------------- */
#top-course {
  background-color: #F8F8F8;
}

#top-course .flex-box {
  margin-top: 2rem;
}

#top-course-inner {
  max-width: var(--top-inner-size);
  margin: 0 auto;
}

#top-course-inner figcaption {
  background-image: var(--gradation-color01);
  color: #fff;
  padding: 0.5rem;
}

#top-course-inner a:hover {
 opacity: 0.8;
}

/* top-teacher
----------------------------------------------------------------------------------------------------------------- */
#top-teacher h2 {
  max-width: var(--top-inner-size);
  margin: 0 auto 2rem auto;
}

#top-teacher-inner {
  max-width: var(--top-inner-size);
  margin: 0 auto;
}

#top-teacher .btn01 {
  margin-top: 3rem;
}

/* slider
----------------------------------------------------------------------------------------------------------------- */
.slider-wrapper {
  display: flex;
  gap: var(--flex-box-gap);
  overflow: hidden;
  margin-bottom: 2rem;
}

.slider {
  animation: scroll-left 20s infinite linear .5s both;
  display: flex;
  gap: var(--flex-box-gap);
}

.slider-item {
  width: var(--slide-item-size);
}

.slider-item span {
  font-size: 0.813rem;
}

.slider-item img {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* プログラムの詳細
---------------------------------------------------------------------------------------------------- */
.program-table {
  overflow: auto;
  white-space: nowrap;
}

.program-table table {
  width: 700px;
}
.program-table,
.program-table td,
.ptb00 th {
  text-align: center;
}

.ptb00 th,.ptb00 td {background-color: #eeeeee;}
.ptb01 th,.ptb01 td {background-color: #C5FFA4;}
.ptb02 th,.ptb02 td {background-color: #A9F3FF;}
.ptb03 th,.ptb03 td {background-color: #FCD591;}
.ptb04 th,.ptb04 td {background-color: #FFA8C0;}

.pb01 {background-color:#C5FFA4; padding: 1rem;}
.pb02 {background-color:#A9F3FF; padding: 1rem;}
.pb03 {background-color:#FCD591; padding: 1rem;}
.pb04 {background-color:#FFA8C0; padding: 1rem;}

.pb01,.pb02,.pb03,.pb04,.pb05 {margin-bottom: 2rem;}

.pb01 h5 {margin: 0;}
.pb01 ul {margin: 1rem 0 0 0;}
.pb01 p  {margin: 1rem 0 0 0;}
.pb02 h5 {margin: 0;}
.pb02 ul {margin: 1rem 0 0 0;}
.pb02 p  {margin: 1rem 0 0 0;}
.pb03 h5 {margin: 0;}
.pb03 ul {margin: 1rem 0 0 0;}
.pb03 p  {margin: 1rem 0 0 0;}
.pb04 h5 {margin: 0;}
.pb04 ul {margin: 1rem 0 0 0;}
.pb04 p  {margin: 1rem 0 0 0;}
.pb05 h5 {margin: 0;}
.pb05 ul {margin: 1rem 0 0 0;}
.pb05 p  {margin: 1rem 0 0 0;}

.pgm-box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flex-box-gap);
  align-items: center;
}

.pgm-box h5 {
  position: absolute;
  display: inline-block;
  top: -10px;
  left: 10px;
  padding: 0 9px;
  line-height: 1;
  background: #FFF;
}

.pgm-box ul {margin: 0;}
.pgm-box p {margin: 1rem 0 0 0;}

.pgm-box-item:nth-of-type(1),
.pgm-box-item:nth-of-type(3) {
  position: relative;
  padding: 1rem;
  border: solid 1px #333;
}

.pgm-box .pgm-box-item:nth-of-type(2) p {
  font-size: 2rem;
}

.pgm-img img {
  width: 300px;
}

.pgm-img figcaption {
  margin-top: 1rem;
}

.page-id-33 #footer {
  margin-top: 4rem;
}


.scroll_table{
　overflow: auto;
  white-space: nowrap;
}




/* 講座情報
---------------------------------------------------------------------------------------------------- */
.page-id-37 h3 {
  margin-bottom: 3rem;
}

#cource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

#cource-list li {
  width: var(--cource-list-width);
}

.course-box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flex-box-gap);
  margin-bottom: 3rem;
}

.course-img {
  width: var(--course-img-size); 
}

.course-text {
  width: var(--course-img-size);
}

.course-text p {
  margin-bottom: 0;
}

.course-text ol {
  list-style: none;
}

/* 研究設備
---------------------------------------------------------------------------------------------------- */
.page-id-35 #footer {
  margin-top: 4rem;
}

/* 担当教員
---------------------------------------------------------------------------------------------------- */
.page-id-39 #sub-title {
  margin-bottom: 4rem;
}

.teacher-box {
  display: flex;
  gap: var(--flex-box-gap);
  flex-direction: var(--flex-oder);
  margin-bottom: 3rem;
}
@media(width < 1100px) {
  .teacher-box {
    align-items: center;
  }
}

.teacher-item:first-child,
.teacher-item:first-child img {
  width: 252px;
}

.teacher-item:nth-child(2) {
  flex: 1;
}

.teacher-item h3 {
  font-size: 1.375rem;
  background-image: none;
  color: #333;
  padding: 0;
  margin: 0 0 0.5rem 0;
}

.teacher-item h3 span {
  font-size: 1.125rem;
}

.teacher-item h4 {
  font-size: 1rem;
}

.teacher-item ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}

.teacher-item ul li {
  border: solid 1px #0065E1;
  border-radius: 100vmax;
}

.teacher-item ul li:hover {
  border: solid 1px #003371;
}

.teacher-item ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #0065E1;
  font-size: 0.875rem;
}
.teacher-item ul li a:hover {
  color: #003371;
}

.page-id-39 #footer {
  margin-top: 4rem;
}

/* リンク
---------------------------------------------------------------------------------------------------- */
.page-id-12 li {
  margin-bottom: 0.5rem;
}

.page-id-12 #footer {
  margin-top: 4rem;
}

/* アクセス
---------------------------------------------------------------------------------------------------- */
.page-id-41 #footer {
  margin-top: 4rem;
}

/* お問い合わせ
---------------------------------------------------------------------------------------------------- */
.page-id-29 #sub-title {
  margin-bottom: 4rem;
}

.wpcf7-form {
  max-width: 800px;
  margin:  0 auto;
}

.wpcf7-form p {
  margin-bottom: 1.5rem;
}

.input-mandatory {
  font-size: 0.875rem;
  color: #dc3232;
  margin-left: 0.5rem;
}

.wpcf7-text,
.wpcf7-textarea {
  width: 100%;
  margin-top: 0.5rem;
}

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

.wpcf7-list-item {
  margin-left: 0 !important;
}

.wpcf7-list-item input {
  width: 24px;
  height: 24px;
}

.wpcf7-list-item-label {
  vertical-align: super;
}

.wpcf7-submit {
  padding: 0.5rem 2rem;
  background-color: #0065E1;
  color: #fff;
}

.wpcf7-submit:hover {
  background-color: #003371;
}

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

.page-id-29 #footer {
  margin-top: 4rem;
}

/* プライバシーポリシー
---------------------------------------------------------------------------------------------------- */
.page-id-3 #footer {
  margin-top: 4rem;
}

/*
  archive.php
  home.php
  date.php
---------------------------------------------------------------------------------------------------- */
.archive #sub-title {
  margin-bottom: 4rem;
}

.archive #footer {
  margin-top: 4rem;
}

a.post-anchor {
  text-decoration: none;
  color: #333;
}

.post-news {
  border-bottom: solid 1px #ccc;
  margin-bottom: 1rem;
}

.post-news:hover {
  opacity: 0.7;
}

.post-news a {
  text-decoration: none;
  color: #333;
}

.post-news span {
  background-color: #0065E1;
  font-size: 0.813rem;
  padding: 0.313rem;
  color: #fff;
}

.post-news p:nth-child(2) {
  margin: 1rem 0;
}

.post-news h3 {
  margin-bottom: 1rem;
}

.post-report {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flex-box-gap);
  flex-direction: var(--report-direction);
  margin-bottom: 2rem;
}

.post-report span {
  background-color: #0065E1;
  font-size: 0.813rem;
  padding: 0.313rem;
  color: #fff;
}

.post-report img {
  width: 100%;
  height: auto;
  display: block;
}

.post-report-img {
width: var(--report-img)
}

.post-report p:nth-child(2) {
  margin: 1rem 0;
}

h2.screen-reader-text {
  display: none;
}

.pagination {
  display: flex;
  justify-content: space-between;
}

ul.pagination {
  margin-bottom: 0;
}

.nav-links {
  margin-top: 4rem;
}
.page-numbers {
  display: flex;
  gap: var(--flex-box-gap);
}

.page-numbers a {
  color: #fff;
  display: block;
  padding: 0.5rem 1rem;
  background-color: #0065E1;
}

.page-numbers a:hover {
  text-decoration: none;
  background-color: #003371;
}

.page-numbers span {
  color: #fff;
  display: block;
  padding: 0.5rem 1rem;
  background-color: #003371;
}

/* Single.php
---------------------------------------------------------------------------------------------------- */

#single-data {
  margin-bottom: 2rem;
}

#single-data span {
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  border: solid 1px #0065E1;
  border-radius: 100vmax;
  color: #0065E1;
  font-size: 0.875rem;
}





































































/*
  Common Setting
---------------------------------------------------------------------------------------------------- */
footer {
  color: #fff;
  background: #707070;
  width: 100%;
  margin-top: 4rem;
}

#pagetop {
  background-color: #333;
	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 {
  padding: 1rem;
}

#copyright p {
  text-align: center;
}

/*
  Common Class
---------------------------------------------------------------------------------------------------- */


/* button 01 */
.btn01 {
  display: flex;
  justify-content: center;
}

.btn01 a {
  background-color: #0065E1;
  display: block;
  padding: 1rem 3rem;
  color: #fff;
}

.btn01 a:hover {
  background-color: #003371;
  text-decoration: none;
}

/* Wordpress
---------------------------------------------------------------------------------------------------- */
/* Gallery */
.wp-block-gallery {
  --wp--style--unstable-gallery-gap: 1rem !important;
  gap: 1rem !important;
  margin-bottom: 2rem;
}

.wp-block-image figcaption {
  margin-top: 1rem !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;
  }
}