/* ========================================
Policy Page（最終調整版）
======================================== */

/* ===== Hero調整 ===== */
.page-hero.policy-hero {
  padding-top: 48px;
  padding-bottom: 20px; /* ← ここをさらに詰める */
}

.page-title {
  margin-bottom: 16px;
}

.page-text {
  margin-bottom: 0;
  line-height: 1.9;
  text-align: center;
}

/* ===== Section ===== */
.policy-section {
  padding-top: 24px; /* ← ここが大きすぎたので詰める */
  padding-bottom: 56px;
}

/* ===== メッセージボックス ===== */
.policy-message {
  max-width: 100%; /* ← カード幅いっぱい使う */
  margin: 0 0 28px; /* ← 上余白ゼロにする */
  padding: 26px 36px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7fcfb 0%, #eef8f7 100%);
  border: 1px solid rgba(44, 122, 123, 0.08);
  color: #4b5f5f;
  box-shadow: 0 10px 24px rgba(44, 122, 123, 0.04);
  text-align: center;
}

.policy-message p {
  max-width: 640px; /* ← 変な右余白を消す */
  margin: 0 auto;
  line-height: 1.9;
  text-align: center;
}

/* ===== グリッド ===== */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ===== カード ===== */
.policy-card {
  display: block;
  padding: 36px 28px 32px;
  border-radius: 24px;
  border: 1px solid #dfeeed;
  background: #ffffff;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  box-shadow: 0 12px 28px rgba(44, 122, 123, 0.05);
}

.policy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(44, 122, 123, 0.08);
  border-color: rgba(44, 122, 123, 0.14);
  opacity: 1;
}

/* ===== アイコン ===== */
.policy-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}

.policy-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(0.95);
}

/* ===== ラベル ===== */
.policy-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef8f7;
  color: #2c7a7b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ===== タイトル ===== */
.policy-card h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #243434;
}

/* ===== テキスト ===== */
.policy-text {
  font-size: 0.95rem;
  color: #526262;
  line-height: 1.85;
}

/* ===== Tablet ===== */
@media screen and (max-width: 1024px) {
  .page-hero.policy-hero {
    padding-top: 44px;
    padding-bottom: 18px;
  }

  .policy-section {
    padding-top: 20px;
    padding-bottom: 52px;
  }

  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-message {
    padding: 24px 28px;
  }
}

/* ===== Mobile ===== */
@media screen and (max-width: 767px) {
  .page-hero.policy-hero {
    padding-top: 40px;
    padding-bottom: 16px;
  }

  .policy-section {
    padding-top: 18px;
    padding-bottom: 44px;
  }

  .policy-message {
    margin-bottom: 22px;
    padding: 20px 18px;
    border-radius: 20px;
  }

  .policy-message p {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .policy-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .policy-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .policy-icon {
    width: 56px;
    height: 56px;
  }
}
