@font-face {
  font-family: "Hiragino Sans";
  src: local(HiraginoSans-W8);
  font-weight: 800;
}
h1 {
  text-align: center;
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
  padding: 20px 0 10px 0;
  margin-top: 50px;
}

.news {
  width: 1000px;
  max-width: 90%;
  margin: 70px auto 100px auto;
  background: #eff6fc;
  border-radius: 20px;
  padding-bottom: 100px;
}
.news h2,
.news h1 {
  padding: 60px 0 0px 0;
  text-align: center;
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
  font-size: 35px;
}
.news ul li {
  width: 800px;
  max-width: 90%;
  margin: 50px auto;
  background: white;
  list-style: none;
  border-radius: 20px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
.news ul li h3 {
  margin-bottom: 0px;
  font-size: 22px;
  font-family: "MS PGothic", sans-serif !important;
  font-weight: 600;
}
.news ul li span {
  font-size: 13px;
}
.news ul li p {
  margin-top: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.news .course-box {
  width: 800px;
  max-width: 90%;
  margin: 50px auto;
  background: white;
  list-style: none;
  border-radius: 20px;
  padding: 30px 5%;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
.news .course-box h2 {
  padding: 20px 0 0px 0;
  margin-bottom: 0px;
  font-family: "MS PGothic", sans-serif !important;
  font-size: 22px;
  font-weight: 600;
}
.news .course-box span {
  font-size: 13px;
}
.news .course-box p {
  margin-top: 10px;
}
.news .course-box input {
  border: solid 1.5px rgb(161, 161, 161);
  padding: 2px;
  border-radius: 3px;
}
.news .course-box input[type=submit] {
  background: #004da1;
  color: white;
  border: 0;
  padding: 2px 4px;
}

.news1 a {
  padding: 30px 5%;
}

.certificate {
  position: fixed;
  right: 0;
  top: 170px;
  text-align: center;
  z-index: 1000;
}
.certificate a {
  background: #004da1;
  color: white;
  font-weight: 600;
  border-radius: 10px 0 0 10px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  padding: 15px;
}

.post-password-form {
  width: 800px;
  max-width: 90%;
  margin: 50px auto;
  background: white;
  list-style: none;
  border-radius: 20px;
  padding: 30px 5%;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
.post-password-form input {
  border: solid 1.5px rgb(161, 161, 161);
  padding: 2px;
  border-radius: 3px;
}
.post-password-form input[type=submit] {
  background: #004da1;
  color: white;
  border: 0;
  padding: 2px 4px;
}

.class-box {
  margin-bottom: 150px;
}

.title-box {
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}
.title-box h2 {
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
  font-size: 35px;
}

.class-btn-box {
  width: 640px;
  max-width: 70%;
  margin: 30px auto;
}
.class-btn-box h3 {
  color: #004da1;
}
.class-btn-box ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.class-btn-box ul li {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}
.class-btn-box ul li a {
  width: 200px;
  position: relative;
  text-align: center;
  font-weight: 600;
  padding: 15px 30px;
}
.class-btn-box ul li a span {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translate(0, -50%);
}
.class-btn-box ul li:nth-child(1) {
  background: rgb(239, 246, 252);
  background: linear-gradient(180deg, rgb(239, 246, 252) 0%, rgb(239, 246, 252) 50%, rgb(186, 208, 227) 100%);
}
.class-btn-box ul li:nth-child(2) {
  background: rgb(239, 246, 252);
  background: linear-gradient(180deg, #eff6fc 0%, #c7e4fc 50%, #77a3c9 100%);
}
.class-btn-box ul li:nth-child(3) {
  background: rgb(239, 246, 252);
  background: linear-gradient(180deg, #daecfc 0%, #add9ff 50%, #639ed4 100%);
}

.class-info-box {
  background: #0cc0df;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 0;
}
.class-info-box .left,
.class-info-box .right {
  width: 35%;
}
.class-info-box .left img,
.class-info-box .right img {
  width: 50%;
  margin: 0 auto;
  max-width: 200px;
}
.class-info-box .center {
  width: 400px;
  position: relative;
  text-align: center;
}
.class-info-box .center .text {
  color: white;
  font-weight: 600;
}
.class-info-box .class-btn a {
  background: #fffd74;
  text-align: center;
  position: relative;
  padding: 15px 30px;
  border-radius: 10px;
  width: 250px;
  margin: 0 auto;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.class-info-box .class-btn span {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
}
.class-info-box .icon-left,
.class-info-box .icon-right {
  width: 50px;
  position: absolute;
  top: 30px;
}
.class-info-box .icon-left {
  left: -50px;
}
.class-info-box .icon-right {
  right: -50px;
}

.top {
  width: 100%;
  position: relative;
}
.top img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 300px;
}
.top .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
.top .title h1 {
  font-size: 50px;
  padding-bottom: 0;
}
.top .title .sub {
  font-size: 20px;
}

.middle .text {
  width: 800px;
  margin: 50px auto;
  max-width: 90%;
}

.news .classes ul {
  display: flex;
  width: 800px;
  max-width: 90%;
  padding: 50px 0 50px 0;
  margin: 0px auto;
  flex-wrap: wrap;
  gap: 20px;
}
.news .classes ul li {
  width: auto;
  text-align: center;
  margin: 0;
  font-size: 20px;
  box-shadow: none;
  padding: 0;
}
.news .classes ul li button {
  font-size: 20px;
  border-radius: 10px;
  font-weight: 800;
  padding: 10px 20px;
  border: solid 3px #004da1;
  color: #004da1;
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
}
.news .classes ul li button:hover {
  background: #004da1;
  color: white;
}
.news .classes ul li button.on {
  background: #004da1;
  color: white;
}
.news uL li.works h3 {
  padding: 0 5%;
  padding-bottom: 10px;
  border-bottom: solid 1px #e6e6e6;
}
.news uL li.works p {
  padding: 10px 5%;
}
.news h2.event {
  text-align: left;
  width: 800px;
  margin: 0 auto;
  max-width: 90%;
  font-size: 25px;
  color: #004da1;
}

.news2 ul li {
  background: transparent;
}
.news2 ul li button {
  background: white;
}

.links {
  display: none;
  margin-top: 10px;
  width: 100%;
  position: relative;
}
.links .absolute {
  top: 0;
  left: 0;
  background: white;
  padding: 20px;
  border-radius: 20px;
}
.links a {
  text-align: left;
  border-bottom: solid 1px #004da1;
  padding: 5px;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 14px;
}

li:nth-child(1) .links {
  height: 300px;
}

section.news2 {
  padding-bottom: 0;
}
section.news2 a {
  color: #004da1;
  margin-bottom: 10px;
}

.file-flex {
  display: flex;
}
.file-flex .text {
  flex-grow: 1;
}
.file-flex .text p {
  padding-right: 5%;
}
.file-flex .file {
  text-align: right;
}
.file-flex .file a {
  background: white;
  color: #004da1;
  font-weight: 800;
  border-radius: 9999px;
  padding: 5px 10px;
  border: solid 4px #004da1;
  white-space: nowrap;
  display: inline;
}
.file-flex .file a:hover {
  background: #004da1;
  color: white;
}

form {
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  margin: 50px auto 200px auto;
  border-radius: 8px;
}
form input[type=password] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
}
form button {
  background-color: #004da1;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.logout-box {
  text-align: center;
  margin-bottom: 200px;
}

.logout-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #dc3545;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.logout-button:hover {
  background-color: #c82333;
}

.error-message {
  color: red;
  font-size: 14px;
}

@media (max-width: 700px) {
  .news h2 {
    padding: 30px 0 0px 0;
  }
  .news .course-box h2 {
    padding: 0;
  }
  .news ul li {
    margin: 30px auto;
  }
  .certificate {
    position: fixed;
    right: 0;
    top: 130px;
    z-index: 100;
  }
  .class-btn-box ul {
    justify-content: center;
  }
  .title-box p {
    text-align: left;
  }
  .class-info-box {
    position: relative;
  }
  .class-info-box .center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .class-info-box .center .text {
    text-align: left;
    width: 200px;
    max-width: 90%;
    margin: 0 auto;
  }
  .class-info-box .left,
  .class-info-box .right {
    flex-grow: 1;
  }
  .class-info-box .left img,
  .class-info-box .right img {
    width: 80%;
  }
  .class-info-box .icon-left,
  .class-info-box .icon-right {
    width: 40px;
  }
  .class-info-box .icon-left {
    left: 40px;
  }
  .class-info-box .icon-right {
    right: 40px;
  }
  .file-flex {
    flex-direction: column-reverse;
  }
}
@media (max-width: 598px) {
  .class-btn-box h3 {
    text-align: center;
  }
}/*# sourceMappingURL=news.css.map */