body {
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;   /* 横だけ非表示にする */
  /* overflow-y: auto;  ← 明示してもOK */
}


.svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* 背景に下げる */
  opacity: 0.3; /* 透明度で控えめに */
}

.dot {
  animation: pulse 5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}
  
  .profile-section,
  .profile-history {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  .profile-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .profile-title {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #7c003c;
    margin-bottom: 2rem;
  }
  
  .profile-description-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }
  
  .profile-photo-box {
    border: 2px solid #a2e8e0;
    border-radius: 10px;
    padding: 1rem;
    background-color: #f9fefe;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .profile-photo {
    width: 120px;
    height: auto;
    border-radius: 8px;
  }
  
  .profile-description-wrapper {
    border: 2px solid #a2e8e0;
    border-radius: 10px;
    padding: 1rem;
    background-color: #f9fefe;
    flex: 1 1 300px;
  }
  
  .profile-description-text p {
    margin-bottom: 1.5rem;
  }
  
  .profile-history h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a2f2f;
    text-align: left;
  }
  
  .profile-history ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
    border: 2px solid #a2e8e0;
    border-radius: 10px;
    padding: 1rem;
    background-color: #f9fefe;
  }
  
  .profile-history li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .profile-history li span.year {
    width: 5em;
    font-weight: bold;
    flex-shrink: 0;
    color: #555;
  }
  
  .profile-history li span.detail {
    flex: 1;
  }
  
  .site-footer {
    margin-top: auto;
    padding: 1rem 0;
    font-size: 0.8rem;
    color: #5b4033;
    text-align: center;
  }

  .nav-wrapper {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
  }
  
  .nav-toggle {
    width: 56px;
    height: 56px;
    background-color: #fff0f5;
    color: #444;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .nav-toggle:hover {
    background-color: #ffe0eb;
    color: #d94c8c;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    background-color: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 1rem 0 1rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: right;
    width: 180px;
  }
  
  .nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu li {
    margin: 0.8rem 0;
    text-align: left;
    white-space: nowrap;
  }
  
  .nav-menu a {
    text-decoration: none;
    color: #444;
    font-size: 1rem;
    display: block;
    padding: 0.2rem 0;
    transition: color 0.3s;
  }
  
  .nav-menu a:hover {
    color: #d94c8c;
  }
  
  .nav-menu.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-10px); }
  }
  
  .nav-menu.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out forwards;
  }
  
  .nav-menu.hide {
    animation: fadeOut 0.3s ease-in-out forwards;
  }
  
  
  
  @media screen and (max-width: 600px) {
    .profile-description-container {
      flex-direction: column;
      align-items: center;
      margin: 0 1rem;
    }
  
    .profile-description-wrapper,
    .profile-photo-box {
      width: 100%;
    }
  
    .profile-description-wrapper {
      margin-top: 1rem;
    }
  
    .profile-section,
    .profile-history {
      padding: 1rem;
      margin: 1rem;
    }
  
    .profile-history li {
      flex-direction: column;
    }
  
    .profile-history li span.year {
      width: 100%;
    }
  } 
  