body {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.08rem;
  line-height: 1.75;
}


.exhibit-intro{
    border-top: 8px solid #2f4f4f;
}

h1, h2, h3 {
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {

  body{
    font-size: 1rem;
    line-height: 1.7;
  }

  h3{
    font-size: 1.4rem;
  }

  h5{
    font-size: 1.05rem;
  }

  .hero-img {
    height: auto !important;
    object-fit: contain !important;
  }
}

.custom-link {
  text-decoration-color: currentColor; 
}

.custom-link:hover {
  color: #d8c27a !important;           
  text-decoration-color: #d8c27a !important; 
}

.hover-fade:hover {
  opacity: .6;
}

.image-wrapper:hover .hover-fade {
  opacity: .6;
}

.image-zone:hover {
  background-color: rgba(255,255,255,.4);
}


.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 72px;
  height: 72px;
  display: inline-block;
  z-index: 9999;
  cursor: pointer;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 0;
}

.pagetop_arrow {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-success) !important;
}

.pagetop_arrow::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(-45deg);
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.pagetop_arrow::after {
  content: "PAGETOP";
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.pagetop:hover .pagetop_arrow,
.pagetop:focus .pagetop_arrow {
  opacity: 0.88;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 26px rgba(0, 0, 0, 0.1);
}

.pagetop:focus-visible .pagetop_arrow {
  outline: none;
  box-shadow:
    0 0 0 0.25rem rgba(0, 70, 160, 0.25),
    0 10px 26px rgba(0, 0, 0, 0.1);
}

/* メニュー不要だったら以下削除 */

.menu-item {
  padding: 0.5rem 0;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-success);
 
}

.menu-item:hover {
  background-color: var(--bs-success-bg-subtle);
  color: #212529;
}

.hero-img{
  width:100%;
  height:800px;
  object-fit:cover;
  object-position:center 80%;
}

@media (min-width: 768px) {

  .menu-over-hero{
    position:absolute;
    bottom:-45px;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    z-index:20;
  }

  .menu-item{
    border-right:1px solid #fffff0 !important;
  }

  .menu-item:last-of-type{
    border-right:none !important;
  }

}

@media (max-width:767.98px){

  .hero-img{
    height:450px;
    object-fit:cover;
    object-position:center center;
  }

  .hero-title{
    position:absolute !important;
    top:60% !important;
    left:50% !important;
    transform:translate(-50%, -50%) !important;
    width:90%;
    text-align:center;
    z-index:5;
  }

  .hero-title h1{
    font-size:1.8rem !important;
    line-height:1.3 !important;
  }

  .hero-title p{
    font-size:1rem !important;
    line-height:1.5 !important;
  }

  .hero-title .mb-2{
    font-size:.8rem !important;
  }

  .menu-over-hero{
    position:static !important;
    transform:none !important;
    bottom:auto !important;
    left:auto !important;
    width:100% !important;
    margin-top:3rem !important;
  }

  .menu-item{
    border-bottom:1px solid #fffff0 !important;
  }

  .menu-item:last-of-type{
    border-bottom:none !important;
  }

}