/* パーティクル用のスタイル */
.particles {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1; /* コンテナの背後に配置 */
  pointer-events: auto; /* マウスイベントを有効化 */
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%); /* 宇宙のような背景に変更 */
}

/* アニメーションを削除 */

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Noto Serif JP', serif;
  background: #000;
  color: #f0f0f0; /* フォントの色を明るいグレーに変更 */
  line-height: 1.8;
  overflow-x: hidden;
}

/* 日本語テキストにNoto Serif JPを適用 */
:lang(ja) {
  font-family: 'Noto Serif JP', serif;
}

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem 4rem 18rem;
  z-index: 2;
  min-height: 100vh;
  box-sizing: border-box;
  pointer-events: none; /* マウスイベントを無効化して背後のパーティクルにイベントを通す */
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.container__title {
  position: fixed;
  top: 0%;
  left: 0%;
  font-size:15vw;
  transform-origin: left center;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(135deg, 
    rgba(255, 200, 87, 0.4), 
    rgba(17, 17, 17, 0.1),
    rgba(255, 200, 87, 0.3),
    rgba(17, 17, 17, 0.1));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  /* text-shadow: 0px 2px 30px rgba(255, 200, 87, 0.1); */
  pointer-events: none;
  opacity: 0.9;
  mix-blend-mode: overlay;
  animation: gradientAnimation 15s ease infinite;
  transition: text-shadow 0.3s ease;

  /* text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
  -1px 1px 0 #FFF, 1px -1px 0 #FFF,
  0px 1px 0 #FFF,  0-1px 0 #FFF,
  -1px 0 0 #FFF, 1px 0 0 #FFF; */
  text-stroke: 1px rgba(255, 255, 20, 0.1);
  -webkit-text-stroke: 1px rgba(255, 255, 20, 0.1);


}

.header {
  text-align: left;
  margin-top:40vh;
  margin-bottom: 3rem;
  min-height:80vh;
}

.header__heading {
  font-size: 5vh;
  font-weight: 700;
  color: #ffffff; /* フォントの色を白に変更 */
  font-family: 'Noto Serif JP', serif;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* テキストに薄い光る効果を追加 */
  margin: 0;
}

.header__subline {
  font-family: 'Jost', 'Noto Serif JP', sans-serif;
  font-weight: 400;
  color: #FFC857;
  font-size: 5vh;
  /* letter-spacing: 0.1em; */
}

.section {
  margin-bottom: 8rem;
}

.section__heading {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #ffffff; /* フォントの色を白に変更 */
}

.member__name {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #ffffff; /* フォントの色を白に変更 */
}

.section__text {
  line-height: 2.2;
  margin-bottom: 1.5rem;
  max-width: 500px;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8); /* テキストに薄い影を追加して可読性を向上 */
}

.section__lead {
  font-size: 1.2em;
  line-height: 2.4;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 500px;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

.section__list {
  line-height: 2;
  margin-bottom: 1.5rem;
}

.section__text--highlight {
  color: #FFC857;
  font-weight: 500;
}

.section__text--english,
.member__name--english {
  color: #FFC857;
}

.button {
  display: inline-block;
  background-color: #FFC857;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  pointer-events: auto; /* ボタンのクリックを有効にする */
}

.button--contact {
  /* モバイル表示時のスタイルはメディアクエリ内で定義されています */
  transition: background-color 0.3s ease;
}

.button--contact:hover {
  background-color: #e6b64c;
}

.footer {
  text-align: center;
  font-size: 0.9rem;
  color: #999; /* フッターの色を明るく調整 */
  margin-top: 4rem;
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
  .container {
    /* padding: 25vw 3rem 3rem 15rem; */
  }
  
  header h2, .subline {
    font-size: 3.2rem;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 2.5rem 2.5rem 12rem;
  }
  
  header h2, .subline {
    font-size: 2.8rem;
  }
  
  section p, section ul {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 2rem 2rem 2rem;
  }
  
  h4 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .container__title {
    font-size: 20vw;
    transform: rotate(0deg) translateX(0);
    position: relative;
    margin-bottom: 2rem;
    left: 0;
    top: 0;
    white-space: normal;
    line-height: 1.2;
  }
  
  .header__heading {
    font-size: 2.2rem;
    margin-top: 1rem;
  }
  
  .header__subline {
    font-size: 1.8rem;
    margin: 1rem 0 2rem;
  }
  
  .section {
    margin-bottom: 2.5rem;
  }
  
  .section__text, .section__list-item {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .button--contact {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
  
  .member__name {
    font-size: 1.3rem;
    margin-top: 1.2rem;
  }
  
  .header__heading {
    font-size: 1.8rem;
  }
  
  .header__subline {
    font-size: 1.5rem;
  }
  
  .section__text, .section__list-item, .member__profile {
    font-size: 0.95rem;
  }
  
  .footer {
    font-size: 0.8rem;
    margin-top: 3rem;
  }
}
