@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%;
}

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

body p,
body a,
body h3 {
  font-size: 1.6rem;
}

body a {
  text-decoration: none;
}

.wrapper {
  width: 100%;
  overflow: hidden;
}

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

header {
  position: fixed;
  width: 100%;
  background-color: #fff;
  height: 50px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  z-index: 100;
}

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 {
  display: flex;
  align-items: center;
  height: 50px;
  padding-top: 5px;
  padding-bottom: 5px;
}

header .site-title a img {
  height: 100%;
}

header .site-description {
  display: none;
}

header nav a {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 50px;
  padding: 0 15px;
  color: #006CA9;
}

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

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

.firstview {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 50px;
  margin-bottom: 100px;
  display: flex;
  justify-content: flex-start;
}

.firstview #fv-img {
  width: calc(100% - 80px);
  height: 100%;
  position: relative;
  background-image: url(../files/image/firstview.png);
  background-size: cover;
  background-position: center;
}

.firstview #fv-img h2 {
  font-size: 4rem;
  line-height: 8rem;
  font-weight: 400;
	color: #fff;
  writing-mode: vertical-rl;
  font-family: 'YakuHanJP', 'Yu Mincho', 'Noto Sans JP', "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  letter-spacing: 1rem;
  position: absolute;
  top: 20%;
  left: 25%;
}

.firstview #fv-bar {
  width: 80px;
  height: 100%;
  font-family: 'YakuHanJP', 'Yu Mincho', 'Noto Sans JP', "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  font-weight: 400;
  letter-spacing: 0.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  writing-mode: vertical-lr;
}

.banner {
  margin-bottom: 80px;
}

.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;
  border: none;
  background: #e6e6e600;
  color: #707070;
  line-height: 1;
  padding: 0;
  font-size: 1.8rem;
  margin-bottom: 30px;
  cursor: pointer;
}

.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 span {
    display: inline-block;
    width: fit-content;
    min-width: 11rem;
}

.top-news .article-list li .label {
  display: inline-block;
  text-align: center;
  width: 100px;
  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 {
  color: #707070;
  font-weight: 500;
}

.more-btn {
  width: fit-content;
}

.more-btn a {
  color: #707070;
  border: solid 1px #707070;
  font-size: 1.6rem;
  font-weight: 500;
  display: block;
  width: fit-content;
  padding: 6px 20px;
  border-radius: 10px;
}

.article-box .more-btn {
  margin: 0 10px 0 auto;
}

.points {
  width: 90%;
  max-width: 850px;
  margin: 0 auto;
}

.points-item p {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.points-item h4 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.points-item a {
  font-size: 1.4rem;
}

.viewall a {
  color: #404040;
  border-bottom: solid #404040 1px;
  padding-left: 6px;
  padding-bottom: 6px;
  padding-right: 50px;
  position: relative;
}

.viewall a::after {
  content: "→";
  position: absolute;
  right: 10px;
}

.course-text-left {
  padding: 0 50px 50px;
  position: relative;
}

.course-text-left::after {
  content: '';
  position: absolute;
  z-index: -1;
  background-color: #F5F5F5;
  width: 1200px;
  height: 94%;
  top: 100px;
  right: -50%;
}

.course-text-right {
  padding: 0 50px 50px;
  position: relative;
}

.course-text-right::after {
  content: '';
  position: absolute;
  z-index: -1;
  background-color: #F5F5F5;
  width: 1200px;
  height: 94%;
  top: 100px;
  left: -50%;
}

.course-title {
  margin-bottom: 50px;
}

.course-title p {
  margin-bottom: 16px;
}

.course-title img {
  width: 80%;
}

.course-link {
  border-bottom: solid #404040 1px;
  padding-left: 6px;
  padding-bottom: 6px;
  padding-right: 50px;
  position: relative;
  margin-bottom: 20px;
}

.course-link p {
  font-size: 1.4rem;
}

.course-link a {
  color: #404040;
  display: block;
}

.course-link::after {
  content: "→";
  position: absolute;
  top: 0;
  right: 10px;
}

.slide {
  margin-bottom: 60px !important;
}

.slide-item {
  width: 260px;
  padding: 0 10px;
}

.item-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.item-image.progress::after {
	content: "PROGRESS";
	font-size: 1.2rem;
	color: #fff;
	background-color: #DE82A7;
	padding: 4px 14px 4px 120px;
	position: absolute;
	right: -8px;
	bottom: -4px;
	transform: rotate(-14deg);
}

.item-image.universal::after {
	content: "UNIVERSAL";
	font-size: 1.2rem;
	color: #fff;
	background-color: #294a8f;
	padding: 4px 14px 4px 120px;
	position: absolute;
	right: -8px;
	bottom: -4px;
	transform: rotate(-14deg);
}

.item-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.item-text {
  padding: 10px 4px;
}

.affiliation {
  margin: 10px 0;
  font-size: 1.2rem;
}

.center-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.note {
  padding: 100px 0;
  background-color: #fff;
  background-image: url(../files/image/note.svg);
  background-repeat: repeat;
  background-size: 80px;
}

.know {
  padding: 50px 50px 30px;
  justify-content: left;
  gap: 50px;
}

.know-item h3 {
  position: relative;
  color: #2EA0DE;
  font-size: 2.2rem;
  padding: 20px 40px 20px 10px;
}

.know .know-item h3::after {
  content: ">";
  color: #fff;
  font-size: 60%;
  text-align: center;
  line-height: 3rem;
  position: absolute;
  background-color: #87C4F9;
  width: 3rem;
  height: 3rem;
  top: 0;
  right: 10px;
  bottom: 0;
  margin: auto;
}

.know-item p {
  padding: 0 10px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 2.6rem;
  font-weight: 600;
}

.know .know-item p:last-child {
  margin-bottom: 20px;
}

.know .know-long .left-item {
  display: flex;
  align-items: center;
}

.know .know-long .right-item {
  display: flex;
  align-items: center;
}

.know .know-long .right-item p {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 2.6rem;
}

.know-long h3 {
  display: block;
  width: 100%;
  position: relative;
  color: #2EA0DE;
  font-size: 2.2rem;
  padding: 20px 60px 20px 10px;
}

.know .know-long h3::after {
  content: ">";
  color: #fff;
  font-size: 60%;
  text-align: center;
  line-height: 3rem;
  position: absolute;
  background-color: #87C4F9;
  width: 3rem;
  height: 3rem;
  top: 0;
  right: 30px;
  bottom: 0;
  margin: auto;
}

.years-pic {
  position: relative;
  margin-bottom: 10px;
}

.years-pic h3 {
  position: absolute;
  background-color: #5790D4;
  color: #ffffff;
  left: 0;
  bottom: 0;
  padding: 10px 20px;
  font-size: 2rem;
}

.years-text {
  padding: 10px 20px 20px 20px;
}

footer {
  background-color: #fff;
  padding: 80px 0 40px;
}

footer .footer-inner {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

footer .footer-left {
  width: 30%;
  padding: 0 20px;
}

footer .footer-left address {
  font-size: 1.4rem;
}

.nowrap {
  white-space: nowrap;
}

footer small {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
}

#footer-menu {
  width: fit-content;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 40px auto;
}

#footer-menu a {
  font-size: 1.8rem;
  font-weight: 600;
  color: #006CA9;
  line-height: 1.8;
}

#footer-menu a:hover {
  opacity: 0.8;
}

#footer-menu ul {
  margin-left: 0;
}

#footer-menu li {
  width: 17%;
}

#footer-menu li li {
  width: 100%;
}

#footer-menu li li a {
  font-size: 1.4rem;
  font-weight: 500;
  color: #505050;
}

footer .footer-bottom {
  background-color: #3D61AD;
  padding: 50px;
  border-radius: 30px;
  display: flex;
  justify-content: start;
  gap: 5%;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

footer .footer-bottom .infection {
  width: 50%;
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
}

footer .footer-bottom .infection h3 {
  font-size: 2rem;
}

footer .footer-bottom .infection p {
  margin-bottom: 10px;
}


footer .footer-bottom .pdf {
  padding-top: 30px;
}

footer .footer-bottom .pdf a {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

footer .footer-bottom .other {
  padding-top: 30px;
}

footer .footer-bottom .other a {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

.sp-btn {
  display: none;
}

footer .sns {
	display: flex;
	justify-content: flex-start;
	padding: 0 20px;
	margin-bottom: 10px;
}

footer .sns p {
	width: fit-content;
	line-height:30px;
	padding: 8px 16px;
	background-color: #005fb2;
	border-radius: 16px;
	color: #fff;
}

footer .sns a {
	display: flex;
	align-items: center;
	width: fit-content;
	margin-left: 10px;
}

footer .sns a img {
	width: 40px;
}


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

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

.subpage-kv {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.subpage-kv .left-item {
  padding: 50px 20px;
}

.subpage-kv .left-item h1 {
  font-size: 5.2rem;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  margin-bottom: 20px;
}

.subpage-kv .left-item p {
  line-height: 3rem;
  margin-bottom: 30px;
}

.subpage-kv .left-item .goal p {
  font-size: 2rem;
  font-weight: 300;
  width: fit-content;
  margin-bottom: 6px;
  padding: 6px 12px;
  background-color: #000;
  color: #fff;
}

.subpage-kv .left-item .more-btn {
  display: block;
  width: fit-content;
}

.sub-index a {
  display: block;
  color: #404040;
  border-bottom: solid #404040 1px;
  padding-left: 6px;
  padding-bottom: 6px;
  padding-right: 50px;
  position: relative;
  margin-bottom: 20px;
}

.sub-index a::after {
  content: "→";
  position: absolute;
  right: 10px;
}

.subpage-title {
  font-size: 4rem;
  line-height: 16rem;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  margin-bottom: 40px;
  background-image: url(../files/image/title-deco.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.points .wp-block-media-text h3 {
  font-size: 2.4rem;
	margin: 10px 0;
}

.points .wp-block-media-text p {
  font-size: 1.6rem;
}

.attempt .attempt-box {
  background-color: #F5F5F5;
  border-radius: 20px;
  overflow: hidden;
}

.attempt .attempt-box .attempt-text {
  padding: 30px 50px;
}

.attempt .attempt-box .attempt-text .attempt-item {
  padding: 20px;
  border-bottom: dotted #707070 2px;
}

.attempt .attempt-box .attempt-text .attempt-item:last-child {
  border-bottom: none;
}

.attempt .attempt-box .attempt-text h3 {
  font-size: 2.8rem;
}

.attempt .attempt-box .attempt-text .attempt-item h4 {
  font-size: 2.2rem;
  width: fit-content;
  border-bottom: solid #404040 1px;
  margin-bottom: 14px;
}


.attempt .attempt-box .attempt-image {
  overflow: hidden;
  position: relative;
}

.attempt .attempt-box .attempt-image figure {
  width: 100%;
  height: 100%;
  position: absolute;
}

.attempt .attempt-box .attempt-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.achievement {
  width: 90%;
  margin: 0 auto;
  max-width: 800px;
}

.achievement .is-layout-flex {
  justify-content: space-between;
}

.achievement .wp-block-table td, .wp-block-table th {
  border: none;
  padding: 0 .5em;
}

.achievement .achievement-value p {
  font-size: 3.2rem;
  line-height: 3.2rem;
}

.achievement .achievement-value .is-layout-flex {
  gap: 0;
}

.achievement .wp-block-table {
  width: fit-content;
  font-size: 2rem;
}

.achievement .wp-block-table td {
  width: fit-content;
}

.achievement .wp-block-table td:last-child {
  padding-left: 40px;
}

.academic-status h3 {
  font-size: 2.4rem;
}

.academic-status h4 {
  font-size: 2rem;
}

.status-item {
  padding: 20px;
}

.uniform {
  background-color: #C1DCFF;
  padding: 50px 0;
}

.slide-1 .slide-item {
  position: relative;
}

.slide-1 .slide-item .item-image {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.slide-1 .slide-item .item-text {
  position: absolute;
  bottom: 20px;
  left: 10px;
  background-color: #fff;
  padding: 10px 10px 10px 20px;
}

.slide-1 .slick-dots {
  position: relative;
  bottom: 0;
  padding-top: 60px;
}

.os-schedule {
  background-color: #5790D4;
}

.eb-schedule {
  background-color: #9bbadf;
}

.os-schedule .default,
.eb-schedule .default {
  max-width: 1200px;
  padding: 80px 0;
}

.schedule-title h3 {
  background-color: #fff;
  padding: 6px 12px;
  font-size: 4rem;
  line-height: 4.2rem;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  margin-bottom: 8px;
  width: fit-content;
}

.schedule-text {
  color: #fff;
  line-height: 3rem;
}

.schedule-date {
  background-color: #fff;
  padding: 16px 40px;
  gap: 0;
  margin-bottom: 20px;
  font-weight: 600;
}

.date-y,
.date-md,
.date-w,
.date-t {
  display: flex;
  align-items: center;
}

.date-md {
  justify-content: end;
}

.date-w {
  justify-content: center;
}

.date-y p {
  font-size: 2rem;
}

.date-md p {
  font-size: 4rem;
}

.date-w p {
  width: 24px;
  height: 24px;
  line-height: 2.4rem;
  text-align: center;
  font-size: 1.4rem;
  color: #fff;
  background-color: #7BABFF;
  border-radius: 24px;
}

.date-t p {
  padding-left: 20px;
  font-size: 1.6rem;
}

.application-block {
  background-image: url(../files/image/background.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
}

.application-cover {
  width: 500px;
  margin: 0 0 0 auto;
}

.application {
  background-color: #fff;
  border: solid 2px #036441;
  position: relative;
  padding: 60px 25px 20px 25px;
  max-width: 500px;
}

.application h4 {
  font-size: 2rem;
  color: #fff;
  background-color: #036441;
  padding: 4px 32px;
  border-radius: 0 0 10px 0;
  position: absolute;
  width: fit-content;
  top: 0;
  left: 0;
}

.application .application-btn {
  width: fit-content;
  margin: 0 auto;
  margin-top: 20px;
}

.application .application-btn a {
  font-size: 1.6rem;
  display: block;
  width: fit-content;
  margin-top: 30px;
  padding: 6px 20px;
  background-color: #036441;
  color: #fff;
  border-radius: 10px;
}

.flow-title h3 {
  background-color: #FFD5D5;
  padding: 6px 12px;
  font-size: 4rem;
  line-height: 4.2rem;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  margin-bottom: 8px;
  width: fit-content;
}

.flow .program {
  background-color: #F5F5F5;
  border-radius: 20px;
  overflow: hidden;
}

.flow .program .program-text {
  padding: 50px;
}

.flow .program .program-text p {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.flow .program .program-text p:last-child {
  margin-bottom: 0;
}

.flow .program .program-text .program-title {
  height: 80px;
  padding-left: 100px;
  position: relative;
  display: flex;
  align-items: center;
}

.flow .program .program-text .program-title::before {
  content: "";
  width: 80px;
  height: 80px;
  background-color: #279EDC;
  border-radius: 40px;
  position: absolute;
  top: 0;
  left: 0;
}

.flow .program .program-text .program-title h3 {
  font-size: 2.2rem;
}

.flow .program .program-text .program-title p {
  font-size: 1.4rem;
  line-height: 1.2rem;
  font-weight: 500;
  margin-bottom: 0;
}

.flow .program .program-image {
  overflow: hidden;
  position: relative;
}

.flow .program .program-image figure {
  width: 100%;
  height: 100%;
  position: absolute;
}

.flow .program .program-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.club-trial .sports-trial,
.club-trial .culture-trial {
  padding: 20px 0 50px 0;
  overflow: hidden;
  position: relative;
}

.club-trial .sports-trial::after,
.club-trial .culture-trial::after {
  content: "scroll →";
  position: absolute;
  right: 50px;
  bottom: 20px;
  font-size: 1.6rem;
  font-weight: 600;
}

.club-trial .sports-trial {
  background: linear-gradient(180deg, #FF8B8B 0%, #FF8B8B 50%, #fff 50%, #fff 100%);
}

.club-trial .sports-trial h3 {
  font-size: 2.2rem;
  color: #fff;
  padding-left: 90px;
  position: relative;
  margin-bottom: 10px;
}

.club-trial .sports-trial h3::before {
  content: "─";
  font-size: 2.2rem;
  color: #fff;
  position: absolute;
  top: 0;
  left: 50px;
}

.club-trial .culture-trial {
  background: linear-gradient(180deg, #FFE48B 0%, #FFE48B 50%, #fff 50%, #fff 100%);
}

.club-trial .culture-trial h3 {
  font-size: 2.2rem;
  color: #404040;
  padding-left: 90px;
  position: relative;
  margin-bottom: 10px;
}

.club-trial .culture-trial h3::before {
  content: "─";
  font-size: 2.2rem;
  color: #404040;
  position: absolute;
  top: 0;
  left: 50px;
}

.club-trial .club-trial-inner {
  width: 100%;
  height: 500px;
  overflow-x: scroll;
}

.club-trial .club-trial-inner::-webkit-scrollbar {
  height: 10px;
}

.club-trial .club-trial-inner::-webkit-scrollbar-track {
  background-color: #ffffff;
}

.club-trial .club-trial-inner::-webkit-scrollbar-thumb {
  background: #a1b8ff;
  border-radius: 20px;
}

.club-trial-inner div {
  width: fit-content;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.club-trial .club-trial-item {
  display: block;
  width: 300px;
  height: 450px;
  margin-left: 50px;
  background-color: #fff !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.459)
}

.club-trial .club-trial-item:last-child {
  margin-right: 50px;
}

.club-trial .club-trial-item div {
  display: block;
}

.club-trial .club-trial-item .club-trial-item-text {
  padding: 20px;
}

.club-trial .club-trial-item .club-trial-item-text h4 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.club-trial .club-trial-item .club-trial-item-text p {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.slide-gallery {
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 5px;
  padding: 0 !important;
}

.slide-gallery .wp-block-gallery {
  flex-wrap: nowrap;
  animation: loop-slide 30s infinite linear 1s both;
}

.slide-gallery .wp-block-image {
  width: 182px !important;
}

@keyframes loop-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.access-inner h3 {
	font-size: 2.2rem;
	margin-bottom: 20px;
}

.access-inner p,
.access-inner a {
	font-size: 2rem;
}

.text-block {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.text-item h4 {
	font-size: 2.2rem;
	margin-bottom: 10px;
}

.text-item p {
	margin-bottom: 10px;
}

.koze {
	max-width: 700px;
	margin: 0 auto;
}

.club-item {
  padding: 20px 0;
  margin-bottom: 20px!important;
  border-radius: 20px;
}

.club-item h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  padding: 0 20px;
}

.club-item figure {
  margin-bottom: 10px;
  padding: 0 20px;
}

.club-item h4 {
  font-size: 1.6rem;
  margin-top: 10px;
  padding: 0 20px;
}

.club-item p {
  font-size: 1.4rem;
  padding: 0 20px;
}

.club-item .wp-block-button a {
  background-color: #004d75;
  font-size: 1.2rem;
  margin: 16px 0 ;
}

.sports-club .wp-block-columns:nth-child(odd) .club-item:nth-child(odd),
.sports-club .wp-block-columns:nth-child(even) .club-item:nth-child(even) {
  background-color: #4998ff;
  color: #f4f4f4;
}

.sports-club .wp-block-columns:nth-child(odd) .club-item:nth-child(even),
.sports-club .wp-block-columns:nth-child(even) .club-item:nth-child(odd) {
  background-color: #f4f4f4;
  color: #4998ff;
}

.cultural-club .wp-block-columns:nth-child(odd) .club-item:nth-child(odd),
.cultural-club .wp-block-columns:nth-child(even) .club-item:nth-child(even) {
  background-color: #e3c004;
  color: #f4f4f4;
}

.cultural-club .wp-block-columns:nth-child(odd) .club-item:nth-child(even),
.cultural-club .wp-block-columns:nth-child(even) .club-item:nth-child(odd) {
  background-color: #f4f4f4;
  color: #cbab00;
}


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

.news {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 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;
}

.news .newscontent .wp-block-gallery img {
  padding: 0;
}

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

.archive-cover {
  overflow: hidden;
  padding-top: 60px;
}

.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: 100px 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;
}








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

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

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


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

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

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

  .menu-toggle {
    display: block;
    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;
  }

  .course-text-left {
    padding: 0 20px 20px;
    position: relative;
  }

  .course-text-right {
    padding: 0 20px 20px;
    position: relative;
  }

  footer .footer-left {
    width: 50%;
    padding: 0 20px;
  }

  #footer-menu a {
    font-size: 1.4rem;
  }

  #footer-menu li li a {
    font-size: 1.2rem;
  }

  /* ---------- tablet 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;
  }


}

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

  .subpage-kv {
    position: relative;
  }

  .subpage-kv .left-item {
    background-color: #ffffffad;
    width: 100%;
    height: 100%;
  }

  .subpage-kv .left-item .more-btn a {
    background-color: #fff;
  }

}


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

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

  body p, body a, body h3 {
    font-size: 1.4rem;
  }

  .tab-only {
    display: none !important;
  }


  header .site-title a img {
    width: 250px;
    height: auto;
  }

  .firstview #fv-img {
    width: calc(100% - 50px);
    background-image: url(../files/image/firstview.png);
    background-size: cover;
    background-position: 55%;
  }

  .firstview #fv-img h2 {
    font-size: 3rem;
    line-height: 5rem;
    position: absolute;
    top: 20%;
    left: 16%;
  }

  .firstview #fv-bar {
    width: 50px;
  }

  .banner {
    text-align: center;
  }

  .top-news .right-block.topics {
    margin-bottom: 30px;
  }

  .points {
    max-width: 400px;
  }

  .points-item {
    gap: 50px;
  }

  .note {
    padding: 80px 0 30px;
  }

  .note #note-title {
    width: 90%;
    text-align: center;
  }

  .note #note-title img {
    width: 90% !important;
  }

  .know {
    padding: 30px 30px 30px;
    justify-content: left;
    gap: 30px;
    margin-bottom: 50px;
  }

  .know-item h3 {
    font-size: 1.8rem;
  }

  .know-long h3 {
    font-size: 1.8rem;
  }

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

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

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

  .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;
  }

  .top-news .article-list {
    margin: 0 auto 15px;
  }

  .top-news .article-list li {
    padding: 10px 20px;
  }

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

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

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

  footer {
    padding: 40px 0 70px;
  }

  footer .footer-left {
    width: 100%;
    padding: 0;
  }

  #footer-menu {
    width: 100%;
    max-height: 200px;
    flex-direction: column;
    justify-content: flex-start;
  }

  #footer-menu li {
    width: 45%;
  }

  #footer-menu a {
    font-size: 1.4rem;
  }

  #footer-menu li li a {
    font-size: 1.2rem;
  }

  .sp-btn {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    background-color: #5790D4;
    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: #5790D4;
  }

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

  .subpage-kv .left-item {
    padding: 40px 20px;
  }

  .subpage-kv .left-item h1 {
    font-size: 3.6rem;
    margin-bottom: 20px;
  }

  .subpage-kv .left-item p {
    line-height: 2.6rem;
    margin-bottom: 30px;
  }

  .subpage-kv .left-item .goal p {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .subpage-kv .left-item .more-btn {
    display: block;
    width: fit-content;
  }

  .sub-index {
    gap: 0;
  }

  .sub-index a {
    margin-bottom: 30px;
  }

  .subpage-title {
    font-size: 2.4rem;
    line-height: 10rem;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    margin-bottom: 40px;
  }

  .points .wp-block-media-text__content {
    margin: 20px auto;
  }

  .points .wp-block-media-text__content img {
    width: 50px !important;
  }

  .points .wp-block-media-text__content .wp-block-spacer {
    height: 10px !important;
  }

  .points .wp-block-media-text__content p {
    font-size: 1.6rem;
  }

  .attempt .attempt-box .attempt-text {
    padding: 30px 20px 0;
  }

  .attempt .attempt-box .attempt-text .attempt-item h4 {
    font-size: 1.8rem;
  }

  .attempt .attempt-box .attempt-image {
    min-height: 350px;
  }

  .achievement figure {
    text-align: center;
  }

  .achievement img {
    width: 70%;
  }

  .achievement-value {
    max-width: 300px;
    margin: 0 auto !important;
  }

  .achievement-value p {
    width: fit-content;
  }

  .academic-status .wp-block-spacer {
    height: 20px !important;
  }

  .schedule-title h3 {
    font-size: 3.6rem;
    margin-bottom: 8px;
  }

  .wp-block-columns.is-not-stacked-on-mobile.schedule-date {
    flex-wrap: wrap !important;
    justify-content: center;
  }

  .date-t {
    flex-basis: 100% !important;
  }

  .date-t p {
    padding-left: 0;
    margin: 0 auto;
  }

  .application-block {
    background-image: none;
    background-size: 300px;
    background-position: top left;
  }

  .application-cover {
    width: 100%;
    margin: 0 auto;
  }

  .flow-title h3 {
    font-size: 3.6rem;
    margin-bottom: 8px;
  }

  .flow .program .program-text {
    padding: 30px 20px;
  }

  .flow .program .program-text .wp-block-spacer {
    height: 30px !important;
  }

  .flow .program .program-text p {
    margin-bottom: 30px;
    font-size: 1.4rem;
  }

  .club-trial .club-trial-item {
    width: 300px;
    height: 450px;
    margin-left: 30px;
  }


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

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

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

}