*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  background-color: #fff;
  color: #333;
}

/* 画像 */
img{
  display: block;
  margin: 0 auto;
  height: auto;
}

/* TOP画像（大きすぎ防止） */
.top img{
  width: 100%;
  max-width: 700px;
}

/* その他の画像 */
.main-image img{
  max-width: 100%;
}

/* ヘッダー */
header{
  background-color: rgb(248, 237, 244);
  padding: 20px;
}

header h1{
  font-size: 28px;
  margin-bottom: 10px;
}

/* メニュー */
nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

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

/* リンク */
a{
  color: #7a6c7d;
}

a:hover{
  text-decoration: underline;
}

/* カード（囲い） */
.card{
  background-color: white;
  padding: 25px;
  margin: 30px auto;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  line-height: 1.8;
}

/* 見出し */
h2{
  margin-top: 30px;
  margin-bottom: 10px;
}

/* 帯 */
.color-area{
  background-color: rgb(248, 237, 244);
  padding: 20px;
}

/* 線 */
.soft-line{
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #e6cfd8, transparent);
  margin: 30px auto;
  width: 60%;
}

/* フッター */
footer{
  background-color: whitesmoke;
  padding: 10px;
}

/* スマホ対応 */
@media screen and (max-width: 600px){
header h1{
  font-size: 20px;
}

nav ul{
  flex-direction: column;
  gap: 10px;
}

.card{
  background-color: white;
  padding: 30px;
  margin: 30px auto;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);

  line-height: 2;          /* 行間ゆったり */
  text-align: left;       /* 文字を左寄せ */
}
.card p{
  margin-bottom: 10px;
}
  h2{
    font-size: 18px;
  }

  .top img{
    max-width: 100%;
  }

}