@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Mochiy+Pop+One&family=Yomogi&family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');
/* ============================================================
   cobitoworks-kids — Shared Stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: #FFF8EE;
  color: #42342a;
  font-family: 'Zen Maru Gothic', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #FFD45E; color: #5a4500; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
textarea { font-family: inherit; }

/* ---------- CSS Variables ---------- */
:root {
  --clr-teal:      #4DBEA0;
  --clr-teal-dark: #2E9E81;
  --clr-bg:        #FFF8EE;
  --clr-bg-card:   #ffffff;
  --clr-text:      #42342a;
  --clr-text-mid:  #5a4a3a;
  --clr-text-muted:#6a5a4a;
  --clr-text-light:#8a7a6a;
  --clr-border:    #FFE3B3;
  --clr-shadow:    #FFD9A8;
  --clr-green-bg:  #D4F2E4;
  --clr-blue:      #00A8E1;
  --clr-blue-dark: #0086B4;
  --clr-red:       #FF4E4E;
  --clr-red-dark:  #D63A3A;
  --clr-pink:      #FF8FB0;
  --clr-pink-dark: #E26A8E;

  --font-main:    'Zen Maru Gothic', sans-serif;
  --font-pop:     'Fredoka', sans-serif;
  --font-mochiy:  'Mochiy Pop One', sans-serif;
  --font-yomogi:  'Yomogi', cursive;

  --max-w:        1040px;
  --px:           clamp(16px, 4vw, 28px);
  --header-h:     72px;
  --radius-pill:  999px;
  --radius-card:  30px;
}

/* ---------- Animations ---------- */
@keyframes kbob {
  0%, 100% { transform: translateY(0)      rotate(var(--r, 0deg)); }
  50%       { transform: translateY(-16px) rotate(var(--r, 0deg)); }
}
@keyframes kspin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.section    { padding: clamp(48px, 7vw, 80px) 0; }

/* ---------- Colored logo text ---------- */
.kids-logo-text {
  font-family: var(--font-pop);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.kids-logo-text .l1  { color: #7CC6FF; }
.kids-logo-text .l2  { color: #FF9FB2; }
.kids-logo-text .l3  { color: #4DBEA0; }
.kids-logo-text .l4  { color: #FFD45E; }
.kids-logo-text .l5  { color: #C4A5F0; }
.kids-logo-text .l6  { color: #9BD982; }
.kids-logo-text .l7  { color: #F0A5D0; }
.kids-logo-text .l8  { color: #FFB877; }
.kids-logo-text .l9  { color: #7FD9BE; }
.kids-logo-text .l10 { color: #8AB4F8; }
.kids-logo-text .l11 { color: #FFD45E; }
.kids-logo-text .l12 { color: #C4A5F0; }
.kids-logo-text .l13 { color: #FF9FB2; }
.kids-logo-text .l14 { color: #7CC6FF; }
.kids-logo-text .l15 { color: #9BD982; }
.kids-logo-text .l16 { color: #FFB877; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  background: rgba(255,248,238,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--clr-border);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  transform: rotate(-6deg);
  box-shadow: 0 4px 12px rgba(77,190,160,0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-pop);
  font-weight: 500;
  font-size: 14px;
  color: #7a6a5a;
}
.site-nav a { transition: color .2s; }
.site-nav a:hover { color: var(--clr-text); }
.site-nav a.is-active { color: var(--clr-text); font-weight: 600; }

.nav-btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--clr-teal);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 6px 0 var(--clr-teal-dark);
  transition: transform .12s, box-shadow .12s;
}
.nav-btn-contact:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--clr-teal-dark); filter: brightness(0.88); }
.nav-btn-contact:active, .nav-btn-contact:visited, .nav-btn-contact:focus { color: #fff !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(255,248,238,0.97);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nav-drawer.is-open { opacity: 1; pointer-events: auto; }
.nav-drawer__inner {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  font-family: var(--font-pop); font-size: 20px; font-weight: 600;
}
.nav-drawer__inner a { transition: color .2s; }
.nav-drawer__inner a:hover { color: var(--clr-teal); }
.nav-drawer__inner .nav-btn-contact { font-size: 16px; margin-top: 8px; }

/* ---------- Deco shapes (floating bubbles) ---------- */
.deco-wrap { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.deco-shape {
  position: absolute;
  border-radius: var(--shape-radius, 50%);
  background: var(--shape-bg, #BDE0FE);
  width: var(--shape-w, 80px);
  height: var(--shape-h, 80px);
  top: var(--shape-top, auto);
  left: var(--shape-left, auto);
  right: var(--shape-right, auto);
  bottom: var(--shape-bottom, auto);
  --r: var(--shape-rot, 0deg);
  animation: kbob var(--shape-dur, 6s) ease-in-out var(--shape-delay, 0s) infinite;
}

/* ---------- Hero ---------- */
.kids-hero {
  position: relative;
  padding: calc(var(--header-h) + 78px) var(--px) 90px;
  overflow: hidden;
  text-align: center;
}
.kids-hero__title {
  font-family: var(--font-pop);
  font-weight: 700;
  font-size: clamp(26px, 6.4vw, 82px);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.kids-hero__title--page {
  font-family: var(--font-mochiy);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.1;
  color: #4A4540;
}
.kids-hero__sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: clamp(15px, 2vw, 21px);
  line-height: 1.9;
  font-weight: 500;
  color: #6a5a4a;
}

/* ---------- Buttons ---------- */
.btn-teal {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: var(--radius-pill);
  background: var(--clr-teal); color: #fff;
  font-family: var(--font-pop); font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 0 var(--clr-teal-dark);
  transition: transform .12s, box-shadow .12s;
}
.btn-teal:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--clr-teal-dark); }

.btn-yellow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: var(--radius-pill);
  background: #FFE08A; color: #7a5a00;
  font-family: var(--font-pop); font-weight: 600; font-size: 15px;
  transition: transform .15s;
}
.btn-yellow:hover { transform: translateY(-2px); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: var(--radius-pill);
  background: #fff; color: var(--clr-text);
  font-family: var(--font-pop); font-weight: 600; font-size: 15px;
  box-shadow: 0 3px 0 var(--clr-shadow);
  transition: transform .15s;
}
.btn-white:hover { transform: translateY(-2px); }
.btn-white img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 3px 0 var(--clr-shadow);
  transition: transform .15s;
}
.btn-icon:hover { transform: translateY(-2px); }
.btn-icon img { width: 16px; height: 16px; border-radius: 3px; }

.btn-blue {
  display: inline-flex; align-items: center; gap: 9px;
  height: 48px; padding: 0 22px;
  border-radius: var(--radius-pill);
  background: var(--clr-blue); color: #fff;
  font-family: var(--font-pop); font-weight: 600; font-size: 15px;
  box-shadow: 0 5px 0 var(--clr-blue-dark);
  transition: transform .12s, box-shadow .12s;
}
.btn-blue:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--clr-blue-dark); }

.btn-red {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 28px;
  border-radius: var(--radius-pill);
  background: var(--clr-red); color: #fff;
  font-family: var(--font-pop); font-weight: 700; font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 7px 0 var(--clr-red-dark);
  transition: transform .12s, box-shadow .12s;
}
.btn-red:hover { transform: translateY(3px); box-shadow: 0 6px 0 var(--clr-red-dark); }
.btn-red img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }

.btn-pink {
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 40px;
  margin-top: 20px;
  border: none; outline: none; box-shadow: none;
  border-radius: var(--radius-pill);
  background: var(--clr-pink); color: #fff;
  font-family: var(--font-mochiy); font-weight: 400; font-size: 18px;
  box-shadow: 0 7px 0 var(--clr-pink-dark);
  transition: transform .12s, box-shadow .12s;
}
.btn-pink:hover { transform: translateY(3px); box-shadow: 0 4px 0 var(--clr-pink-dark); }

/* ---------- Video embed ---------- */
.video-embed {
  position: relative; aspect-ratio: 16/9;
  border-radius: 22px; overflow: hidden; background: #000;
}
.video-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-frame {
  padding: 16px;
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(124,198,255,0.28);
  border: 3px solid #fff;
}

/* ---------- Card ---------- */
.kids-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 0 var(--card-shadow, var(--clr-border));
  overflow: hidden;
}
.kids-card--pad { padding: 38px 32px; }

/* ---------- Prime grid ---------- */
.prime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.prime-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 18px;
}
.prime-card--blue { box-shadow: 0 14px 0 #C9E9FF; }
.prime-card--green { box-shadow: 0 14px 0 #C8F0DC; }
.prime-card__header {
  border-radius: 16px; overflow: hidden;
  margin-bottom: 16px; height: 200px;
}
.prime-card__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: left center;
}
.prime-card__logo {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 16px 12px; gap: 10px;
  background: #eef6ff;
}
.prime-card--green .prime-card__logo { background: #edfff5; }
.prime-card__logo-img {
  width: 52px; height: 52px; object-fit: contain;
}
.prime-card__logo-text {
  font-size: 11px; color: var(--clr-text-muted);
  font-weight: 600; letter-spacing: 0.03em;
}
.prime-card__body { padding: 4px 4px 10px; }
.prime-card__title {
  font-family: var(--font-mochiy); font-weight: 400; font-size: 17px;
  color: #3a2e24; line-height: 1.4; margin-bottom: 6px; text-align: center;
}
.prime-card__desc {
  font-size: 14px; line-height: 1.8; font-weight: 500;
  color: var(--clr-text-muted); margin-bottom: 18px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  background: var(--clr-green-bg);
  border-radius: 40px;
  padding: clamp(48px, 7vw, 72px) clamp(24px, 5vw, 40px);
  text-align: center;
  overflow: hidden;
}
.cta-banner__title {
  font-family: var(--font-yomogi);
  font-size: clamp(18px, 4.8vw, 54px); white-space: nowrap;
  color: var(--clr-teal-dark);
  line-height: 1.3;
  position: relative; z-index: 2;
}
.cta-banner__sub {
  margin: 16px auto 0;
  font-size: clamp(13px, 1.8vw, 17px);
  line-height: 1.9; font-weight: 600;
  color: var(--clr-teal-dark);
  position: relative; z-index: 2;
}
.cta-banner__actions {
  margin-top: 28px;
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}

/* ---------- News list ---------- */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: 0 10px 0 var(--item-shadow, var(--clr-border));
  transition: transform .15s, box-shadow .15s;
}
.news-item--link:hover { transform: translateY(3px); box-shadow: 0 6px 0 var(--item-shadow, var(--clr-border)); }
.news-item--plain { grid-template-columns: 120px 1fr; }
.news-item__meta { display: flex; flex-direction: column; gap: 8px; }
.news-item__date { font-family: var(--font-pop); font-weight: 600; font-size: 14px; color: var(--clr-text-light); }
.news-item__tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700;
  background: var(--tag-bg, #FFE0B0);
  color: var(--tag-color, #9A6A10);
}
.news-item__title {
  font-family: var(--font-mochiy); font-weight: 400;
  font-size: 18px; color: #3a2e24; line-height: 1.45; margin-bottom: 8px;
}
.news-item__body { font-size: 14px; line-height: 1.85; font-weight: 500; color: var(--clr-text-muted); }
.news-item__arrow { font-family: var(--font-pop); font-weight: 600; font-size: 22px; }

/* ---------- Info boxes ---------- */
.info-box {
  background: var(--clr-green-bg);
  border-radius: 34px;
  padding: clamp(32px, 5vw, 54px) clamp(24px, 4vw, 44px);
}
.info-box__title {
  font-family: var(--font-mochiy); font-weight: 400;
  font-size: clamp(22px, 3.4vw, 38px); color: var(--clr-teal-dark);
  line-height: 1.3; margin-bottom: 22px;
}
.info-box__text { font-size: 16px; line-height: 2.05; font-weight: 500; color: #3c5848; }

.parent-box {
  background: #fff;
  border-radius: 34px;
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 44px);
  box-shadow: 0 12px 0 var(--clr-border);
}
.parent-box__title {
  font-family: var(--font-mochiy); font-weight: 400;
  font-size: clamp(18px, 3vw, 30px); color: #4A4540;
  line-height: 1.35; margin-bottom: 18px;
}
.parent-box__text { font-size: 15px; line-height: 2; font-weight: 500; color: var(--clr-text-muted); }

/* ---------- Service ---------- */
.concept-box {
  background: #fff;
  border-radius: 34px;
  padding: clamp(32px, 5vw, 50px) clamp(20px, 4vw, 46px);
  box-shadow: 0 14px 0 var(--clr-border);
}
.concept-box__title {
  font-family: var(--font-mochiy); font-weight: 400;
  font-size: clamp(18px, 3.2vw, 34px); color: #4A4540;
  line-height: 1.4; margin-bottom: 24px;
}
.concept-box__text { font-size: 15px; line-height: 2.05; font-weight: 500; color: var(--clr-text-mid); }
strong.accent { color: var(--clr-teal-dark); }

.points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.point-card { border-radius: 20px; padding: 22px; background: var(--pt-bg, #EAF6FF); }
.point-card__title {
  font-family: var(--font-mochiy); font-weight: 400; font-size: 15px;
  color: #3a2e24; line-height: 1.5; margin-bottom: 6px;
}
.point-card__desc { font-size: 13px; line-height: 1.8; font-weight: 500; color: var(--clr-text-mid); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border-radius: var(--radius-card);
  box-shadow: 0 12px 0 var(--svc-shadow, var(--clr-border));
  display: flex; flex-direction: column; overflow: hidden;
}
.service-card__img { width: 100%; height: 172px; object-fit: cover; }
.service-card__body { padding: 24px 28px 30px; flex: 1; }
.service-card__title {
  font-family: var(--font-mochiy); font-weight: 400; font-size: 20px;
  color: #3a2e24; line-height: 1.4; margin-bottom: 12px;
}
.service-card__desc { font-size: 14px; line-height: 1.85; font-weight: 500; color: var(--clr-text-muted); }

.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-card { background: #fff; border-radius: 24px; padding: 28px 22px; box-shadow: 0 10px 0 var(--clr-border); }
.flow-card__step { font-family: var(--font-pop); font-weight: 700; font-size: 14px; color: var(--clr-teal); margin-bottom: 14px; }
.flow-card__title { font-family: var(--font-mochiy); font-weight: 400; font-size: 17px; color: #3a2e24; line-height: 1.4; margin-bottom: 10px; }
.flow-card__desc { font-size: 13px; line-height: 1.8; font-weight: 500; color: var(--clr-text-muted); }

.specs-box { background: #fff; border-radius: 28px; padding: 14px 36px 32px; box-shadow: 0 12px 0 var(--clr-border); }
.spec-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px dashed var(--clr-border);
}
.spec-row__label { font-family: var(--font-pop); font-weight: 600; font-size: 14px; color: var(--clr-text-light); }
.spec-row__value { font-size: 14.5px; line-height: 1.7; font-weight: 500; color: #1a1a1a; }
.price-box {
  margin-top: 22px; background: #FFFDF8; border: 1px solid #F0E6D2;
  border-radius: 16px; padding: 18px 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.price-box__num {
  display: flex; align-items: baseline; gap: 2px; color: #3a2e24;
  font-family: var(--font-main); font-weight: 500;
}
.price-box__num-label { font-size: 13px; }
.price-box__amount { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: 0.01em; line-height: 1; }
.price-box__tax { font-size: 12px; color: var(--clr-text-light); margin-left: 4px; }
.price-box__note { font-size: 11.5px; line-height: 1.8; font-weight: 500; color: var(--clr-text-light); text-align: right; }

.caution-box { margin-top: 22px; background: #FFF3E0; border-radius: 22px; padding: 26px 30px; }
.caution-box__title { font-family: var(--font-mochiy); font-weight: 400; font-size: 15px; color: #9A6A10; margin-bottom: 14px; }
.caution-list { display: flex; flex-direction: column; gap: 10px; }
.caution-list li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.8; font-weight: 500; color: var(--clr-text-muted); }
.caution-list li::before { content: '●'; color: #E0A030; flex-shrink: 0; }

.svc-cta {
  background: var(--clr-green-bg); border-radius: 36px;
  padding: clamp(40px, 6vw, 60px) clamp(24px, 4vw, 44px);
  text-align: center;
}
.svc-cta__title {
  font-family: var(--font-mochiy); font-weight: 400;
  font-size: clamp(22px, 3.6vw, 38px); color: var(--clr-teal-dark);
  line-height: 1.3; margin-bottom: 18px;
}
.svc-cta__desc { font-size: 15px; line-height: 2; font-weight: 500; color: #3c5848; }
.svc-cta .btn-teal { margin-top: 28px; }

/* ---------- Contact form ---------- */
.contact-card {
  max-width: 720px; margin: 0 auto;
  background: #fff; border-radius: 34px;
  padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 44px);
  box-shadow: 0 16px 0 var(--clr-border);
}
.ck-form { display: flex; flex-direction: column; gap: 24px; }
.ck-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ck-form-group { display: flex; flex-direction: column; gap: 10px; }
.ck-label {
  font-family: var(--font-pop); font-weight: 600; font-size: 13px; color: var(--clr-text-light);
}
.ck-label .req { color: #FF6B6B; }
.wpcf7-form-control-wrap { display: block; width: 100%; }
.ck-form-group .wpcf7-form-control-wrap + .wpcf7-not-valid-tip { font-size: 13px; color: #e05; margin-top: 4px; }
.ck-input {
  display: block; width: 100%; box-sizing: border-box;
  height: 50px; padding: 0 16px;
  border: 2px solid var(--clr-border); border-radius: 14px;
  background: #FFFCF6; color: var(--clr-text);
  font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .2s;
}
.ck-input:focus { border-color: var(--clr-teal); }
.ck-input::placeholder { color: #bcae9e; }
.ck-textarea {
  display: block; width: 100%; box-sizing: border-box;
  padding: 14px 16px;
  border: 2px solid var(--clr-border); border-radius: 14px;
  background: #FFFCF6; color: var(--clr-text);
  font-size: 15px; font-family: inherit; outline: none;
  resize: vertical; line-height: 1.7; min-height: 130px;
  transition: border-color .2s;
}
.ck-textarea:focus { border-color: var(--clr-teal); }
.ck-textarea::placeholder { color: #bcae9e; }
.topic-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-btn {
  height: 42px; padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--clr-border);
  background: #FFFCF6; color: #7a6a5a;
  font-family: var(--font-pop); font-weight: 600; font-size: 14px;
  transition: all .15s; cursor: pointer;
}
.topic-btn.is-active { background: var(--clr-teal); color: #fff; border-color: var(--clr-teal); }
.ck-note { text-align: center; font-size: 12px; color: #a89a8a; line-height: 1.7; }

/* Sent state */
.sent-msg { text-align: center; padding: 30px 10px; }
.sent-icon {
  display: inline-flex; width: 84px; height: 84px;
  border-radius: 26px; background: var(--clr-green-bg);
  align-items: center; justify-content: center;
  font-size: 42px; margin-bottom: 24px; transform: rotate(-5deg);
}
.sent-title {
  font-family: var(--font-mochiy); font-weight: 400; font-size: 28px;
  color: var(--clr-teal-dark); margin-bottom: 16px;
}
.sent-text { font-size: 15px; line-height: 1.95; font-weight: 500; color: var(--clr-text-muted); }

/* ---------- News slider ---------- */
.ck-news-slider { position: relative; }
.ck-news-list { display: flex; flex-direction: column; gap: 18px; }
.ck-news-card { transition: opacity .25s, transform .25s; }

.ck-news-nav-top {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.ck-news-nav-bottom {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.ck-nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 0 var(--clr-shadow);
  font-size: 16px; color: var(--clr-text);
  border: none; cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.ck-nav-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--clr-shadow); }
.ck-nav-btn:disabled { opacity: .35; cursor: default; transform: none; box-shadow: 0 4px 0 var(--clr-shadow); }
.ck-nav-info { font-family: var(--font-pop); font-size: 13px; font-weight: 600; color: var(--clr-text-light); min-width: 60px; text-align: center; }

/* ---------- Single post ---------- */
.ck-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-pop); font-size: 14px; font-weight: 600;
  color: var(--clr-text-light);
  margin-bottom: 32px;
  transition: color .2s;
}
.ck-back-link:hover { color: var(--clr-teal); }

.ck-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-pop); font-size: 13px; font-weight: 700;
}

.ck-single-title {
  font-family: var(--font-mochiy); font-weight: 400;
  font-size: clamp(22px, 4vw, 38px);
  color: #4A4540; line-height: 1.4;
  margin-bottom: 0;
}

.ck-body-card {
  background: #fff;
  border-radius: 30px;
  padding: clamp(24px, 4vw, 40px);
}

.ck-body-text {
  font-size: 16px; line-height: 2.1; font-weight: 500;
  color: var(--clr-text-mid);
}
.ck-body-text p { margin-bottom: 1.2em; }
.ck-body-text p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(32px, 4vw, 40px) 0 clamp(40px, 5vw, 60px);
  border-top: 2px solid var(--clr-border);
}
.footer-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 16px;
}
.footer-logo.kids-logo-text { font-size: 18px; }
.footer-copy { font-family: var(--font-pop); font-size: 13px; color: #b0a090; }

/* ============================================================
   Responsive — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .points-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Responsive — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .kids-hero__title { white-space: normal; font-size: clamp(22px, 8vw, 48px); }

  .prime-grid { grid-template-columns: 1fr; }
  .points-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .spec-row { grid-template-columns: 110px 1fr; }

  .news-item { grid-template-columns: 100px 1fr auto; gap: 14px; padding: 18px 18px; }
  .news-item--plain { grid-template-columns: 100px 1fr; }
  .news-item__title { font-size: 16px; }

  .ck-form-row { grid-template-columns: 1fr; }
  .svc-cta__desc { white-space: normal; }
  .cta-banner__title { white-space: normal; }
  .cta-banner__sub { white-space: normal; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Responsive — Small Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .flow-grid { grid-template-columns: 1fr; }
  .price-box { flex-direction: column; align-items: flex-start; }
  .price-box__note { text-align: left; }
  .news-item { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .news-item--link, .news-item--plain { display: flex; flex-direction: column; }
  .news-item__meta { flex-direction: row; align-items: center; gap: 10px; }
  .news-item__arrow { display: none; }
}

/* ---------- News filter ---------- */
.ck-news-nav-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ck-news-nav-top > .ck-nav-btn { margin: 0 25px; }
.ck-filter-left, .ck-filter-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.ck-filter-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; width: 88px; padding: 0;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 4px 0 var(--clr-shadow);
  font-family: var(--font-pop); font-size: 12px; font-weight: 700;
  color: var(--clr-text-muted);
  border: none; cursor: pointer;
  transition: background .15s, color .15s, transform .12s, box-shadow .12s;
}
.ck-filter-btn:hover { background: #f0f0f0; }
.ck-filter-btn.is-active {
  background: var(--fc, var(--clr-teal));
  color: #fff;
  box-shadow: 0 4px 0 var(--fs, var(--clr-teal-dark));
}
.ck-filter-btn.is-active:hover { transform: translateY(1px); box-shadow: 0 3px 0 var(--fs, var(--clr-teal-dark)); }

/* ============================================================
   PATCHES — 個別修正・上書きルール（追加はこのブロック内に）
   ============================================================ */

/* [1] 投稿ページの背景色をサイト共通色に統一 */
body.single-post .section,
body.single-post section,
body.single-post main > div {
  background: var(--clr-bg) !important;
}

/* [2] Prime Videoカテゴリ投稿のバッジを青に統一 */
body.category-prime-video .ck-badge {
  background: #C9E9FF !important;
  color: #0086B4 !important;
}

/* [3] コラム投稿(71)のスマホ画像位置調整（Unsplash仮画像のみ） */
@media (max-width:600px) {
  .ck-body-text img[src*="unsplash"] {
    height: 150px !important;
    object-position: center calc(70% + 45px) !important;
  }
}

.ck-ic{display:inline-block;height:1.05em;width:auto;vertical-align:-0.14em;margin:0 .08em}
.lpc-btn .ck-ic,.mikke-btn .ck-ic{filter:brightness(0) invert(1)}
.lpc-meta .ck-ic{vertical-align:-0.16em}
