.tw-hair-guide {
  --guide-ink: #20201e;
  --guide-muted: #54514c;
  --guide-rule: #ddd7ce;
  --guide-paper: #f5f2ed;
  --guide-accent: #644c2f;
  max-width: 1020px;
  margin: 2rem auto;
  color: var(--guide-ink);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.tw-hair-guide h2, .tw-hair-guide h3 {
  color: var(--guide-ink);
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.18;
  text-transform: none;
}
.tw-hair-guide h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); margin: 0 0 1rem; }
.tw-hair-guide h3 { font-size: clamp(1.36rem, 3vw, 1.85rem); margin: 0 0 .9rem; }
.tw-hair-guide p { margin: 0 0 .95rem; max-width: 76ch; }
.tw-hair-guide a { color: var(--guide-accent); text-decoration: underline; text-underline-offset: .18em; }
.tw-hair-guide a:hover { color: var(--guide-ink); }
.tw-hair-guide a:focus-visible, .tw-hair-guide summary:focus-visible { outline: 2px solid var(--guide-ink); outline-offset: 3px; }
.tw-hair-guide section { margin: 2.65rem 0; }
.tw-hair-guide [id] { scroll-margin-top: 7rem; }
.tw-hair-guide .tw-hair-note { color: var(--guide-muted); font-size: .91rem; }
.tw-hair-guide .tw-hair-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.tw-hair-guide .tw-hair-chapters li { margin: 0; }
.tw-hair-guide .tw-hair-chapters a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--guide-rule);
  background: var(--guide-paper);
  text-decoration: none;
}
.tw-hair-guide .tw-hair-chapters strong { text-decoration: underline; text-underline-offset: .18em; }
.tw-hair-guide .tw-hair-chapters span { color: var(--guide-muted); font-size: .93rem; }
.tw-hair-guide .tw-hair-choices dt { margin-top: .9rem; font-weight: 700; }
.tw-hair-guide .tw-hair-choices dd { max-width: 76ch; margin: .2rem 0 .8rem; }
.tw-hair-guide .tw-hair-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem 1.6rem;
  padding-left: 1.6rem;
  margin: 0;
}
.tw-hair-guide .tw-hair-card {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2.1rem);
  padding: 1.75rem 0;
  border-top: 1px solid var(--guide-rule);
}
.tw-hair-guide .tw-hair-card figure { margin: 0; }
.tw-hair-guide .tw-hair-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  background: var(--guide-paper);
}
.tw-hair-guide details { border-top: 1px solid var(--guide-rule); padding: .7rem 0; }
.tw-hair-guide summary { cursor: pointer; font-weight: 700; }
.tw-hair-guide details p { padding-top: .4rem; }
.tw-hair-guide .tw-hair-end { padding: 1.35rem; background: var(--guide-paper); }
.tw-hair-guide .tw-hair-end p:last-child, .tw-hair-guide .tw-hair-card p:last-child { margin-bottom: 0; }
.tw-hair-guide .tw-hair-button { display: inline-block; padding: .65rem 1rem; background: var(--guide-ink); color: #fff; }
.tw-hair-guide .tw-hair-button:hover { color: #fff; background: var(--guide-accent); }
@media (max-width: 640px) {
  .tw-hair-guide .tw-hair-chapters, .tw-hair-guide .tw-hair-card { grid-template-columns: minmax(0, 1fr); }
  .tw-hair-guide .tw-hair-card figure { width: min(100%, 420px); }
}
@media (max-width: 380px) {
  .tw-hair-guide .tw-hair-jump { grid-template-columns: minmax(0, 1fr); }
}
body.tw-hair-page .sp-page-title { display: none; }
body.tw-hair-page #sp-main-body { padding-top: clamp(1.2rem, 3vw, 3rem); }
body.tw-hair-page .article-details { display: flex; flex-direction: column; max-width: 1050px; margin: 0 auto; }
body.tw-hair-page .article-header { order: -1; margin: 0 0 1.5rem; }
body.tw-hair-page .article-header h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: normal;
  text-transform: none;
  overflow-wrap: break-word;
}
body.tw-hair-page .article-full-image img { width: 100%; height: auto; filter: none; }
body.tw-hair-page [itemprop="articleBody"] > p { max-width: 76ch; font-size: 1.13rem; line-height: 1.6; }
@media (max-width: 640px) {
  body.tw-hair-page #sp-component .article-header h1 { font-size: 34px !important; }
}
