/* v3: focused guide, blog, footer, and responsive review surface. */
.yp-editorial,
.yp-editorial * {
  box-sizing: border-box;
}

.yp-editorial {
  --yp-ink: #19231d;
  --yp-muted: #536159;
  --yp-green: #315c45;
  --yp-green-dark: #214131;
  --yp-lilac: #76628d;
  --yp-cream: #f6f3eb;
  --yp-mist: #edf3ee;
  --yp-line: #d8dfd9;
  --yp-white: #fff;
  color: var(--yp-ink);
  background: var(--yp-white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.yp-editorial .yp-editorial__shell {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

.yp-editorial .yp-editorial__hero {
  padding: clamp(52px, 8vw, 104px) 0;
  background: linear-gradient(135deg, var(--yp-cream), #f7edf2 58%, var(--yp-mist));
}

.yp-editorial .yp-editorial__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(32px, 7vw, 80px);
  align-items: center;
}

.yp-editorial .yp-editorial__eyebrow {
  margin: 0 0 12px;
  color: var(--yp-green);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.yp-editorial .yp-editorial__hero h1 {
  margin: 0;
  color: var(--yp-ink);
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.yp-editorial .yp-editorial__lead {
  max-width: 38rem;
  margin: 24px 0 28px;
  color: var(--yp-muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.yp-editorial .yp-editorial__button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 22px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--yp-green);
  border-radius: 999px;
  color: var(--yp-white);
  background: var(--yp-green);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.yp-editorial .yp-editorial__button:hover {
  border-color: var(--yp-green-dark);
  color: var(--yp-white);
  background: var(--yp-green-dark);
  transform: translateY(-1px);
}

.yp-editorial .yp-editorial__button:focus-visible,
.yp-editorial .yp-editorial__text-link:focus-visible,
.yp-editorial .yp-editorial__guide-card a:focus-visible,
.yp-editorial .yp-editorial__trust-links a:focus-visible,
.yp-editorial .yp-editorial__shop-note a:focus-visible {
  outline: 3px solid #b34672;
  outline-offset: 4px;
}

.yp-editorial .yp-editorial__hero-figure {
  position: relative;
  margin: 0;
}

.yp-editorial .yp-editorial__hero-figure::before {
  position: absolute;
  inset: -16px 24px 20px -16px;
  z-index: 0;
  border: 1px solid rgba(49, 92, 69, 0.24);
  border-radius: 30px;
  content: "";
}

.yp-editorial .yp-editorial__hero-figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(25, 35, 29, 0.17);
  object-fit: cover;
}

.yp-editorial .yp-editorial__hero-figure figcaption {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--yp-muted);
  font-size: 0.78rem;
  text-align: right;
}

.yp-editorial .yp-editorial__section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.yp-editorial .yp-editorial__section--tint {
  background: var(--yp-mist);
}

.yp-editorial .yp-editorial__section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.yp-editorial .yp-editorial__section h2,
.yp-editorial .yp-editorial__trust h2 {
  margin: 0 0 14px;
  color: var(--yp-ink);
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  line-height: 1.35;
}

.yp-editorial .yp-editorial__section-head > p:last-child,
.yp-editorial .yp-editorial__split p,
.yp-editorial .yp-editorial__trust > .yp-editorial__shell > p {
  color: var(--yp-muted);
}

.yp-editorial .yp-editorial__guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.yp-editorial .yp-editorial__guide-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-columns: minmax(150px, 0.78fr) minmax(0, 1.22fr);
  border: 1px solid var(--yp-line);
  border-radius: 20px;
  background: var(--yp-white);
  box-shadow: 0 8px 24px rgba(25, 35, 29, 0.06);
}

.yp-editorial .yp-editorial__guide-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 12px);
}

.yp-editorial .yp-editorial__guide-image {
  display: block;
  min-height: 100%;
  background: var(--yp-mist);
}

.yp-editorial .yp-editorial__guide-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.yp-editorial .yp-editorial__guide-copy {
  padding: 24px;
}

.yp-editorial .yp-editorial__guide-label {
  margin: 0 0 8px;
  color: var(--yp-lilac);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.yp-editorial .yp-editorial__guide-copy h3 {
  margin: 0 0 12px;
  font-size: 1.17rem;
  line-height: 1.5;
}

.yp-editorial .yp-editorial__guide-copy h3 a {
  color: var(--yp-ink);
  text-decoration: none;
}

.yp-editorial .yp-editorial__guide-copy h3 a:hover {
  color: var(--yp-green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.yp-editorial .yp-editorial__guide-copy > p:not(.yp-editorial__guide-label) {
  margin: 0 0 16px;
  color: var(--yp-muted);
  font-size: 0.9rem;
}

.yp-editorial .yp-editorial__text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--yp-green-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.yp-editorial .yp-editorial__method-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.yp-editorial .yp-editorial__method-grid li {
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.yp-editorial .yp-editorial__method-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--yp-lilac);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.yp-editorial .yp-editorial__method-grid h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.yp-editorial .yp-editorial__method-grid p {
  margin: 0;
  color: var(--yp-muted);
}

.yp-editorial .yp-editorial__split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
}

.yp-editorial .yp-editorial__trust {
  padding: 56px 0;
  color: var(--yp-white);
  background: var(--yp-green-dark);
}

.yp-editorial .yp-editorial__trust h2,
.yp-editorial .yp-editorial__trust > .yp-editorial__shell > p {
  color: var(--yp-white);
}

.yp-editorial .yp-editorial__trust-links {
  display: flex;
  margin: 24px 0;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.yp-editorial .yp-editorial__trust-links a,
.yp-editorial .yp-editorial__shop-note a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--yp-white);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.yp-editorial .yp-editorial__shop-note {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.9rem;
}

.yp-editorial .yp-evidence-grid {
  display: grid;
  margin: 28px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.yp-editorial .yp-evidence-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--yp-line);
  border-radius: 16px;
  background: var(--yp-white);
}

.yp-editorial .yp-evidence-card img {
  display: block;
  width: 100%;
  height: auto;
}

.yp-editorial .yp-evidence-card figcaption {
  padding: 16px 18px 18px;
  color: var(--yp-muted);
  font-size: 0.9rem;
}

.yp-editorial .yp-answer {
  padding: 20px 22px;
  border-left: 4px solid var(--yp-green);
  border-radius: 0 10px 10px 0;
  background: var(--yp-mist);
}

.yp-editorial .yp-guide,
.yp-editorial .yp-blog {
  padding: clamp(52px, 8vw, 96px) 0;
  background: var(--yp-white);
}

.yp-editorial .yp-guide__shell {
  width: min(840px, calc(100% - 48px));
  margin-inline: auto;
}

.yp-editorial .yp-guide__header {
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--yp-line);
}

.yp-editorial .yp-guide__header h1 {
  margin: 0;
  color: var(--yp-ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.32;
}

.yp-editorial .yp-guide__summary {
  margin: 22px 0 0;
  color: var(--yp-muted);
  font-size: 1.05rem;
}

.yp-editorial .yp-guide__updated {
  margin: 14px 0 0;
  color: #6b766f;
  font-size: 0.82rem;
}

.yp-editorial .yp-guide__content {
  color: var(--yp-ink);
  font-size: 1rem;
}

.yp-editorial .yp-guide__content > p,
.yp-editorial .yp-guide__content > ul,
.yp-editorial .yp-guide__content > ol,
.yp-editorial .yp-guide__content > figure,
.yp-editorial .yp-guide__content > div {
  margin-block: 1.35em;
}

.yp-editorial .yp-guide__content h2 {
  margin: 2.4em 0 0.8em;
  padding-bottom: 0.45em;
  border-bottom: 2px solid var(--yp-mist);
  color: var(--yp-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.yp-editorial .yp-guide__content h3 {
  margin: 2em 0 0.65em;
  color: var(--yp-ink);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.5;
}

.yp-editorial .yp-guide__content a {
  color: var(--yp-green-dark);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.yp-editorial .yp-guide__content a:focus-visible,
.yp-editorial .yp-guide__after a:focus-visible,
.yp-editorial .yp-blog__card a:focus-visible {
  outline: 3px solid #b34672;
  outline-offset: 4px;
}

.yp-editorial .yp-guide__content img {
  max-width: 100%;
  height: auto;
}

.yp-editorial .yp-guide__content .wp-block-image img {
  border-radius: 14px;
}

.yp-editorial .yp-guide__content .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
}

.yp-editorial .yp-guide__content table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.yp-editorial .yp-guide__content th,
.yp-editorial .yp-guide__content td {
  padding: 12px 14px;
  border: 1px solid var(--yp-line);
  text-align: left;
  vertical-align: top;
}

.yp-editorial .yp-guide__content th {
  background: var(--yp-mist);
}

.yp-editorial .yp-guide__after {
  display: flex;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--yp-line);
  flex-wrap: wrap;
  gap: 12px 28px;
}

.yp-editorial .yp-guide__after a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--yp-green-dark);
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.yp-editorial .yp-blog__shell {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

.yp-editorial .yp-blog__header {
  max-width: 740px;
  margin-bottom: 42px;
}

.yp-editorial .yp-blog__header h1 {
  margin: 0 0 16px;
  color: var(--yp-ink);
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.yp-editorial .yp-blog__header > p:last-child {
  color: var(--yp-muted);
}

.yp-editorial .yp-blog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.yp-editorial .yp-blog__card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--yp-line);
  border-radius: 20px;
  background: var(--yp-white);
  box-shadow: 0 8px 26px rgba(25, 35, 29, 0.07);
}

.yp-editorial .yp-blog__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--yp-mist);
}

.yp-editorial .yp-blog__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yp-editorial .yp-blog__copy {
  padding: 26px;
}

.yp-editorial .yp-blog__label {
  margin: 0 0 9px;
  color: var(--yp-lilac);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.yp-editorial .yp-blog__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.yp-editorial .yp-blog__copy h2 a {
  color: var(--yp-ink);
  text-decoration: none;
}

.yp-editorial .yp-blog__copy h2 a:hover {
  color: var(--yp-green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.yp-editorial .yp-blog__copy > p:not(.yp-blog__label) {
  margin: 0 0 18px;
  color: var(--yp-muted);
}

.yp-editorial .yp-editorial-footer {
  padding: 44px 0 28px;
  color: var(--yp-white);
  background: #202a25;
}

.yp-editorial .yp-editorial-footer__inner {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

.yp-editorial .yp-editorial-footer__brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--yp-white);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.yp-editorial .yp-editorial-footer__brand:focus-visible,
.yp-editorial .yp-editorial-footer__menu a:focus-visible {
  outline: 3px solid #f0a7c4;
  outline-offset: 4px;
}

.yp-editorial .yp-editorial-footer__menu {
  display: flex;
  margin: 20px 0 28px;
  padding: 0;
  flex-wrap: wrap;
  gap: 4px 24px;
  list-style: none;
}

.yp-editorial .yp-editorial-footer__menu li {
  margin: 0;
  padding: 0;
}

.yp-editorial .yp-editorial-footer__menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.yp-editorial .yp-editorial-footer__copyright {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .yp-editorial .yp-editorial__guide-grid {
    grid-template-columns: 1fr;
  }

  .yp-editorial .yp-editorial__guide-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
  }

  .yp-editorial .yp-blog__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 719px) {
  .yp-editorial .yp-editorial__shell {
    width: min(100% - 32px, 1100px);
  }

  .yp-editorial .yp-guide__shell,
  .yp-editorial .yp-blog__shell {
    width: min(100% - 32px, 1100px);
  }

  .yp-editorial .yp-editorial-footer__inner {
    width: min(100% - 32px, 1100px);
  }

  .yp-editorial .yp-editorial__hero-grid,
  .yp-editorial .yp-editorial__split,
  .yp-editorial .yp-editorial__method-grid {
    grid-template-columns: 1fr;
  }

  .yp-editorial .yp-editorial__hero-grid {
    gap: 44px;
  }

  .yp-editorial .yp-editorial__hero-figure::before {
    inset: -10px 14px 14px -10px;
  }

  .yp-editorial .yp-editorial__guide-card {
    grid-template-columns: 1fr;
  }

  .yp-editorial .yp-editorial__guide-image img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .yp-editorial .yp-evidence-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yp-editorial .yp-editorial__button {
    transition: none;
  }
}
