/* Kidsnav visual refinement — 2026-10-28. Loaded after the base theme. */
:root {
  --c-text: #293f3c;
  --c-text-2: #526561;
  --c-text-3: #64736e;
  --c-line: #e2e8e2;
  --c-line-strong: #b9cec6;
  --sh-1: 0 3px 14px rgba(33,69,59,.045);
  --sh-2: 0 10px 28px rgba(33,69,59,.10);
}
.kg-header { border-bottom-color: #e9eee8; }
.kg-burger { border-radius: 50%; background: #f1f5f0; }
.kg-card { border-radius: 20px; box-shadow: var(--sh-1); }
.kg-card__body { padding: 17px 18px 19px; gap: 9px; }
.kg-card__title { font-size: 16px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kg-card__meta { font-size: 12px; flex-wrap: wrap; row-gap: 3px; }
.kg-card__excerpt { font-size: 13px; line-height: 1.85; }
.kg-card__facts { gap: 6px; padding-top: 10px; }
.kg-fact { border-radius: 6px; font-weight: 500; padding: 4px 8px; }
.kg-section__more { color: #28675c; gap: 9px; }
.kg-section__more::after { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #edf4ee; color: #28675c; }
.kg-section__head--photo .kg-section__more::after { background: rgba(255,255,255,.92); }
.home { background: #fdfcf8; }
.home .kg-hero--editorial { background: transparent; padding: 20px 0 0; }
.home .kg-hero--editorial .kg-hero__top {
  display: grid; grid-template-columns: 1fr; min-height: 0; margin-inline: 0;
  background: #f3f0e5; border-radius: 26px; overflow: hidden;
}
.home .kg-hero--editorial .kg-hero__top::after { display: none; }
.home .kg-hero--editorial .kg-hero__copy { width: 100%; padding: 24px 24px 22px; }
.home .kg-hero--editorial .kg-hero__lead {
  display: inline-flex; align-items: center; gap: 8px; color: #356d64;
  font-size: 11px; letter-spacing: .06em; margin-bottom: 14px;
}
.home .kg-hero--editorial .kg-hero__lead::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e7b952; flex-shrink: 0; }
.home .kg-hero--editorial .kg-hero__title { font-size: clamp(30px,8.3vw,40px); color: #254c45; line-height: 1.45; letter-spacing: .015em; }
.home .kg-hero--editorial .kg-hero__title em { font-style: normal; }
.home .kg-hero--editorial .kg-hero__desc { color: #52615a; font-size: 13px; line-height: 1.95; margin: 14px 0 20px; }
.home .kg-hero__cta { background: #2c6c60; color: #fff; padding: 13px 20px; font-size: 13px; gap: 22px; box-shadow: none; }
.home .kg-hero__cta:hover { background: #20574d; }
.home .kg-hero__cta span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: rgba(255,255,255,.15); }
.home .kg-hero--editorial .kg-hero__photos { position: relative; inset: auto; z-index: auto; margin: 0 12px 12px; height: 160px; overflow: hidden; border-radius: 16px 16px 20px 20px; }
.home .kg-hero--editorial .kg-hero__photo--main { object-position: 60% 58%; }
.home .kg-hero--editorial .kg-quick { margin-top: 28px; }
.home .kg-hero--editorial .kg-quick__label { font-size: 13px; letter-spacing: .035em; margin-bottom: 12px; color: #36574f; }
.home .kg-quick__label::before { width: 5px; height: 5px; background: #d5a64d; box-shadow: none; }
.home .kg-hero--editorial .kg-quick__grid { gap: 10px; }
.home .kg-hero--editorial .kg-quick__btn--photo {
  min-height: 88px; padding: 10px 9px; gap: 9px; align-items: center;
  background: #fff; color: #294d45; border: 1px solid #e4e8df; border-radius: 15px;
  font-size: 12px; box-shadow: 0 3px 12px rgba(33,69,59,.025);
}
.home .kg-hero--editorial .kg-quick__photo { position: relative; inset: auto; width: 46px; height: 62px; border-radius: 9px; z-index: auto; flex-shrink: 0; }
.home .kg-hero--editorial .kg-quick__btn--photo::after { display: none; }
.home .kg-hero--editorial .kg-quick__btn--photo small { color: #66746b; font-size: 10px; margin-top: 4px; line-height: 1.6; }
.home .kg-hero--editorial .kg-agepick { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: visible; padding-top: 2px; gap: 7px; }
.home .kg-hero--editorial .kg-agepick__btn { min-height: 43px; display: grid; place-items: center; padding: 8px 3px; border-radius: 10px; font-size: 12px; border-color: #dae4d9; background: #f0f5ed; color: #35594e; }
.home .kg-hero--editorial .kg-agepick__btn:hover,
.home .kg-hero--editorial .kg-agepick__btn.is-active { background: #dce9d8; border-color: #9dbb9b; }
.home .kg-section { margin-block: 46px; }
.home .kg-section__head { margin-bottom: 20px; align-items: center; }
.home .kg-section__title { font-size: 21px; line-height: 1.5; letter-spacing: .015em; gap: 10px; }
.home .kg-section__title::before { width: 5px; height: 23px; border-radius: 4px; background: #e9bd61; }
.home .kg-section__sub { font-size: 12px; margin-top: 5px; }
.home .kg-section__more { font-size: 12px; }
.home .kg-rail { gap: 14px; padding-bottom: 14px; }
.home .kg-section__head--photo { min-height: 165px; padding: 22px; border-radius: 22px; }
.home .kg-section__head--photo .kg-section__title { font-size: 22px; }
.home .kg-section__head--photo .kg-section__more { border: 0; }
.home .kg-tiles { gap: 10px; }
.home .kg-tile { border-radius: 14px; }
.home .kg-aff { background: #f2f4ed; border-color: #dee5d8; border-radius: 22px; }
.home .kg-aff__title { color: #36594e; }
.kg-footer { background: #f4f6ef; border-top-color: #e2e7dd; }
.kg-footer__brand p { line-height: 2; }
@media (min-width: 768px) {
  .home .kg-hero--editorial { padding-top: 28px; }
  .home .kg-hero--editorial .kg-hero__top { grid-template-columns: 1fr 1.04fr; align-items: stretch; border-radius: 32px; }
  .home .kg-hero--editorial .kg-hero__copy { padding: 52px 40px; align-self: center; }
  .home .kg-hero--editorial .kg-hero__title { font-size: clamp(36px,4.1vw,54px); line-height: 1.5; }
  .home .kg-hero--editorial .kg-hero__lead { font-size: 12px; }
  .home .kg-hero--editorial .kg-hero__desc { font-size: 14px; margin-block: 20px 26px; }
  .home .kg-hero--editorial .kg-hero__photos { margin: 16px 16px 16px 0; height: auto; min-height: 414px; border-radius: 22px 22px 60px 22px; }
  .home .kg-hero__cta { font-size: 14px; padding: 14px 23px; }
  .home .kg-hero--editorial .kg-quick { margin-top: 34px; }
  .home .kg-hero--editorial .kg-quick__btn--photo { padding: 12px; min-height: 104px; font-size: 14px; gap: 12px; }
  .home .kg-hero--editorial .kg-quick__photo { width: 58px; height: 76px; }
  .home .kg-hero--editorial .kg-quick__btn--photo small { font-size: 11px; }
  .home .kg-hero--editorial .kg-agepick { max-width: 560px; gap: 10px; }
  .home .kg-section { margin-block: 64px; }
  .home .kg-section__title { font-size: 27px; }
  .home .kg-section__sub { font-size: 13px; }
  .home .kg-section__more { font-size: 13px; }
  .home .kg-section__head--photo { min-height: 210px; padding: 30px; }
  .home .kg-section__head--photo .kg-section__title { font-size: 28px; }
}
@media (min-width: 1024px) {
  .home .kg-rail, .home .kg-grid { gap: 22px; }
}
@media (max-width: 374px) {
  .home .kg-hero--editorial .kg-hero__copy { padding-inline: 20px; }
  .home .kg-hero--editorial .kg-quick__photo { width: 36px; height: 54px; }
  .home .kg-hero--editorial .kg-quick__btn--photo { gap: 7px; padding-inline: 8px; font-size: 11px; }
  .home .kg-section__title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .kg-card, .kg-card__media img, .home .kg-hero__cta { transition: none; }
}

/* Turnstile をフォームの中央に置く（2026-11-11） */
.kg-form .cf-turnstile { display: flex; justify-content: center; }
