@charset "UTF-8";
/************************

滋賀短期大学web TOPページ用CSS　2026 by FLICKS

************************/
/* ======================
   MV
====================== */
.mv {
  position: relative;
  overflow: hidden;
}

/* 動画エリア */
.mv__media {
  position: relative;
  margin-left: 14vw;
  /* 高さ制限版。ウインドウの高さに合わせて、下のコンテンツをチョイ見せ（20px）*/
  height: min(clamp(520px, 72vw, 860px), 100vh - 20px);
}

.mv__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* キャッチコピー画像 */
.mv__title {
  position: absolute;
  right: 140px;
  bottom: max(60px, 3vw);
  z-index: 3;
  width: min(410px, 22%);
  margin: 0;
}

/* ======================
   c-mini-sliderバナースライダー（splide）
====================== */
.mv .c-mini-slider {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 13;
  width: min(420px, 39%);
}

.splide__slide {
  background: #fff;
}

.c-mini-slider {
  position: relative;
}

.c-mini-slider img {
  display: block;
  width: 100%;
  height: auto;
}

.c-mini-slider-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 24px;
  background: #fff;
}

.c-mini-slider-control__pager {
  display: flex;
  align-items: center;
}

.c-mini-slider .splide__pagination {
  position: static;
  display: flex;
  gap: 9px;
}

.c-mini-slider .splide__pagination__page {
  width: 9px;
  height: 9px;
  margin: 0;
  border: 1px solid #6a5acd;
  background: transparent;
  opacity: 1;
}

.c-mini-slider .splide__pagination__page.is-active {
  transform: none;
  background: #6a5acd;
}

.c-mini-slider-control__buttons {
  display: flex;
  align-items: center;
  gap: 28px;
}

.c-mini-slider-control__btn {
  position: relative;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.c-mini-slider-control__btn.is-prev::before,
.c-mini-slider-control__btn.is-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translate(-50%, -50%);
}

.c-mini-slider-control__btn.is-prev::before {
  border-right: 10px solid #6a5acd;
  margin-left: -2px;
}

.c-mini-slider-control__btn.is-next::before {
  border-left: 10px solid #6a5acd;
  margin-left: 2px;
}

.c-mini-slider-control__btn.is-toggle {
  border: 1px solid #6a5acd;
  border-radius: 50%;
}

.c-mini-slider-control__btn.is-toggle::before,
.c-mini-slider-control__btn.is-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2px;
  height: 10px;
  background: #6a5acd;
  transform: translateY(-50%);
}

.c-mini-slider-control__btn.is-toggle::before {
  left: 50%;
  transform: translate(-3px, -50%);
}

.c-mini-slider-control__btn.is-toggle::after {
  right: 50%;
  transform: translate(3px, -50%);
}

.c-mini-slider-control__btn.is-toggle.is-paused::before {
  left: 7px;
  width: 0;
  height: 0;
  background: transparent;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #6a5acd;
  transform: translateY(-50%);
}

.c-mini-slider-control__btn.is-toggle.is-paused::after {
  display: none;
}

/* --- SP --- */
@media (max-width: 767px) {
  .mv__media {
    height: min(140vw, 620px);
    margin-left: 0;
  }
  .mv__video {
    object-position: center center;
  }
  .mv__title {
    right: 7vw;
    bottom: 7vw;
    width: min(230px, 48vw);
  }
  .mv .c-mini-slider {
    position: relative;
    width: 100%;
    padding: 5.5vw;
    padding-bottom: 20px;
    background: #fff;
  }
  .c-mini-slider-control {
    padding: 7px 8px;
  }
}
@media (hover: hover) {
  .c-mini-slider a:hover img,
  .c-mini-slider button:hover {
    opacity: 0.7;
  }
}
/* ======================
   IMPORTANT
====================== */
.top-important {
  padding: 38px 0 0;
}

.top-important__inner {
  width: min(100% - 48px, 1285px);
  margin: 0 auto;
}

.top-important__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 32px;
  padding: 1em 1.5em;
  border-radius: 999px;
  background: #e1005c;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}

.top-important__link{
  display: block;
  margin: 10px 0;
}

.top-important__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.top-important__label::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: #fff;
  color: #da2f5d;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
}

.top-important__date {
  flex: 0 0 auto;
  font-size: 0.875rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.95;
}

.top-important__text {
  min-width: 0;
  font-size: 1.0625rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: hover) {
  .top-important__link:hover {
    opacity: 0.7;
  }
}
/* --- SP --- */
@media (max-width: 767px) {
  .top-important {
    padding-top: 14px;
  }
  .top-important__link {
    flex-wrap: wrap;
    gap: 4px 12px;
    border-radius: 16px;
    padding: 0;
  }
  .top-important__label {
    width: 100%;
    font-size: 1rem;
  }
  .top-important__date {
    font-size: 0.75rem;
    margin: 0.5em 0;
  }
  .top-important__text {
    font-size: 0.9375rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .top-important__inner{
    display: block;
    border-radius: 30px;
  }

  
}
/* ======================
   NEWS
====================== */
.top-news {
  padding: 96px 0 110px;
}

.top-news__inner {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 0 24px;
}

.top-news__title {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 37px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.top-news__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.top-news__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid #e1005c;
  border-radius: 999px;
  background: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition: 0.25s ease;
}

.top-news__filter.is-active {
  background: #e1005c;
  color: #fff;
}

.top-news__list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.top-news__item {
  border-bottom: 1px solid #ddd7dc;
}

.top-news__link {
  display: grid;
  grid-template-columns: 92px 117px 10em 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  color: inherit;
  text-decoration: none;
}

.top-news__date {
  font-size: 0.8125rem;
  line-height: 1;
  white-space: nowrap;
}

.top-news__thumb {
  overflow: hidden;
  background: #ece7ea;
  aspect-ratio: 96/62;
}

.top-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-news__tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  color: #665aba;
  background: #f5f5fa;
  border-radius: 999px;
  padding: 0.4em 0.8em;
}

.top-news__text {
  min-width: 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

.top-news__more {
  margin-top: 40px;
  text-align: center;
}

.top-news__more a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15.5em;
  padding: 1.2em 1.5em;
  padding-right: 2.2em;
  border: 1.5px solid #6a63c9;
  border-radius: 999px;
  background: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #6a63c9;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg) scale(0.75);
}

@media (hover: hover) {
  .top-news__filter:hover {
    background: #eb0a6f;
    color: #fff;
  }
  .top-news__link:hover .top-news__text {
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }
  .top-news__more a:hover {
    background: #6a63c9;
    color: #fff;
  }
}
/* --- SP --- */
@media (max-width: 767px) {
  .top-news {
    padding: 72px 0 84px;
  }
  .top-news__inner {
    padding: 0 5.5vw;
  }
  .top-news__title {
    font-size: 1.75rem;
  }
  .top-news__filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    margin-top: 30px;
  }
  .top-news__filter {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    font-size: 0.875rem;
  }
  .top-news__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    margin-top: 28px;
  }
  .top-news__item {
    border-bottom: 0;
  }
  .top-news__link {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
  }
  .top-news__thumb {
    order: 1;
    margin-bottom: 10px;
  }
  .top-news__date {
    order: 2;
    display: inline-block;
    margin-right: 10px;
    font-size: 0.6875rem;
  }
  .top-news__meta {
    order: 3;
  }
  .top-news__text {
    order: 4;
    width: 100%;
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
  }
  .top-news__tag {
    font-size: 0.75rem;
  }
  .top-news__more {
    margin-top: 36px;
  }
  .top-news__more a {
    width: 17em;
    max-width: 100%;
    min-width: 0;
    height: 4em;
    justify-content: center;
    font-size: 1rem;
  }
}
/* ======================
   PICKUP
====================== */
.top-pickup {
  padding: 88px 0 96px;
  overflow: hidden;
  background: #fdf5f7 url("../img/top/pickup-bg.png") no-repeat calc(50% - 290px) top;
}

.top-pickup__inner {
  width: 100%;
}

.top-pickup__title {
  margin: 0 0 1.8em;
  font-size: clamp(28px, 3.3vw, 47px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.top-pickup__slider .splide__track {
  overflow: visible;
}

.top-pickup__slide {
  height: auto;
  width: clamp(260px, 20vw, 340px);
}

.top-pickup__banner {
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.top-pickup__banner img {
  display: block;
  width: 100%;
  height: auto;
}

.top-pickup__nav {
  display: flex;
  justify-content: center;
  gap: 114px;
  margin-top: 34px;
}

.top-pickup__btn {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #665aba;
  transition: 0.25s ease;
}

.top-pickup__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform-origin: center;
}

.top-pickup__btn--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.top-pickup__btn--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

@media (hover: hover) {
  .top-pickup__banner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .top-pickup__banner img {
    transition: transform 0.35s ease;
  }
  .top-pickup__banner:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 2;
  }
  .top-pickup__btn:hover {
    opacity: 0.7;
  }
}
/* --- SP --- */
@media (max-width: 767px) {
  .top-pickup {
    padding: 72px 0 80px;
    background-position: top center;
    background-size: 90%;
  }
  .top-pickup__title {
    margin-bottom: 24px;
    font-size: 1.75rem;
  }
  .top-pickup__nav {
    gap: 0px;
    margin-top: 24px;
    justify-content: space-around;
  }
  .top-pickup__btn {
    width: 48px;
    height: 48px;
  }
}
/* ======================
   top-banner-main
====================== */
.top-banner-main {
  padding: 148px 6vw 96px;
  text-align: center;
}

.top-banner-main img {
  width: 1220px;
  max-width: 100%;
  margin: auto;
}

.top-banner-main a {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 

@media (hover: hover) {
    .top-banner-main a:hover {
        transform: scale(1.018);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 2;
    }
}--- SP --- */
@media (max-width: 767px) {
  .top-banner-main {
    padding: 6vw 6vw 2vw;
  }
}
/* ======================
   COURSE
====================== */
.top-course {
  padding: 100px 0 120px;
}

.top-course__inner {
  /*width: min(100% - 48px, 1400px);*/
  margin: 0 auto;
}

.top-course__title {
  margin-bottom: 1.7em;
  font-size: clamp(28px, 3.3vw, 47px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.top-course__body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 5%;
  align-items: center;
}

.top-course__media {
  position: relative;
}

.top-course__images {
  position: relative;
  aspect-ratio: 860/543;
  overflow: hidden;
}

.top-course__caption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  background: #fff;
  padding: 0.3em 0.5em;
}

.top-course__image {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.top-course__image.is-active {
  opacity: 1;
  visibility: visible;
}

.top-course__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-course__list {
  margin: 0;
  padding: 34px 0 0;
  list-style: none;
}

.top-course__item {
  border-top: 1px solid #d9d9d9;
}

.top-course__item:first-child {
  border-top: none;
}

.top-course__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px;
  text-decoration: none;
}

.top-course__texts {
  display: block;
  min-width: 0;
}

.top-course__faculty {
  display: block;
  margin-bottom: 8px;
  color: #6b63d4;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.top-course__name {
  display: block;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.35;
}

.top-course__name--single {
  padding: 12px 0;
}

.top-course__arrow {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--course-color);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.top-course__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-65%, -50%) rotate(45deg);
}

@media (hover: hover) {
  .top-course__link:hover {
    background: #f8f8f8;
  }
  .top-course__link:hover .top-course__arrow {
    transform: scale(1.15);
  }
}
/*右ナビの重なり対応@media (max-width: 1665px) and (min-width: 768px) {
    .top-course__body {
        width: calc(100% - 130px) !important;
    }
}
*/
@media (max-width: 1024px) {
  .top-course__body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .top-course__list {
    padding-top: 0;
  }
  .top-course__images {
    aspect-ratio: 860/443;
  }
}
/* --- SP --- */
@media (max-width: 767px) {
  .top-course {
    padding: 72px 0 84px;
  }
  .top-course__inner {
    width: calc(100% - 32px);
  }
  .top-course__head {
    margin-bottom: 26px;
  }
  .top-course__item:last-child {
    border-bottom: 1px solid #d9d9d9;
  }
  .top-course__title {
    font-size: 1.75rem;
  }
  .top-course__images {
    display: none;
  }
  .top-course__link {
    min-height: 76px;
    gap: 16px;
    padding: 20px 0;
  }
  .top-course__faculty {
    margin-bottom: 4px;
    font-size: 0.75rem;
  }
  .top-course__name {
    font-size: 1.1875rem;
  }
  .top-course__name--single {
    padding: 4px 0;
  }
  .top-course__arrow {
    width: 42px;
    height: 42px;
  }
  .top-course__arrow::before {
    width: 7px;
    height: 7px;
  }
}
@media (min-width: 1401px) {
  .top-course__body {
    /* 右端は今の .top-course__inner の右端に揃える */
    width: calc(50vw + 700px - 8px);
    /* 左：画像 / 右：リスト */
    grid-template-columns: minmax(0, min(55.89vw, 888px)) minmax(0, 1fr);
  }
  .top-course__media {
    width: 100%;
  }
}
/* ======================
   top-links
====================== */
.top-links {
  padding: 144px 0;
  background: #f5f5fa;
}

.top-links__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: min(100% - 48px, 1220px);
  margin: 0 auto;
}

.top-links__item {
  flex: 1 1 calc(50% - 10px);
}

.top-links__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: 0.25s;
}

.top-links__item:hover img {
  opacity: 0.7;
}

/* --- SP --- */
@media (max-width: 767px) {
  .top-links {
    padding: 10vw;
  }
  .top-links__inner {
    width: 100%;
    gap: 16px;
  }
  .top-links__item {
    flex-basis: 100%;
  }
}