/*
Theme Name: SYN Ownd Child
Template: syn-ownd
Theme URI: https://syn.design/
Author: 株式会社ウェブライダー
Author URI: https://web-rider.jp/
Description: SYN Ownd の子テーマ
Version: 1.0.0
Text Domain: syn-ownd-child
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@charset "utf-8";


/* =========================
   カラートーン
   青ベース + CTAはオレンジ維持
========================= */
:root {
  --main-blue: #2563eb;
  --main-blue-dark: #1d4ed8;
  --main-blue-deep: #1e3a8a;
  --main-blue-soft: #eff6ff;
  --main-blue-soft-2: #dbeafe;
  --main-blue-border: #bfdbfe;
  --text-sub: #6b7280;

  --cta-orange-1: #f6a34a;
  --cta-orange-2: #f28c28;
  --cta-orange-dark: #d96d0f;
}

/* CTA */

.affiliate-cta-box {
  background: linear-gradient(180deg, #fffaf5 0%, #fff7ed 100%);
  border: 1px solid #fde7cf;
  border-radius: 16px;
  padding: 20px 16px;
  margin: 32px 0;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.affiliate-cta-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--main-blue-deep);
  line-height: 1.6;
}

.affiliate-cta-button {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, var(--cta-orange-1) 0%, var(--cta-orange-2) 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 999px;
  box-shadow:
    0 6px 0 var(--cta-orange-dark),
    0 10px 20px rgba(242, 140, 40, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.affiliate-cta-button:hover {
  transform: translateY(2px);
  background: linear-gradient(180deg, #f39a3c 0%, #e67e22 100%);
  box-shadow:
    0 4px 0 var(--cta-orange-dark),
    0 8px 16px rgba(242, 140, 40, 0.24);
}

.affiliate-cta-button:active {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 var(--cta-orange-dark),
    0 4px 10px rgba(242, 140, 40, 0.2);
}

.affiliate-cta-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .affiliate-cta-box {
    padding: 28px 24px;
  }

  .affiliate-cta-label {
    font-size: 15px;
  }

  .affiliate-cta-button {
    font-size: 20px;
    padding: 18px 24px;
  }

  .affiliate-cta-note {
    font-size: 13px;
  }
}

/* リンク */

.review-text-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--main-blue-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--main-blue-dark);
  transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.review-text-link::before {
  content: "→ ";
}

.review-text-link:hover {
  opacity: 0.82;
  color: var(--main-blue-deep);
  border-bottom-color: var(--main-blue-deep);
}

/* レイアウト */

.cta-center {
  display: block;
  margin: 40px auto;
  text-align: center;
  width: fit-content;
}

/* ボタン */

.review-button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: linear-gradient(180deg, var(--main-blue) 0%, var(--main-blue-dark) 100%);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.review-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #3b82f6 0%, var(--main-blue) 100%);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.26);
}

/* テーブル共通 */
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th {
  background: var(--main-blue-soft);
  color: var(--main-blue-deep);
  font-weight: 700;
}

.wp-block-table th,
.wp-block-table td {
  padding: 12px 10px;
  border: 1px solid #d9d9d9;
  vertical-align: top;
  line-height: 1.7;
  word-break: normal;
  overflow-wrap: break-word;
}

.wp-block-table thead th {
  border-color: var(--main-blue-border);
}

.wp-block-table tbody tr:nth-child(even) td {
  background: #f8fbff;
}

.wp-block-table td a {
  font-weight: 600;
  color: var(--main-blue-dark);
  text-underline-offset: 2px;
}

.wp-block-table td a:hover {
  color: var(--main-blue-deep);
}

/* スマホで少し詰める */
@media (max-width: 767px) {
  .wp-block-table th,
  .wp-block-table td {
    padding: 10px 8px;
    font-size: 14px;
    line-height: 1.6;
  }
}

.catfood-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-sub);
  margin-top: 10px;
}


/* UL全体（囲み） */
.main-body-list {
  list-style: none;
  padding: 22px 26px;
  margin: 28px 0;
  border: 1.5px solid #009BB8;
  border-radius: 10px;
  background: #f3fbfd;
}

/* LI */
.main-body-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  line-height: 1.8;
  font-weight: 500;
}

.main-body-list li:last-child {
  margin-bottom: 0;
}

/* 丸チェック */
.main-body-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;

  width: 18px;
  height: 18px;
  border-radius: 50%;

  background-color: #00AACF; /* H2に近い青 */

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

