@charset "utf-8";

/* font */

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../files/font/NotoSansJP-Regular.woff2') format('woff2'),
    url('../files/font/NotoSansJP-Regular.woff') format('woff'),
    url('../files/font/NotoSansJP-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../files/font/YakuHanJPs-Regular.woff2') format('woff2'),
    url('../files/font/YakuHanJPs-Regular.ttf') format('ttf'),
    url('../files/font/YakuHanJPs-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../files/font/NotoSansJP-Medium.woff2') format('woff2'),
    url('../files/font/NotoSansJP-Medium.woff') format('woff'),
    url('../files/font/NotoSansJP-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../files/font/YakuHanJPs-Medium.woff2') format('woff2'),
    url('../files/font/YakuHanJPs-Medium.ttf') format('ttf'),
    url('../files/font/YakuHanJPs-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../files/font/NotoSansJP-Bold.woff2') format('woff2'),
    url('../files/font/NotoSansJP-Bold.woff') format('woff'),
    url('../files/font/NotoSansJP-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../files/font/YakuHanJPs-Bold.woff2') format('woff2'),
    url('../files/font/YakuHanJPs-Bold.ttf') format('ttf'),
    url('../files/font/YakuHanJPs-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../files/font/NotoSansJP-Black.woff2') format('woff2'),
    url('../files/font/NotoSansJP-Black.woff') format('woff'),
    url('../files/font/NotoSansJP-Black.otf') format('opentype');
}

@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../files/font/YakuHanJPs-Black.woff2') format('woff2'),
    url('../files/font/YakuHanJPs-Black.ttf') format('ttf'),
    url('../files/font/YakuHanJPs-Black.otf') format('opentype');
}


* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
}

body {
  font-family: 'YakuHanJP', 'Noto Sans JP', "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  font-weight: 400;
  background-color: #F4F5F7;
  color: #707070;
}

body a {
  font-size: 1.6rem;
}

body p {
  font-size: 1.6rem;
  line-height: 3rem;
}

body li {
  font-size: 1.6rem;
}

.post,
.page {
  margin: 0;
}

/* -------------------- WP部分 -------------------- */

header {
  position: fixed;
  width: 100%;
  height: auto;
  background-color: #fff;
  z-index: 100;
}

header a {
  text-decoration: none;
}

header .site-branding {
  width: 100%;
  height: 50px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding-left: 2%;
}

header .site-title {
  width: fit-content;
}

header .site-title a {
  font-size: 2.5rem;
  font-weight: 600;
  color: #810D31;
  line-height: 50px;
}

#to_jh {
  width: fit-content;
  height: 40px;
  line-height: 40px;
  padding: 0 30px;
  background-color: #1E4184;
  color: #fff;
  border-radius: 22px;
  margin: 5px 0;
  margin-right: 2%
}

header nav {
  background-color: #810D31;
}

header nav a {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 40px;
  color: #fff;
  padding: 0 20px;
}

header nav .sp_nav {
  width: fit-content;
  margin: 0 auto;
}

/* ---------- top ---------- */

article {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 120px;
}

.full {
  width: 100%;
  max-width: none;
}

h3 {
  font-size: 6rem;
  font-weight: 400;
  line-height: 1;
}

h4 {
  font-size: 2rem;
  font-weight: 400;
}

.first_view {
  width: 100%;
  height: 100vh;
  padding-top: 90px;
  overflow: hidden;
  position: relative;
  background-image: url(../files/image/top.jpg);
	background-size: cover;
  background-position: 85% 15%;
  margin-bottom: 80px;
}

.first_view .top-heading {
  position: absolute;
  top: 50%;
  left: 10rem;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  font-size: 12rem;
  line-height: 140px;
  color: #fff;
}

.first_view .top-text {
  position: absolute;
  bottom: 10%;
  left: 0;
  font-size: 12rem;
}

.first_view .top-text h3 {
  width: fit-content;
  font-size: 3rem;
  font-weight: 500;
  background-color: #fff;
  padding: 8px 20px 8px 0;
  padding-left: 10rem;
  margin-bottom: 20px;
}

.top-slider {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.top-news {
  width: 90%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.top-news .left-block {
  width: 20%;
}

.top-news .right-block {
  width: 78%;
}

.top-news .news-heading {
  position: relative;
}

.top-news .news-heading h3 {
  font-size: 7rem;
  font-weight: 400;
  transform-origin: left top;
  transform: rotate(90deg);
  margin-left: 60px;
}

.top-news .news-heading p {
  font-size: 2rem;
  writing-mode: vertical-rl;
  position: absolute;
  top: 6px;
  left: 60px;
}

.top-news h4 {
  font-size: 2.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.top-news h4::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #707070;
  margin-left: 10px;
}

.top-news .topics .topics-list {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.top-news .topics .topics-list .topics-item {
  width: 32%;
  flex: 1 1 calc(33.333% - 20px);
  aspect-ratio: 4 / 3;
  /* カード全体の縦横比を調整（任意） */
  position: relative;
  overflow: hidden;
}

.top-news .topics .topics-list .topics-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.top-news .topics .topics-list .topics-item .topics-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.top-news .topics .topics-list .topics-item .topics-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* はみ出しOKで縦横いっぱいに */
  object-position: center;
  display: block;
}

.top-news .topics .topics-list .topics-item h3 {
  font-size: 1.6rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffffbb;
  color: #707070;
  padding: 10px;
}

.btn-box {
  padding: 10% 0;
}

.btn-box .filter-btn {
  display: block;
  text-decoration: none;
    background-color: #810D31;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 6px 20px;
    border-radius: 10px;
  margin-bottom: 20px;
}

.top-news .article-list {
  width: 96%;
  margin: 0 auto 30px;
}

.top-news .article-list li {
  font-size: 1.6rem;
  padding: 20px;
  border-bottom: solid 1px #707070;
}

/* 日付の幅を固定してカテゴリラベルの開始位置を揃える */
.top-news .article-list li > span:first-child {
  display: inline-block;
  width: 8em; /* 最長の「2026年12月31日」が収まる幅 */
  font-variant-numeric: tabular-nums; /* 数字を等幅にする */
}

.top-news .article-list li .label {
  display: inline-block;
  text-align: center;
  width: fit-content;
  min-width: 120px;
  background-color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  color: #1E4184;
  padding: 6px 0;
  border-radius: 40px;
  margin: 0 10px;
}

.top-news .article-list li a {
  text-decoration: none;
  color: #707070;
  font-weight: 500;
}

.more-btn {
  text-decoration: none;
  background-color: #810d31;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 6px 20px;
  border-radius: 10px;
}

.article-box .more-btn {
  display: block;
  width: fit-content;
  margin: 0 2% 0 auto;
}

.heading {
  margin-bottom: 50px;
}

.heading .jp {
  font-size: 4rem;
  font-weight: 600;
}

.heading p {
  font-size: 2.2rem;
}

.mediatext {
  display: flex;
}

.imagebox {
  width: 45%;
}

.textbox {
  width: 55%;
  padding: 2% 5%;
}

.imagebox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.textbox h4 {
  font-size: 3.2rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.textbox p {
  margin-bottom: 20px;
  line-height: 3rem;
}

.textbox a {
  display: block;
  width: fit-content;
  margin: 0 0 0 auto;
}

.top-course {
  background-color: #fff;
  background-image: url(../files/image/note.svg);
  background-size: 50px;
  background-repeat: repeat;
  margin-bottom: 0;
}

.course-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5% 0;
  display: flex;
}

.course-inner .left-item,
.course-inner .right-item {
  width: 50%;
  padding: 2%;
}

.course-inner .left-item .textbox {
  width: 100%;
  padding: 0;
}

.slick-slide img {
  border-radius: 30px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail .slick-track {
  transform: unset !important;
}

.thumbnail-img {
  opacity: 0.3;
  transition: opacity .3s linear;
  padding: 20px 5px 0 5px;
}

.thumbnail-img img {
  border-radius: 10px;
}

.thumbnail .slick-current {
  opacity: 1;
}

.top-club {
  background-image: url(../files/image/club_back.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.top-club .club-inner {
  width: 90%;
  max-width: 1200px;
  padding: 5% 0;
  margin: 0 auto;
  display: flex;
  justify-content: right;
}

.top-club .right-item {
  width: 40%;
  padding: 4%;
  background-color: #ffffffc0;
}

.top-club .right-item .textbox {
  width: 100%;
  padding: 0;
}



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

footer {
  width: 100%;
  padding: 100px 0;
  background-image: url(../files/image/footer_back.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}

footer .footer-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 30%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer .footer-inner a {
  text-decoration: none;
  color: #707070;
}

.footer-left {
  width: 32%;
}

.footer-left h3 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.footer-left h3 a {
  font-size: 3rem;
  font-weight: 500;
  text-decoration: none;
  color: #810D31;
}

.footer-left address {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.footer-left p {
  margin-bottom: 20px;
}

.footer-left a {
  font-weight: 500;
}

.footer-center {
  width: 32%;
}

footer h4 {
  font-size: 2rem;
  font-weight: 500;
  color: #810D31;
  margin-bottom: 20px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.footer-menu .nav-2col {
  display: flex;
  gap: 40px;
  /* 列の間隔調整 */
  flex-wrap: wrap;
}

.footer-menu .nav-col {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu .nav-col li {
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-right {
  width: 32%;
}

.footer-right .sns-btn {
  margin-bottom: 20px;
}

.footer-right .sns-btn a {
  margin-right: 10px;
}

.footer-right .sns-btn a img {
  width: 50px;
}

.footer-right .document {
  width: fit-content;
  background-color: #810D31;
  padding: 4px 20px;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.footer-right .document a {
  color: #fff;
}

.footer-right .footer_pdf a {
  font-weight: 500;
}

.sp-btn {
  display: none;
}

span.nowrap {
  white-space: nowrap;
}

small.copy {
  display: block;
  width: 100%;
  padding: 30px 0;
  text-align: center;
  font-size: 1.2rem;
}


/* -------------------- single.php -------------------- */

.news {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4% 10%;
}

.newsdate {
  margin-bottom: 10px;
}

.news .newstitle {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.news .newscat {
  font-size: 1.4rem;
  padding-bottom: 30px;
  border-bottom: solid 1px #000;
  margin-bottom: 80px;
}

.news .newscontent {
  font-size: 1.8rem;
  line-height: 3.2rem;
}

.news .newscontent img {
  padding: 20px;
}

/* -------------------- archive.php -------------------- */

.archive-cover {
  overflow: hidden;
}

.sub-firstview.page-firstview {
  width: 100vw;
}

.archive-main {
  width: calc(100% - 380px);
  float: left;
}

.archive-main h1 {
  font-size: 4rem;
  font-weight: 600;
  border-bottom: solid 3px #a5a5a5;
  margin: 0 6%;
  padding: 5% 2% 1%;
}

.news-container {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 3% 5%;
}

.news-container .card {
  width: 28%;
  margin: 2%;
}

.news-container .card a {
  display: block;
  text-decoration: none;
  margin-bottom: 30px;
  border-radius: 30px;
  background: #F4F5F7;
  box-shadow: -20px 20px 60px #cfd0d2,
    20px -20px 60px #ffffff;
  overflow: hidden;
  color: #707070;
}

.news-container .card a .card-image {
  aspect-ratio: 16 / 9;
}

.news-container .card a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-container .card a .card-text {
  padding: 20px 10px;
}

.news-container .card a h2 {
  font-size: 2rem;
  padding: 0 20px;
}

.news-container .card a time {
  font-size: 1.4rem;
  padding: 0 20px 10px;
}

.pagination {
  border-top: solid 3px #a5a5a5;
  margin: 0 6%;
  padding: 1% 2% 1%;
}

.pagination span {
  font-size: 1.6rem;
  font-weight: 500;
}

.pagination span {
  font-size: 2rem;
  font-weight: 500;
  margin: 0 8px;
}

.pagination a {
  font-size: 2rem;
  font-weight: 500;
  margin: 0 8px;
  text-decoration: none;
  color: #7496ff;
}


aside#secondary {
  display: inline-block;
  width: 340px;
  padding: 500px 40px 40px 40px;
  box-sizing: border-box;
}

aside#secondary a {
  text-decoration: none;
  color: #7496ff;
}

aside#secondary h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.widget {
  margin: 0 0 2.5em;
}

.widget select {
  padding: 3px;
  font-size: 1.4rem;
  max-width: 100%;
  border-radius: 5px;
}



/* ---------- page.php ---------- */

.sub-firstview {
  width: 100%;
  max-width: none;
  height: 400px;
  padding-top: 90px;
  overflow: hidden;
  position: relative;
  background-image: url(../files/image/sub-top.webp);
  background-size: cover;
  background-position: center;
  margin-bottom: 0;
}

.sub-article {
  position: relative;
  padding-top: 100px;
}

.sub-page .top-heading.heading {
  position: absolute;
  top: -110px;
  background-color: #F4F5F7;
  width: fit-content;
  padding: 20px 80px 0;
  border-radius: 30px 30px 0 0;
  margin-top: 2px;
}

.sub-page .heading p {
  font-size: 2.2rem;
}


.page-index {
  background-color: #810D31;
  width: fit-content;
  margin: 0 auto;
  height: 50px;
  border-radius: 50px;
  padding: 0 30px;
}

.page-index a {
  padding: 0 30px;
  text-decoration: none;
  font-size: 1.4rem;
  color: #fff;
  line-height: 50px;
  border-right: solid 1px #fff;
}

.page-index p:last-child a {
  border-right: none;
}


/*====================================================================
.accordion_one
====================================================================*/
.accordion_one {
  width: 100%;
  margin: 0 auto;
}

.accordion_one .accordion_header {
  position: relative;
  z-index: +1;
  cursor: pointer;
  transition-duration: 0.2s;
}

.accordion_one .accordion_header img {
  width: 100%;
}

.accordion_one .accordion_header:hover {
  opacity: .8;
}

.accordion_one .accordion_inner {
  display: none;
  margin: 2%;
  background-color: #fff;
  padding: 4%;
  border-radius: 30px;
}

.accordion_one .accordion_inner h4 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #810D31;
}

.wp-block-media-text>.wp-block-media-text__media {
  height: 100%;
}

.wp-block-media-text .wp-block-media-text__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.wp-block-media-text .wp-block-media-text__content h4 {
  font-size: 3.2rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.wp-block-media-text .wp-block-media-text__content p {
  margin-bottom: 20px;
  line-height: 3rem;
}

.wp-block-group.heading {
  margin-top: 100px;
}

.wp-block-kadence-advancedbtn .kb-button.kb-btn-global-fill {
  border: none;
  border-radius: 10px;
  background: var(--global-palette-btn-bg, #810D31);
  color: var(--global-palette-btn, #ffffff);
}

.wp-block-kadence-advancedbtn .kb-button.kb-btn-global-fill .kt-btn-inner-text {
  font-size: 1.6rem;
  padding: 10px 30px;
}

.wp-block-kadence-advancedbtn .kb-button.kb-btn-global-fill:hover {
  color: var(--global-palette-btn-hover, #ffffff);
  background: var(--global-palette-btn-bg-hover, #9c3b5a);
}

.reform {
  background-color: #fff;
  padding: 30px;
  border-radius: 30px;
}

.reform h4 {
  position: relative;
  padding-left: 2.4rem;
  color: #810D31;
}

.reform h4::before {
  content: '';
  display: block;
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 14px;
  height: 7px;
  border-left: 2px solid #ceaf00;
  border-bottom: 2px solid #ceaf00;
  transform: rotate(-45deg);
}

.reform p {
  padding-left: 2.4rem;
}

.original h4 {
  background-color: #810D31;
  border-radius: 10px;
  color: #fff;
  font-size: 2rem;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.original figure {
  width: 100%;
  height: 200px;
  overflow: hidden;
  padding: 0 10px;
  margin-bottom: 20px;
}

.original figure img {
  width: 100%;
  object-fit: cover;
}

.original p {
  padding: 0 10px;
}

.facility {
  background-color: #fff;
  padding: 50px;
  border-radius: 30px;
}

.facility h4 {
  font-size: 2.2rem;
}

.facility h4.head {
  font-size: 3.4rem;
}

.examfaq h3 {
  font-size: 2.2rem;
  line-height: 3.2rem;
  background-color: #810D31cc;
  color: #fff;
  padding: 20px 40px;
}

.examfaq p {
  padding: 20px 40px;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.school-life-report {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.school-life-report .topics-item {
  width: 30%;
  height: auto;
  margin-bottom: 30px;
  overflow: hidden;
}

.school-life-report .topics-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.school-life-report .topics-item h3 {
  font-size: 2rem;
  padding: 12px;
}

.school-life-report .topics-item a {
  text-decoration: none;
  color: #7496ff;
}

.school-life-report .topics-item time {
  padding: 0 12px 12px;
}

.more-btn.all-report {
  display: block;
  width: fit-content;
  height: auto;
  margin: 0 2% 0 auto;
}


.other-volunteer {
  background-color: #fff;
  padding: 50px;
  border-radius: 30px;
}

.other-volunteer h3 {
  font-size: 3.2rem;
  line-height: 4rem;
  margin-bottom: 30px;
  color: #810D31;
}

.other-volunteer h4 {
  font-size: 2.4rem;
}

.other-volunteer p {
  margin-bottom: 20px;
}

.other-volunteer p:last-child {
  margin-bottom: 0;
}

.event-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.event-box .event-image {
  overflow: hidden;
}

.event-box .event-image img {
  width: 100%;
}

.event-box .event-text {
  width: 80%;
  padding: 20px 30px;
  background-color: #810D31dd;
  color: #fff;
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 30px 0 0 0;
}

.event-box .event-text h4 {
  font-size: 2.6rem;
  font-weight: 600;
}

.event-box .event-text h5 {
  font-size: 2.2rem;
  font-weight: 500;
}



/* ---------- opencampus ---------- */

.oc-firstview {
  width: 100%;
  max-width: none;
  height: 800px;
  padding-top: 90px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
}

.oc-firstview .oc-back {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  padding-top: 90px;
}

.oc-firstview .oc-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oc-firstview .oc-title {
  font-size: 6rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.397);
  width: 100%;
  max-width: 1200px;
  margin: 5% auto 0;
}

.oc-firstview .oc-text {
  position: absolute;
  bottom: 10%;
  left: 0;
}

.oc-firstview .oc-text p {
  width: fit-content;
  font-size: 2rem;
  font-weight: 500;
  background-color: #fff;
  padding: 8px 20px 8px 0;
  padding-left: 10rem;
  margin-bottom: 20px;
}

.oc-firstview .oc-news {
  width: 90%;
  max-width: 600px;
  position: absolute;
  bottom: 10%;
  right: 0;
  background-image: url(../files/image/obi.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left;
  padding: 30px 0 30px 80px;
  padding-right: 8rem;
}

.oc-firstview .oc-news h4 {
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
}

.oc-firstview .oc-news p {
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
}

.sub-article.oc-article {
  margin-bottom: 0;
}

.schedule h4 {
  font-size: 2.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.schedule h4::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #707070;
  margin-left: 10px;
}

.schedule .kb-table-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.schedule .kb-table-row:first-child {
  border-bottom: solid 1px #a5a5a5;
}

.schedule .kb-table-row:first-child th {
  padding-bottom: 10px;
}

.schedule .kb-table-row:first-child p {
  font-size: 1.8rem;
}

.schedule .kb-table-container td {
  padding-bottom: 30px !important;
}

.schedule tr:nth-child(2) td {
  padding-top: 30px !important;
}

.schedule .kb-table-container p {
  text-align: center;
}

.event-btn {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  background-color: #810D31;
  border-radius: 10px;
}

.event-btn a {
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 80px 50px;
}

.event-btn .btn-left {
  width: fit-content;
  height: auto;
}

.event-btn .btn-left h4 {
  font-size: 2.2rem;
}

.event-btn .btn-left p {
  font-size: 1.2rem;
  line-height: 2rem;
}

.event-btn .btn-right {
  width: 60%;
}

.event-btn .btn-right p {
  font-size: 1.4rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.event-btn .btn-right p::before {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #ffffff;
  margin-right: 10px;
}

article.event-schedule {
  width: 100%;
  max-width: none;
  margin: 100px auto;
  position: relative;
}

article.event-schedule::before {
  content: "";
  position: absolute;
  /* 絶対配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../files/image/sub-top.webp);
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  /* ぼかし */
  -webkit-filter: blur(8px);
  z-index: -1;
  /* 背景 */
}

.schedule-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.schedule-inner h3 {
  color: #fff;
}

.schedule-inner p {
  color: #fff;
}

.schedule-left {
  width: 50%;
  padding: 2%;
}

.schedule-right {
  width: 50%;
  max-width: 600px;
}

.schedule-right .time-schedule {
  padding: 40px 0;
  background-color: #810D31;
  color: #fff;
  border-radius: 30px;
  height: 600px;
  overflow: scroll;
  -ms-overflow-style: none;
  position: relative;
}

.schedule-right .time-schedule .scroll {
  position: absolute;
  top: 10%;
  left: 0;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}

.schedule-right .time-schedule::-webkit-scrollbar {
  display: none;
}

.schedule-right .time-schedule h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 20px;
}

.schedule-right .time-schedule .schedule-inner {
  width: 92%;
  border-left: solid 2px #fff;
  margin: 0 0 0 auto;
  padding: 0 8%;
}

.schedule-right .time-schedule .schedule-inner h3 {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: normal;
  color: #810D31;
  text-align: center;
  background-color: #fff;
  border-radius: 20px;
}

.schedule-right .time-schedule .schedule-inner h4 {
  font-size: 1.6rem;
  width: 90%;
  margin: 20px auto 10px;
}

.schedule-right .time-schedule .schedule-inner p {
  font-size: 1.4rem;
  width: 90%;
  margin: 0 auto 10px;
}

.schedule-right .time-schedule .schedule-inner figure {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  margin: 20px 0 30px;
}

.or-schedule .schedule-right .time-schedule {
  background-color: #0D2481;
}

.or-schedule .schedule-right .time-schedule .schedule-inner h3 {
  color: #0D2481;
}

.club-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 30px;
}

.club-item h4 {
  font-size: 1.8rem;
  font-weight: 500;
  padding: 20px 30px 0;
}

.club-item ul {
  padding: 10px 30px 0;
}

.club-item ul li {
  margin-bottom: 6px;
}

.club-item ul li a {
  text-decoration: none;
  color: #7496ff;
}

.club-item .wp-block-buttons {
  padding: 10px 30px 20px;
}

.club-item .wp-block-buttons a {
  font-size: 1.2rem;
  background-color: #810D31;
  border-radius: 10px;
}

.passed h4 {
  font-size: 2rem;
  line-height: 5rem;
  color: #fff;
}

.passed table {
  border-collapse: separate;
  border-spacing: 5px;
}

.passed tr td {
  background-color: #fff;
  padding: 12px 0 !important;
}

.passed tr td p {
  text-align: center
}

.passed tr td:first-child {
  position: relative;
}

.national h4 {
  background-color: #7DC15B;
}

.national tr td:first-child {
  background-color: #C5FFA8 !important;
  position: relative;
}

.national tr td:first-child:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -12px;
  border: 12px solid transparent;
  border-left: 15px solid #C5FFA8;
}

.private h4 {
  background-color: #5CC5D1;
}

.private tr td:first-child {
  background-color: #A8F1F9 !important;
  position: relative;
}

.private tr td:first-child:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -12px;
  border: 12px solid transparent;
  border-left: 15px solid #A8F1F9;
}

.medical h4 {
  background-color: #CCAB51;
}

.medical tr td:first-child {
  background-color: #FFE08B !important;
  position: relative;
}

.medical tr td:first-child:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -12px;
  border: 12px solid transparent;
  border-left: 15px solid #FFE08B;
}

.yearly-schedule .kt-inside-inner-col {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.yearly-schedule .kt-inside-inner-col h4 {
  background-color: #810D31;
  color: #fff;
  padding: 10px 30px;
}

.yearly-schedule .kt-inside-inner-col p {
  padding: 20px 30px;
}

.sub-page p.more-btn {
  width: fit-content;
  margin: 0 0 0 auto;
}

.sub-page p.more-btn a {
    text-decoration: none;
    color: #fff;
}

.history-table tr.kb-table-row {
  border-bottom: solid 1px #b0b0b0;
}

.history-table tr.kb-table-row td:first-child {
  padding-left: 10px;
}

/* .history-table tr.kb-table-row td {
  padding: 16px 10px 16px 0;
} */

.academy h4 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.academy p {
  margin-bottom: 30px;
}

.academy .wp-block-image img {
  object-fit: cover;
  border-radius: 30px;
  margin-bottom: 20px;
}

.academy .kt-inside-inner-col {
  text-align: center;
}

.academy .kt-inside-inner-col h4 {
  font-size: 2.2rem;
  color: #810D31;
  height: 5.2rem;
}

.academy .kt-inside-inner-col a {
  text-decoration: none;
  color: #7496ff;
}

.access-table tr.kb-table-row {
  border-bottom: solid 1px #b0b0b0;
}

.access-table tr.kb-table-row td:first-child {
  padding-left: 10px;
}

.access-table tr.kb-table-row td {
  padding: 16px 10px 16px 0;
}

.access-map h4 {
  background-color: #810D31;
  border-radius: 10px;
  color: #fff;
  font-size: 2.2rem;
  padding: 10px 20px;
  margin-bottom: 20px;
}




/* ---------- tablet ---------- */

@media screen and (max-width: 1080px) {

  header nav a {
    padding: 0 10px;
  }

  .first_view .top-heading {
    top: auto;
    bottom: 10%;
    left: 5rem;
	transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    font-size: 8rem;
    line-height: 80px;
  }

  .first_view .top-text {
    display: none;
  }

  .mediatext {
    flex-wrap: wrap;
  }

  .mediatext .imagebox,
  .mediatext .textbox {
    width: 100%;
  }

  .mediatext .imagebox {
    margin-bottom: 30px;
  }

  .course-inner {
    flex-wrap: wrap;
  }

  .course-inner .left-item,
  .course-inner .right-item {
    width: 100%;
    padding: 2%;
  }

  .top-club .club-inner {
    width: 100%;
    padding: 0;
    flex-wrap: wrap;
  }

  .top-club .right-item {
    width: 100%;
    padding: 5%;
  }

  footer .footer-inner {
    width: 90%;
    flex-wrap: wrap;
    margin: 0 auto 20%;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 46%;
    margin-bottom: 50px;
  }


  /* ---------- page.php ----------- */

  .wp-block-media-text .wp-block-media-text__content h4 {
    font-size: 2.4rem;
  }

  .oc-article {
    padding-top: 0;
  }

  .oc-firstview {
    height: 600px;
  }

  .oc-firstview .oc-back .wp-block-group__inner-container {
    width: 100%;
    height: 100%;
  }

  .oc-firstview .oc-back .wp-block-group__inner-container figure {
    width: 100%;
    height: 100%;
  }

  .oc-firstview .oc-title {
    display: none;
  }

  .oc-firstview .oc-news {
    width: fit-content;
    min-width: 50%;
    bottom: 4%;
    padding: 10px 0 10px 60px;
    padding-right: 30px;
  }

  .oc-firstview .oc-news h4 {
    font-size: 1.8rem;
  }

  .oc-firstview .oc-text {
    bottom: 18%;
  }

  .oc-firstview .oc-text p {
    font-size: 1.4rem;
    font-weight: 500;
    background-color: #fff;
    padding: 4px 10px 4px 0;
    padding-left: 30px;
    margin-bottom: 10px;
  }

  .schedule-left {
    width: 100%;
    margin-bottom: 50px;
  }
	
	.schedule-left h3,
	.schedule-left p {
    color: #000;
  }

  .schedule-right {
    width: 100%;
  }

  .academy .kb-row-layout-id22_5dc85a-7f>.kt-row-column-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-box {
    border-radius: 0;
    margin-bottom: 50px;
  }

  .event-box .event-image {
    margin-bottom: 30px;
  }

  .event-box .event-image img {
    border-radius: 30px;
  }

  .event-box .event-text {
    width: 100%;
    padding: 20px 30px;
    background-color: #810D31;
    color: #fff;
    position: relative;
    border-radius: 30px;
  }

  .event-box .event-text h4 {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .event-box .event-text h5 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 10px;
  }



  /* ---------- archive.php ---------- */

  .archive-main {
    width: 100%;
    float: none;
  }

  .news-container .card {
    width: 46%;
    margin: 2%;
  }

  .news-container .card a .card-text {
    padding: 10px 10px;
  }

  aside#secondary {
    display: inline-block;
    width: 100%;
    padding: 5%;
    box-sizing: border-box;
  }

  /* ---------- single.php ---------- */

  .news {
    padding: 5%;
  }

  .news .newscat {
    margin-bottom: 30px;
  }

  .news .newstitle {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
	
.page-index {
  border-radius: 30px;
  padding: 10px;
  height: auto;
  flex-wrap: wrap !important;
  justify-content: center;
  background-color: #ffffff00;
  gap: 10px;
}

.page-index p {
  width: fit-content;
}

.page-index a {
  padding: 10px;
  line-height: 30px;
  border-right: none;
  display: block;
  width: 100%;
  background-color: #810d31;
  text-align: center;
  border-radius: 10px;
}
	

}


/* ---------- sp ---------- */

@media screen and (max-width: 600px) {

  body p {
    font-size: 1.4rem;
  }

  #to_jh {
    display: none;
  }

  header {
    display: flex;
    height: 50px;
  }

  header .site-title a {
    font-size: 1.8rem;
    font-weight: 500;
  }

  .main-navigation {
    width: fit-content;
    background-color: #fff;
  }

  /* ----- hamburger ----- */

  .menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
  }

  .hamburger {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
  }

  .hamburger span {
    background: #000;
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: 0.3s;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 8px;
  }

  .hamburger span:nth-child(3) {
    top: 16px;
  }

  /* ----- hamburger 終わり ----- */

  #site-navigation.toggled .sp_nav {
    position: absolute;
    top: 100%;
    /* ヘッダーの下に表示 */
    left: 0;
    width: 100vw;
    background-color: #810D31;
    /* 背景色はお好みで */
    z-index: 999;
    display: block;
    padding: 4%;
  }

  /* 非表示時は隠す */
  #site-navigation .sp_nav {
    display: none;
  }

  #site-navigation.toggled .menu-toggle {
    position: relative;
    /* 必要に応じて */
    z-index: 1000;
    /* ナビより上 */
  }

  article {
    margin-bottom: 80px;
  }

  .first_view .top-heading {
    left: 2rem;
    font-size: 5rem;
    line-height: 60px;
  }

  .top-news {
    margin: 0 auto 80px;
  }

  .top-news .left-block {
    width: 100%;
    margin-bottom: 30px;
  }

  .top-news .right-block {
    width: 100%;
    margin-bottom: 30px;
  }

  .top-news .news-heading h3 {
    font-size: 5rem;
    transform: rotate(0);
    margin-left: 0;
  }

  .top-news .news-heading p {
    font-size: 2rem;
    writing-mode: horizontal-tb;
    position: relative;
    top: 0;
    left: 0;
  }

  .top-news .topics .topics-list .topics-item {
    width: 100%;
    flex: auto;
    aspect-ratio: 5 / 3;
  }

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

  .btn-box .filter-btn {
    font-size: 1.4rem;
    margin-bottom: 0;
    margin: 0 6px;
    padding: 6px 10px;
  }

  .top-news .article-list li a {
    display: block;
    padding: 10px 0 0 0;
  }

  h3 {
    font-size: 4rem;
  }

  .heading {
    margin-bottom: 30px;
  }

  .textbox h4 {
    font-size: 2.6rem;
  }

  footer {
    padding: 80px 0;
    margin-bottom: 50px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    margin-bottom: 50px;
  }

  footer .footer-inner {
    width: 80%;
    margin: 0 auto 10%;
  }

  .sp-btn {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    background-color: #810D31;
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
    padding: 8px;
    z-index: 200;
  }

  .sp-btn a {
    display: block;
    width: 44%;
    background-color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    line-height: 36px;
    font-size: 14px;
    font-weight: 500;
    color: #810D31;
  }

  small.copy {
    padding: 0;
  }


  /* ---------- page.php ---------- */

  .sub-firstview {
    height: 250px;
    padding-top: 50px;
  }

  .sub-article {
    padding-top: 50px;
  }

  .sub-page .top-heading.heading {
    top: -90px;
    padding: 20px 40px 0;
  }

  .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
    padding-bottom: 30px;
  }

  .wp-block-media-text>.wp-block-media-text__content {
    padding: 0 4%;
  }

  .wp-block-group.heading {
    margin-top: 60px;
  }

  .accordion_one .accordion_inner {
    padding: 30px;
    margin: 5% 2% 0;
  }

  .oc-firstview {
    padding-top: 50px;
  }

  .oc-firstview .oc-back {
    padding-top: 50px;
  }

  .schedule .kb-table-container {
    width: 100%;
  }

  .schedule .kb-table-container td {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .kb-table tr:nth-child(2n) td {
    background-color: #fff;
  }

  .event-btn a {
    padding: 30px 20px;
  }

  .event-btn .btn-left h4 {
    font-size: 1.6rem;
  }

  .event-btn .btn-right {
    width: 40%;
  }

  #metaslider_264 .slides li {
    width: 30% !important;
  }

  #metaslider_276 .slides li {
    width: 30% !important;
  }

  .academy .kb-row-layout-id22_5dc85a-7f>.kt-row-column-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .academy .kt-inside-inner-col h4 {
    height: auto;
  }

  .school-life-report .topics-item {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }

  .facility {
    padding: 50px 30px;
  }

  .facility h4.head {
    font-size: 2.6rem;
  }

  .facility img {
    margin-bottom: 30px;
  }
	
	    .page-index p {
        width: 40%;
    }



  /* ---------- archive.php ---------- */

  .archive-main h1 {
    font-size: 3rem;
    font-weight: 500;
  }

  .news-container .card {
    width: 96%;
    margin: 2%;
  }




}

/* -------------------- 404ページ -------------------- */

.kk404 {
  padding: 220px 5% 120px;
}

.kk404-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.kk404-code {
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #810D31;
  margin-bottom: 20px;
}

.kk404-title {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.6;
  color: #707070;
  margin: 0 0 30px;
}

.kk404-sp {
  display: none;
}

.kk404-text {
  margin-bottom: 50px;
}

.kk404-links {
  list-style: none;
  margin: 0 0 50px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.kk404-links a {
  display: block;
  min-width: 200px;
  padding: 14px 30px;
  background-color: #810D31;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.kk404-links a:hover {
  opacity: 0.8;
}

.kk404-sub a {
  color: #810D31;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .kk404 {
    padding: 140px 6% 80px;
  }

  .kk404-code {
    font-size: 6.4rem;
  }

  .kk404-title {
    font-size: 2.2rem;
  }

  .kk404-sp {
    display: inline;
  }

  .kk404-text br {
    display: none;
  }

  .kk404-links {
    gap: 14px;
  }

  .kk404-links li {
    width: 100%;
  }
}
