body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background: #f7cfe3;
  color: #fff;
  padding: 0.5rem;
}

header h1 {
  margin: 0;
font-size: 3rem !important;   /* ← ここを追加（約32px） */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  gap: 1rem;
}

nav a {
  color: #fff;
  text-decoration: none;
}

main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #f5f5f5;
  font-size: 0.9rem;
}

 h1,h3 {
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
}
.special {
  font-size: 24px;               /* 文字の大きさ */
  font-family: "Segoe UI", serif; /* フォント */
  font-weight: bold;             /* 太字にしたい場合（任意） */
text-align: center;
}
.gallery {
  display: flex;
  flex-wrap: wrap;        /* 折り返し */
  gap: 10px;              /* 写真の間隔 */
  justify-content: center;/* 中央揃え */
}

.gallery img {
  width: 200px;           /* PC時の正方形サイズ */
  height: 250px;
  object-fit: cover;      /* 正方形にトリミング */
  border-radius: 4px;
}

/* ▼ スマホ（画面幅600px以下）のとき */
@media (max-width: 600px) {
  .gallery img {
    width: 45vw;          /* 画面幅の45%（2列表示） */
    height: 50vw;         /* 正方形維持 */
  }
}
.gallery img {
  width: 200px !important;
  height: 250px !important;
  object-fit: cover !important;
}
.font-change {
  font-family: "Courgette", sans-serif !important;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}
.font-change1 {
  font-family: "Courgette", sans-serif !important;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}
.small-photo {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
}
.profile-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 20px;
}

.profile-photo img {
  width: 300px;      /* ← 写真の大きさ（調整可） */
  height: auto;
  border-radius: 8px;
}

/* スマホでは縦並びにする */
@media (max-width: 600px) {
  .profile-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
.profile-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;   /* ← これで中央寄せ */
  margin: 0 auto;            /* ← ページ中央に配置 */
  max-width: 900px;          /* ← 横幅を整える（任意） */
}
.profile-wrapper {
  padding: 20px;
}
.profile-photo {
  margin-top: 40px;   /* ← 写真だけを下へずらす */
}
.profile-wrapper {
  background: #fffaf5;
  padding: 20px;
  border-radius: 10px;
}
.center-photo {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.patchwork-text {
  font-family: "Great Vibes",sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  text-align: right;
  display: block;
}
.top-button {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ffb6c1;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-family: "Yu Gothic", "メイリオ", sans-serif;
  font-weight: bold;
  transition: 0.3s;
}

.top-button:hover {
  background-color: #fff9c4;
}
.courgette {
  font-family: 'Courgette', cursive;
}
.gallery-menu {
  display: flex;
  flex-wrap: wrap;      /* 折り返し */
  gap: 10px;            /* ボタン間の余白 */
  padding: 15px;
  justify-content: center; /* 中央揃え */
}

.gallery-menu a {
  display: inline-block;
  padding: 10px 18px;
  background-color: #ffd54f; /* 黄色 */
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-family: "Yu Gothic", "メイリオ", sans-serif;
  font-weight: bold;
  transition: 0.3s;
}

.gallery-menu a:hover {
  background-color: #ffca28; /* ホバー時の濃い黄色 */
}