/* ===================================================================
   theme-toys.css — "Play Teal" theme for toys.haloprice.com
   おもちゃ・知育玩具. Teal #0f9b8e + kuning #ffc531 + putih.
   Bentuk membulat (Zen Maru Gothic) supaya terbaca ramah anak.
   Sengaja TIDAK memakai palet fuchsia pick.haloprice.com.
   Loaded AFTER style.css → overrides base template look.
   =================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&family=Baloo+2:wght@400;500;600;700;800&display=swap");

:root {
  --tg-main:      #0f9b8e;   /* accent teal */
  --tg-main-dark: #0b756a;   /* hover / active */
  --tg-main-soft: #bfe8e3;   /* soft teal borders / bg */
  --tg-main-tint: #eefaf8;   /* very light teal wash */
  --tg-ink:       #20302e;   /* text */
  --tg-radius:    16px;
}

/* ---- Typography: Japanese-friendly bold sans ---- */
body {
  font-family: "Baloo 2", "Zen Maru Gothic", sans-serif !important;
  color: var(--tg-ink);
}
h1, h2, h3, h4, h5, .blog-heading, .blog-heading-link {
  font-family: "Baloo 2", "Zen Maru Gothic", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
}

/* ================= Cards (product/blog grid) ================= */
.single-blog {
  border: 1px solid var(--tg-main-soft);
  border-radius: var(--tg-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 155, 142, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.single-blog:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(15, 155, 142, .20);
  border-color: var(--tg-main);
}
.single-blog .blog-image { overflow: hidden; }
.single-blog .blog-image img {
  transition: transform .5s ease;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.single-blog:hover .blog-image img { transform: scale(1.06); }
.single-blog .blog-text { padding: 18px 20px 22px; }

.blog-heading-link { color: var(--tg-ink) !important; }
.blog-heading-link:hover { color: var(--tg-main) !important; }

/* ================= Read-more button (続きを読む) ================= */
.btn-primary.blog-btn {
  background: var(--tg-main) !important;
  border: 2px solid var(--tg-main) !important;
  color: #fff !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(15, 155, 142, .28);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary.blog-btn:hover {
  background: var(--tg-main-dark) !important;
  border-color: var(--tg-main-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 117, 106, .34);
}

/* generic pill buttons */
.btn-primary {
  border-radius: 30px !important;
  font-weight: 700 !important;
}
.btn-primary:hover { color:#fff !important; }

/* ================= Pagination ================= */
.pro-pagination-style ul li a {
  border-radius: 10px;
  transition: all .2s ease;
  font-weight: 600;
}
.pro-pagination-style ul li a.active,
.pro-pagination-style ul li a:hover {
  background: var(--tg-main) !important;
  border-color: var(--tg-main) !important;
  color: #fff !important;
}

/* ================= Header / nav accents ================= */
header .main-menu ul li a:hover { color: var(--tg-main) !important; }
a { color: var(--tg-main); }
a:hover { color: var(--tg-main-dark); }

/* ================= Article page (/pd) ================= */
.blog-description h1,
.single-blog-post h1 {
  font-size: 2rem;
  line-height: 1.35;
  padding-bottom: .5em;
  border-bottom: 3px solid var(--tg-main-soft);
  margin-bottom: .8em;
}
.blog-description h2 {
  position: relative;
  padding: 10px 0 10px 16px;
  margin-top: 1.6em;
  border-left: 5px solid var(--tg-main);
  background: linear-gradient(90deg, var(--tg-main-tint), transparent);
  border-radius: 0 8px 8px 0;
  font-size: 1.4rem;
}
.blog-description img.product-header-image,
.blog-description .main-product-image img {
  border-radius: var(--tg-radius);
}
.blog-description img.product-body-image {
  border-radius: 12px;
  border: 3px solid var(--tg-main-soft);
}

/* Table of contents box */
.toc {
  background: var(--tg-main-tint);
  border: 1px solid var(--tg-main-soft);
  border-radius: var(--tg-radius);
  padding: 18px 22px;
  margin: 22px 0;
}
.toc .toc-title {
  font-weight: 800;
  color: var(--tg-main-dark);
  margin-bottom: .4em;
  font-size: 1.05rem;
}
.toc ul { margin: 0; padding-left: 1.1em; }
.toc ul li { margin: .3em 0; }
.toc a { color: var(--tg-ink); text-decoration: none; }
.toc a:hover { color: var(--tg-main); text-decoration: underline; }

/* Moshimo / Amazon CTA button inside article */
#action_button_1 a {
  display: inline-block;
  background: var(--tg-main);
  color: #fff !important;
  padding: 12px 34px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15, 155, 142, .28);
  transition: transform .2s ease, background .2s ease;
}
#action_button_1 a:hover {
  background: var(--tg-main-dark);
  transform: translateY(-2px);
}

/* Section headings on list page */
.blog-heading { font-size: 1.05rem; line-height: 1.5; }

/* ===================================================================
   LAYOUT REDESIGN — header, hero, grid, cards, sidebar
   =================================================================== */

/* ---------- Header ---------- */
.header-area { display: none; } /* buang header lama kalau tersisa */
.toys-header { position: sticky; top: 0; z-index: 1000; }
.toys-topstrip {
  background: linear-gradient(90deg, var(--tg-main), #ffc531);
  color: #fff; font-size: 13px; font-weight: 600; text-align: center;
  padding: 7px 0; letter-spacing: .02em;
}
.toys-header-main {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--tg-main-soft);
  box-shadow: 0 2px 14px rgba(15, 155, 142,.06);
}
.toys-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 20px;
}
.toys-brand { display: inline-flex; align-items: baseline; text-decoration: none; }
.toys-brand-mark {
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 30px;
  color: var(--tg-ink); letter-spacing: -.03em;
}
.toys-brand-dot { color: var(--tg-main); font-size: 34px; font-weight: 800; line-height: 0; }
.toys-brand-sub {
  margin-left: 8px; font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tg-main); align-self: center;
}
.toys-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.toys-nav a {
  display: inline-block; padding: 8px 16px; border-radius: 22px;
  font-size: 14px; font-weight: 600; color: var(--tg-ink); text-decoration: none;
  transition: all .2s ease;
}
.toys-nav a:hover { background: var(--tg-main-tint); color: var(--tg-main-dark); }
.toys-nav-toggle {
  display: none; background: none; border: 0; font-size: 24px; color: var(--tg-main); cursor: pointer;
}

/* ---------- Hero ---------- */
.toys-hero {
  background:
    radial-gradient(1200px 300px at 90% -20%, rgba(255,209,227,.7), transparent),
    linear-gradient(180deg, var(--tg-main-tint), #ffffff);
  padding: 64px 0 54px; text-align: center;
  border-bottom: 1px solid var(--tg-main-soft);
}
.toys-hero-kicker {
  color: var(--tg-main); font-weight: 700; letter-spacing: .28em;
  font-size: 12px; margin: 0 0 14px;
}
.toys-hero-title {
  font-family: "Baloo 2","Zen Maru Gothic",sans-serif;
  font-weight: 800; font-size: clamp(28px, 5vw, 46px); line-height: 1.25;
  color: var(--tg-ink); margin: 0 0 16px; border: 0;
}
.toys-hero-title span { color: var(--tg-main); }
.toys-hero-sub { color: #5d6b69; font-size: 15px; margin: 0 auto; max-width: 560px; }

/* ---------- Main + section head ---------- */
.toys-main { padding: 48px 0 80px; background: #fff; }
.toys-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.toys-section-head h2 {
  font-weight: 800; font-size: 22px; margin: 0; color: var(--tg-ink); white-space: nowrap;
  border: 0; padding: 0; background: none;
}
.toys-section-head h2::before {
  content: ""; display: inline-block; width: 10px; height: 22px; margin-right: 10px;
  background: var(--tg-main); border-radius: 3px; vertical-align: -3px;
}
.toys-section-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--tg-main-soft), transparent); }

/* ---------- Product grid + editorial card ---------- */
.toys-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 575px){ .toys-grid { grid-template-columns: 1fr; } }

.toys-card {
  background: #fff; border: 1px solid #dcefec; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 18px rgba(15, 155, 142,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.toys-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(15, 155, 142,.18); border-color: var(--tg-main); }
.toys-card-media { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; }
.toys-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.toys-card:hover .toys-card-media img { transform: scale(1.07); }
.toys-card-badge {
  position: absolute; top: 12px; left: 12px; background: var(--tg-main); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 4px 10px; border-radius: 20px;
  box-shadow: 0 4px 10px rgba(15, 155, 142,.35);
}
.toys-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.toys-card-title { font-size: 15px; font-weight: 700; line-height: 1.5; margin: 0 0 8px; }
.toys-card-title a { color: var(--tg-ink); text-decoration: none; }
.toys-card-title a:hover { color: var(--tg-main); }
.toys-card-excerpt { font-size: 13px; color: #6d7b79; line-height: 1.6; margin: 0 0 14px; flex: 1; }
.toys-card-link {
  align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--tg-main);
  text-decoration: none; padding: 7px 16px; border: 2px solid var(--tg-main); border-radius: 22px;
  transition: all .2s ease;
}
.toys-card-link span { transition: margin .2s ease; }
.toys-card-link:hover { background: var(--tg-main); color: #fff; }
.toys-card-link:hover span { margin-left: 4px; }

/* ---------- Pagination ---------- */
.toys-pagination { margin-top: 40px; }
.toys-pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.toys-pagination a, .toys-pagination .dots {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px;
  font-weight: 700; color: var(--tg-ink); text-decoration: none;
  border: 1px solid var(--tg-main-soft); background: #fff; transition: all .2s ease;
}
.toys-pagination a:hover { border-color: var(--tg-main); color: var(--tg-main); }
.toys-pagination a.active { background: var(--tg-main); border-color: var(--tg-main); color: #fff; }
.toys-pagination .dots { border: 0; }

/* ---------- Right sidebar ---------- */
.toys-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 991px){ .toys-sidebar { position: static; margin-top: 40px; } }

.toys-ad-slot {
  position: relative; min-height: 90px; border: 2px dashed var(--tg-main-soft);
  border-radius: 14px; background: var(--tg-main-tint);
  display: flex; align-items: center; justify-content: center;
  color: #a3bcb8; font-size: 13px;
}
.toys-ad-slot:empty::after,
.toys-ad-slot:has(> .toys-ad-label:only-child)::after {
  content: "広告スペース"; color: #a3bcb8; font-weight: 600;
}
.toys-ad-label {
  position: absolute; top: 6px; right: 8px; font-size: 10px; font-weight: 700;
  color: #7fa39e; letter-spacing: .1em;
}

.toys-widget { background: #fff; border: 1px solid var(--tg-main-soft); border-radius: 18px; overflow: hidden; }
.toys-widget-title {
  margin: 0; padding: 16px 20px; font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, var(--tg-main), #ffc531);
}
.toys-side-list { list-style: none; margin: 0; padding: 8px; }
.toys-side-item {
  display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px;
  text-decoration: none; transition: background .2s ease;
}
.toys-side-item:hover { background: var(--tg-main-tint); }
.toys-side-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.toys-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.toys-side-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.toys-side-title { font-size: 13px; font-weight: 600; color: var(--tg-ink); line-height: 1.45; }
.toys-side-cta { font-size: 11px; font-weight: 700; color: var(--tg-main); }

/* ---------- Responsive nav ---------- */
@media (max-width: 767px){
  .toys-nav { position: absolute; right: 12px; top: 100%; background: #fff; border: 1px solid var(--tg-main-soft);
    border-radius: 14px; padding: 8px; box-shadow: 0 12px 30px rgba(15, 155, 142,.15); display: none; }
  .toys-nav.open { display: block; }
  .toys-nav ul { flex-direction: column; }
  .toys-nav-toggle { display: inline-block; }
  .toys-header-inner { position: relative; }
}

/* ---------- Footer polish ---------- */
.footer-area { background: #14211f; color: #b3c7c4; margin-top: 0; }
.footer-area a { color: var(--tg-main-soft); }

/* ---------- AI表記 (Amazon OA 2026-04-20: wajib, di atas konten) ---------- */
.toys-ai-notice {
  display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap;
  background: var(--tg-main-tint, #eefaf8);
  border: 1px solid var(--tg-main-soft, #bfe8e3);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 22px 0;
}
.toys-ai-notice-badge {
  flex: 0 0 auto;
  background: var(--tg-main, #ec2d78); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.toys-ai-notice-text {
  font-size: 12.5px; line-height: 1.7; color: var(--tg-ink, #20302e);
}
@media (max-width: 575px){
  .toys-ai-notice { padding: 10px 12px; }
  .toys-ai-notice-text { font-size: 12px; }
}

/* ---------- 比較・選び方ガイド ---------- */
.toys-guide-index { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 10px; }
.toys-guide-index > li > a {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--tg-main-soft, #bfe8e3);
  border-radius: 14px; padding: 14px 16px; text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}
.toys-guide-index > li > a:hover { box-shadow: 0 10px 26px rgba(15, 155, 142,.14); transform: translateY(-1px); }
.toys-guide-index-badge {
  flex: 0 0 auto; background: var(--tg-main, #ec2d78); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  border-radius: 999px; padding: 4px 9px;
}
.toys-guide-index-title { font-size: 14px; font-weight: 600; color: var(--tg-ink, #20302e); line-height: 1.5; }

.toys-guide-table-wrap { overflow-x: auto; margin: 22px 0 26px; -webkit-overflow-scrolling: touch; }
.toys-guide-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13px; }
.toys-guide-table th, .toys-guide-table td {
  border: 1px solid var(--tg-main-soft, #bfe8e3); padding: 9px 11px; vertical-align: top; line-height: 1.6;
}
.toys-guide-table thead th { background: var(--tg-main-tint, #eefaf8); font-weight: 700; white-space: nowrap; }
.toys-guide-table tbody tr:nth-child(even) { background: #f5fcfb; }
.toys-guide-table td a { color: var(--tg-main, #ec2d78); font-weight: 600; }
.toys-guide-table-note { font-size: 11.5px; color: #6d7b79; margin-top: 8px; line-height: 1.7; }

.toys-guide-body h3 { font-size: 17px; margin: 26px 0 10px; line-height: 1.5; }
.toys-guide-updated { font-size: 12px; color: #6d7b79; margin-top: 26px; }
.toys-guide-more { margin-top: 40px; padding: 18px 20px; background: var(--tg-main-tint, #eefaf8); border-radius: 14px; }
.toys-guide-more h3 { font-size: 15px; margin: 0 0 10px; }
.toys-guide-more ul { margin: 0; padding-left: 18px; }
.toys-guide-more li { font-size: 13.5px; line-height: 1.9; }
