@charset "utf-8";
/* CSS Document */

html {
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden; /* 横スクロールを禁止 */
  max-width: 100%;
}

/* ===== ハンバーガーメニュー ===== */

/* ボタン */
.hamburger-btn {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #6F9FA6;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px;
  transition: border-color 0.3s ease;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: #fafafa;
  transition: transform 0.4s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* ボタン：開いているとき（×マーク） */
.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* オーバーレイ */
.hamburger-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hamburger-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー本体 */
.hamburger-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: #1C1F26;
  border-left: 1px solid #6F9FA6;
  z-index: 950;
  padding: 100px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.hamburger-menu.is-open {
  transform: translateX(0);
}

/* リスト */
.hamburger-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* リンク共通 */
.hamburger-link {
  display: block;
  padding: 16px 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: #fafafa;
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 159, 166, 0.2);
  position: relative;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

/* 同ページ内ジャンプのリンク（細字で差別化） */
.hamburger-link--inner {
  font-size: 14px;
  color: #6F9FA6;
  letter-spacing: 0.2em;
}

/* ホバー */
.hamburger-link:hover {
  color: #6F9FA6;
  padding-left: 10px;
}

.hamburger-link--inner:hover {
  color: #fafafa;
}

/* ホバーで左に縦線が出る */
.hamburger-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 60%;
  background: #6F9FA6;
  transition: transform 0.3s ease;
}

.hamburger-link:hover::before {
  transform: translateY(-50%) scaleY(1);
}
/* ====ファーストビューここから===*/

.fv {
  position: relative;
  height: 100svh;
  overflow: hidden;
	 
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1);
  transform-origin: center;
	 z-index: 0;
}
/* ロゴ（最前面） */
.fv-logo {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 2; 
  margin: 0;
}



/* 表示中 */
.slide.active {
  opacity: 1;
}

.slide.active img {
  animation: zoomFade 6s ease forwards;
}

h1{
  /* 影 */
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
	
}


@keyframes floatY {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}
/* 吸い寄せズーム */
@keyframes zoomFade {
  0% {
    transform: scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}
/* ↑====ファーストビューここまで===↑ */

/* ↓====aboutここから===↓ */
body{
	background: #1C1F26;
	 padding-top: 60px;
  /*フォント設定*/
 font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}
.container{
	width: 100%;
  max-width: 393px;
  margin: 0 auto;
  padding: 0 auto;
}
#about{
	margin:0 auto;
	background:linear-gradient(
    to bottom,
    #FAFAFA 35%,
    #CFCF9C 86%,
    #1C1F26 100%
  );
}

.logo-black{
	margin: auto;
	padding-top: 80px;
	width: 25vh;
}
#top-title{
	text-align: center;
	font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
	
}
#top-title::before,#top-title::after{
 content: "";
  height: 1px;
  background-color: #333;
  flex: 0.3;
}

#top-title::before {
  margin-right: 10px;
}

#top-title::after {
  margin-left: 10px;
}

.event-info {
  font-size: 14px;;
  padding: 20px;
  margin: 0 20px;
}

.event-info li {
  display: flex;
  margin-bottom: 8px;
}

.label {
  width: 60px;    
  
}

.content {
  flex: 1;       
}
#about-label{
	 position: relative;
	margin-top: 30px;
	margin-bottom: 50px;
	padding-bottom: 100px;
}

.main-label-B{
	width: 120px;
	height: 30px;
	font-size:20px;
	background: #2f3440;
	color: #fafafa;
	border: 1px solid #2f3440;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
	
}

.sub-label-B{
	width: 120px;
	height: 30px;
	font-size:14px;
	color: #2f3440;
	border: 1px solid #2f3440;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 20px;         
	left: 80px;
	z-index: 1;
	gap:8px;

}
.sub-label-B::before {
  content: "";
  width: 50px;
  height: 1px;
  background: #2f3440;
}
.sub-label-B + p {
  margin-top: 40px;
  line-height: 1.7;
  padding: 0 20px;
	
}
.dash-line {
  display: inline-flex;
  width: 40px;
 height: 1px;          
  background: #222;     
  margin: 0 5px;
  vertical-align: 0.3em;
	position: relative;        
}

/* ↑====aboutここまで===↑ */

/* ↓====Galleryここから===↓ */
#gallery{
	 position: relative;
	margin-top: 30px;
	margin-bottom: 50px;
	padding-bottom: 100px;
}

.main-label{
	width: 120px;
	height: 30px;
	font-size:20px;
	background: #1C1F26;
	color: #fafafa;
	border: 1px solid #6F9FA6;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
	
}

.sub-label{
	width: 120px;
	height: 30px;
	font-size:14px;
	color: #fafafa;
	background: #6F9FA6;
	border: 1px solid #6F9FA6;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 20px;         
	left: 80px;
	z-index: 1;
	gap:8px;

}
.sub-label::before {
  content: "";
  width: 45px;
  height: 1px;
  background: #fafafa;
}

/* ギャラリースライダー */
.gallery-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 画像の縦横比 */
  /*margin: auto;*/
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /*transition: opacity 1.5s ease;*/ /* フェードの速さ */
	display: flex;             
  align-items: center;       
  justify-content: center; 
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-slide img {
  width: 90%;
  height: 90%;
  object-fit: cover;
}

/* ボーダーを持つ外枠 */
.gallery-wrap {
  position: relative; /* ← Moreボタンの基準点 */
  margin: 100px 16px 50px 16px;
  padding: 10px;
  border: 1px solid #6F9FA6;
  box-sizing: border-box;

  /* 下ボーダーだけ透明にして消す */
  border-bottom: none;
}

/* 下ボーダーを疑似要素で再現して、右端に余白を作る */
.gallery-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  /* 右端をボタンの幅＋余白分だけ手前で止める */
  width: calc(100% - 140px);
  height: 1px;
  background: #6F9FA6;
}

/* Moreボタン */
.gallery-more {
  position: absolute; /* ← .gallery-wrapを基準に配置 */
  bottom: -12px;      /* 下ボーダーをまたぐように微調整 */
  right: 35px;
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid #6F9FA6;
  color: #fafafa;
  font-size: 14px;
  background: #1C1F26; /* 背景色（サイトの背景と合わせる） */
}

.gallery-timestamp {
  position: absolute;
  bottom: 11px;
  right: 16px;
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 5;
}

/* ↓====Installationここから===↓ */

#installation {
  position: relative;
  margin-top: 30px;
  margin-bottom: 50px;
  padding-bottom: 100px;
}

/* インスタレーション写真エリア */
.installation-photos {
   display: flex;
  flex-wrap: nowrap; /* 折り返しを禁止 */
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;          
  margin-top: 100px;
   padding: 0 0 40px;
  box-sizing: border-box;
}

/* 各画像アイテム */
.installation-item {
  flex: 1;
  min-width: 0; /* ← 追加：flexアイテムが縮めるようにする */
  animation: floatUpDown 12s ease-in-out infinite;
}

/* 左右で動きをずらして自然に見せる */
.installation-item:nth-child(1) {
  animation-delay: 0s;
}
.installation-item:nth-child(2) {
  animation-delay: 0.6s; /* 少しずらす */
}
.installation-item:nth-child(3) {
  animation-delay: 1.2s; /* さらにずらす */
}

/* 中央だけ20px下げる */
.installation-item--down {
  margin-top: 20px;
}

/* 縦長サムネイル */
.installation-item img {
  width: 100%;
  aspect-ratio: 2 / 3; /* 縦長の比率 */
  object-fit: cover;
  display: block;
	 filter: brightness(0.8) blur(0px);
  box-shadow: 0 0 10px 8px rgba(255, 255, 255, 0.25);
}

/* 上下に揺れるアニメーション */
@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* 上に10px浮く */
  }
}

/* ↓====Mapここから===↓ */
#map {
  position: relative;
  margin-top: 30px;
  margin-bottom: 50px;
  padding-bottom: 100px;
}

/* マップ外枠 */
.map-wrap {
  position: relative; /* ピンの基準点 */
  margin: 100px 16px 40px;
}

.map-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}



/* ↓====informationここから===↓ */

#information{
 position: relative;
  margin-top: 30px;
  margin-bottom: 50px;
  padding-bottom: 100px;
  color: #fafafa;

}
.information_title{
  margin-top: 100px;
  padding: 0 10px;
  font-size: 24px;
   display: flex;
  align-items: center;
}
.information_title::before{
   content: "";
  width: 120px;
  height: 1px;
  background: #fafafa;
   margin-right: 10px;
}

.info-row {
  padding: 0 16px;
  margin-top: 20px;
	align-items: center;
	justify-content: center;
  
}

.info-row ul {
  width: fit-content; 
  margin: 0 auto; 
}

.info-row li {
  display: flex;
  margin-bottom: 20px;
  font-size: 16px;
}


.info-value{
  margin-left: 10px;
}

.info-label::before{
  content: "";
  display: inline-block;
  width: 5px;
  height: 20px;
  background: #6F9FA6;
  margin-right: 8px;

}

/* モバイル */
#google-map {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  box-sizing: border-box;
  margin-top: 50px;
}

#google-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* PC */
@media (min-width: 768px) {
  #google-map {
    padding-top: 400px; 
  }
}

#ticket{
 position: relative;
  margin-top: 30px;
  margin-bottom: 50px;
  padding-bottom: 100px;
  color: #fafafa;

}

#ticket table {
  font-size: 16px;
  padding: 20px;
  width: 80%;
  max-width: 500px;
  margin: 30px auto;
}


#ticket tr {
  display: flex;
  padding: 12px 0;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;       
  box-sizing: border-box; 
}
.ticket-name {
  display: flex;
  align-items: center;
  flex: 1; 
	position: relative;
  padding-left: 15px;
	 min-width: 0;
	
}

.ticket-price {
  text-align: right;
  white-space: nowrap;   
  padding-right: 8px;
  min-width: 0;
 display: flex;     
  align-items: center;
}

.ticket-price-text {
  display: inline-block;
  width: 70px;        /* ← 価格表示エリアの固定幅 */
  text-align: right;
}

.ticket-name::before {
  content: "";
  display: block;       /* inline-block → block に変更 */
  width: 10px;
  height: 100%;         /* 親（tr）の高さに合わせて伸びる */
  min-height: 20px;     /* 最低限の高さを確保 */
  background: #6F9FA6;
  margin-right: 8px;
  flex-shrink: 0;       /* 縮まないようにする */
}
.ticket-price::before {
  content: "";
  display: block;
  flex: 1;
  height: 0;
  border-top: 2px dotted #fafafa; /* ← 点線 */
  margin: 0 8px;
  align-self: center;
  min-width: 50px;
}

#ticket tr:first-child{
  margin-top: 50px;
}

#ticket td:first-child::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 15px;
  background: #6F9FA6;
  margin-right: 8px;
}

.btn {
  border: none;
  appearance: none;
  -webkit-appearance: none;
}


#button {
  text-align: center;
  margin-top: 30px;
}

#button p {
  margin-top: 10px;
  font-size: 12px;
}

button:disabled{
  opacity: 1;
  cursor: not-allowed;
  background: #6F9FA6;
  color: #FAFAFA;
  width: 65%;
  height: 35px;
  font-size: 16px;
}
#ticket p{
  font-size: 12px;
  margin-top: 10px;
}
#goods{
  position: relative;
  margin-top: 30px;
  margin-bottom: 50px;
  padding-bottom: 100px;
  
}

.goods-list{
 margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
}
.goods-item{
  background: #FAFAFA;
  margin: 20px 0;
  width: 50%;   /* 2列 */
  padding: 10px;
  box-sizing: border-box;
}

.goods-item img {
  width: 100%;
  height: auto;
  display: block;
}
.goods-list p{
	color: #fafafa;
	line-height: 1.5;
	display: block;
	text-align: center;
	margin: 0 auto;
  font-size: 12px;
}

/* ===== グッズ モーダル ===== */

/* サムネイルにカーソルを表示 */
.goods-thumb {
  cursor: zoom-in;
  transition: opacity 0.3s ease;
}

.goods-thumb:hover {
  opacity: 0.75;
}

/* モーダル全体 */
.goods-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.goods-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* オーバーレイ */
.goods-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 8, 0.88);
}

/* コンテンツ枠 */
.goods-modal__content {
  position: relative;
  z-index: 1;
  background: #1C1F26;
  border: 1px solid #6F9FA6;
  outline: 1px solid #6F9FA6;
  outline-offset: 4px;
  padding: 40px 24px 28px;
  width: min(85vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateY(16px);
  transition: transform 0.35s ease;
}

.goods-modal.is-open .goods-modal__content {
  transform: translateY(0);
}

/* 閉じるボタン */
.goods-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: #6F9FA6;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.goods-modal__close:hover {
  color: #fafafa;
}

/* 拡大画像 */
.goods-modal__img {
  width: 100%;
  height: auto;
  display: block;
}

/* 商品名 */
.goods-modal__name {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #fafafa;
  text-align: center;
}

#notes h2{
  margin: 0 auto;
width: 120px;
	height: 30px;
	font-size:20px;
	background: #1C1F26;
	color: #fafafa;
	border: 1px solid #6F9FA6;
	display: flex;
	align-items: center;
	justify-content: center;
	
}
#notes-text ul{
  margin-top: 30px;
  padding: 12px;
  box-sizing: border-box;
  font-size: 14px;
  background: rgb(250, 250, 250,0.7);
  line-height: 1.5;
  border: 1px solid #6F9FA6;
}
#notes-text li{
margin-bottom: 5px;
margin-left: 15px;
list-style: disc;
}

/* ===== Footer ===== */
footer { 
	width: 100%; 
	box-sizing: border-box; 
  background: linear-gradient(
    to bottom,
    #1C1F26 1%,
    #CFCF9C 86%,
    #FAFAFA 100%);
}

.footer_inner {
  padding-top: 100px;
  position: relative;
  width: 100%;
  max-width: 393px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}
/* ロゴエリア */
.sns_logo_inner {
  margin-top: 100px;
  text-align: center;
  padding: 40px 20px;
  color: #fafafa;
  position: relative; /* 横線の基準点 */
}

/* テキスト本体 */
.sns_logo {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #fafafa;
  position: relative;
  padding: 0 24px;
}

/* テキストの左右に短い横線 */
.sns_logo::before,
.sns_logo::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: #fafafa;
}

.sns_logo::before {
  right: 100%;
}

.sns_logo::after {
  left: 100%;
}

/* 上の線（左端から） */
.sns_logo_inner::before {
  content: "";
  position: absolute;
  top: 0;           
  left: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, #fafafa, transparent);
}

/* 下の線（右端から） */
.sns_logo_inner::after {
  content: "";
  position: absolute;
  bottom: 0;       
  right: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(to left, #fafafa, transparent);
}

/* SNS */
.footer_sns {
  display: flex;
  gap: 24px;
  margin-top: 60px;
  justify-content: center;
  align-items: center;
  position: relative;
}



.footer_sns::after {
  background: linear-gradient(to left, transparent, #2f3440);
}

/* アイコンリンク */
.footer_sns-link {
  width: 44px;
  height: 44px;
  border: 1px solid #2f3440;
  border-radius: 0;           /* 角丸をなくして格式ある四角に */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f3440;
  font-size: 16px;
  position: relative;
  transition: color 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

/* ホバー時に背景が下から塗りつぶされる */
.footer_sns-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2f3440;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.footer_sns-link:hover::before {
  transform: translateY(0);
}

/* アイコンを前面に */
.footer_sns-link svg {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.footer_sns-link:hover {
  border-color: #2f3440;
  color: #fafafa;
}

/* お問い合わせボックス */
#contact {
  position: relative;
  margin: 150px auto 0;
  text-align: center;
  color: #fafafa;
  background: #1c1f26;
  width: 280px;
  height: auto;
  padding: 20px 32px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #2f3440;
  outline: 1px solid #2f3440;
  outline-offset: 4px;
  overflow: hidden; /* ← 追加：塗りつぶしがはみ出ないように */
  transition: color 0.4s ease;
}

/* 下からスーッと塗りつぶすアニメーション */
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2f3440;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 0;
  /* コーナー装飾と役割が違うので上書き */
  width: auto;
  height: auto;
  border: none;
  top: auto;
  left: auto;
}

/* コーナー装飾は専用クラスに切り出す */
#contact::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  bottom: -4px;
  right: -4px;
  border-bottom: 2px solid #fafafa;
  border-right: 2px solid #fafafa;
  z-index: 1;
}

/* コーナー装飾（左上）はHTMLにspanを追加して対応 */
.contact-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -4px;
  left: -4px;
  border-top: 2px solid #fafafa;
  border-left: 2px solid #fafafa;
  z-index: 1;
  pointer-events: none;
}

/* aタグをボックス全体に広げる */
#contact .contact-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  letter-spacing: 0.1em;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* 下線がスーッと伸びる */
#contact .contact-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: #fafafa;
  transition: width 0.4s ease, left 0.4s ease;
}

#contact a:hover::after {
  width: 100%;
  left: 0;
}

.contact-sub {
  font-size: 16px;
}

/* ホバー時 */
#contact:hover::before {
  transform: translateY(0); /* 下からせり上がる */
}

#contact:hover::after {
  border-color: #fafafa;
}

#contact:hover .contact-corner {
  border-color: #fafafa;
}

/* Back to Top */
.footer_back-top {
  display: block;
  width: fit-content;
  margin: 40px auto 24px;
  padding: 10px 32px;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #2f3440;               
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid #2f3440;    
  outline: 1px solid #2f3440;
  outline-offset: 4px;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

/* ホバー時に背景がスーッと塗りつぶされる */
.footer_back-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2f3440;          /* 修正：#6F9FA6 → #2f3440 */
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.footer_back-top:hover::before {
  transform: translateY(0);
}

.footer_back-top:hover {
  color: #fafafa;
}

.footer_back-top span {
  position: relative;
  z-index: 1;
}

/* コピーライト */
.end-footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(111, 159, 166, 0.3);
  
}

.footer_logo {
  font-size: 20px;
  letter-spacing: 0.3em;
  color: #fafafa;
  margin-bottom: 10px;
}

.footer_copy {
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #9aa0a6;
  line-height: 1.8;
  
}





/* ===== ページヘッダー ===== */
.page-header {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #6F9FA6, transparent);
}

.page-header__label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: #6F9FA6;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-header__title {
  font-family: "Zen Old Mincho", serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #fafafa;
  margin-bottom: 8px;
}

.page-header__title-ja {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #6F9FA6;
}

/* ===== メインコンテンツ幅 ===== */
.contact-wrap {
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ===== リード文 ===== */
.contact-lead {
  font-size: 13px;
  letter-spacing: 0.1em;
  line-height: 2;
  color: #FAFAFA;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 40px;
}

.contact-lead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: #6F9FA6;
}

/* ===== セクションラベル（contact用） ===== */
.section-label-wrap {
  position: relative;
  margin-bottom: 40px;
}

/* ===== フォームエリア ===== */
.contact-form {
  margin-bottom: 70px;
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #6F9FA6;
  margin-bottom: 10px;
}

.form-required {
  font-size: 10px;
  color: #c97a7a;
  margin-left: 8px;
  letter-spacing: 0.1em;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(111, 159, 166, 0.05);
  border: none;
  border-bottom: 1px solid #6F9FA6;
  color: #fafafa;
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 14px 4px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: #fafafa;
  background: rgba(111, 159, 166, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(250, 250, 250, 0.2);
  font-size: 13px;
}

/* select のデフォルト矢印を非表示にして独自スタイルに */
select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236F9FA6' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

select.form-input option {
  background: #1C1F26;
  color: #fafafa;
}

.form-textarea {
  height: 160px;
  resize: vertical;
  line-height: 1.8;
  padding: 14px 4px;
}

/* ===== 送信ボタン ===== */
.form-submit {
  display: block;
  width: 100%;
  padding: 18px;
  background: transparent;
  border: 1px solid #6F9FA6;
  outline: 1px solid #6F9FA6;
  outline-offset: 4px;
  color: #6F9FA6;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  margin-top: 40px;
}

.form-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #6F9FA6;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.form-submit:hover::before {
  transform: translateY(0);
}

.form-submit:hover {
  color: #1C1F26;
}

.form-submit span {
  position: relative;
  z-index: 1;
}

/* ===== 注意事項 ===== */
.contact-notes {
  border-top: 1px solid rgba(111, 159, 166, 0.3);
  padding-top: 40px;
  margin-bottom: 80px;
}

.contact-notes__title {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #6F9FA6;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-notes__list {
  list-style: none;
}

.contact-notes__list li {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #fafafa;
  line-height: 2;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.contact-notes__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #6F9FA6;
}

/* ===== Back to Top（contact用） ===== */
.contact-back-top {
  display: block;
  width: fit-content;
  margin: 0 auto 60px;
  padding: 10px 32px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #2f3440;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid #2f3440;
  outline: 1px solid #2f3440;
  outline-offset: 4px;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

.contact-back-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2f3440;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.contact-back-top:hover::before {
  transform: translateY(0);
}

.contact-back-top:hover {
  color: #fafafa;
}

.contact-back-top span {
  position: relative;
  z-index: 1;
}

/* ===== フッター（下層ページ用） ===== */
.contact-footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(111, 159, 166, 0.3);
  background: #1C1F26;
}
.gallery-installation-footer{
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(111, 159, 166, 0.3);
  background: #060708;
}

.contact-footer__logo {
  width: 300px;
  height: auto;
  margin-bottom: 10px;
}

.contact-footer__copy {
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #9aa0a6;
  line-height: 1.8;
}

/* ================================================
   スクロールフェードイン
   ================================================ */

/* 対象要素の初期状態：非表示・少し下にある */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* JSがクラスを付与したら表示 */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 複数要素を順番にずらして表示 */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* reduced-motion 対応 */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}