body.home,
body.single,
body.archive,
body.search {
  background: #f7f5ed;
}

body.home .header-container,
body.home .footer,
body.home .go-to-top,
body.home .mobile-footer-menu-buttons,
body.single .header-container,
body.single .footer,
body.single .go-to-top,
body.single .mobile-footer-menu-buttons,
body.archive .header-container,
body.archive .footer,
body.archive .go-to-top,
body.archive .mobile-footer-menu-buttons,
body.search .header-container,
body.search .footer,
body.search .go-to-top,
body.search .mobile-footer-menu-buttons {
  display: none !important;
}

body.home #content,
body.single #content,
body.archive #content,
body.search #content,
body.home .main,
body.single .main,
body.archive .main,
body.search .main,
body.home .content,
body.single .content,
body.archive .content,
body.search .content,
body.home .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.home .sidebar,
body.home .breadcrumb,
body.home .list-title,
body.single .sidebar,
body.single .breadcrumb,
body.archive .sidebar,
body.archive .breadcrumb,
body.search .sidebar,
body.search .breadcrumb {
  display: none;
}

.yl-lab-blog {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  color: #191815;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", sans-serif;
  letter-spacing: 0;
  overflow: hidden;
}

.yl-lab-blog * {
  box-sizing: border-box;
  min-width: 0;
}

.yl-lab-blog::before {
  content: "やめる研究所";
  display: flex;
  align-items: center;
  height: 76px;
  border-bottom: 1px solid #d8d3c6;
  color: #191815;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
}

.yl-lab-blog a {
  color: inherit;
  text-decoration: none;
}

.yl-lab-blog p,
.yl-lab-blog h1,
.yl-lab-blog h2,
.yl-lab-blog h3 {
  white-space: normal;
}

.yl-lab-blog a:hover {
  color: #315f75;
}

.yl-eyebrow,
.yl-meta {
  margin: 0;
  color: #746f64;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.yl-lab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(42px, 7vw, 104px);
  align-items: end;
  min-height: 480px;
  padding: 62px 0 50px;
  border-bottom: 1px solid #d8d3c6;
}

.yl-lab-hero__main {
  position: relative;
  padding-top: 34px;
  min-width: 0;
}

.yl-lab-hero__main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 86px;
  height: 2px;
  background: #a85f47;
}

.yl-lab-hero h1 {
  max-width: 760px;
  margin: 16px 0 24px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Yu Gothic UI", sans-serif;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: .01em;
}

.yl-lab-hero h1 span {
  display: block;
}

.yl-lead {
  max-width: 700px;
  margin: 0;
  color: #5f5a50;
  font-size: 17px;
  line-height: 1.95;
}

.yl-product-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.yl-product-tabs a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid #d8d3c6;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  color: #5f5a50;
  font-size: 14px;
}

.yl-product-tabs .is-current {
  color: #fff;
  background: #191815;
  border-color: #191815;
}

.yl-product-rail {
  display: grid;
  gap: 14px;
  padding-bottom: 8px;
}

.yl-product-rail > .yl-eyebrow {
  margin-bottom: 4px;
}

.yl-product-card {
  position: relative;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: #fff;
}

.yl-product-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 72px;
  height: 72px;
  border: 1px solid currentColor;
  opacity: .18;
  transform: rotate(12deg);
}

.yl-product-card span {
  position: absolute;
  top: 20px;
  left: 22px;
  color: #746f64;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}

.yl-product-card strong {
  font-size: 22px;
  font-weight: 600;
}

.yl-product-card em {
  color: #746f64;
  font-style: normal;
  font-size: 12px;
}

.yl-product-card--phone {
  color: #3c5f4e;
}

.yl-product-card--yudane {
  color: #315f75;
}

.yl-featured-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
  gap: 24px;
  margin: 30px 0 70px;
}

.yl-lead-article,
.yl-feature-card,
.yl-note-row,
.yl-research-sidebar section {
  background: rgba(255, 255, 255, .78);
  border: 1px solid #d8d3c6;
  border-radius: 8px;
}

.yl-lead-article {
  display: grid;
  grid-template-columns: minmax(310px, .85fr) minmax(0, 1fr);
  overflow: hidden;
}

.yl-thumb {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, .92);
  background: #2f4940;
}

.yl-lead-article .yl-thumb {
  min-height: 340px;
}

.yl-thumb::before,
.yl-thumb::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .32);
}

.yl-thumb::before {
  width: 62%;
  height: 56%;
  transform: rotate(-8deg);
}

.yl-thumb::after {
  width: 34%;
  height: 34%;
  border-radius: 50%;
  transform: translate(42%, 34%);
}

.yl-thumb span {
  position: relative;
  z-index: 1;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .04em;
}

.yl-thumb-phone {
  background:
    linear-gradient(135deg, rgba(25, 24, 21, .1), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #3c5f4e, #171f1b);
}

.yl-thumb-calendar {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.11) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, #315f75, #16262f);
}

.yl-thumb-system {
  background:
    radial-gradient(circle at 30% 35%, rgba(232, 190, 91, .46), transparent 0 11%, transparent 12%),
    radial-gradient(circle at 70% 65%, rgba(232, 190, 91, .34), transparent 0 9%, transparent 10%),
    linear-gradient(135deg, #a85f47, #2b1d19);
}

.yl-thumb-focus {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent),
    linear-gradient(135deg, #a89051, #302a1d);
}

.yl-article-copy {
  align-self: end;
  padding: clamp(28px, 4vw, 48px);
}

.yl-article-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.38;
}

.yl-article-copy p:last-child,
.yl-note-row__copy p:last-child,
.yl-sidebar-statement p {
  margin: 0;
  color: #5f5a50;
  line-height: 1.85;
}

.yl-article-copy p:last-child,
.yl-note-row__copy p:last-child {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.yl-feature-stack {
  display: grid;
  gap: 24px;
}

.yl-feature-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 168px;
  padding: 18px;
}

.yl-feature-card .yl-thumb {
  min-height: 132px;
  border-radius: 6px;
}

.yl-feature-card h3 {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.55;
}

.yl-index-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(40px, 6vw, 76px);
  align-items: start;
  padding-bottom: 96px;
}

.yl-section-title {
  padding-bottom: 22px;
  border-bottom: 1px solid #d8d3c6;
}

.yl-section-title h2 {
  margin: 4px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 38px;
  font-weight: 700;
}

.yl-notes-list {
  display: grid;
  gap: 18px;
}

.yl-note-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  padding: 18px;
}

.yl-note-row .yl-thumb {
  min-height: 132px;
  border-radius: 6px;
}

.yl-note-row__copy h3 {
  margin: 6px 0 8px;
  font-size: 23px;
  line-height: 1.48;
}

.yl-research-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 22px;
}

.yl-research-sidebar section {
  padding: 26px;
}

.yl-research-sidebar section:first-child {
  display: grid;
  gap: 14px;
}

.yl-research-sidebar a {
  padding-top: 14px;
  border-top: 1px solid #d8d3c6;
  color: #5f5a50;
}

.yl-sidebar-statement {
  background: #191815 !important;
  color: #fff;
}

.yl-sidebar-statement h2 {
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 500;
}

.yl-sidebar-statement .yl-eyebrow {
  color: rgba(255, 255, 255, .58);
}

.yl-sidebar-statement p {
  color: rgba(255, 255, 255, .68);
}

.yl-single-page,
.yl-archive-page {
  padding-bottom: 96px;
}

.yl-single-header,
.yl-archive-hero {
  position: relative;
  padding: 74px 0 46px;
  border-bottom: 1px solid #d8d3c6;
}

.yl-single-header::before,
.yl-archive-hero::before {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin-bottom: 34px;
  background: #a85f47;
}

.yl-back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #5f5a50;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.yl-single-header h1,
.yl-archive-hero h1 {
  width: min(960px, calc(100vw - 80px));
  max-width: min(960px, calc(100vw - 80px));
  margin: 12px 0 18px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.yl-single-lead,
.yl-archive-hero p {
  max-width: 760px;
  margin: 0;
  color: #5f5a50;
  font-size: 17px;
  line-height: 1.9;
}

.yl-single-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
  padding-top: 54px;
}

.yl-single-content, body.page .entry-content {
  color: #25231f;
  font-size: 18px;
  line-height: 2.05;
}

.yl-single-content > *:first-child, body.page .entry-content > *:first-child {
  margin-top: 0;
}

.yl-single-content p, body.page .entry-content p {
  margin: 0 0 1.45em;
}

.yl-single-content h2, body.page .entry-content h2 {
  margin: 2.4em 0 1em;
  padding-top: .9em;
  border-top: 1px solid #d8d3c6;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.5;
  font-weight: 800;
}

.yl-single-content h3, body.page .entry-content h3 {
  margin: 2em 0 .8em;
  font-size: 23px;
  line-height: 1.5;
  font-weight: 800;
}

.yl-single-content a, body.page .entry-content a {
  color: #315f75;
  border-bottom: 1px solid currentColor;
}

.yl-single-content ul, body.page .entry-content ul,
.yl-single-content ol, body.page .entry-content ol {
  margin: 0 0 1.5em 1.3em;
  padding: 0;
}

.yl-single-content blockquote, body.page .entry-content blockquote {
  margin: 2em 0;
  padding: 6px 0 6px 24px;
  border-left: 2px solid #a85f47;
  color: #5f5a50;
}

.yl-single-content img, body.page .entry-content img {
  border-radius: 8px;
}

.yl-single-content .yl-article-hero, body.page .entry-content .yl-article-hero,
.yl-single-content .yl-key-point, body.page .entry-content .yl-key-point,
.yl-single-content .yl-step-box, body.page .entry-content .yl-step-box,
.yl-single-content .yl-mini-summary, body.page .entry-content .yl-mini-summary {
  margin: 2em 0;
  padding: 24px;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: #fffaf0;
}

.yl-single-content .yl-dialogue, body.page .entry-content .yl-dialogue {
  display: grid;
  gap: 18px;
  margin: 2em 0;
}

.yl-single-content .yl-talk, body.page .entry-content .yl-talk {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.yl-single-content .yl-avatar, body.page .entry-content .yl-avatar {
  display: grid;
  width: 112px !important;
  height: 112px !important;
  padding: 3px;
  place-items: center;
  border: 1px solid #d8d3c6;
  border-radius: 50%;
  color: #25231f;
  font-size: 13px;
  font-weight: 800;
  background: #f3eee4;
  overflow: hidden;
}

.yl-single-content .yl-avatar:has(img), body.page .entry-content .yl-avatar:has(img),
.yl-single-content .yl-avatar-image, body.page .entry-content .yl-avatar-image {
  border-color: #d8d3c6;
  background: rgba(255, 255, 255, .82);
}

.yl-single-content .yl-avatar img, body.page .entry-content .yl-avatar img {
  display: block;
  width: 124% !important;
  height: 124% !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
}

.yl-single-content .yl-talk-teacher .yl-avatar, body.page .entry-content .yl-talk-teacher .yl-avatar {
  color: #fff;
  border-color: #315f75;
  background: #315f75;
}

.yl-single-content .yl-talk-student .yl-avatar, body.page .entry-content .yl-talk-student .yl-avatar {
  border-color: #d9b36b;
  background: #fff5d8;
}

.yl-single-content .yl-talk-teacher .yl-avatar:has(img), body.page .entry-content .yl-talk-teacher .yl-avatar:has(img),
.yl-single-content .yl-talk-student .yl-avatar:has(img), body.page .entry-content .yl-talk-student .yl-avatar:has(img),
.yl-single-content .yl-talk-teacher .yl-avatar-image, body.page .entry-content .yl-talk-teacher .yl-avatar-image,
.yl-single-content .yl-talk-student .yl-avatar-image, body.page .entry-content .yl-talk-student .yl-avatar-image {
  border-color: #d8d3c6;
}

.yl-single-content .yl-talk-teacher .yl-avatar:has(img), body.page .entry-content .yl-talk-teacher .yl-avatar:has(img),
.yl-single-content .yl-talk-teacher .yl-avatar-image, body.page .entry-content .yl-talk-teacher .yl-avatar-image {
  background: #eef6f0 !important;
}

.yl-single-content .yl-talk-student .yl-avatar:has(img), body.page .entry-content .yl-talk-student .yl-avatar:has(img),
.yl-single-content .yl-talk-student .yl-avatar-image, body.page .entry-content .yl-talk-student .yl-avatar-image {
  background: #fffaf0 !important;
}

.yl-single-content .yl-bubble, body.page .entry-content .yl-bubble {
  position: relative;
  padding: 18px 20px;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
}

.yl-single-content .yl-talk-teacher .yl-bubble, body.page .entry-content .yl-talk-teacher .yl-bubble {
  background: #eef6f0;
}

.yl-single-content .yl-talk-student .yl-bubble, body.page .entry-content .yl-talk-student .yl-bubble {
  background: #fffaf0;
}

.yl-single-content .yl-speaker, body.page .entry-content .yl-speaker {
  display: block;
  margin-bottom: 6px;
  color: #5f5a50;
  font-size: 13px;
  font-weight: 800;
}

.yl-single-content .yl-bubble p:last-child, body.page .entry-content .yl-bubble p:last-child,
.yl-single-content .yl-bubble ul:last-child, body.page .entry-content .yl-bubble ul:last-child,
.yl-single-content .yl-bubble ol:last-child, body.page .entry-content .yl-bubble ol:last-child {
  margin-bottom: 0;
}

.yl-single-content .yl-article-hero, body.page .entry-content .yl-article-hero {
  margin-top: 0;
  background: linear-gradient(135deg, #fffaf0 0%, #eef6f0 100%);
}

.yl-single-content .yl-article-hero p, body.page .entry-content .yl-article-hero p,
.yl-single-content .yl-key-point p, body.page .entry-content .yl-key-point p,
.yl-single-content .yl-step-box p, body.page .entry-content .yl-step-box p,
.yl-single-content .yl-mini-summary p, body.page .entry-content .yl-mini-summary p {
  margin-bottom: .8em;
}

.yl-single-content .yl-box-label, body.page .entry-content .yl-box-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: #a85f47;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.yl-single-content .yl-card-grid, body.page .entry-content .yl-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 1.6em 0 2em;
}

.yl-single-content .yl-card-grid > div, body.page .entry-content .yl-card-grid > div {
  padding: 18px;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.yl-single-content .yl-card-grid strong, body.page .entry-content .yl-card-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #25231f;
}

.yl-single-content .wp-block-table, body.page .entry-content .wp-block-table {
  margin: 2em 0;
  overflow-x: auto;
}

.yl-single-content table, body.page .entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.7;
}

.yl-single-content th, body.page .entry-content th,
.yl-single-content td, body.page .entry-content td {
  padding: 14px 16px;
  border: 1px solid #d8d3c6;
  vertical-align: top;
}

.yl-single-content th, body.page .entry-content th {
  background: #f3eee4;
  font-weight: 800;
}

.yl-single-content .toc, body.page .entry-content .toc {
  margin: 2em 0;
  padding: 24px;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
}

.yl-single-content .yl-reference-list, body.page .entry-content .yl-reference-list {
  margin: 2em 0;
  padding: 24px;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
  color: #5f5a50;
  font-size: 15px;
  line-height: 1.8;
}

.yl-single-content .yl-reference-list p, body.page .entry-content .yl-reference-list p {
  margin-bottom: 1em;
}

.yl-single-content .yl-reference-list ul, body.page .entry-content .yl-reference-list ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yl-single-content .yl-reference-list li, body.page .entry-content .yl-reference-list li {
  padding-top: 16px;
  border-top: 1px solid #d8d3c6;
}

.yl-single-content .yl-reference-list strong, body.page .entry-content .yl-reference-list strong {
  color: #25231f;
}

.yl-single-content .yl-reference-list a, body.page .entry-content .yl-reference-list a {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.yl-related-posts {
  margin: 3em 0 0;
  padding-top: 28px;
  border-top: 1px solid #d8d3c6;
}

.yl-related-posts h2 {
  margin: 8px 0 18px;
  padding-top: 0;
  border-top: 0;
  font-size: 24px;
  line-height: 1.45;
}

.yl-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yl-related-card {
  display: grid;
  gap: 10px;
  min-height: 136px;
  padding: 18px;
  border: 1px solid #d8d3c6 !important;
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.yl-related-card:hover {
  background: #fffaf0;
}

.yl-related-title {
  color: #25231f;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 800;
}

.yl-related-date {
  align-self: end;
  color: #746f64;
  font-size: 12px;
  letter-spacing: .06em;
}

.yl-single-aside {
  position: sticky;
  top: 28px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.yl-single-aside h2 {
  margin: 12px 0 18px;
  color: #25231f;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.yl-single-aside p:not(.yl-eyebrow) {
  margin: 12px 0 20px;
  color: #5f5a50;
  line-height: 1.8;
}

.yl-single-aside a {
  color: #315f75;
  font-weight: 700;
}

.yl-recommend-list {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
}

.yl-recommend-item {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid #d8d3c6;
}

.yl-recommend-item:last-child {
  border-bottom: 1px solid #d8d3c6;
}

.yl-recommend-item span {
  color: #25231f;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 800;
}

.yl-recommend-item small {
  color: #746f64;
  font-size: 11px;
  letter-spacing: .06em;
}

/* AI Overview 引用用：H2直下の定義文ボックス */
.yl-single-content .yl-section-def, body.page .entry-content .yl-section-def {
  margin: 8px 0 22px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #edf8e9 0%, #fafcf6 100%);
  border-left: 4px solid #138a5b;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: #1f2a24;
}
.yl-single-content .yl-section-def strong, body.page .entry-content .yl-section-def strong {
  font-weight: 700;
}

/* アイキャッチメイン構成のおすすめ記事 */
.yl-recommend-list-thumb {
  display: grid;
  gap: 14px;
  border: none !important;
}
.yl-recommend-item-thumb {
  display: block !important;
  padding: 0 !important;
  border: none !important;
  text-decoration: none !important;
  transition: opacity .2s ease, transform .2s ease;
}
.yl-recommend-item-thumb:hover { opacity: .9; transform: translateY(-1px); }
.yl-recommend-thumb {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1200 / 630;
  object-fit: cover !important;
  border-radius: 10px !important;
  background: #edf8e9;
  max-height: none !important;
}
.yl-recommend-text {
  display: block;
  margin-top: 6px;
}
.yl-recommend-title {
  color: #25231f;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yl-recommend-date {
  color: #aaa49a;
  font-size: 10px;
  letter-spacing: .06em;
  margin-top: 2px;
  display: block;
}

.yl-all-posts-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #315f75;
  font-size: 14px;
  font-weight: 800;
}

.yl-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 36px;
}

.yl-archive-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.yl-archive-card .yl-thumb {
  min-height: 150px;
  border-radius: 6px;
}

.yl-archive-card h2 {
  width: min(100%, calc(100vw - 96px));
  max-width: min(100%, calc(100vw - 96px));
  margin: 7px 0 10px;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.yl-archive-card p:last-child {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #5f5a50;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.yl-pagination {
  padding-top: 36px;
}

@media screen and (max-width: 1023px) {
  .yl-lab-hero,
  .yl-featured-section,
  .yl-index-layout {
    grid-template-columns: 1fr;
  }

  .yl-lab-hero {
    min-height: auto;
    padding-top: 44px;
  }

  .yl-product-rail {
    grid-template-columns: 1fr 1fr;
  }

  .yl-research-sidebar {
    position: static;
  }
}

@media screen and (max-width: 640px) {
  html,
  body.home {
    overflow-x: hidden;
  }

  body.single,
  body.archive,
  body.search {
    overflow-x: hidden;
  }

  body.home #container,
  body.single #container,
  body.archive #container,
  body.search #container {
    overflow-x: hidden;
  }

  .yl-lab-blog {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .yl-lab-blog::before {
    height: 62px;
    justify-content: center;
  }

  .yl-lead-article,
  .yl-feature-card,
  .yl-note-row,
  .yl-product-rail,
  .yl-single-shell,
  .yl-archive-grid,
  .yl-archive-card {
    grid-template-columns: 1fr;
  }

  .yl-lab-hero h1 {
    font-size: clamp(30px, 8.4vw, 38px);
    line-height: 1.26;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .yl-lab-hero,
  .yl-lab-hero__main,
  .yl-lead,
  .yl-product-tabs,
  .yl-product-rail,
  .yl-featured-section,
  .yl-index-layout {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .yl-lead {
    max-width: calc(100vw - 48px);
    font-size: 15px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .yl-product-tabs {
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -14px;
    padding-right: 14px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .yl-product-tabs::-webkit-scrollbar {
    display: none;
  }

  .yl-product-tabs a {
    flex: 0 0 auto;
  }

  .yl-product-card {
    min-height: 128px;
  }

  .yl-lead-article .yl-thumb,
  .yl-thumb {
    min-height: 210px;
  }

  .yl-featured-section {
    margin-bottom: 52px;
  }

  .yl-note-row {
    gap: 16px;
  }

  .yl-single-header,
  .yl-archive-hero {
    padding-top: 44px;
  }

  .yl-single-page,
  .yl-archive-page,
  .yl-single-header,
  .yl-archive-hero,
  .yl-single-shell,
  .yl-archive-grid,
  .yl-archive-card {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .yl-single-header h1,
  .yl-archive-hero h1 {
    display: block;
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    font-size: clamp(25px, 6.8vw, 32px);
    line-height: 1.35;
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .yl-single-shell {
    padding-top: 36px;
  }

  .yl-single-content,   body.page .entry-content {
    font-size: 16px;
    line-height: 2;
  }

  .yl-single-content .yl-card-grid,   body.page .entry-content .yl-card-grid {
    grid-template-columns: 1fr;
  }

  .yl-related-grid {
    grid-template-columns: 1fr;
  }

  .yl-single-content .yl-talk,   body.page .entry-content .yl-talk {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
  }

  .yl-single-content .yl-avatar,   body.page .entry-content .yl-avatar {
    width: 84px !important;
    height: 84px !important;
    font-size: 12px;
  }

  .yl-single-content .yl-bubble,   body.page .entry-content .yl-bubble {
    padding: 16px;
  }

  .yl-archive-card h2 {
    width: calc(100vw - 84px);
    max-width: calc(100vw - 84px);
    font-size: 20px;
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .yl-single-aside {
    position: static;
  }
}

/* ============================================
   AINE バナー v2（LP統一・記事内CTA / 離脱ポップ共通）
   ============================================ */
.yl-aine-banner {
  position: relative;
  display: block;
  max-width: 560px;
  margin: 40px auto;
  padding: 0;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, #f0faf3 60%, #d5edd9 100%);
  box-shadow: 0 12px 32px rgba(15, 60, 35, 0.12);
  border: 1px solid rgba(10, 138, 74, 0.18);
  text-decoration: none !important;
  color: #15231e !important;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.yl-aine-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(15, 60, 35, 0.20);
}
/* 装飾ドット（背景パターン） */
.yl-aine-banner::before,
.yl-aine-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(10, 138, 74, 0.08);
  pointer-events: none;
}
.yl-aine-banner::before { top: -40px; right: -40px; width: 160px; height: 160px; }
.yl-aine-banner::after { bottom: -50px; left: -30px; width: 120px; height: 120px; background: rgba(10, 138, 74, 0.06); }

.yl-aine-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 12px;
  padding: 28px 26px 26px;
  align-items: center;
  z-index: 1;
}
.yl-aine-banner__main { min-width: 0; }
.yl-aine-banner__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.yl-aine-banner__brand-mark {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: #0a8a4a;
  color: #fff !important;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0;
  font-family: 'Noto Sans JP', system-ui, sans-serif;
}
.yl-aine-banner__brand-text {
  font-size: 13px;
  font-weight: 800;
  color: #15231e;
  letter-spacing: 0.02em;
}
.yl-aine-banner__title {
  margin: 0 0 14px !important;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.32;
  color: #0d1916;
  letter-spacing: -0.015em;
}
.yl-aine-banner__title em {
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(10, 138, 74, 0.22) 60%);
  padding: 0 2px;
}
.yl-aine-banner__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
}
.yl-aine-banner__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 7px !important;
  font-size: 13px;
  font-weight: 600;
  color: #21302a;
  line-height: 1.55;
}
.yl-aine-banner__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0a8a4a url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'><path d='M2.5 6.2 L4.8 8.3 L9.5 3.6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
}
.yl-aine-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0fa157 0%, #0a8a4a 100%);
  color: #fff !important;
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(10, 138, 74, 0.36);
  position: relative;
}
.yl-aine-banner__cta::after {
  content: '→';
  font-weight: 700;
  margin-left: 2px;
  transition: transform .2s ease;
}
.yl-aine-banner:hover .yl-aine-banner__cta::after { transform: translateX(3px); }
.yl-aine-banner__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}
.yl-aine-banner__char {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 200px;
  display: block;
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.10));
}
.yl-aine-banner__bubble {
  position: absolute;
  background: #fff;
  padding: 7px 11px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  color: #0d1916;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  z-index: 3;
}
.yl-aine-banner__bubble::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0a8a4a;
  flex-shrink: 0;
}
.yl-aine-banner__bubble--top { top: 8px; left: -22px; transform: rotate(-3deg); }
.yl-aine-banner__bubble--bottom { bottom: 18px; left: -10px; transform: rotate(2deg); }

@media (max-width: 540px) {
  .yl-aine-banner__inner {
    grid-template-columns: 1fr;
    padding: 24px 20px 22px;
    gap: 16px;
  }
  .yl-aine-banner__visual {
    order: -1;
    width: 150px;
    margin: 0 auto;
  }
  .yl-aine-banner__title { font-size: 22px; }
  .yl-aine-banner__bubble { display: none; }
}

/* 離脱ポップアップ内バナー */
.yl-exit-popup .yl-aine-banner {
  margin: 0;
  max-width: 100%;
}
