* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .container {
    padding: 60px 80px;
    margin: 40px auto;
  }
}

/* ヘッダーイメージ */
.header-image {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .header-image {
    margin-bottom: 50px;
  }
}

/* タイトル */
h1 {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #222;
}

h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #222;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.4rem;
    margin-bottom: 50px;
  }
}

/* シェアボタン */
.share-section {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e8e8e8;
}

.share-label {
  font-size: 0.85rem;
  color: #666;
  margin-right: 8px;
  align-self: center;
}

.share-links {
  display: flex;
  gap: 12px;
}

.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  transition: all 0.2s ease;
}

.share-link:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.share-link svg {
  fill: #555;
}

/* コンテンツエリア */
.content {
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .content {
    font-size: 1rem;
  }
}

.content p {
  margin-bottom: 1.5em;
}

.content strong {
  font-size: 1.1em;
  color: #444;
  display: inline-block;
  margin-top: 16px;
}

.content a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.content a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.content ul {
  margin-left: 2em;
}

/* 注釈 */
.note {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 30px;
}

.note strong {
  color: #7f8c8d;
  font-size: 1em;
}

/* 戻るボタン */
.back-button {
  text-align: center;
  margin-top: 60px;
}

.back-button a {
  display: inline-block;
  padding: 12px 32px;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.back-button a:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

ul li {
  list-style: none;
  margin-bottom: 8px;
}

ul li div {
  max-width: 500px; /* 最大サイズ幅を設定 */
  margin: 15px auto 0 auto; /* 上部にマージンを追加 */
}

ul li div img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* レスポンシブ調整 */
@media (max-width: 767px) {
  .share-section {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .content br {
    display: block;
  }
}
