@charset "UTF-8";

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* 横スクロール禁止 */
  scroll-behavior: smooth;
}
p {
  color: #FFF;
}

.swiper {
  width: 100%;
  height: 100vh;
  overflow: visible;
  position: relative;
}
.swiper-slide {
  width: 60%;
  height: 80vh;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0.6;
  transform: scale(0.9);
}
.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  z-index: 3;
}
.swiper-wrapper {
  align-items: center;
  transition-timing-function: ease-in-out !important;
}
.swiper-slide-prev,
.swiper-slide-next {
  transform: scale(0.9);
  opacity: 0.5;
  z-index: 2;
}
.swiper-pagination {
  bottom: 40px !important;
  z-index: 10;
}
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  transition: 0.3s;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/*menu*/
#nav {
  display: flex;
  gap: 20px;
  margin: 1;
  padding: 0;
  list-style: none;
  margin-right: 40px;
}
#nav li {
  display: inline-block;
  text-align: center;
  margin-left: 20px;
  margin-right: 10px;
}
#nav li a {
  font-weight: bold;
  color: #FFF;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
#nav li a:hover {
  opacity: 0.7;
}
#nav li a.active {
  pointer-events: none;
  opacity: 0.4;
  border-bottom: 2px solid #FFF;
  cursor: default;
}

.hamburger {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
  position: relative;
  margin-left: auto;
  right: 30px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ffffff; 
  transition: 0.3s;
}
.title {
  width: 200px;
  height: 10px;
  margin-top: 0;
}

.mv {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-image) no-repeat center/cover;
  filter: blur(20px) brightness(0.6);
  opacity: 0.4;
  transition: background 1s ease;
  z-index: 0;
}
.item {
  display: flex;
  gap: 0;
  justify-content: center;
}
.item img {
  max-width: 100%;
  height: 100vh;
  display: block;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;  /* 画像より前面 */
  color: white; /* 背景画像上でも見えるように */
}

.about {
  position: relative;
  height: 70vh;
  border-left:1px solid #fff;
  border-right:1px solid #fff;
  margin: 0 20px ;
}
.about #map-about {
  height: 65vh;
  width: 44vw;
  margin-top: 20vh;
  margin-left: 5vw;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}
.about h2 {
  position: absolute;
  top: 1%;
  margin-left: 50vw;
  font-size: 2.5rem;
  color: rgb(255, 255, 255);
  z-index: 1;
  border-left: 5px solid #fff;
  padding-left: 8px;
}
.about p {
  font-size: large;
  position: absolute;
  color: #ffffff;
  top: 20%;
  text-align: center;
  z-index: 2;
  margin-left: 50vw;
  margin-right: 2vw;
}
.about h3 {
  font-size: large;
  font-weight: 100;
  position: absolute;
  color: #ffffff;
  top: 40%;
  text-align: center;
  z-index: 2;
  margin-left: 50vw;
  margin-right: 2vw;
}
.about h4 {
  font-size: large;
  font-weight: 100;
  position: absolute;
  color: #ffffff;
  top: 70%;
  text-align: center;
  z-index: 2;
  margin-left: 50vw;
  margin-right: 2vw;
}
.about h4 img {
  width: 20px;
}
.about h5 {
  font-size: large;
  font-weight: 100;
  position: absolute;
  color: #ffffff;
  top: 76%;
  text-align: center;
  z-index: 2;
  margin-left: 50vw;
  margin-right: 2vw;
}
.about h5 img {
  width: 20px;
}

.gallery h2 a {
  color: #FFF;
  margin-left: 5%;
  font-size: 2.5rem;
}

body {
  margin: 0;
  margin-left: auto;
  margin-right: auto; 
  background-color: #000;
}
body.gallery,
body.map {
    margin: 0;
    margin-top: 150px;
    margin-left: auto;
    margin-right: auto; 
}
body a {
    text-decoration: none;
    color: black;
}
#photo {
    height: 300px;
 }
ul li {
    list-style: none;
 }


/*map*/
 #map {
    height: 75vh;
    max-width: 1100px;
    width: 75vw;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    border: #ffffff 2px solid;
    z-index: 1;
 }
 .leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: #000;
    color: #FFF;
 }
.popup-img {
  width: 300px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/*gallery*/
img {
  width: 100%;
}
.content {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.card-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}
.card-list {
  flex: 1 1 calc(33.333% - 20px);
  max-width: 350px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.card-list img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

/*ホバーモノクロ*/
p a img{ filter:grayscale(100%); }
p a img:hover{
	filter:grayscale(0);
	transition:0.3s;
}
p a{ overflow:hidden; }
p a img:hover{
	transform:scale(1.01);
	transition:0.3s;
}

/* graffiti-page */
.fade-in {
  opacity: 0;
  visibility: hidden;
  transform: translateY(80px);
  transition: all 1s ease-out;
}
.fade-in.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
section {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
}
.row {
  display: flex;
  justify-content: center;  /* 横方向の中央寄せ */
  align-items: flex-start;  /* 上揃え */
  gap: 10px;                /* 画像の間の余白 */
  max-width: 800px;
  margin: 100px auto;
  flex-wrap: wrap;          /* 幅が狭い画面で折り返す */
}
.row .section {
  flex: 1;
  padding: 0;
  margin: 0;
}
.row img {
  width: 100%;
  height: 80%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
}

.map-link {
  color: #fff;        /* 白文字 */
  text-align: center;
  margin: 0px 0;     /* 上下の余白 */
  font-size: 2rem;    /* 文字サイズ */
}
.map-link a {
  color: #fff;
  /*margin-left: 70%;*/
  text-decoration: underline; 
}


/* ===== footer ===== */
.footer {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 100px;
  backdrop-filter: blur(4px);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.footer-nav li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}
.footer-nav li a:hover {
  opacity: 0.7;
}

.copyright {
  font-size: 0.9rem;
  color: #ccc;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-logo {
    font-size: 1.2rem;
  }
  .copyright {
    font-size: 0.8rem;
  }
}


/*タブレット*/
@media screen and (max-width: 840px) {
  .item {
    flex-direction: column;
    align-items: center;
  }
  .item img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
  }
  .about {
    margin: 0 20px ;
  }

  /*gallery*/
.card-list {
  width: calc(50% - 10px);
}

}

/*スマホ*/
@media screen and (max-width: 600px) {
  
  .item {
    flex-direction: column;
    align-items: center;
  }
  .item img {
    width: 100%;
    height: 40vh;
    object-fit: cover;
  }

  /* ナビゲーションを縦並びに変更 */
  #nav {
    display: none; /* 初期は隠す */
    flex-direction: column;
    background:#000;
    /*background: rgba(red, green, blue, alpha);*/
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    height: calc(100vh - 60px);
    padding: 20px;
    /*box-shadow: -2px 0 5px rgba(0,0,0,0.2);*/
    z-index: 1000;
  }
  #nav.active {
    display: flex; 
  }
  .hamburger {
    display: flex; 
  }
  
  /* ハンバーガー → × */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
  #nav li a {
     color: #ffffff;
    padding: 10px 0;
  }
  .title {
    margin-top: 0px;
    margin-left: 0px;
  }
  .title img {
    width: 150px;
  }

  .swiper {
    width: 100%;
    height: 85vh;
    overflow: visible;
    position: relative;
  }
  .swiper-slide {
    width: 75%;
    height: 60vh;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0.6;
    transform: scale(0.9);
  }

  .about {
    border-left:1px solid #ffffff;
    border-right:1px solid #ffffff;
    margin: 0 10px ;
    margin-bottom: 180px;
  }
  .about #map-about {
    margin-top: 7vh;
    margin-left: auto;
    margin-right: auto;
    width: 90vw;
    height: 40vh;
  }
  .about h2 {
    margin-left: 3vw;
    margin-top: 42vh;
  }
  .about p {
    margin-left: 2vw;
    margin-right: 2vw;
    margin-top: 37vh;
  }
  .about h3 {
    margin-left: 2vw;
    margin-right: 2vw;
    margin-top: 36vh;
  }
  .about h4 {
    margin: 0 20px;
    top: 115%;
  }
  .about h5 {
    margin: 0 20px;
    top: 122%;
  }

  /* マップサイズ調整 */
  #map {
    width: 90%;
    height: 60vh;
  }
  .popup-img {
    width: 100%;
  }

  /* セクション余白調整 */
  section {
    margin: 50px 10px;
    padding: 0 10px;
  }
  .row {
    flex-direction: column;
    gap: 20px;
  }

  /* ギャラリー画像 */
  .card-wrap {
    flex-direction: column;
    align-items: center;
  }
  .card-list {
    width: 90%;
    max-width: 100%;
  }
}
