@charset "UTF-8";

/* ============================================================
 * Hero
 * ============================================================ */
.wp-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(160deg, #f0faf8 0%, #ffffff 60%);
}
.wp-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}
.wp-hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.wp-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.wp-hero__desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .wp-hero {
    padding: 7rem 1.5rem 3rem;
  }
  .wp-hero__title {
    font-size: 1.75rem;
  }
}

/* ============================================================
 * 一覧
 * ============================================================ */
.wp-list {
  padding: 4rem 2rem 6rem;
}
.wp-list__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.wp-list__empty {
  text-align: center;
  color: #888;
  padding: 4rem 0;
}
.wp-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 1024px) {
  .wp-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .wp-card-list {
    grid-template-columns: 1fr;
  }
}

/* カード */
.wp-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.wp-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.wp-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.wp-card__thumbnail {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}
.wp-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-card__thumbnail--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f8f5 0%, #d0f0ea 100%);
}
.wp-card__category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #00a484;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.wp-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}
.wp-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}
.wp-card__excerpt {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wp-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #00a484;
  margin-top: auto;
}
.wp-card__btn::after {
  content: '→';
}

/* ページネーション */
.wp-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.wp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
}
.wp-pagination .page-numbers.current,
.wp-pagination .page-numbers:hover {
  background: #00a484;
  color: #fff;
  border-color: #00a484;
}

/* ============================================================
 * 詳細ページ
 * ============================================================ */
.wp-single__inner {
  padding: 7rem 2rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.wp-single__body {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .wp-single__body {
    grid-template-columns: 1fr;
  }
}
.wp-single__back {
  display: inline-block;
  font-size: 0.875rem;
  color: #00a484;
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.wp-single__back:hover {
  text-decoration: underline;
}
.wp-single__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0.75rem 0 1.5rem;
}
@media (max-width: 768px) {
  .wp-single__title {
    font-size: 1.375rem;
  }
}
.wp-single__thumbnail {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.wp-single__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.wp-single__description {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

/* フォームエリア */
.wp-single__form-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.wp-single__form-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.wp-single__form-header {
  margin-bottom: 1.5rem;
  text-align: center;
}
.wp-single__form-lead {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #333;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
 * サンクスページ
 * ============================================================ */
.wp-thanks__inner {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  gap: 1.5rem;
}
.wp-thanks__icon {
  width: 80px;
  height: 80px;
  background: #e8f8f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-thanks__title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}
@media (max-width: 768px) {
  .wp-thanks__title {
    font-size: 1.5rem;
  }
}
.wp-thanks__message {
  font-size: 1rem;
  color: #555;
  line-height: 1.9;
  margin: 0;
}
.wp-thanks__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}
.wp-thanks__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.75rem;
  border-radius: 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.wp-thanks__btn:hover {
  opacity: 0.8;
}
.wp-thanks__btn.primary {
  background: linear-gradient(90deg, #00a484, #00bdca);
  color: #fff;
}
.wp-thanks__btn.secondary {
  background: #fff;
  color: #00a484;
  border: 1px solid #00a484;
}
.wp-thanks__download {
  font-size: 1.125rem;
  height: 3.5rem;
  padding: 0 2.5rem;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 164, 132, 0.35);
}
