@charset "utf-8";

.ttl,
.widget-title,
.antialias {
  transform: rotate(0.028deg);
  -o-transform: rotate(0.028deg);
  -ms-transform: rotate(0.028deg);
  -moz-transform: rotate(0.028deg);
  -webkit-transform: rotate(0.028deg);
}

/* index */
/* ------------------------------------------------------------ */
section.video {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

iframe.youtube {
  width: 480px;
  height: 270px;
  margin-bottom: 20px;
}

@media screen and (max-width: 1024px) {
  iframe.youtube {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
  }

  span.day {
    float: none;
    display: inline-block;
  }
  div.newsCont a {
    display: inline !important;
  }
}

div.newsCont::after {
  content: "";
  position: absolute;
  transform: rotate(0deg);
  right: 24px;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="rgb(106,57,6)" d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" /></svg>') no-repeat center center;
  transition: transform 0.3s ease;
}
div.newsCont:hover::after {
  transform: rotate(180deg);
}

div.pager{
    text-align:center
}
div.pager a{
    text-decoration:none
}
div.pager a span{
    display:table-cell;
    vertical-align:middle;
    width:50px;
    height:50px;
    border-radius:10px;
    background:#f7f102
}
div.pager a:hover span{
    background:#fdeeb1
}

/* blog */
/* ------------------------------------------------------------ */
div.space {
  padding: 26px 24px 12px;
  margin-bottom: 20px;
}

h3.ttl {
  margin-bottom: 11px;
}

div.date {
  color: #777;
  font-size: 12px;
  margin-bottom: 22px;
}

div.content p {
  margin: 0.2em 0;
}

div.content img {
  margin: 1em 0;
}

div.link {
  margin-top: 22px;
  text-align: center;
  text-decoration: none;
}

div.link a {
  text-decoration: none;
}

div.link a span {
  display: table-cell;
  vertical-align: middle;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #f7f102;
}

div.link a:hover span {
  background: #fdeeb1;
}

section.sidebar {
  padding: 20px;
  background-color: rgb(255 255 255 / 80%);
}

section.sidebar h3 {
  margin-bottom: 2rem;
}

section.sidebar a {
  color: #40210F;
  background: none !important;
  text-decoration: none;
  line-height: 1.6;
}

section.sidebar a:hover {
  opacity: 0.7;
}

section.sidebar ul li {
  overflow: hidden;
  border-bottom: dotted 1px #bbb;
  padding: 0 0 12px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: smaller;
}

section.sidebar ul li .day {
  display: block;
}

@media screen and (min-width: 768px) {
  section.sidebar {
    width: 20%;
    float: right;
  }
}

/* schedule */
/* ------------------------------------------------------------ */
table#oneday {
  border-collapse: separate;
  border-spacing: 4px;
  width: 920px;
  margin-bottom: 50px;
}

table#oneday th,
table#oneday td {
  font-size: large;
  font-weight: bold;
  padding: 10px;
  text-align: center;
}

table#oneday th {
  background: #fff000;
  color: #40210f;
}

table#oneday td {
  background: #fffac6;
  color: #40210f;
}

table#oneday tr.firstline th {
  background: #40210f;
  color: #fff;
  width: 44%;
}

table#oneday tr.firstline th.norecord {
  background: #fff;
  width: auto;
}

/* year */
/* ------------------------------------------------------------ */
.year table {
  border-collapse: separate;
  border-spacing: 4px;
  width: 100%;
  margin-bottom: 50px;
}

.year table * {
  padding: 10px;
  font-weight: bold;
}

.year table tr:nth-of-type(odd) {
  background: #fffef2;
}

.year table tr:nth-of-type(even) {
  background: #fffcca;
}

.year th {
  color: #fff;
}

.year tr.header th {
  background: #40210f;
}

.year th.spring {
  background: #e3007f;
}

.year th.summer {
  background: #00943e;
}

.year th.fall {
  background: #fff000;
  color: #40210f;
}

.year th.winter {
  background: #7dccf3;
}

.year th.every-month {
  background: #d61518;
}

.year th.other {
  background: #5b246c;
}

.year .skewer {
  line-height: 2em;
}

@media only screen and (min-width: 1024px) {
  .year table * {
    font-size: 1.5rem;
  }
}


/* download */
/* ------------------------------------------------------------ */
dl.downloads {
  display: flex;
  flex-direction: column;
}

dl.downloads dt {
  padding: 1.6rem;
  font-size: 1.6rem;
}

dl.downloads dd {
  margin-top: 0;
  padding-top: 0;
  margin-left: 1.6rem;
  margin-right: 1.6rem;
  padding-bottom: 1.6rem;
  font-size: 1.2rem;
  border-bottom: dotted 1px #bbb;
}

dl.downloads a:after {
  font-family: "Font Awesome 6 Free";
  content: " \f15b";
}

a[href$=".pdf"]:after {
  font-family: "Font Awesome 6 Free";
  content: " \f1c1" !important;
}

a[href$=".docx"]:after,
a[href$=".doc"]:after {
  font-family: "Font Awesome 6 Free";
  content: " \f1c2" !important;
}

a[href$=".xlsx"]:after,
a[href$=".xls"]:after {
  font-family: "Font Awesome 6 Free";
  content: " \f1c3" !important;
}

a[href$=".pptx"]:after,
a[href$=".ppt"]:after {
  font-family: "Font Awesome 6 Free";
  content: " \f1c4" !important;
}

a[href$=".txt"]:after {
  font-family: "Font Awesome 6 Free";
  content: " \f15c" !important;
}

/* look,schedule,year */
/* ------------------------------------------------------------ */
.imgList ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.imgList ul li {
  float: none;
  height: auto;
  box-sizing: inherit;
  border-radius: inherit;
  border: none;
}

.imgList ul li img {
  transform: none;
  border-radius: 19px;
}

.imgList ul li {
  position: relative;
  border: none;
}

.imgList ul li div {
  position: absolute;
  top: 10%;
  width: 100%;
  line-height: 2em;
  padding-left: 1rem;
  color: #40210f;
  font-weight: bold;
  background: linear-gradient(to right, rgba(255, 240, 0, 0.9), transparent);
}
