@charset "utf-8";
body {
      margin: 0;
      font-family: sans-serif;
}

header {
      background: #fff; /* ヘッダーは白に固定 */
      padding: 20px;
      border-bottom: 1px solid #ccc;
}

 .container {
      background: #fffafa; 
      padding: 20px;
      min-height: 100vh; /* 背景を縦いっぱいに */
	 line-height: 1em !important;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* 背景を暗めにして文字を見やすく */
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-image.show {
  opacity: 1;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}
.hero-text h1 {
  font-size: 2.2em;
  margin-bottom: 12px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
.hero-text p {
  font-size: 1.2em;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* お三方の挨拶 */
.greeting {
  /*text-align: center;*/
  margin: 25px auto;
  max-width: 800px;
}
.greeting h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
}
.greeting-card {
  display: flex;
  align-items: center;
  margin: 20px 0;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}
.greeting-card.show {
  opacity: 1;
  transform: translateX(0);
}
.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.greeting-text {
  text-align: left;
}

/* 日ごとのセクション */
.day-section {
  margin: 25px auto;
  max-width: 920px;
  /*text-align: center;*/
}
.day-section h2 {
  font-size: 1.6em;
  margin-bottom: 12px;
	line-height: normal !important;
}
.day-section p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* 写真ギャラリー */
.photo-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden; /* 縦スクロールを非表示に */
  padding: 10px 20px 10px 0;
  margin-bottom: 20px;
}


.gallery-pic:last-child {
  margin-right: 12px; 
}

.gallery-pic {
  width: 220px;
  height: 147px; 
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  flex-shrink: 0; /* これで縮小されず、角丸が隠れない */
}

.gallery-pic.show {
  opacity: 1;
  transform: translateY(0);
}

/* コメントカード */
.participant-comments {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comment-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  box-shadow: 0 6px 18px rgba(32,12,48,0.2);
}
.comment-card.show {
  opacity: 1;
  transform: translateY(0);
}
.comment-card .author {
  font-size: 0.85rem;
  color: #cd5c5c;
  margin-top: 6px;
}

/* スクロールバーを軽く見やすく */
.photo-gallery::-webkit-scrollbar {
  height: 8px;
}
.photo-gallery::-webkit-scrollbar-thumb {
  background: #cc7a7a;
  border-radius: 4px;
}
.photo-gallery::-webkit-scrollbar-track {
  background:#f0f0f0 ;
  border-radius: 4px;
}