@charset "UTF-8";

/* =========================================
   Variables & Common for Title Page
========================================= */
:root {
  --content-width-title: 980px;
  
  --mdl-pc-txt: 100px;
  --mdl-sp-txt: 14vw;
  --title-pc-txt: 46px;
  --title-sp-txt: 7.8vw;
  --date-pc-txt: clamp(16px, 8.0vw, 40px);
  --date-sp-txt: 8.0vw;
  --name-pc-txt: clamp(18px, 1.8vw, 22px);
  --name-sp-txt: 4.0vw;
  --desc-pc-txt: 16px;
  --desc-sp-txt: 3.6vw;
}



.inner-title {
  max-width: var(--content-width-title);
  margin: 0px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}
.sec-heading {
  font-size: var(--mdl-pc-txt);
}

/* セクションタイトルのグリッチ消し */
.sec-heading::before,
.sec-heading::after {
  display: none;
}
/* セクションタイトルのグリッチ消し */


.map-fv {
  width: 100vw;
  height: auto;
  max-height: 300px;
  overflow: hidden;
  position: relative;
}

.map-fv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.main-content section {
  padding: 0px 0;
}





/* =========================================
   MAP SECTION
========================================= */
.sec-map {
  background-color: var(--color-bg-white);
  color: var(--color-black);
  padding: 60px 0 100px;
  position: relative;
  /* overflow: hidden; は見出し被せのために外したままにします */
}

/* ノイズレイヤー (TOP共通流用) */
.sec-map::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px; /* TOPと同じサイズ */
  opacity: 0.4; /* TOPと同じ濃度 */
  pointer-events: none;
  z-index: 1;
  animation: bg-noise-map 0.4s steps(4) infinite;
}

/* TOPの translate による「大きな揺れ」を background-position で完全再現 */
@keyframes bg-noise-map {
  0% { background-position: 0px 0px; }
  25% { background-position: -40px 60px; }
  50% { background-position: 20px -40px; }
  75% { background-position: -60px 20px; }
  100% { background-position: 40px -20px; }
}


.inner-title {
  max-width: var(--content-width-title);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.sec-heading {
  font-family: "purista-web", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: var(--mdl-pc-txt);
  line-height: 0.8;
  margin-top: -20px;
  margin-bottom: 40px;
  text-transform: uppercase;
  /*
  text-shadow: -1px -1px 0 var(--color-cyan), 1px 1px 0 var(--color-magenta);
  */
  text-shadow: none;
  position: relative;
  display: inline-block;
  color: var(--color-black);
}

.sec-heading::before,
.sec-heading::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: inherit;
  text-shadow: -2px -2px 0 var(--color-cyan), 2px 2px 0 var(--color-magenta);
  pointer-events: none;
  z-index: 1;
  clip-path: inset(100%);
}

.sec-heading::before {
  animation: glitch-slice-1 3s infinite linear;
}

.sec-heading::after {
  animation: glitch-slice-2 3s infinite linear;
}



.map-main-image {
  margin-bottom: 40px;
  padding: 30px;
  border: var(--border-width) solid var(--color-black);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 0 var(--color-black);
  background-color: var(--color-bg-white);
  overflow: hidden;
  position: relative;
}

.map-main-image img {
  width: 100%;
  height: auto;
  display: block;
}
.map-main-image {
  cursor: pointer;
}

.map-main-image:hover .btn-zoom {
  transform: scale(1.1);
}

.btn-zoom {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background-color: var(--color-bg-white);
  border: 5px solid var(--color-black);
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.btn-zoom::before,
.btn-zoom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-black);
  transform: translate(-50%, -50%);
}

.btn-zoom::before {
  width: 4px;
  height: 20px;
}

.btn-zoom::after {
  width: 20px;
  height: var(--border-width);
}

.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-wrapper.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 5, 0.9);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  border: var(--border-width) solid var(--color-black);
  border-radius: var(--radius);
  background-color: var(--color-bg-white);
}







.map-title-list {
  display: flex;
  flex-direction: column;
}

.map-list-item {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 2px solid var(--color-black);
}

.map-list-item:first-child {
  /*
  border-top: 2px solid var(--color-black);
  */
}
.map-list-item:last-child {
  border-bottom: none;
  padding-bottom: 100px;
  /*
  */
}


.item-thumb {
  width: 38%;
  flex-shrink: 0;
}

.item-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item-name {
  font-weight: 800;
  font-size: var(--name-pc-txt);
  margin-bottom: 15px;
}

.item-desc {
  font-weight: 500;
  font-size: var(--desc-pc-txt);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  align-self: flex-start;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-magenta), var(--color-cyan));
  background-size: 200% auto;
  background-position: left center;
  color: var(--color-black);
  padding: 8px 40px;
  font-weight: 800;
  font-size: 24px;
  border: var(--border-width) solid var(--color-black);
  border-radius: 50px;
  box-shadow: 3px 3px 0 0 var(--color-black);
  transition: transform 0.2s, box-shadow 0.2s, background-position 0.4s ease;
  text-decoration: none;
}

.btn-detail:hover {
  background-position: right center;
}

.btn-detail:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 var(--color-black);
}

.btn-detail svg {
  width: 24px;
  height: auto;
  fill: var(--color-black);
}


@media screen and (max-width: 768px) {

  /* SP時のTOPノイズに合わせる */
  .sec-map::after {
    background-size: 170px 170px;
    opacity: 0.35;
  }

  .sec-map {
    padding: 10vw 0 15vw;
  }

  .inner-title {
    max-width: var(--content-width-sp);
    padding: 0;
  }

  .sec-heading {
    font-size: var(--mdl-sp-txt);
    margin-top: -3vw;
    margin-bottom: 6vw;
  }

  /* マップ画像エリア */
  .map-main-image {
    margin-bottom: 5vw;
    padding: 4vw;
    border-width: 0.5vw;
    border-radius: 1.333vw;
    box-shadow: 0.8vw 0.8vw 0 0 var(--color-black);
  }

  /* 拡大（＋）ボタン */
  .btn-zoom {
    width: 6vw;
    height: 6vw;
    bottom: 2vw;
    right: 2vw;
    border-width: 0.6vw;
  }
  
  .btn-zoom::before {
    width: 0.6vw;
    height: 4vw;
  }
  .btn-zoom::after {
    width: 4vw;
    height: 0.6vw;
  }


  /* リスト全体 */
  .map-list-item {
    flex-direction: column; /* 縦積みに変更 */
    gap: 4vw;
    padding: 8vw 0;
    border-bottom-width: 0.5vw; /* 下線の太さもSP用に変換 */
  }
  .map-list-item:last-child {
    padding-bottom: 15vw;
    /*
    */
  }
  

  .item-thumb {
    width: 100%; /* 画像を横幅いっぱいに */
  }

  .item-thumb img {
    border-radius: 1.333vw;
  }

  .item-info {
    gap: 0; /* PC版のFlex設定をリセットして個別のmarginで制御 */
  }

  .item-name {
    font-size: 4.8vw;
    margin-bottom: 2vw;
  }

  .item-desc {
    font-size: var(--desc-sp-txt);
    margin-bottom: 6vw;
    line-height: 1.6;
  }

  /* 詳細 / ノベルティ ボタン */
  .btn-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    min-height: 12vw;
    margin: 0 auto;
    padding: 2.5vw 6vw;
    font-size: 4.8vw;
    border-width: 0.5vw;
    border-radius: 50px;
    box-shadow: 0.833vw 0.833vw 0 0 var(--color-black);
    line-height: 1;
    gap: 0;
  }

  .btn-detail:active {
    transform: translate(0.5vw, 0.5vw);
    box-shadow: 0.3vw 0.3vw 0 0 var(--color-black);
  }

  .btn-detail svg {
    width: 4.5vw;
  }
  .modal-bg {
    height: 100dvh;
  }



}



