@charset "utf-8";

/* グローバルナビロゴ消し（PC） */
@media screen and (min-width: 768px),print {
.university_logo, .global-navi__title {
  opacity: 0;
}
.--top-logo {
  pointer-events: none ;
}
}
/* ヘッダーヒーロー */
.main-area {
  width: 100%;
  display: block;
  margin-bottom: 160px;
}
.slide-items {
  width: 100%;
  height: 100%;
}
.slider-images {
  object-fit: cover;
  height: 95vh;
  width: 100%;
}
.slick-dots > li > button:before {
  font-size: 16px;
  top: 6px;
}
@media screen and (max-width: 767px),print {
.main-area {
  margin-bottom: 80px;
}
.slider-images {
  height: 80vh;
}
}

/* メインタイトル */
.main-logo {
  display: flex;
  align-items: center;
  font-size: 2.8rem;
  font-weight: bold;
  position: absolute;
  top: 4vh;
  left: 5vw;
  padding: 36px;
  z-index: 100;
}
.main-logo__image {
  width: 100px;
  margin-bottom: 16px;
}
@media screen and (max-width: 767px),print {
.main-logo {
  display: none;
}
}


/* メインコピー */
.main-copy {
  width: 80vw;
  margin: 0 auto 160px;
  text-align: center;
}
.main-copy__ttl {
  font-size: 5.6rem;
  font-weight: bold;
  margin-bottom: 16px;
}
.main-copy__ttl > span {
  color: var(--ac-color);
}
.main-copy__txt {
  font-size: 1.8rem;
}
@media screen and (max-width: 768px),print {
.main-copy {
  width: 90vw;
  margin: 0 auto 80px;
  text-align: center;
}
.main-copy__ttl {
  font-size: 4.0rem;
  font-weight: bold;
  margin-bottom: 16px;
}
.main-copy__txt {
  font-size: 1.6rem;
}
}

/* ご挨拶・おわりに */
.message {
  width: 80vw;
  max-width: 800px;
  margin: 0 auto 160px;
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: 5%;
  align-items: start;
}
.message.--closing {
  margin-top: 160px;
}
.message__image {
  position: relative;
  margin: 0 auto;
}
.message__photo {
  width: fit-content;
  max-height: 320px;
  object-fit: contain;
  margin-left: 10%;
}
.message__caption {
  font-size: 1.5rem;
  padding-left: 1em;
}
.message__image-box {
  text-align: left;
}
.message__ttl {
  font-size: 2.2rem;
  position: absolute;
  top: -16px;
  left: -32px;
  padding: 10px;
  height: 200px;
  display: flex;
  justify-content: center;
}
.message__txt {
  display: flex;
  flex-direction: column;
  gap: 8%;
  align-items: flex-end;
}
.btn.--message {
  width: min(60vw, 200px);
  height: 50px;
}
@media screen and (max-width: 767px),print {
.message {
  width: 90vw;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  gap: 8%;
}
.message__image {
  position: relative;
  margin: 0;
}
.message__caption {
  font-size: 1.4rem;
  padding-left: 30px;
  margin-bottom: 30px;
}
.message__photo {
  width: fit-content;
  max-height: 200px;
  object-fit: contain;
  /* object-position: top 30% left 10px; */
  margin: 0 0 0 30px;
}
.message__ttl {
  font-size: 2.0rem;
  top: -5%;
  left: -1vw;
  padding: 3%;
  height: fit-content;
  min-height: 26vh;
}
.message__txt {
  gap: 16px;
  align-items: normal;
}
.btn.--message {
  width: 80vw;
  margin: 0 auto;
}
}

/* オンライン展示見出し */
.top-index {
  width: fit-content;
  max-width: 530px;
  margin: 0 auto 80px;
  text-align: center;
  padding-top: 80px;
}
.top-index__ttl {
  font-size: 3.6rem;
  font-weight: bold;
}
.top-index__ttl > span {
  color: var(--ac-color);
}
@media screen and (max-width: 767px),print {
  .top-index__ttl {
    font-size: 2.3rem;
  }
}

/* 年表ライン */
.transparent-zone {
  z-index: 10
}
#timeline {
position: fixed;
top: 0;
left: calc(50% - min(45vw, 600px) + 40px);
transform: translateX(-50%);
height: 100vh;
pointer-events: none;
z-index: 0;
}
#timeline-svg {
height: 100vh;
overflow: visible;
}
#line-end-marker {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--ac-color);
opacity: 0;
} 
@media screen and (max-width: 1024px),print {
  #timeline {
    left: calc(50% - min(45vw, 600px) + 32px);
    }
}
@media screen and (max-width: 768px) {
  #timeline {
    left: calc(50% - min(45vw, 600px) + 8px);
    }
    #line-end-marker {
      width: 14px;
      height: 14px;
      } 
}


.main-background {
  padding-bottom: 160px;
}

/* タイムライン */
#history {
  padding-bottom: 50px;
}
#history time {
  color: var(--ac-color);
}

.timeline__item.--chapter {
  padding: 40px 0 0;
}
.timeline__item.--chapter img {
  width: 100%;
}
.timeline__item.--chapter .timeline__time {
  font-size: 3.6rem;
  font-weight: bolder;
}
.timeline__item.--chapter .timeline__time span {
  font-size: 2.4rem;
}
.timeline__item.--chapter .timeline__ttl {
  color: #fff;
  background-color: var(--ac-color);
  width: fit-content;
  padding: 20px;
  font-size: 2.4rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.timeline__item.--chapter > .timeline__content {
  width: 90%;
  position: relative;
  right: -10%;
  top: -35px;
  z-index: 0;
}

.timeline__item.--single {
  display: grid;
  grid-template-columns: 0.1fr 1fr 3fr;
  margin-left: 2em;
  position: relative;
  left: 20px;
  font-size: 1.8rem;
  width: min(100%, 1200px);
}
.timeline__item.--single > .timeline__time {
  font-size: 2.0rem;
  width: min(100%, 250px);
  grid-column: 2 / 3;
}
.timeline__item.--single > .timeline__time.--1935-01-20 {
  width: min(100%, 300px);
}
.timeline__txt {
  text-align: left;
}
.timeline__item + .timeline__item {
  margin-top: 20px;
}
.timeline__item.--single::before {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--ac-color);
  left: -2em;
  top: 10px;
  grid-column: 1 / 2;
}

.timeline__item.--column {
  display: grid;
  grid-template-columns: repeat(4,fit-content);
  grid-template-rows: repeat(4,fit-content);
  gap: 1em;
  width: 90%;
  position: relative;
  right: -8%;
  padding: 40px 0;
}
.timeline__column {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 2.4rem;
  background-color: #fff;
  color: var(--ac-color);
  border: 2px solid var(--ac-color);
  width: 48px;
  height: auto;
  display: flex;
  justify-content: center;
  position: relative;
}
.timeline__column::after {
  content: '▼';
  position: absolute;
  width: 10px;
  height: 20px;
  top: -4px;
  right: -12px;
  transform: skew(30deg, 0deg);
}
.timeline__item.--column >.timeline__ttl {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--ac-color);
  width: fit-content;
}
.timeline__item.--column > img {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.timeline__item.--column > .timeline__txt {
  grid-column: 3 / 4;
  grid-row: 2 / 4;
}
.timeline__item.--column .timeline-index__item {
  display: flex;
  align-items: center;
}
.timeline__item.--column .timeline-index__item::before {
  content: "";
  margin-right: 1em;
  background-color: var(--ac-color);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.timeline__item.--column 
.timeline-index__item:first-child::before {
  content: none;
}
.modal__item.--timeline-image > .modal__image {
  width: min(400px, 100vw);
  height: min(240px, 100vw);
  object-fit: cover;
}
.modal__item.--timeline-image > .modal__icon {
  position: absolute;
}

@media only screen and (max-width: 1024px) {
.timeline__item.--single {
  grid-template-columns: 0.1fr 4fr;
  grid-template-rows: repeat(2, fit-content);
  width: 75vw;
}
.timeline__item.--single > .timeline__txt,
.timeline__item.--single > .timeline__button {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.timeline__item.--single.--image {
  display: flex;
  flex-direction: column;
  width: 80vw;
}

}
@media only screen and (max-width: 768px) {
.main-background {
  padding-bottom: 80px;
}
  #history {
  padding-bottom: 50px;
}
#history time {
  color: var(--ac-color);
}

.timeline__item.--chapter {
  padding: 24px 0;
}
.timeline__item.--chapter .timeline__time {
  font-size: 2.6rem;
}
.timeline__item.--chapter .timeline__time span {
  font-size: 1.6rem;
}
.timeline__item.--chapter .timeline__ttl {
  font-size: 1.6rem;
  transform: translateX(-6%);
  padding: 16px 8px;
  width: max-content;
}
.timeline__item.--chapter > .timeline__content {
  top: -30px;
  width: 75vw;
}
.timeline__item.--single {
  left: 0px;
  font-size: 1.6rem;
}
.timeline__item.--single > .timeline__time {
  width:auto;
  font-size: 1.6rem;
}
.timeline__item.--single > .timeline__time.--1935-01-20 {
  width: auto;
}
.timeline__txt {
  text-align: left;
}
.timeline__item + .timeline__item {
  margin-top: 20px;
}
.timeline__item.--single::before {
  width: 15px;
  height: 15px;
}
.timeline__item.--column {
  gap: 1em;
  right: -8%;
  padding: 36px 0;
}
.timeline__column {
  font-size: 2.0rem;
  width: 36px;
}
.timeline__item.--column >.timeline__ttl {
  grid-column: 2 / 4;
  font-size: 1.8rem;
}
.timeline__item.--column > img {
  grid-column: 2 / 4;
}
.timeline__item.--column > .timeline__txt {
  grid-column: 1 / 4;
  grid-row: 3 / 4;
}
.timeline__button {
  width: 75vw;
}
.modal__item.--timeline-image > .modal__image {
  height: min(160px, 100vw);
}
}

/* 目次アコーディオン */
.timeline-index {
  position: relative;
  height: fit-content;
}
.timeline-index > .--first {
  font-weight: 500;
  text-decoration: underline;
  width: fit-content;
  margin-left: auto;
}
.timeline-index > label {
  position: absolute;
  display: table;
  right: 0;
  bottom: 0;
  margin: -70px auto;
  color: var(--ac-color);
  border: 2px solid var(--ac-color);
  text-align: center;
  transform: translateX(0);
  cursor: pointer;
  z-index: 1;
  width: 200px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.timeline-index__list::before {
  position: absolute;
  display: block;
  content: "";
  bottom: 0;
  left: 0;
}
.timeline-index input[type="checkbox"]:checked ~ .timeline-index__list::before {
  display: none;
}
.timeline-index > label::before{
  content: '目次を開く';
}
.timeline-index input[type="checkbox"]:checked ~ label::before {
  content: '目次を閉じる';
}
.timeline-index input[type="checkbox"]{
  display: none;
}
.timeline-index__list {
  position: relative;
  height: 0;
  overflow: hidden;
  margin: 16px 0 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 500;
}
.timeline-index__item {
  width: fit-content;
}
.timeline-index__item a:hover,
.timeline-index__item:first-child {
  text-decoration: underline;
}
.timeline-index__item:first-child {
  margin-left: auto;
}
.timeline-index__item span {
  color: var(--ac-color);
  padding-right: 1em;
}
.timeline-index input[type="checkbox"]:checked ~ .timeline-index__list {
  height: auto;
}
@media only screen and (max-width: 767px) {
  .timeline-index > label {
  width: 100%;
  margin: -60px auto;
}
.timeline-index__list {
  margin: 16px 0 50px;
}
}

/* モーダル */
.timeline__button {
  padding: 4px 8px;
  background-color: #fff;
  border: 2px solid var(--ac-color);
}
.modal__item {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}
.modal__icon {
  width: 24px;
  height: 24px;
  position: static;
  box-shadow: none;
}
