/* ベーススタイル */
body {
  margin: 0;
  font-family: 'Helvetica', sans-serif;
  font-weight: normal;
  font-size: 20px;
  color: #000;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  position: relative;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

nav {
  margin-top: 100px; /* nav の上部に100pxの間隔を追加 */
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

nav ul li a {
  text-decoration: none;
  color: #000; /* 元の色指定を保持 */
  font-size: 20px;
  font-weight: normal;
}

/* マウスオーバー時に下線を追加 */
nav ul li a:hover {
  text-decoration: underline;
}

.logo-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.front-wrapper {
  z-index: 1;
}

.logo {
  height: 100px;
  width: 100px;
}

.logo-second {
  width: 100px;
}

.second-logo-wrapper {
  position: relative;
  margin-top: 110px;
}

/* 回転アニメーション */
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.rotating-logo {
  animation: rotation 4s ease-in-out 1; /* 1回だけ回転 */
}

/* ABOUTページのスタイル */
.content-container {
  position: absolute; /* 絶対位置指定 */
  top: calc(400px + 20px); /* メニューから100px下、さらにheaderのpadding分を考慮 */
  left: 0px; /* 左揃え */
  width: 600px; /* 幅を600pxに固定 */
  max-width: 100%; /* 幅が画面を超えないように */
  padding: 20px;
  box-sizing: border-box;
  text-align: justify; /* 両端揃え */
}

.about-section {
  text-align: justify; /* 両端揃え */
  font-size: 18px;
  font-weight: normal;
  color: #000;
  line-height: 1.6;
  text-justify: inter-word; /* 単語間隔を調整 */
}

.content-container p {
  margin-bottom: 20px; /* 一般的な段落間の間隔 */
}

.content-container .member-gap {
  margin-top: 100px; /* メンバーの前に100pxの間隔を追加 */
}

/* Instagramリンクのスタイル */
.social-link {
  text-decoration: none; /* 下線なし */
  color: #000; /* 元の色指定 */
  font-size: 20px; /* フォントサイズ */
  font-weight: normal; /* フォントの太さ */
}

.social-link:hover {
  text-decoration: underline; /* ホバー時に下線を追加 */
}

/* Instagramアイコンのスタイル */
.instagram-link img {
  width: 20px; /* ロゴの幅 */
  height: auto; /* 高さは自動調整 */
}
