@charset "UTF-8";

/*--Google Fonts--*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');


body {
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: "游ゴシック", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #484848;
  font-feature-settings: "palt";
  letter-spacing: 1px;
}

@media screen and (min-width: 768px) {
  body {
    font-size: 1.0625rem;
  }
}
@media screen and (max-width: 1199px) {
  body {
    font-weight: 400;
  }
}
h1 {
  /*font-family: YuMincho, "Yu Mincho", "游明朝体";*/
  font-family: "yu-mincho-pr6n", serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.25rem, 0.739rem + 2.18vw, 2.375rem);/*20-38*/
  line-height: 1.5;
  margin-bottom: 2rem;
}
@media screen and (max-width: 1199px) {
  h1 {
    font-weight: 600;
  }
}
p {
  line-height: 1.7;
}

a {
  text-decoration: none;
}

/*--------------------------------------------------------------
# ###
--------------------------------------------------------------*/

.navbar-brand {
  /*font-weight: 700;
  letter-spacing: 0.0625em;
  text-transform: uppercase;*/
}
.navbar-brand {
  width: 165px;
	display: inline-block;
}
@media (max-width: 1199px) {
  .navbar-brand {
    width: 120px;
  }
}
/*.navbar-brand img {
  height: 1.7rem;
}*/


/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/




/*-- ===============================================
    Gallery
===============================================--*/
.nav-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  justify-content: center;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #8E8E8E;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
	font-size: clamp(1rem, 0.943rem + 0.24vw, 1.125rem);/*16-18*/
}
@media (prefers-reduced-motion: reduce) {
  .nav-link {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}
.nav-link:hover, .nav-link:focus {
  color: #727272;
  text-decoration: none;
}
.nav-link.disabled {
  color: #627E84;
  pointer-events: none;
  cursor: default;
}

.gallery-tab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.gallery-tab .nav-link {
  position: relative;
}

.gallery-tab .nav-link.active {
  color: #000;
  font-weight: 500;
}
.gallery-tab .nav-link.active::after {
  width: 100%;
}

.gallery-tab .nav-link::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #007bbb;
  opacity: 1;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.gallery-tab .nav-link:hover::after {
  width: 100%;
}


.gallery-item {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  text-align: center;
  margin-bottom: 3rem;
}
@media (max-width: 576px) {
  .gallery-item {
    margin-bottom: 0;
  }
}

.gallery-item.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.gallery-item.hide {
  /*opacity: 0;
  transform: scale(0.95);
  pointer-events: none;*/
  display: none;
}


.gallery p {
    font-size: 14px;
}

.figure {
    align-items: center;
    display: grid;
    justify-content: center;
	margin-bottom: 1rem;
	background-color: rgba(0, 0, 0, 0.02);
	padding: 10px;
}

.figure img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
	height: 270px;
}

.gallery-item .caption span {
  display: block;
}

/*--------------------------------------------------------------
# Glightbox
--------------------------------------------------------------*/
.glightbox-open {
  overflow: auto !important;
}

.gscrollbar-fixer {
  margin-right: 0 !important;
}

[data-glightbox] {
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}

.glightbox-clean .gslide-description {
  background: transparent !important;
}
.glightbox-clean .gslide-description .gdesc-inner {
  text-align: center;
}
.glightbox-clean .gslide-description .gslide-title {
  color: #fff !important;
  margin-bottom: .2rem !important;
  text-align: center;
  font-weight: bold !important;
  font-size: 1.2rem !important;
}
.glightbox-clean .gslide-description .gslide-desc {
  color: #CCC;
  font-size: .86em;
  margin-bottom: 0;
  /*line-height: 2em;*/
}


@media (min-width: 769px) {
  .gslide-image img {
    max-height: 90vh !important;
    max-width: 100%;
  }
}

.glightbox-clean .gdesc-inner {
  padding: 12px 10px !important;
}
@media (max-width: 767px) {
  .glightbox-clean .gdesc-inner {
    display: none;
  }
}



.gslide-media {
  /* 画像のコンテナをフレックスボックスにし、内容を中央に配置 */
  display: flex !important;
  align-items: center !important; /* 垂直方向中央揃え */
  justify-content: center !important; /* 水平方向中央揃え */
  height: 100% !important; /* 親要素の高さに合わせる */
  max-height: 100vh !important; /* ビューポートの高さの100%を超えないようにする */
  overflow: hidden !important; /* コンテナからはみ出る内容を非表示 */
}

.gslide-media img {
  max-width: 100% !important; /* 画像がコンテナの幅を超えないようにする */
  max-height: 100% !important; /* 画像がコンテナの高さ、またはビューポートの高さの100%を超えないようにする */
  object-fit: contain !important; /* 画像の縦横比を維持しつつ、コンテナに収まるように拡大縮小 */
}




/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  font-size: 0.9rem;
}
@media (min-width: 577px) {
  .footer {
    text-align: center;
  }
}

.footer-list-group {
  flex-direction: row;
  display: flex;
  padding-left: 0;
  justify-content: center;
 font-feature-settings: "palt";
 margin-bottom: 0;
}
.footer-list-group li {
  /*position: relative;*/
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  border-right: 1px solid #dbdbdb;
  line-height: 1;
}
.footer-list-group li a {
  padding-right: 1rem;
  padding-left: 1rem;
}
.footer-list-group li:last-child {
  border-right: none;
}
@media screen and (max-width: 768px) {
   .footer-list-group {
     display: block;
   }
   .footer-list-group li {
     display: inline-block;
   }
}
.footer-list-group li:last-child {
  border-right: none;
}
.footer-list-group li a {
  color: #212529;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: #0078c6;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
@media screen and (max-width: 768px) {
   #back-to-top {
     bottom: 15px;
     right: 15px;
   }
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top i {
  font-size: 20px;
  line-height: 1;
  display: block;
  pointer-events: none;
}

#back-to-top:hover {
  color: #fff;
  opacity: 0.6;
}

