@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');

body {
  font-family: 'Noto Serif JP', serif;
  background-color: #fffafc;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.8;
}
.top-image {
  position: relative;
}
.top-image img {
  width: 100%;
  height: auto;
  display: block;
}
.top-image::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  text-align: left;
  color:#5e4b8b;
  background-color: rgba(255, 255, 255, 0.55);  /* 背景ぼかしを除去し明瞭に */
  padding: 12px 16px;
  border-radius: 8px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  max-width: 60%;
}

.hero-text p {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
  color: #5e4b8b;
}

.hero-text h1 {
  font-size: 1em;
  margin: 8px 0 0 0;
  font-weight: normal;
  color: #5e4b8b;
}
header {
  background-color: #f8e9ef;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  color: #5e4b8b;
  font-weight: bold;
  font-size: 0.9em;
}
section {
  padding: 20px 15px;
  max-width: 900px;
  margin: auto;
}
h2 {
  color: #5e4b8b;
  border-bottom: 1px solid #e5cfd7;
  padding-bottom: 5px;
}

h2 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-weight: 400; /* または 700 で太字 */
}


.profile-thumbs {
  display: flex;
  justify-content: left; /* 中央揃え */
  gap: 40px; /* アイコン間のスペース */
  margin-top: 0px;
  flex-wrap: wrap;
}

.thumb-link {
  text-decoration: none;
  text-align: center;
  color: #5e4b8b;
  font-weight: bold;
  font-family: 'Noto Serif JP', serif;
  transition: transform 0.3s ease;
}

.thumb-link img {
  width:48px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: opacity 0.3s ease;
}

.thumb-link span {
  display: block;
  margin-top: 10px;
  font-size: 0.95em;
}

.thumb-link:hover {
  transform: scale(1.05);
}


#archives h2 {
  border-bottom: 1px solid #e5cfd7;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
footer {
  text-align: center;
  padding: 20px;
  background-color: #f5eef0;
  color: #777;
  font-size: 0.9em;
}

/* プロフィールセクション */
.profile {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.profile-image img {
  max-width: 250px;
  height: auto;
  border-radius: 10px;
}

.profile-text {
  flex: 1;
  min-width: 250px;
}

/* スマホ表示用プロフィールレイアウト */
@media screen and (max-width: 768px) {
  .profile {
    flex-direction: column;
    text-align: center;
  }

  .profile-text {
    text-align: left;
  }
}

/* ↓ ここからスマホ用レスポンシブ */
@media screen and (max-width: 768px) {
  .hero-text p { ... }
  .hero-text h1 { ... }
  nav ul { ... }
}

/* ハンバーガーメニューのボタン */
.menu-toggle {
  display: none;
  background-color: #c96a92;
  color: white;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  font-weight: bold;
}

/* スマホ表示用スタイル */
@media screen and (max-width: 768px) {
  .hero-text p {
    font-size: 1.2em;
  }

  .hero-text h1 {
    font-size: 1em;
  }

  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: #f8e9ef;
    padding: 10px 0;
  }

  nav ul.active {
    display: flex;
  }
}

@media screen and (min-width: 1024px) {
  .hero-text h1 {
    font-size: 2.2em;
  }
  .hero-text p {
    font-size: 2.8em;
  }
}

.update-section {
  padding: 30px 20px;
  max-width: 900px;
  margin: auto;
}

.update-box {
  max-height: 18em; /* だいたい5行分 */
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #f9f9f9;
  font-size: 0.95em;
  line-height: 1.6;
}
.update-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.update-box li + li {
  margin-top: 8px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.accordion-item {
  border-bottom: 1px solid #e5cfd7;
  margin-bottom: 10px;
}

.accordion-header {
  background-color: #f8e9ef;
  color: #5e4b8b;
  padding: 12px;
  font-size: 1em;
  font-weight: bold;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

.accordion-header:hover {
  background-color: #ecdbe4;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  padding: 0 12px;
}

.accordion-content.open {
  max-height: 300px;
  opacity: 1;
  padding: 12px;
}

.update-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-box li {
  display: flex;
  gap: 20px;
  border-bottom: 1px dashed #ccc;
  padding: 15px 0;
}

.update-date {
  flex: 0 0 120px; /* 日付を固定幅に */
  font-weight: bold;
  color: #b35f7a;
}

.update-text {
  flex: 1;
}

.update-text p {
  margin: 0 0 5px; /* 各行を少し余白付きで */
}

.profile {
  display: flex;
  gap: 30px;
  align-items: flex-start; /* 上端で揃える */
}

.profile-image img {
  max-width: 200px;
  border-radius: 10px;
}

/* 「これまでの作品」内の画像（アコーディオン用） */
.works .accordion-content img {
  width: 150px;       /* 統一サイズ */
  height: 150px;      /* 正方形に固定 */
  object-fit: cover;  /* 比率維持してトリミング */
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}
/* 近年作品アーカイブ内の画像（比率維持してトリミング） */
#archives img {
  width: 150px;
  height: 150px;
  object-fit: cover;   /* 比率を保って中央トリミング */
  border-radius: 8px;
  display: block;
}

.profile-meta {
  background: #fdf2f6;
  border: 1px solid #f4d6df;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 0.9em;
}

.profile-meta h3 {
  margin: 0 0 8px;
  font-size: 0.95em;
  color: #5e4b8b;
  font-weight: 700;
}

.profile-meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-meta li + li {
  margin-top: 4px;
}

/* 「好きなもの」リスト用 */
.fav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
  font-size: 0.9em;
}

.fav-list li {
  position: relative;
  padding-left: 1.4em;        /* 音符分の余白 */
  line-height: 1.8;           /* 行の高さを少し広めに統一 */
  display: flex;              /* 縦中央揃えを確実に */
  align-items: center;        /* 縦方向の中央に♪を置く */
}

.fav-list li::before {
  content: "♪";
  color: #b35f7a;
  font-weight: 700;
  margin-right: 4px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* 「好きなもの：」ラベル */
.profile-meta .fav-label {
  margin-bottom: 6px;
  display: block;
  font-weight: 600;
}
