.editorial-page {
  --paper: #f2eee6;
  --paper-card: #fffdf9;
  --paper-ink: #24211d;
  --paper-muted: #6f685f;
  --paper-line: #d8cbb3;
  line-break: strict;
  overflow-wrap: normal;
  word-break: auto-phrase;
}

.editorial-page :is(h1, h2, h3, summary),
.blog-index-page :is(h1, h2, h3) {
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: auto-phrase;
}

.editorial-page :is(p, li),
.blog-index-page :is(p, li) {
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: auto-phrase;
}

.editorial-page .bonenkai-hero {
  min-height: 620px;
}

.editorial-page .bonenkai-hero__shade {
  background:
    linear-gradient(90deg, rgba(4, 3, 5, 0.91), rgba(4, 3, 5, 0.38) 72%),
    linear-gradient(0deg, rgba(4, 3, 5, 0.88), transparent 52%);
}

.editorial-page .bonenkai-hero__content {
  padding-bottom: 64px;
}

.editorial-page .bonenkai-hero h1 {
  max-width: 940px;
  font-size: clamp(40px, 5.4vw, 68px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.editorial-page article {
  color: var(--paper-ink);
  background: var(--paper);
}

.editorial-page .bonenkai-breadcrumb {
  width: min(1040px, calc(100% - 44px));
  color: var(--paper-muted);
}

.editorial-page .bonenkai-breadcrumb a {
  color: #5d554b;
}

.article-toc {
  width: min(1040px, calc(100% - 44px));
  margin: 34px auto 0;
  padding: 28px 32px;
  border: 1px solid var(--paper-line);
  background: var(--paper-card);
}

.article-toc strong {
  display: block;
  margin-bottom: 12px;
  color: #9b6b37;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.article-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 0;
  padding-left: 1.4em;
}

.article-toc a {
  color: var(--paper-ink);
  font-size: 14px;
  text-decoration-color: #b28a5b;
  text-underline-offset: 4px;
}

.editorial-page .feature-section {
  width: min(1040px, calc(100% - 44px));
  padding: 78px 0;
}

.editorial-page .feature-section + .feature-section {
  border-top-color: var(--paper-line);
}

.editorial-page .feature-section--panel,
.editorial-page .feature-section--process {
  width: 100%;
  padding-right: max(22px, calc((100% - 1040px) / 2));
  padding-left: max(22px, calc((100% - 1040px) / 2));
  background: #e7dfd1;
}

.editorial-page .eyebrow {
  color: #96682f;
}

.editorial-page .feature-heading h2,
.editorial-page .feature-section--author h2 {
  color: var(--paper-ink);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.45;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

.editorial-page .feature-heading > p:not(.eyebrow),
.editorial-page .bonenkai-intro__copy p,
.editorial-page .reason-grid p,
.editorial-page .style-card p,
.editorial-page .feature-note,
.editorial-page .feature-section--author p {
  color: var(--paper-muted);
}

.editorial-page .bonenkai-intro {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 64px;
}

.editorial-page .bonenkai-summary {
  background: var(--paper-line);
}

.editorial-page .bonenkai-summary li {
  background: var(--paper-card);
}

.editorial-page .bonenkai-summary strong,
.editorial-page .check-list strong {
  color: #8d6334;
}

.editorial-page .bonenkai-summary span,
.editorial-page .check-list p {
  color: var(--paper-muted);
}

.editorial-page .reason-grid article,
.editorial-page .style-card {
  border-color: #cdbd9f;
  background: var(--paper-card);
}

.editorial-page .reason-grid article {
  min-height: 0;
}

.editorial-page .reason-grid h3,
.editorial-page .style-card h3 {
  color: var(--paper-ink);
}

.editorial-page .style-card {
  min-height: 340px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.editorial-page .style-card:nth-child(even) {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
}

.editorial-page .style-card img {
  min-height: 340px;
}

.editorial-page .feature-section--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
}

.editorial-page .check-list li,
.editorial-page .check-list li:first-child {
  border-color: var(--paper-line);
}

.editorial-page .bonenkai-process li {
  border-color: #cdbd9f;
  color: var(--paper-ink);
  background: var(--paper-card);
}

.editorial-page .bonenkai-process p {
  color: var(--paper-muted);
}

.editorial-page .feature-section--author {
  border: 1px solid var(--paper-line);
  padding: 34px;
  background: var(--paper-card);
}

.editorial-page .feature-section--author .text-link {
  color: #7d5429;
}

.editorial-page .feature-faq details {
  border-color: var(--paper-line);
  color: var(--paper-ink);
  background: var(--paper-card);
}

.editorial-page .feature-faq summary,
.editorial-page .feature-faq p {
  color: var(--paper-ink);
}

.editorial-page .feature-faq p {
  color: var(--paper-muted);
}

.blog-index-page {
  min-height: 100vh;
  background: #f2eee6;
  color: #24211d;
  line-break: strict;
  overflow-wrap: normal;
  word-break: auto-phrase;
}

.blog-index-page .site-header {
  position: relative;
  background: #08090c;
}

.blog-masthead {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 72px;
  align-items: end;
  width: min(1040px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0;
  border-bottom: 1px solid #d8cbb3;
}

.blog-masthead .eyebrow {
  color: #96682f;
}

.blog-masthead h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(52px, 7vw, 76px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.blog-masthead p:last-child {
  max-width: 620px;
  margin: 0;
  color: #6f685f;
  font-size: 16px;
  line-height: 2;
}

.blog-categories {
  display: flex;
  width: min(1040px, calc(100% - 44px));
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid #d8cbb3;
  gap: 10px 28px;
  flex-wrap: wrap;
}

.blog-categories span {
  color: #6f685f;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.blog-categories span:first-child {
  color: #8d6334;
  font-weight: 700;
}

.blog-list {
  width: min(1040px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 0;
}

.blog-list__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d8cbb3;
}

.blog-list__heading p,
.blog-list__heading h2 {
  margin: 0;
}

.blog-list__heading h2,
.blog-coming h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 500;
}

.blog-list__heading h2 {
  font-size: 24px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  overflow: hidden;
  border: 1px solid #d2c4aa;
  color: #24211d;
  background: #fffdf9;
  text-decoration: none;
}

.blog-card + .blog-card {
  margin-top: 28px;
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.blog-card__body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(30px, 5vw, 58px);
}

.blog-card__body time,
.blog-card__body small {
  color: #8a7760;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.blog-card__body h3 {
  margin: 18px 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  text-wrap: balance;
}

.blog-card__body p {
  color: #6f685f;
  font-size: 14px;
  line-height: 1.9;
}

.blog-card__body strong {
  margin-top: 16px;
  color: #8d6334;
  font-size: 13px;
}

.blog-coming {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(300px, 1fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: start;
  margin-top: 34px;
  padding: 34px 0 0;
  border-top: 1px solid #d8cbb3;
}

.blog-coming p,
.blog-coming h2 {
  margin: 0;
}

.blog-coming h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.55;
  text-wrap: balance;
}

.blog-coming > p:last-child {
  color: #6f685f;
  font-size: 14px;
  line-height: 2;
}

@media (max-width: 760px) {
  .editorial-page .bonenkai-hero {
    min-height: 680px;
  }

  .editorial-page .bonenkai-hero h1 span {
    white-space: normal;
  }

  .article-toc ol,
  .editorial-page .bonenkai-intro,
  .editorial-page .feature-section--split,
  .blog-card,
  .blog-masthead,
  .blog-coming {
    grid-template-columns: 1fr;
  }

  .blog-masthead {
    gap: 24px;
    width: calc(100% - 32px);
    padding: 68px 0;
  }

  .blog-masthead h1 {
    font-size: clamp(46px, 15vw, 60px);
  }

  .blog-masthead p:last-child {
    font-size: 14px;
  }

  .blog-categories {
    width: calc(100% - 32px);
  }

  .editorial-page .feature-section,
  .editorial-page .bonenkai-breadcrumb,
  .article-toc {
    width: calc(100% - 32px);
  }

  .editorial-page .feature-section--panel,
  .editorial-page .feature-section--process {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .article-toc {
    padding: 22px;
  }

  .editorial-page .feature-section--author {
    width: calc(100% - 32px);
    padding: 20px;
  }

  .editorial-page .feature-heading h2[data-text-flow="manual"] {
    font-size: clamp(21px, 6.2vw, 28px);
    line-height: 1.55;
  }

  .editorial-page .bonenkai-intro {
    gap: 36px;
  }

  .editorial-page .style-card,
  .editorial-page .style-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .editorial-page .style-card:nth-child(even) img,
  .editorial-page .style-card:nth-child(even) > div {
    grid-row: auto;
    grid-column: auto;
  }

  .blog-list {
    width: calc(100% - 32px);
  }

  .blog-card img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .blog-card__body {
    padding: 28px 24px 32px;
  }

  .blog-card__body h3 {
    font-size: clamp(25px, 7.6vw, 32px);
  }

  .blog-coming {
    gap: 14px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .editorial-page .bonenkai-intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .blog-masthead,
  .blog-coming {
    gap: 42px;
  }

  .editorial-page .feature-heading h2,
  .editorial-page .feature-section--author h2 {
    font-size: 34px;
  }
}
