
/* ================================================
   iPhone / モバイル アニメーション最適化
   ================================================ */

/* スクロールをGPUに渡してカクつき防止 */
.fv,
.slide,
.slide img,
.logo-wrap,
.installation-item,
.installation-item img,
.map-pin {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* アニメーション要素にGPUヒントを付与 */
.installation-item {
  will-change: transform;
}

.gallery-slide {
  will-change: opacity;
}

#square,
#text-cyan,
#text-magenta,
#text-white {
  will-change: transform, opacity;
}

/* iOS Safari の overflow: hidden バグ対策 */
.fv {
  -webkit-overflow-scrolling: touch;
}

/* iOS Safari の aspect-ratio 対応補完 */
.gallery-slider {
  min-height: 0;
}

/* @keyframes に -webkit- を補完 */
@-webkit-keyframes floatUpDown {
  0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  50%       { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
}

@-webkit-keyframes squareDrift {
  0%,  100% { -webkit-transform: translateY(0px) rotate(0deg); }
  25%        { -webkit-transform: translateY(-6px) rotate(0.3deg); }
  50%        { -webkit-transform: translateY(-10px) rotate(-0.2deg); }
  75%        { -webkit-transform: translateY(-4px) rotate(0.15deg); }
}

@-webkit-keyframes pinDrop {
  0%   { -webkit-transform: translateY(-20px) translateX(-50%); opacity: 0; }
  60%  { -webkit-transform: translateY(2px) translateX(-50%); }
  100% { -webkit-transform: translateY(0) translateX(-50%); opacity: 1; }
}

/* reduced-motion 対応：アニメーション酔い防止 */
@media (prefers-reduced-motion: reduce) {
  .installation-item,
  #square,
  #text-cyan,
  #text-magenta {
    animation: none;
  }
}


/* ================================================
   768px〜 タブレット対応
   ================================================ */
@media (min-width: 768px) {

  /* --- 共通コンテナ幅を拡張 --- */
  .container {
     max-width: 700px;
  }

  /* --- About --- */
  .logo-black {
    width: 20vh;
  }

  #top-title {
    font-size: 28px;
  }

  .event-info {
    font-size: 15px;
    margin: 0 40px;
  }

  .sub-label-B + p {
    padding: 0 40px;
    font-size: 15px;
  }

  /* --- Gallery --- */
  .gallery-wrap {
    margin: 50px 0;
  }
	
.gallery-timestamp {
    bottom: calc(5% + 4px); /* gallery-slideのpadding分を考慮 */
    right: calc(5% + 8px);
    font-size: 8px; /* 少し大きく */
    padding: 3px 7px;
    letter-spacing: 0.12em;
  }
  /* --- Installation --- */
  .installation-photos {
    gap: 16px;
    padding: 0 0 40px;
    margin-top: 60px;
  }

  .installation-item--down {
    margin-top: 30px;
  }

  /* --- Map --- */
  .map-wrap {
    margin: 100px auto;
	  width: 70%;
  }

  /* --- Information --- */
  .information_title {
    font-size: 28px;
    padding: 0 0;
  }
.information_title::before{
  
  width: 400px;

}
  .info-row {
    padding: 20px 0;
    margin: 0;
  }

  /* --- Ticket --- */
  #ticket table {
    margin: 0 20px;
    width: 90%;
  }

  /* --- Goods --- */
  /* SP版の2カラムレイアウトをそのまま維持 */

  /* --- Notes --- */
  #notes-text ul {
    font-size: 15px;
    padding: 20px;
  }

  /* --- Footer --- */
  .footer_inner {
    width: 700px;
	   max-width:none;
  }
	
  .end-footer {
     width: 100%;
    text-align: center;
  }
/* 上の線（左端から） */
.sns_logo_inner::before {
  margin-left: 150px;
}

/* 下の線（右端から） */
.sns_logo_inner::after {
  margin-right: 150px;
}


  .contact-footer__copy {
    white-space: nowrap;
  }
	
}


/* ================================================
   1024px〜 PC対応
   ================================================ */
@media (min-width: 1024px) {

  /* --- 共通コンテナ幅をPC対応に --- */
  .container {
    max-width: 960px;
  }

  /* ===== ハンバーガー → PC用ナビに切り替え ===== */
  .hamburger-btn {
    display: none; /* PCではハンバーガーボタンを非表示 */
  }

  .hamburger-overlay {
    display: none;
  }

  .hamburger-menu {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    padding: 0;
    transition: none;
  }

  .hamburger-nav {
    position: fixed;
	  width: 95%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(28, 31, 38, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
    border-bottom: 1px solid rgba(111, 159, 166, 0.2);
  }

  .hamburger-list {
    flex-direction: row;
    gap: 0;
    align-items: center;
  }

  .hamburger-link {
    font-size: 11px;
    letter-spacing: 0.2em;
    padding: 8px 16px;
    border-bottom: none;
    color: #9aa0a6;
    transition: color 0.3s ease;
  }

  .hamburger-link--inner {
    font-size: 11px;
    color: #9aa0a6;
  }

  .hamburger-link:hover,
  .hamburger-link--inner:hover {
    color: #6F9FA6;
    padding-left: 16px; /* SPのずれ効果をリセット */
  }

  .hamburger-link::before {
    display: none; /* PC版では縦線を非表示 */
  }

  /* ===== FV ===== */
  .fv-logo {
    top: 70%;
    left: 50%;
  }

  /* ===== About ===== */
  /* SP版の1カラムレイアウトをそのまま維持 */
  #top-title {
    font-size: 28px;
  }

  .sub-label-B + p {
    font-size: 15px;
  }

  /* ===== Gallery ===== */
  .gallery-wrap {
    margin: 60px 0;
    padding: 20px;
  }

  .gallery-slide img {
    width: 85%;
    height: 85%;
  }
	
.gallery-timestamp {
    bottom: calc(8% + 5px); /* gallery-slideのpadding分を考慮 */
    right: calc(8% + 8px);
    font-size: 10px; /* 少し大きく */
    /* 監視カメラ風の追加装飾 */
   
    padding: 3px 7px;
    letter-spacing: 0.12em;
  }
  /* ===== Installation ===== */
  .installation-photos {
    gap: 24px;
    padding: 0 0 60px;
    margin-top: 80px;
  }

  .installation-item img {
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.2);
  }

  /* ===== Map ===== */
  .map-wrap {
    margin: 150px auto;
	  width: 70%;
  }

  /* ===== Information ===== */
  .information_title {
    font-size: 32px;
    margin-top: 60px;
  }
  .information_title::before{
  width: 600px;
}

  .info-row {
    font-size: 16px;
    padding: 24px 0;
    margin: 0;
  }

  #google-map {
    padding-top: 450px;
  }

  /* ===== Ticket ===== */
  #ticket table {
    font-size: 18px;
    margin: 0;
    width: 70%;
    margin-left: 60px;
  }

  button:disabled {
    width: 40%;
    height: 44px;
    font-size: 16px;
  }

  /* ===== Goods ===== */
  /* SP版の2カラムレイアウトをそのまま維持 */

  .goods-modal__content {
    width: min(50vw, 480px);
  }

  /* ===== Notes ===== */
  #notes-text ul {
    font-size: 15px;
    padding: 24px 30px;
  }

  /* ===== Footer ===== */
  .footer_inner {
    width: 960px;
    padding-top: 120px;
  }

  .footer_sns {
    margin-top: 60px;
  }
/* 上の線（左端から） */
.sns_logo_inner::before {
  margin-left: 250px;
  
}

/* 下の線（右端から） */
.sns_logo_inner::after {
  margin-right: 250px;
  
}	
	

  #contact {
    margin-top: 100px;
  }

  .footer_back-top {
    margin-top: 60px;
  }

  .footer_copy {
    font-size: 12px;
    text-align: center;
    padding-bottom: 40px;
  }
.footer_inner {
    width: 100%;
	max-width:none;
	
  }
	
}


/* ================================================
   1280px〜 ワイドPC対応
   ================================================ */
@media (min-width: 1280px) {

  .container {
    width: 1100px;
  }

  .footer_inner {
    width: 1100px;
  }
.contact-footer__copy {
    white-space: nowrap;
  }
  .hamburger-nav {
    padding: 0 80px;
  }

}

/* ===== contact.html用レスポンシブ ===== */
@media (min-width: 768px) {
  .contact-wrap {
     max-width: 700px;
     margin: 0 auto;
    padding: 0 24px;
  }

	 .contact-form,
  .contact-notes {
    max-width: 600px;
    margin: 0 auto;
  }
	
  .form-textarea {
    height: 200px;
  }

  .page-header__title {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .contact-wrap {
     max-width: 960px;
    padding: 0 32px;
  }
}


/* ================================================
   個別修正（768px〜 タブレット・PC共通）
   ================================================ */
@media (min-width: 768px) {

  /* -----------------------------------------------
     修正1: event-info を中央揃えに
  ----------------------------------------------- */
  .event-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0;
  }

  .event-info li {
    justify-content: center;
    text-align: left; /* ラベルと内容は左揃えで読みやすく */
  }

  

  /* -----------------------------------------------
     修正3: gallery-more をレスポンシブで拡大
  ----------------------------------------------- */
  .gallery-more {
    font-size: 16px;
    padding: 6px 24px;
    bottom: -14px;
    right: 40px;
  }

  /* -----------------------------------------------
     修正4: info-row を中央配置に
  ----------------------------------------------- */
  .info-row {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin: 0 auto;
  }

  .info-row ul {
    width: fit-content;
    min-width: 320px;
  }

  /* -----------------------------------------------
     修正5: ticket table と button を中央配置に
  ----------------------------------------------- */
  #ticket table {
    margin: 0 auto;
    display: table;
  }

  #ticket tr {
    justify-content: flex-start;
    gap: 40px;
  }

  #button {
    text-align: center;
    margin-top: 30px;
  }

  /* -----------------------------------------------
     修正6: sns_logo_inner の横線装飾位置を
     コンテナ幅に対して相対的に維持
     （footer_inner の幅に合わせて調整）
  ----------------------------------------------- */
  .sns_logo_inner::before {
    width: 30%; /* 固定pxから%に変更して幅に追従 */
    max-width: 160px;
  }

  .sns_logo_inner::after {
    width: 30%;
    max-width: 160px;
  }

}
/* ===== PC版ナビ ロゴ ===== */

/* SP版では非表示 */
.nav-logo {
  display: none;
}

/* タブレット・PC版（1024px〜）で表示 */
@media (min-width: 1024px) {
  .nav-logo {
    display: flex;        /* imgを縦中央揃えにするため */
    align-items: center;
    margin-right: auto;   /* 左端固定・ナビリンクを右へ押し出す */
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s ease;
	    position: fixed;
  top: 10px;
  left: 0;
  width: 100%;
  }

  .nav-logo:hover {
    opacity: 0.7;
  }

  .nav-logo img {
    height: 32px;   /* ナビバーの高さ60pxに対して適度なサイズ */
    width: auto;    /* SVGなのでwidthはautoで比率を維持 */
    display: block;
  }
}