@charset "utf-8";

/* ========== About / このサイトについて ========== */

/* A-4: 本文エリアをナビ・フキダシ基準に揃える */
.about-section {
  text-align: left;
  margin: 0 auto 24px;
  max-width: 640px;
  padding: 0 4px;
  box-sizing: border-box;
}

/* A-5: ページタイトル（h2）から影を外し、角丸を少し小さくしてボタン感を弱める */
.about-section h2 {
  display: inline-block;
  margin: 8px 0 14px;
  padding: 10px 28px;
  background-color: #00e667;
  border-radius: 16px; /* 999px → 16px でボタン感を軽減 */
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  box-shadow: none; /* 影を削除 */
  letter-spacing: 0.05em;
}

/* 見出し（h3）：上余白＞下余白を維持しつつ少し詰める */
.about-section h3 {
  margin: 18px 0 6px;
  font-size: 1.05rem;
  color: #00a050;
  border-bottom: 2px solid #c8f0c8;
  padding-bottom: 4px;
}

/* 本文：行間をやや詰める（リンク行と非リンク行で揃える） */
.about-section p,
.about-section li {
  color: #333;
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-section p {
  margin: 0 0 12px;
}

.about-section ul {
  margin: 0 0 12px;
  padding-left: 1.4em;
  line-height: 1.7;
  color: #333;
  font-size: 0.95rem;
}

.about-section li {
  margin-bottom: 4px;
}

/* リンク色をサイトカラーに統一。行間を崩さないよう inline のまま */
.about-section a {
  color: #00a050;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  /* 行間拡大の原因だった min-height / padding / inline-block は付けない */
}

.about-section a:visited {
  color: #00a050;
}

.about-section a:hover,
.about-section a:focus {
  color: #007a3d;
  text-decoration-thickness: 2px;
  outline: none;
}

/* 戻るボタンは例外（common.css のスタイル優先） */
.about-back a {
  min-height: auto;
  padding: 8px 22px;
  line-height: 1.3;
  display: inline-block;
}

/* ===== 素材クレジット ===== */
.credit-intro {
  margin: 0 0 12px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* A-3: カードの左右余白を見出し下線と揃える。外側のリスト余白をリセット */
.about-credit-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 8px;
}

.about-credit-list > li {
  margin-left: -1.2em;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e0f0e0;
  border-radius: 10px;
  box-sizing: border-box;
}

.about-credit-list .credit-label {
  display: block;
  font-weight: bold;
  color: #00a050;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* カード内側の箇条書き字下げのみ */
.about-credit-list ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.9rem;
  color: #333;
  list-style: disc;
}

.about-credit-list ul li {
  margin-bottom: 4px;
}

.credit-note {
  font-size: 0.85rem;
  color: #555;
  margin: 4px 0 0;
  line-height: 1.6;
}

.analytics-note {
  font-size: 0.85rem;
  color: #555;
  margin: 12px 0 0;
  line-height: 1.6;
}

/* ===== 戻るボタン（スタイル本体は common.css に集約） ===== */
.about-back a {
  color: #00b050 !important;
  text-decoration: none !important;
}

.about-back a:hover,
.about-back a:focus {
  color: #007a3d !important;
  text-decoration: none !important;
}

/* ===== レスポンシブ ===== */
@media screen and (max-width: 520px) {
  .about-section {
    max-width: 100%;
    padding: 0 2px;
  }

  .about-section h2 {
    font-size: 1.05rem;
    padding: 7px 18px;
    border-radius: 12px;
  }

  .about-section ul {
    font-size: 0.9rem;
  }

  .about-credit-list > li {
    padding: 10px 12px;
  }

  /* A-2 念のため */
  .about-section a {
    overflow-wrap: anywhere;
  }
}

/* A-6: フッターリンクのタップ領域拡大（全ページ共通の小さな改善）
   common.css の .footer-links a に対して上書き。影響は行間・タップしやすさのみ。 */
@media screen and (max-width: 600px) {
  .footer-links a {
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
