/* ===== 全体リセット・基本スタイル ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
  padding: 20px;
}

/* ===== ナビバー ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1em 1.5em;
  border-bottom: 1px solid #ccc;
}

.menu-toggle {
  font-size: 28px;
  cursor: pointer;
  padding: 5px 10px;
  user-select: none;
}

#menu-icon {
  transition: transform 0.3s ease;
}

.nav-menu {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  flex-direction: column;
  background-color: white;
  position: absolute;
  top: 60px;
  right: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 200px;
}

.nav-menu.active {
  max-height: 300px;
  opacity: 1;
}

.nav-menu li {
  margin: 10px 20px;
}

.nav-menu a {
  color: black;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
  display: block;
  padding: 8px 0;
}

.nav-menu a:hover {
  color: #fc9db5;
}

/* ===== 画像センター配置用（Top画像） ===== */
.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 140px;     /* 上余白ちょっと増やす */
  margin-bottom: 40px;   /* 下にも余白を追加 */
  padding: 20px;
}


.center-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ===== Aboutセクション ===== */
.about-me {
  max-width: 900px;
  margin: 80px auto;       /* 上下に余白たっぷり */
  padding: 40px 30px;      /* 中の余白も少し増やす */
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
}

.profile {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.about-text h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  border-left: 5px solid #999;
  padding-left: 10px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Instagramボタン */
.insta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #f09433;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.insta-button:hover {
  background-color: #c9601c;
}

.insta-icon {
  width: 20px;
  height: 20px;
}

/* ===== フッター ===== */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  padding: 20px;
  font-size: 14px;
  color: #666;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 80px;
  box-sizing: border-box;
  margin-top: 60px; /* 必要なら固定せず margin-top に変更しても◎ */
}

/* ===== フェードインアニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== スマホ対応（レスポンシブ） ===== */
@media screen and (max-width: 768px) {

  .center-image {
    max-width: 80%;  /* スマホは画面幅の80%まで */
  }
  
  .navbar {
    justify-content: space-between;
    padding: 0.8em 1em;
  }

  .menu-toggle {
    font-size: 26px;
    padding: 8px 12px;
  }

  .nav-menu {
    top: 56px;
    right: 10px;
    width: 180px;
  }

  .nav-menu li {
    margin: 8px 16px;
  }

  .nav-menu a {
    font-size: 16px;
    padding: 6px 0;
  }

  .image-container {
    margin-top: 80px;
  }

  .center-image {
    max-width: 90%;
  }

  .footer {
    font-size: 12px;
    padding: 15px;
    height: 70px;
  }

  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text h1 {
    font-size: 1.4rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .insta-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

body {
  padding: 40px 20px; /* 左右にも余白追加で、全体を詰まりすぎない印象に */
}
