/* ========== 趣味ページ専用スタイル ========== */
.site-header {
  margin-bottom: 12px;
}
.section {
  max-width: 760px;
  margin: 5rem auto 0 auto;
  padding: 0 1.5rem;
}

/* セクションタイトル */
.section-header {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin: 0 0 1.7rem 0;
  text-align: center;
  color: #a69e94;
  position: relative;
}
.section-header::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d9c484, #a69e94);
  margin: 0.7rem auto 0 auto;
}

/* プロフィール */
.profile {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: #f8f4ea;
  border-radius: 18px;
  box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.07);
  padding: 2rem 2.5rem;
  margin-top: 1.2rem;
}

.profile-media {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
  box-shadow: 0 2px 8px -3px rgba(166, 158, 148, 0.12);
}
.profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hobby-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hobby-item {
  background: #f8f4ea;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px -4px rgba(166, 158, 148, 0.1);
}

.hobby-item img {
  width: 280px;          
  height: 200px;          
  object-fit: cover;     
  border-radius: 10px;   
  box-shadow: 0 2px 8px -4px rgba(166,158,148,0.12); 
  margin-bottom: 1rem;    
  display: block;
  margin-left: auto;
  margin-right: auto;     
}

/* デスクトップ（横幅900px以上）は3カラム */
@media (min-width: 900px) {
  .hobby-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* プロフィール本文 */
.profile-body {
  flex: 1;
}
.profile-body h3 {
  margin: 0 0 0.7rem 0;
  font-family: "Noto Serif JP", serif;
  font-size: 1.15rem;
  color: #b59a5b;
}
.profile-body p {
  margin: 0 0 1.2rem 0;
  font-size: 1rem;
  color: #4a4a46;
  line-height: 1.7;
}
.profile-hobby-link .btn {
  display: inline-block;
  background: #d9c484;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.75rem 1.7rem;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 8px -4px rgba(166, 158, 148, 0.12);
  cursor: pointer;
}
.profile-hobby-link .btn:hover {
  background: #cdaa55;
}

.navbar {
  display: flex !important;
  align-items: flex-end !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0.5em !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.brand {
  font-size: 2rem !important; 
  line-height: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0.2em !important;
  align-items: flex-start !important;
  display: flex !important;
}

#siteNav ul {
  margin-top: 0.7em !important;
}

@media (max-width: 600px) {
  .profile {
    flex-direction: column;
    padding: 1.2rem 0.7rem;
    gap: 1.3rem;
  }
  .profile-media {
    margin: 0 auto;
  }
  .profile-body h3,
  .profile-body p {
    text-align: center;
  }
  .profile-hobby-link {
    display: flex;
    justify-content: center;
  }
}
#siteNav {
  display: none;
}
#siteNav.open {
  display: block;
}
@media (min-width: 800px) {
  #siteNav {
    display: block !important;
  }
}
@media (max-width: 760px) {
  #siteNav {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(4px);
  }
}
