@charset "utf-8";

:root {
  --text-color :#2D2D2D; /* 文字色 */
  --text-color2 :#5e5e5e;
  --ac-color :#9B001B; /* 見出し文字色 */
  font-size: 62.5%; /* 文字サイズルート指定*/
}
html {
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  min-width: 100vw;
  position: relative;
  overflow-x: hidden;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", serif;
  color :var(--text-color);
  letter-spacing: 1px;
  line-height: 1.6;
}
/* TB以上文字スタイル調整 */
@media screen and (min-width: 768px),print {
  body {
    font-size: 1.8rem;
    letter-spacing: 0.8px;
  }
}

/* 上に戻るボタン*/
.pagetop {
  position: fixed;
  right: 3%;
  bottom: 8%;
  z-index: 100;
  opacity: 1;
  transition: opacity 0.8s;
}
.pagetop__text {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 1.4rem;
  font-weight: bold;
}
.pagetop__text::before {
  content: "";
  display: inline-block;
  border-bottom: 2px solid var(--ac-color);
  width: 20px;
  transform: rotate(120deg);
  position: absolute;
  left: 15px;
  top: -31px;
}
.pagetop__text::after {
  content: "";
  display: inline-block;
  border-bottom: 2px solid var(--ac-color);
  width: 100px;
  transform: rotate(90deg);
  position: absolute;
  left: -20px;
  bottom: 48px;
}
.pagetop-visible {
  opacity: 1;
} 
@media screen and (max-width: 820px),print {
.pagetop__text::before {
  width: 20px;
  left: 15px;
  top: -29px;
}
.pagetop__text::after {
  width: 90px;
  left: -15px;
  bottom: 50px;
}
.pagetop {
  right: 9vw;
  bottom: 5vh;
}
}


/* 共通グローバルナビゲーション */
#header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 80;
  height: 70px;
   background-color: var(--ac-color);
}
.global-navi {
  display: flex;
  align-items: center;
  padding: 2%;
  position: relative;
}
.global-navi__logo {
  display: flex;
}
.logo {
  width: 10%;
}
.global-navi__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70%;
}
.university_logo {
  width: 12%;
}
.anniversary_text{
  font-size: 1.4rem;
  color: #fff;
  margin-left: -2em;
}
#hamburger__btn {
  display: block;
}
/* ハンバーガーメニューボタン */
#hamburger__btn {
  position: absolute;
  top: 10%;
  right: 8%;
  width: calc(100% / 8);
  height: 80%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  cursor: pointer;
}
#hamburger__btn > span {
  display: block;
  background-color: #fff;
  border-radius: 10px;
  width: 60%;
  height: 2px;
  transition: all 0.5s ease;
}
#hamburger__btn.on > span:nth-of-type(1) {
  transform: translateY(calc(50% + 12px)) rotate(45deg);
}
#hamburger__btn.on > span:nth-of-type(2) {
  opacity: 0;
  transform: scale(0);
}
#hamburger__btn.on > span:nth-of-type(3) {
  transform: translateY(calc(-50% - 11px)) rotate(-45deg);
}
#global-navi__menu {
  position: absolute;
  width: 60vw;
  height: 100%;
  top: 70px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction:column-reverse;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 8% 0 0 8%;
  transition: all 0.5s ease;
  right: -500px;
}
#global-navi__menu.on {
  right: 0;
}
.global-navi__list {
  width: 100%;
  display: flex;
  font-size: 1.9rem;
  justify-content: center;
  flex-direction: column;
}
.global-navi__item + .global-navi__item {
  margin-top: 30px;
}

  /* iPad mini & 小さいiPad用スタイル */
@media only screen and (min-width: 768px)  {
#hamburger__btn {
  display: none;
}

.global-navi__logo {
  width: fit-content;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 0 5%;
}
.university_logo > img {
  width: 80%;
}
.global-navi__title {
  width: fit-content;
  height: fit-content;
  margin: 0 8%;
  padding: 0;
  flex-direction: row;
  justify-content: left;
}

.anniversary_text {
  color: var(--ac-color);
  font-size: 1.7rem;
  font-weight: bold;
}
.anniversary_text >span {
  font-size: 2.6rem;
}
#header {
  height: 80px;
  position: fixed;
  background-color: #fff;
}
.global-navi {
  padding:0;
  position: fixed;
  top: 0;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
#global-navi__menu {
  font-size: 2.0rem;
  font-weight: bold;
  position: static;
  width: 150%;
  height: 80px;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  margin-right: 2%;
}
.global-navi__list {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 4%;
  margin: 0;
  width: 100%;
  font-size: 1.6rem;
}
.global-navi__item + .global-navi__item {
  margin: 0;
}
.global-navi__item > a > .global-navi__items{
  padding: 0;
  width: 100%;
  min-width: 120px;
  text-align: center;
}
.global-navi__items::before {
  content: "■";
  color: var(--ac-color);
  margin-right: 8px;
}
.global-navi__item {
  position: relative;
}
.dropdown__lists {
  width: 100%;
  position: absolute;
  top: 40px;
  left: 0;
  padding-left: 20px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
}
.global-navi__item:hover .dropdown__lists {
  visibility: visible;
  opacity: 1;
}
.dropdown__list {
  transition: all .3s;
  display: block;
  padding-left: 16px;
  background-color: #fff;
  position: relative;
  border-bottom: 1px solid #7e7e7e;
}
.dropdown__list:hover {
  background-color: #e9e9e9;
}
.dropdown__list a {
  width: inherit;
  padding: 8px 0;
}

}

/* グローバルナビゲーションメディアクエリ(PC) */

@media only screen and (min-width: 835px),print {
.global-navi__list {
  font-size: 1.9rem;
}
}

/* 縦書き見出し */
.index1 {
  background-color: var(--ac-color);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  color: #fff;
  line-height: 2.0;
}
/* 下線見出し1 */
.index2 {
  width: fit-content;
  position: relative;
}
.index2::after {
  content: "";
  display: block;
  width: 50%;
  position: absolute;
  right: 25%;
  bottom: -2vh;
  border-bottom: 2px solid var(--ac-color);
}
/* 下線見出し2 */
.index3 {
  color: var(--ac-color);
  font-weight: 600;
  border-bottom: 1px solid var(--ac-color);
}



/* 共通背景 */
.main-background {
  background-image: url("/digitalarchive/image/bg.jpg");
  background-attachment: fixed;
}
.container {
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}

/* 共通ボタン */
.btn {
  border: 2px solid var(--ac-color);
  color: var(--ac-color);
  width: fit-content;
  padding: 2.5vh 5vw 2.5vh 2.5vw;
  font-weight: bold;
  position: relative;
  cursor: pointer;
  transition: background-color 1s, color 1s;
}
.btn::after, .btn::before{
  content: "";
  display: block;
  border-bottom: 2px solid var(--ac-color);
  position: absolute;
  width: 18%;
  top: 55%;
  right: 10%;
  transition: border-bottom-color 1s ease-in-out 0.2s;
}
.btn::before {
  width: 6%;
  top: 48%;
  transform: rotate(30deg);
 transition: border-bottom-color 1s ease-in-out 0.2s;
}
.btn:hover {
  background-color: var(--ac-color);
  color: #fff;
}
.btn:hover::before,
.btn:hover::after {
   border-bottom: 2px solid #fff;
}

@media screen and (max-width: 834px),print {
  .btn {
    width: 50%;
  }
}
@media screen and (max-width: 767px),print {
  .btn {
    width: 100%;
  }
}

/* テキストスタイル（改行brタグ省略、右揃え） */
.text-style {
  white-space: pre-line;
  text-align: justify;
}


/* パンくずリスト */
.breadcrumbs {
  margin: 160px auto 16px 16px;
  font-size: 1.3rem;
}
.breadcrumbs__list {
  display: flex;
  padding-left: 0;
}
.breadcrumbs__item {
  display: flex;
}
.breadcrumbs__item:not(:first-child) {
  margin-left: 8px;
}
.breadcrumbs__item:not(:last-child)::after {
  content: ">";
  display: block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  color: var(--ac-color);
}
.breadcrumbs__item a {
  text-decoration: underline;
}
@media screen and (max-width: 767px),print {
.breadcrumbs {
  width: 90vw;
  margin: 100px auto 8px;
}
.breadcrumbs__list {
  flex-wrap: wrap;
}
}


/* フッター */
.footer {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 1% 0;
  text-align: center;
  justify-content: flex-end;
  position: relative;
  z-index: 10;
  background-color: #fff;
}
.footer__logo > a > img {
  width: min(100%, 200px);
  margin: 0 auto 16px;
}
.footer__copyright {
  color: #B5B5B5;
}
@media screen and (max-width: 767px),print {
.footer__copyright {
  font-size: 1.0rem;
}
}

