* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #ffffff;  
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", sans-serif;
  min-height: 100vh;
  color: #2a2a2a;
}

.gradient-wrap {         
    background: linear-gradient(to bottom, #ffffff 0%, #ffe6e0 30%, #fff8cc 100%);
  }

/* ===== ファーストビュー ===== */
.fv {
    background: linear-gradient(to bottom, #ffffff 0%, #ffe6e0 30%, #fff8cc 100%);  
  position: relative;
  display: flex;
  width: 100%;
  height: 650px;
  overflow: visible;
}

.frame-1      { width: 13.85%; }
.frame-2      { width: 18.31%; }
.spacer-a     { width:  1.46%; }
.fv-copy-area { width: 15.77%; }
.frame-3      { width: 50.62%; }

.frame {
  height: 650px;
  overflow: hidden;
  flex-shrink: 0;
}

.frame-track {
  display: flex;
  width: 400%;
  height: 100%;
  animation: slide-ltr 24s infinite;
  animation-timing-function: ease-in-out;
}

.frame-track img {
  width: 25%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes slide-ltr {
  0%,   22%  { transform: translateX(-75%); }
  33%        { transform: translateX(-50%); }
  55%        { transform: translateX(-50%); }
  66%        { transform: translateX(-25%); }
  88%        { transform: translateX(-25%); }
  100%       { transform: translateX(0%); }
}

.frame-2 .frame-track { animation-delay: -8s; }
.frame-3 .frame-track { animation-delay: -16s; }

/* コピーエリア */
.fv-copy-area {
  position: relative;
  height: 650px;
  flex-shrink: 0;
  overflow: visible;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.fv-copy {
  position: relative;
  margin-top: 100px;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  height: 1200px;
  font-size: clamp(28px, 3vw, 45px); 
  
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1.9;
  color: #af74a8; 
  background: none;
}

/* ===== メッセージセクション ===== */
.message {
  position: relative;
  width: 100%;
  min-height: 865px;
  padding: 120px 20px;
  overflow: visible;
  padding-bottom: 200px; 
}

/* 背景の大きな縦書きタイトル */
.message-title {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    font-size: 112px;
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 3.2;
    color: #b5573a;
    mix-blend-mode: multiply;
    opacity: 0;
    z-index: 1;
    margin: 0;
    pointer-events: none;
    white-space: nowrap;
   
    transition: opacity 5s ease-in-out;
  }

  .message-title.is-shown {
    opacity: 0.45;
  }
  
  .message-title.is-dimmed {
    opacity: 0.1;
    mix-blend-mode: normal;
  }
  
  .message-title.is-dimmed {
    opacity: 0.1;
    mix-blend-mode: normal; 
    animation: none;    
  }

/* 前景のメッセージ本文 */
.message-body {
    position: relative;
    z-index: 2;
    max-width: 757px;
    margin: 0 auto;
    margin-top: 150px;
    font-size: 16px;
    line-height: 1.5;
    color: #2a2a2a;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 3.5s ease-out, transform 3.5s ease-out;
  }

  .deco-04 {
    position: absolute;
    top: 8%;        /* ← 変更 */
    left: 10%;      /* ← 変更 */
    width: 8vw;     /* ← 変更 */
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
  }

  /* 画面に入ったら表示 */
  .message-body.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

.message-body p {
  margin-bottom: 1.8em;
}

.message-body p.space-l {
  margin-top: 2.6em;
}

/* フェードアニメーション */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.45; }
}



/* ===== レスポンシブ ===== */

/* タブレット（〜960px） */
@media screen and (max-width: 960px) {
  .fv { height: 500px; }
  .frame { height: 500px; }
  .fv-copy { height: 900px; font-size: 4vw; margin-top: 60px; }
  .message-title { font-size: 80px; right: 5%; }
  .message { padding: 80px 20px; }
}

/* スマホ（〜640px）：FVはレイアウト変更 */
@media screen and (max-width: 640px) {
  .fv {
    flex-wrap: wrap;
    height: auto;
    padding: 20px 0;
  }

  /* 写真3枚を横並び（縮小） */
  .frame-1 { width: 25%; }
  .frame-2 { width: 30%; }
  .spacer-a { display: none; }
  .fv-copy-area {
    width: 100%;
    height: auto;
    order: 99;                /* 写真の下に配置 */
    padding: 30px 0;
  }
  .frame-3 { width: 45%; }
  .frame { height: 280px; }

  /* コピーは横書きに切り替え */
  .fv-copy {
    writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
    height: auto;
    margin-top: 0;
    font-size: 18px;
    line-height: 1.9;
    letter-spacing: 0.1em;
    text-align: center;
    color: #af74a8; 
  }

  /* メッセージセクション */
  .message {
    position: relative;
    width: 100%;
    min-height: 865px;
    padding: 280px 100px 120px;   /* 上余白を280pxに拡大（FVコピーのはみ出しを回避） */
    overflow: hidden;
  }

  .message-title {
    font-size: 48px;
    top: 30px;
    right: 5%;
    letter-spacing: 0.1em;
  }

  .message-body {
    font-size: 15px;
    line-height: 1.95;
  }
}

/* ===== aboutセクション ===== */
.about {
    position: relative;
    padding: 0 5% 100px;                                       
    overflow: visible;                                        
    margin-top: -180px;  
    z-index: 2;                                     
  }
  

  
  .about-deco-05 {
    position: absolute;
    top: 50px;
    right: 8%;
    width: clamp(60px, 8vw, 100px);
    height: auto;
    opacity: 0.5;
    z-index: 4;
    pointer-events: none;
  }
  
  .about-box {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 70px;
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    z-index: 1;
  }
  
  .about-box p {
    font-size: 13px;
    line-height: 2.0;
    color: #2a2a2a;
    margin-bottom: 1.8em;
  }
  
  .about-box p:last-child {
    margin-bottom: 0;
  }
  
  @media screen and (max-width: 640px) {
    .about {
      padding: 80px 4% 100px;
    }
    .about-box {
      padding: 40px 24px;
    }
    .about-box p {
      font-size: 12px;
      line-height: 1.9;
    }
  }

  /* ← 以下を新規追加 */
/* ===== 展覧会基本情報セクション ===== */
.info {
    margin-top: 80px;
    padding: 0 20px 120px;
    text-align: center;
  }
  
  .info-title {
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: #474747;  
    margin-bottom: 30px;
  }
  
  .info-deco-06 {
    display: block;
    margin: 0 auto 40px;
    width: 80px;
    height: auto;
    opacity: 0.5;
  }
  
  .info-table {
    width: 700px;
    max-width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: left;

  }

  .info-address {   
    font-size: 18px;
    display: inline-block;
    margin-top: 4px;
  }
  
  .info-table th,
  .info-table td {
    padding: 22px 0;
    font-size: 18px;
    vertical-align: middle;
    border-bottom: 1px solid #ababab;
    color: #474747;   
  }
  
  .info-table th {
    width: 200px;
    font-weight: 500;
    border-bottom: 3px solid #ababab;
  }
  
  .info-table td {
    font-weight: 400;
    padding-left: 50px;
  }
  
  .info-table a {
    color: #3aa6c9;
    text-decoration: none;
  }
  
  .info-table a:hover {
    text-decoration: underline;
  }
  
  @media screen and (max-width: 768px) {
    .info-title {
      font-size: 32px;
      letter-spacing: 0.2em;
    }
    .info-table th,
    .info-table td {
      font-size: 16px;
      padding: 16px 0;
    }
    .info-table th {
      width: 110px;
    }
    .info-table td {
      padding-left: 20px;
    }
  }
  
  /* ← 以下を新規追加 */
/* ===== 呼びかけ人セクション ===== */
.people {
    padding: 80px 20px 120px;
    text-align: center;
    color: #474747;
  }
  
  .people-title {
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
  }
  
  .people-deco-07 {
    display: block;
    margin: 0 auto 30px;
    width: 70px;
    height: auto;
    opacity: 0.5;
  }
  
  .people-callers {
    font-size: 22px;
    font-weight: 400;
    line-height: 2.2;
    margin-bottom: 80px;
  }
  
  .people-subtitle {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
  }
  
  .people-supporters {
    font-size: 20px;
    font-weight: 400;
    line-height: 2.2;
    max-width: 700px;
    margin: 0 auto;
  }
  
  @media screen and (max-width: 768px) {
    .people-title {
      font-size: 28px;
    }
    .people-callers {
      font-size: 14px;
    }
    .people-subtitle {
      font-size: 20px;
    }
    .people-supporters {
      font-size: 14px;
      padding: 0 10px;
    }
  }
  