html.modal-open,
body.modal-open {
  overflow: hidden;
}

#fv {
  position: relative;
  overflow: hidden;
  overflow: clip;
  min-height: 100dvh;
}
@media (min-width: 768px) {
  #fv {
    min-height: 900px;
  }
}
#fv:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/fv.webp) 50% 100%/cover no-repeat;
  animation: fvZoomOut 8s ease-out forwards;
  transform: scale(1.1);
  will-change: transform;
  backface-visibility: hidden;
}
@media (min-width: 768px) {
  #fv:before {
    background-image: url(../images/fv@2x.webp);
    background-position: 50% 60%;
  }
}
#fv .inner {
  position: relative;
  min-height: inherit;
}
#fv .fvTtl {
  position: absolute;
  text-align: center;
  left: 50%;
  top: 20%;
  font-size: 8vw;
  line-height: 1.6;
  color: #fff;
  letter-spacing: 0.05em;
  font-weight: 600;
  transform: translate(-50%, 0);
  width: 100%;
}
@media (min-width: 768px) {
  #fv .fvTtl {
    font-size: min(4vw, 50px);
    transform: none;
    width: auto;
    letter-spacing: 0.1em;
    left: auto;
    right: 0;
  }
}
#fv .fvTtl span {
  font-family: "Zen Kaku Gothic New", sans-serif;
  display: block;
  font-size: 4.6vw;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 15px;
  line-height: 2;
}
@media (min-width: 768px) {
  #fv .fvTtl span {
    font-size: min(2.2vw, 24px);
    margin-top: 0;
  }
}
#fv .whats {
  position: absolute;
  bottom: 5%;
  right: 50%;
  transform: translate(50%, 0);
  text-align: center;
  padding-bottom: 70px;
}
@media (min-width: 768px) {
  #fv .whats {
    bottom: 20%;
    right: 0;
    transform: none;
  }
}
#fv .whats .whatsTxt {
  font-size: 20px;
  text-shadow: 2px 2px 5px rgb(227, 222, 213), -2px 2px 5px rgb(227, 222, 213), 2px -2px 5px rgb(227, 222, 213), -2px -2px 5px rgb(227, 222, 213);
  letter-spacing: 0.1em;
}
@media (min-width: 1024px) {
  #fv .whats .whatsTxt {
    text-shadow: 2px 2px 5px rgb(204, 225, 245), -2px 2px 5px rgb(204, 225, 245), 2px -2px 5px rgb(204, 225, 245), -2px -2px 5px rgb(204, 225, 245);
  }
}
#fv .whats .scrollArrow {
  position: relative;
  width: 100%;
}
#fv .whats .scrollArrow span {
  position: absolute;
  top: -5px;
  left: 50%;
  margin-left: -15px;
  display: block;
  width: 30px;
  height: 30px;
  border-right: 2px solid #5f7e6c;
  border-bottom: 2px solid #5f7e6c;
  transform: rotate(45deg);
  opacity: 0;
  animation: scrollArrow 2s infinite;
}
#fv .whats .scrollArrow span:nth-child(2) {
  top: 10px;
  animation-delay: 0.2s;
}
#fv .whats .scrollArrow span:nth-child(3) {
  top: 25px;
  animation-delay: 0.4s;
}

@keyframes fvZoomOut {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-4px, -4px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(4px, 4px);
  }
}
#greeting, #ith, #guide, #projects, #news, #access {
  scroll-margin-top: 60px;
}
@media (min-width: 768px) {
  #greeting, #ith, #guide, #projects, #news, #access {
    scroll-margin-top: 68px;
  }
}

#contents {
  overflow: hidden;
}
#contents #greeting .inner {
  position: relative;
  padding: 0 6% 4% 6%;
  width: 90%;
}
@media (min-width: 768px) {
  #contents #greeting .inner {
    padding-right: 40vw;
  }
}
@media (min-width: 1480px) {
  #contents #greeting .inner {
    padding-right: 35vw;
  }
}
@media (min-width: 1680px) {
  #contents #greeting .inner {
    padding-right: 33vw;
    width: min(100% - 40px, 1600px);
  }
}
#contents #greeting .inner:after {
  content: "";
  position: absolute;
  top: 3%;
  left: 0;
  width: 100%;
  height: 80%;
  background: #B3CFBD;
  background: linear-gradient(180deg, rgba(128, 168, 140, 0.5) 0%, rgba(180, 190, 185, 0.5) 100%);
  z-index: -1;
}
@media (min-width: 768px) {
  #contents #greeting .inner:after {
    width: 90%;
    top: 6%;
    height: 94%;
  }
}
@media (min-width: 768px) {
  #contents #greeting .inner .secTtl {
    margin-bottom: 35px;
    text-align: left;
  }
}
#contents #greeting .inner .heading {
  font-size: clamp(2.2rem, 2.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}
#contents #greeting .inner .summary {
  font-size: 1.5rem;
  letter-spacing: 0;
  line-height: 2;
  text-align: justify;
}
@media (min-width: 560px) {
  #contents #greeting .inner .summary {
    line-height: 2.2;
    font-size: clamp(1.3rem, 1.3vw, 1.7rem);
  }
}
#contents #greeting .inner .pixWrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
@media (min-width: 768px) {
  #contents #greeting .inner .pixWrap {
    position: absolute;
    top: 53%;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 0;
    transform: translate(0, -50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
  }
}
#contents #greeting .inner .pixWrap .pix {
  width: 50%;
}
@media (min-width: 768px) {
  #contents #greeting .inner .pixWrap .pix.pix01 {
    width: 30%;
    margin-right: -6%;
  }
}
#contents #greeting .inner .pixWrap .pix.pix02 {
  margin-top: 10%;
  z-index: 2;
}
@media (min-width: 768px) {
  #contents #greeting .inner .pixWrap .pix.pix02 {
    width: 27%;
    margin-top: -2%;
    margin-right: 10%;
  }
}
@media (min-width: 1480px) {
  #contents #greeting .inner .pixWrap .pix.pix02 {
    width: 22%;
    margin-top: -10%;
  }
}
#contents #guide {
  position: relative;
  color: #fff;
}
#contents #guide:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  pointer-events: none;
  z-index: 1;
}
#contents #guide:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url(../images/guide@2x.webp) center/cover fixed no-repeat;
  z-index: 0;
  opacity: 0.4;
}
#contents #guide .secTtl {
  color: #fff;
}
#contents #guide .secTtl span {
  color: #fff;
  font-weight: 400;
}
#contents #guide .inner {
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  #contents #guide .inner {
    width: min(90%, 1300px);
  }
}
#contents #guide .guideWrap {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  #contents #guide .guideWrap {
    flex-direction: row;
    gap: 150px;
  }
}
#contents #guide .guideWrap > div {
  width: 100%;
}
#contents #guide .guideWrap > div:nth-child(1) {
  position: relative;
  padding-bottom: 42px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  #contents #guide .guideWrap > div:nth-child(1) {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}
#contents #guide .guideWrap > div:nth-child(1):after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 50%;
  height: 0.5px;
  background: #fff;
  transform: translateX(-50%);
}
@media (min-width: 768px) {
  #contents #guide .guideWrap > div:nth-child(1):after {
    display: none;
  }
}
#contents #guide .guideWrap > div:nth-child(2) {
  animation-delay: 0.3s;
}
#contents #guide .guideWrap > div .boothSummary {
  font-weight: 400;
}
#contents #guide .btnWrap {
  margin-top: 50px;
}
@media (min-width: 768px) {
  #contents #guide .btnWrap {
    margin-top: 80px;
  }
}
#contents #guide .btnWrap .btn span {
  color: #fff;
}
#contents #guide .btnWrap .btn span:before {
  background: #fff;
}
#contents #guide .btnWrap .btn span:after {
  border-color: #fff;
}
#contents #projects {
  background: #f3f5f4;
}
#contents #projects .galleryGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 768px) {
  #contents #projects .galleryGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1480px) {
  #contents #projects .galleryGrid {
    grid-template-columns: repeat(4, 1fr);
  }
}
#contents #projects .galleryGrid .galleryItem {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
#contents #projects .galleryGrid .galleryItem img {
  display: block;
  width: 100%;
  aspect-ratio: 309/209;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s;
}
#contents #projects .galleryGrid .galleryItem .caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5% 8%;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  opacity: 0;
  transition: 0.4s;
}
#contents #projects .galleryGrid .galleryItem .caption .capTtl {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1.5;
}
#contents #projects .galleryGrid .galleryItem .caption .capSmry {
  font-size: 1.4rem;
  line-height: 1.8;
  text-align: justify;
}
#contents #projects .galleryGrid .galleryItem .caption .capModalSmry {
  display: none;
}
#contents #projects .galleryGrid .galleryItem:hover img {
  transform: scale(1.08);
}
@media (min-width: 560px) {
  #contents #projects .galleryGrid .galleryItem:hover .caption {
    opacity: 1;
  }
}
#contents #projects .galleryModal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 9999;
  backdrop-filter: blur(8px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  height: 100dvh;
}
#contents #projects .galleryModal.active {
  opacity: 1;
  visibility: visible;
}
#contents #projects .galleryModal.noImg .galleryModalImg {
  display: none !important;
}
#contents #projects .galleryModal.noImg .galleryInfo {
  margin-top: 0;
}
#contents #projects .galleryModal.noImg .capModalSmry {
  display: block;
}
#contents #projects .galleryOverlay {
  position: absolute;
  inset: 0;
}
#contents #projects .galleryModalInner {
  position: relative;
  z-index: 2;
  width: min(90vw, 1200px);
  background: #fff;
  padding: 80px 30px 30px 30px;
  max-height: calc(100dvh - 60px);
  overflow-y: auto;
}
@media (min-width: 768px) {
  #contents #projects .galleryModalInner {
    padding: 30px;
  }
}
#contents #projects .galleryModalImg {
  display: block;
  width: 100%;
  max-height: 70vh;
  -o-object-fit: contain;
     object-fit: contain;
}
#contents #projects .galleryInfo {
  text-align: center;
  margin-top: 25px;
}
#contents #projects .galleryInfo .capTtl {
  font-size: 2.4rem;
  line-height: 1.4;
  margin-bottom: 15px;
  letter-spacing: 0.02em;
}
@media (min-width: 560px) {
  #contents #projects .galleryInfo .capTtl {
    font-size: clamp(2rem, 2.3vw, 2.7rem);
  }
}
#contents #projects .galleryInfo .capSmry {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
  letter-spacing: 0.02em;
}
@media (min-width: 560px) {
  #contents #projects .galleryInfo .capSmry {
    font-size: clamp(1.6rem, 1.8vw, 2rem);
  }
}
@media (min-width: 1024px) {
  #contents #projects .galleryInfo .capSmry {
    text-align: center;
  }
}
#contents #projects .galleryInfo .capModalSmry span {
  display: block;
  text-align: justify;
}
#contents #projects .galleryInfo .capModalSmry span:not(:last-child) {
  margin-bottom: 20px;
}
#contents #projects .galleryClose {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
#contents #projects .galleryClose span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}
#contents #projects .galleryClose span:nth-child(1) {
  transform: rotate(45deg);
}
#contents #projects .galleryClose span:nth-child(2) {
  transform: rotate(-45deg);
}
#contents #news {
  position: relative;
}
#contents #news .inner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  #contents #news .inner {
    display: block;
  }
}
#contents #news .secTtl {
  order: 1;
}
#contents #news .newsList {
  order: 2;
}
@media (min-width: 1260px) {
  #contents #news .newsList {
    width: min(90%, 1200px);
  }
}
#contents #news .img {
  order: 4;
}
@media (min-width: 768px) {
  #contents #news .img {
    bottom: -8vw;
    position: absolute;
    width: 30vw;
    max-width: 600px;
    right: 0;
  }
}
@media (min-width: 1480px) {
  #contents #news .img {
    bottom: 0;
  }
}
#contents #news .btnWrap {
  margin: 30px 0 40px 2em;
  order: 3;
}
@media (min-width: 768px) {
  #contents #news .btnWrap {
    margin: 80px 0 0 5em;
  }
}
#contents #access .accessWrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 768px) {
  #contents #access .accessWrap {
    flex-direction: row;
    gap: 6vw;
  }
}
@media (min-width: 1480px) {
  #contents #access .accessWrap {
    gap: 80px;
  }
}
#contents #access .accessWrap .map {
  position: relative;
  aspect-ratio: 16/9;
}
@media (min-width: 768px) {
  #contents #access .accessWrap .map {
    width: 50%;
  }
}
#contents #access .accessWrap .map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
#contents #access .accessWrap .txt {
  flex: 1;
  font-size: clamp(1.3rem, 1.3vw, 1.7rem);
  display: flex;
  align-items: center;
}
#contents #access .accessWrap .txt .name {
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  font-weight: 600;
  color: rgb(40, 101, 57);
  margin-bottom: 10px;
}
#contents #access .accessWrap .txt .address {
  line-height: 1.6;
}
#contents #access .accessWrap .txt .way {
  margin-top: 20px;
}
#contents #access .accessWrap .txt .way dl {
  margin-top: 20px;
}
#contents #access .accessWrap .txt .way dl dt {
  font-weight: 600;
}
#contents #access .accessWrap .txt .exLink {
  margin-top: 10px;
}
#contents #access .accessWrap .txt .note {
  margin-top: 30px;
}