@charset "utf-8";
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// 富山大学人文学部 TOPページ専用
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* メインビジュアル/top-main-visual/top-mv */
.top-main-visual {
  position: relative;
}
.top-mv-image {
  background-image: url("../images/top/main.jpg");
  background-size: cover;
  background-position: left 40% top;
  background-repeat: no-repeat;
  margin: 0 auto;
  min-height: 280px;
  width: 100%;
  position: sticky;
  top: 48px;
  z-index: -1;
  overflow: hidden;
}
.top-mv-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 60px 0 0 100vw;
  border-color: transparent transparent transparent #fff;
}
.top-mv-text {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 65%;
}
.top-mv-faculty {
  position: absolute;
  width: 100%;
  top: 280px;
  left: 0;
  text-align: center;
}
.top-mv-faculty img {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 70%;
  z-index: 1;
}
.top-mv-faculty p {
  font-size: 7vw;
  font-weight: 900;
  mix-blend-mode: difference;
  color: #FF99B1;
  -webkit-backdrop-filter: blur(0);
  background-color: rgba(0, 0, 0, 1);
  white-space: nowrap;
}
@media (min-width: 576px) {
  .top-mv-image {
    background-position: center;
    min-height: 360px;
    top: 56px;
  }
  .top-mv-image::after {
  content: none;
  }
  .top-mv-text {
    top: 2rem;
    left: 2rem;
    width: 45%;
    max-width: 650px;
  }
  .top-mv-faculty {
    top: 368px;
    left: 15px;
    width: auto;
    text-align: left;
  }
  .top-mv-faculty p {
    font-size: 2.625rem;
  }
}
@media (min-width: 768px) {
  .top-mv-image {
    top: 100px;
    min-height: 480px;
  }
  .top-mv-faculty {
    top: 472px;
  }
  .top-mv-faculty img {
    max-width: 400px;
  }
  .top-mv-faculty p {
    font-size: 3.75rem;
  }
}

@media (min-width: 992px) {
  .top-mv-image {
    min-height: 600px;
    width: 92%;
  }
  .top-mv-text {
    top: 3rem;
  }
  .top-mv-faculty {
    top: 588px;
  }
  .top-mv-faculty img {
    top: -2.5rem;
    max-width: 500px;
  }
  .top-mv-faculty p {
    font-size: 4rem;
  }
}

@media (min-width: 1400px) {
  .top-mv-image {
    min-height: 740px;
  }
  .top-main-visual {
    margin-bottom: 120px;
  }
  .top-mv-faculty {
    top: 748px;
    left: 20px;
  }
  .top-mv-faculty img {
    top: -2.75rem;
    max-width: 640px;
  }

  .top-mv-faculty p {
    font-size: 6rem;
  }
}

/* メインビジュアルスライドバナー/top-mv-carousel */
.top-mv-carousel {
  position: absolute;
  top: 8rem;
  right: 0.5rem;
  padding: 0;
  max-width: 220px;
}
.top-mv-carousel .carousel-item {
    border: 4px solid #fff;
}
.top-mv-carousel .carousel-caption {
  color: #212529;
  text-align: left;
  bottom: -2rem;
  width: 100%;
  padding: 5px;
  left: 0;
  right: 0;
}
.top-mv-carousel .carousel-caption p {
  margin-bottom: 0;
  font-size: 13px;
  letter-spacing: 1px;
}
.top-mv-carousel .carousel-indicators [data-bs-target] {
  display: none;
}
.top-mv-carousel .carousel-control-next,
.top-mv-carousel .carousel-control-prev {
  width: 7.5%;
  opacity: 1;
}

@media (min-width: 576px) {
  .top-mv-carousel {
    top: 10rem;
    right: 3rem;
    padding: 1rem 1.5rem;
    max-width: 340px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    border: solid 1px rgba(255, 255, 255, 0.4);
    border-right-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(5px); /* ぼかしエフェクト */
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* 影 */
  }
}
@media (min-width: 768px) {
  .top-mv-carousel {
    top: 13rem;
    padding: 1.5rem 2.5rem 2.5rem;
    max-width: 400px;
  }
  .top-mv-carousel .carousel-item {
    border: 10px solid #fff;
    border-bottom: 2rem solid #fff;
  }
  .top-mv-carousel .carousel-control-next,
  .top-mv-carousel .carousel-control-prev {
    width: 10%;
  }
  .top-mv-carousel .carousel-indicators [data-bs-target] {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    margin-left: 8px;
    border: none;
  }
}
@media (min-width: 992px) {
  .top-mv-carousel {
    top: 18rem;
    right: 5rem;
    max-width: 420px;
  }
  .top-mv-carousel .carousel-caption p {
    font-size: 14px;
  }
}
@media (min-width: 1200px) {
  .top-mv-carousel {
    top: 20rem;
    right: 5rem;
    max-width: 450px;
  }
}
@media (min-width: 1400px) {
  .top-mv-carousel {
    top: 28rem;
    right: 7%;
    max-width: 500px;
  }
}

/* コンテンツ枠/top-contents */
.top-contents-wraper {
  width: 100%;
  background-color: #fff;
  margin-top: 3rem;
}
@media (min-width: 1400px) {
  .top-contents-wraper {
    margin-top: 6rem;
  }
}
  
/* トップリンクエリア/top-link/グラデーションボタン */
.top-link-area {
  padding: 1.5rem 0;
  width: 90%;
}
.top-link-button {
  padding: 15px;
  background: #00664e;
  background: linear-gradient(135deg, #198C33 0%, #015A51 26%, #073E57 51%, #015A51 76%, #198C33 100%);
  background-size: 200% auto;
  width: 100%;
  text-align: center;
  border-radius: 50px;
  outline: 2px solid white!important;
  outline-offset: -0.5rem;
  display: inline-block;
  color: #fff;
  font-size: 15px;
  transition: 0.5s;
}
.top-link-button:hover {
  background-position: right center;
  opacity: 1;
  color: #fff;
}
@media (max-width: 575.98px) {
  .top-link-area {
    max-width: 300px;
  }
}
@media (min-width: 576px) {
  .top-link-area {
    padding: 3rem 0 2rem;
  }
}

@media (min-width: 768px) {
  .top-link-area {
    padding: 5rem 0 4rem;
  }
  .top-link-button {
    padding: 20px;
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .top-link-button {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .top-link-area {
  }
  .top-link-button {
    font-size: 20px;
  }
}
@media (min-width: 1400px) {
  .top-link-area {
    padding: 7.5rem 0;
  }
  .top-link-button {
    padding: 28px 20px;
    font-size: 24px;
  }
}

/* メッセージエリア/top-message */
.top-message-wrap {
  background-image: url("../images/top/top-message.jpg");
  background-repeat: no-repeat;
  background-position: center;
  padding: 2rem 1.5rem;
  background-size: cover;
}
.top-message {
  background-color: rgba(255, 255, 255, 0.85);
}
.top-message p {
  line-height: 1.75;
}
.top-message-bottom {
  padding: 4rem 0 2rem 0;
  max-width: 240px;
  margin: 0 auto;
}
.bottom-arrow a:hover {
  opacity: 1;
}
.bottom-arrow {
  position: relative;
  padding: 0 0.5rem 0;
  margin: 0 1rem 3rem 1rem;
}
.bottom-arrow::before, 
.bottom-arrow::after {
  content: '';
  position: absolute;
  height: 1px;
  background: #212529;
  transition: all .3s;
}
.bottom-arrow::before {
  bottom: -10px;
  left: 0;
  width: 110%;
}
.bottom-arrow::after {
  bottom: -5px;
  right: -10%;
  width: 15px;
  transform: rotate(35deg);
}
.bottom-arrow:hover::before {
  left: 10%;
}
.bottom-arrow:hover::after {
  right: -20%;
}

@media (min-width: 576px) {
  .top-message-bottom {
    max-width: none;
  }
  .top-message p {
  }
}

@media (min-width: 768px) {
  .top-message-wrap {
    padding: 3rem 2rem;
  }
  .top-message-bottom {
    padding: 3rem 0 5rem 0;
  }
  .top-message p {
    line-height: 2;
  }
  .bottom-arrow {
    margin: 0 5rem;
  }
}

@media (min-width: 992px) {
  .top-message-wrap {
    background-position: left;
    padding: 2rem 0;
    background-size: contain;
  }
  .top-message {
    background-color: rgba(255, 255, 255, 1);
  }
  .top-message-bottom {
    padding: 5rem 0;
  }
}

/* ニュースエリア/top-news */
.top-news-area {
  padding: 60px 0 40px;
  margin-top: 40px;
  background-image: url("../images/top/news-back.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.top-news-area ul {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 0;
}
.top-news-area li {
  list-style: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(33, 37, 41, 0.75);
}
.top-news-area li:first-child {
  padding-top: 0;
}
.top-news-area li:last-child {
  border-bottom: none;
}
.top-news-area li a {
  transition: all .2s;
}
.top-news-area li a:hover {
  opacity: 1;
  color: #00664e;
  font-weight: 700;
}
.top-news-date {
  font-size: 15px;
  font-weight: 500;
  margin-right: 15px;
  margin-bottom: 0.5rem;
}
.top-news-category {
  border: solid 1px #00664e;
  background-color: rgba(255, 255, 255, 0.75);
  color: #00664e;
  padding: 0 0.5rem;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.top-news-area li a:hover .top-news-title {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .top-news-area {
    padding: 100px 0 60px;
  }
  .top-news-date {
    font-size: 14px;
    margin-right: 20px;
  }
  .top-news-category {
    font-size: 15px;
    padding: 0 1rem;
  }
}
@media (min-width: 1200px) {
  .top-news-area {
    padding: 100px 0 80px;
  }
}