@charset "utf-8";

body {
  background: transparent;
  transition: background-color 0.8s ease;
}

body.is-bg-switched {
  background: #FAF8F6;
}


/* h1非表示 */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ===== SWELL Layout Kill (Top only) ===== */
.home #content,
.home .l-main,
.home .l-main__inner {
  max-width: none !important;
  padding: 0 !important;
  display: block !important;  /* flexを無効化 */
}

.home #header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
  background: transparent !important;
}


#fix_header[data-ready="1"] {
  background-color: rgba(255, 255, 255, 0.95);
}

#fix_header[data-ready="1"] .l-fixHeader__inner {
  background-color: rgba(255, 255, 255, 0.95);
}

/* フェードアウト状態 */
body.is-bg-switched #izn-hero-stage {
  opacity: 0;
  pointer-events: none;
}

/* ===== Hero (トリミング方式) ===== */
#izn-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* 画面の高さ一杯に固定 */
  overflow: hidden; /* はみ出た動画をカット */
  z-index: 1; /* 動画より上に配置するため少し上げる */
  display: flex;
  align-items: center;      /* 垂直中央 */
  justify-content: center;   /* 水平中央 */
}

#izn-hero video,
#izn-hero iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%); /* 中央寄せでトリミング */
  object-fit: cover; /* 動画自体を枠に合わせてフィットさせる */
}


/* ===== Hero Stage ===== */
#izn-hero-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  opacity: 1;
  transition: opacity 0.8s ease;  
}

/* Video */
.izn-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .iizuna-video .is-style-section_ttl strong {
        font-size: 48px;
        letter-spacing: 0.05em;
    }
}

/* Text */
.izn-hero-content {
  text-align: center;
  color: #fff;
  position: relative; /* absoluteにせず、flexの配置に従わせる */
  z-index: 10;        /* 動画(z-indexなし、または0)より必ず上に */
  width: 100%;
  max-width: 1200px;  /* 必要に応じて調整 */
  padding: 0 20px;    /* スマホ時の余白 */
margin-top: 120px;
}

/* ===== Next Section ===== */
.izn-next {
  background: #fff;
  padding: 120px 20px;
}

/* =====いいづなCRAFTのフォントスタイル */

.izn-hero-title {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: clamp(48px, 8vw, 100px);
  letter-spacing: 0.9vw;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  line-height: 1.1;
  margin-bottom: 20px;
}

/* ====日程のフォントスタイル */
.izn-hero-schedule p{
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 6vw, 50px);
  letter-spacing: 0.5vw;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  line-height:2 ;
	font-weight: 900;
} 

/* ====キャッチフレーズスタイル */
.izn-hero-come {
    margin:30px auto;  
    text-align: center; 
}

/* =====キャッチフレーズのフォントスタイル */
.izn-hero-come p {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(12px, 1.2vw, 18px);
    line-height: 2.3;
    letter-spacing: 0.05em;
}



/* =====会場マップボタンのスタイル */
.izn-hero-btn {
    width: 26%; 
    margin:0 auto;  
    text-align: center; 
}


/* =====募集付箋のスタイル */
.izn-hero-bosyu {
  position: fixed;
  top: 66%;
  right: 0;
  transform: translateY(-50%);
  z-index: 99999;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .izn-hero-bosyu {
    top: auto;          /* PC指定を解除 */
    right: 0;
    left: 0;
    bottom: 0;
    transform: none;    /* 中央寄せ解除 */
  }

  .izn-hero-bosyu > div {
    width: 100%;
    height: 56px;       /* タブ高さ（好みで） */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0;
	text-align: center;
  }
}

/* =========================
 * クラフト募集ボタン
 * ========================= */

.izn-craft-btn {
background-color: rgba(255, 255, 255, 0.6);
border-radius: 5px 0 0 5px;
border: 1px solid #a9a9a9;
border-right:none;
font-family:  'Noto Sans JP', sans-serif;
padding: 20px;
display: inline-flex;
flex-direction: column;
  display: flex;          /* ← 超重要 */
  flex-direction: column;
  justify-content: center;
  width: 100%;            /* SP全幅対策 */
  text-decoration: none;  /* 下線消す */
  color: inherit;         /* 文字色維持 */

}

.izn-craft-btn:hover {
  background-color: #fff;
}

@media (max-width: 768px) {
  .izn-craft-btn {
    align-items: center;   /* flexの横方向中央 */
    text-align: center;    /* テキスト中央 */
  }
}

.izn-craft-sub {
  font-size: 1.1vw;
  color: #084458;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.izn-craft-main {
  font-size: 1.6vw;
  color: #000;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.izn-hero-bosyu{
  display: block;
  text-decoration: none;
  color: inherit;
}


/* =========================
   Background Switch
========================= */

/* 通常：動画あり */
#izn-hero-stage {
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* 切り替え後：動画消す */
body.is-bg-switched #izn-hero-stage {
  opacity: 0;
  pointer-events: none;
    transform: scale(1.02);
}

/* 切り替え後：背景をグレージュに */
body.is-bg-switched {
  background: #D0CCC9;
}

/* ======================
Swiper カスタム投稿カード
====================== */

/* ==========================
   スライダー全体
========================== */
#izn-event-slider {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;       /* 上下余白を完全に削除 */
  margin: 0 !important;        /* 親要素マージンをリセット */
  box-sizing: border-box;
}

/* ==========================
   Swiperコンテナ
========================== */
.izn-event-swiper {
  width: 100%;
  overflow: hidden;   /* スクロールバー非表示 */
  cursor: grab;       /* ドラッグ時に手の形 */
  display: block;     /* flex は不要 */
}

/* ==========================
   スライド
========================== */
.izn-event-swiper .swiper-slide {
  width: 320px;       /* 固定幅スライド */
  flex-shrink: 0;     /* 幅を縮めない */
}

/* ==========================
   カードデザイン
========================== */
.izn-event-card {
  width: 320px;
  height: 200px;
  margin: 0;          /* spaceBetween に任せる */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  background: #fff;
}

/* ==========================
   画像
========================== */
.izn-event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ==========================
  タグエリア
========================== */
#izn-tag {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

#izn-tag .izn-inner {
  width: 80%;
  max-width: 1200px;
  background: #fff;
  border-radius: 24px;
  padding: 32px 24px;
}

.izn-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
}

.izn-tag-item {
  display: inline-block;
  padding: 10px 16px;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: 0.3s ease;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.izn-tag-item:hover {
  transform: scale(1.1);
}