html body.ikelabo-blog-styles-page {
  --ibs-ink: #17242b;
  --ibs-muted: #5b686e;
  --ibs-paper: #fffdf9;
  --ibs-cream: #f6efe5;
  --ibs-line: #ded4c8;
  --ibs-orange: #e55f2a;
  --ibs-orange-dark: #9d3514;
  --ibs-teal: #147f78;
  --ibs-teal-dark: #075d58;
  --ibs-teal-soft: #dff2ee;
  --ibs-navy: #173947;
  --ibs-yellow: #f4c453;
  --ibs-white: #fff;
  --ibs-shadow: 0 18px 48px rgba(28, 42, 47, 0.1);
  --ibs-radius: 24px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ibs-paper);
  color: var(--ibs-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

html:has(body.ikelabo-blog-styles-page) {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

#ikelabo-blog-styles,
#ikelabo-blog-styles * {
  box-sizing: border-box;
}

#ikelabo-blog-styles a { color: inherit; }
#ikelabo-blog-styles img { display: block; max-width: 100%; height: auto; }
#ikelabo-blog-styles button,
#ikelabo-blog-styles textarea { font: inherit; }
#ikelabo-blog-styles button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
#ikelabo-blog-styles h1,
#ikelabo-blog-styles h2,
#ikelabo-blog-styles h3,
#ikelabo-blog-styles p { margin: 0; }

.ibs-noscript {
  padding: 10px 16px;
  background: var(--ibs-yellow);
  color: var(--ibs-ink);
  font-size: 13px;
  text-align: center;
}

/* nav */
.ibs-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--ibs-line);
  backdrop-filter: blur(10px);
}
.ibs-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ibs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}
.ibs-brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ibs-navy);
  color: var(--ibs-white);
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.04em;
}
.ibs-brand__text small {
  display: block;
  color: var(--ibs-muted);
  font-size: 11px;
  font-weight: 600;
}
.ibs-nav__links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
}
.ibs-nav__links a { text-decoration: none; }
.ibs-nav__cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ibs-teal);
  color: var(--ibs-white);
}

/* hero */
.ibs-hero {
  background: linear-gradient(180deg, var(--ibs-cream) 0%, var(--ibs-paper) 100%);
  border-bottom: 1px solid var(--ibs-line);
}
.ibs-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px 44px;
  display: grid;
  gap: 28px;
}
.ibs-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ibs-navy);
  color: var(--ibs-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  width: fit-content;
}
.ibs-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.35;
  font-weight: 900;
}
.ibs-hero h1 em {
  font-style: normal;
  color: var(--ibs-teal-dark);
}
.ibs-hero__lead {
  max-width: 40em;
  color: var(--ibs-muted);
  font-size: clamp(14px, 2.6vw, 16px);
}
.ibs-hero__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ibs-step;
}
.ibs-hero__steps li {
  counter-increment: ibs-step;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ibs-white);
  border: 1px solid var(--ibs-line);
  box-shadow: var(--ibs-shadow);
  font-size: 13px;
  font-weight: 700;
}
.ibs-hero__steps li::before {
  content: counter(ibs-step);
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ibs-orange);
  color: var(--ibs-white);
  font-size: 13px;
}

/* section base */
.ibs-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px;
}
.ibs-section--tint {
  max-width: none;
  background: var(--ibs-teal-soft);
}
.ibs-section--tint > .ibs-section__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}
.ibs-section--tint {
  padding-left: 20px;
  padding-right: 20px;
}
.ibs-head {
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
}
.ibs-head span {
  color: var(--ibs-teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ibs-head h2 {
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.4;
  font-weight: 900;
}
.ibs-head p {
  max-width: 44em;
  color: var(--ibs-muted);
  font-size: 14px;
}

/* type cards */
.ibs-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.ibs-type {
  display: flex;
  flex-direction: column;
  border-radius: var(--ibs-radius);
  background: var(--ibs-white);
  border: 1px solid var(--ibs-line);
  box-shadow: var(--ibs-shadow);
  overflow: hidden;
}
.ibs-type__thumb {
  position: relative;
  display: block;
}
.ibs-type__thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top;
}
.ibs-type__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ibs-navy);
  color: var(--ibs-white);
  font-size: 13px;
  font-weight: 900;
}
.ibs-type__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 22px;
  flex: 1;
}
.ibs-type__body h3 {
  font-size: 20px;
  font-weight: 900;
}
.ibs-type__one-liner {
  color: var(--ibs-teal-dark);
  font-size: 14px;
  font-weight: 800;
}
.ibs-type__body > p {
  color: var(--ibs-muted);
  font-size: 14px;
}
.ibs-type__fit {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ibs-cream);
  font-size: 13px;
  list-style: none;
  display: grid;
  gap: 4px;
}
.ibs-type__fit li::before {
  content: "◎";
  color: var(--ibs-orange);
  margin-right: 6px;
}
.ibs-type__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ibs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ibs-teal);
  color: var(--ibs-white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.ibs-btn:hover { background: var(--ibs-teal-dark); }
.ibs-btn--ghost {
  background: transparent;
  color: var(--ibs-teal-dark);
  border: 2px solid var(--ibs-teal);
}
.ibs-btn--ghost:hover { background: var(--ibs-teal-soft); }
.ibs-btn--orange { background: var(--ibs-orange); }
.ibs-btn--orange:hover { background: var(--ibs-orange-dark); }

/* goals */
.ibs-goals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.ibs-goal {
  padding: 18px;
  border-radius: 16px;
  background: var(--ibs-white);
  border: 1px solid var(--ibs-line);
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.ibs-goal b { font-size: 15px; }
.ibs-goal span { color: var(--ibs-teal-dark); font-weight: 800; }
.ibs-goal small { color: var(--ibs-muted); }

/* anatomy */
.ibs-anatomy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.ibs-part {
  padding: 20px;
  border-radius: 16px;
  background: var(--ibs-white);
  border: 1px solid var(--ibs-line);
  display: grid;
  gap: 8px;
  align-content: start;
}
.ibs-part span {
  color: var(--ibs-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.ibs-part h3 { font-size: 16px; font-weight: 900; }
.ibs-part p { color: var(--ibs-muted); font-size: 13px; }

/* builder */
.ibs-builder {
  border-radius: var(--ibs-radius);
  background: var(--ibs-white);
  border: 1px solid var(--ibs-line);
  box-shadow: var(--ibs-shadow);
  padding: clamp(20px, 4vw, 36px);
  display: grid;
  gap: 24px;
}
.ibs-builder fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}
.ibs-builder legend {
  padding: 0;
  font-size: 16px;
  font-weight: 900;
}
.ibs-builder legend small {
  display: block;
  color: var(--ibs-teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.ibs-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.ibs-options label {
  position: relative;
  display: block;
  cursor: pointer;
}
.ibs-options input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.ibs-options span {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--ibs-line);
  background: var(--ibs-paper);
  font-size: 13px;
}
.ibs-options strong { font-size: 14px; }
.ibs-options small { color: var(--ibs-muted); }
.ibs-options input:checked + span {
  border-color: var(--ibs-teal);
  background: var(--ibs-teal-soft);
}
.ibs-options input:focus-visible + span {
  outline: 3px solid var(--ibs-yellow);
  outline-offset: 2px;
}
.ibs-builder textarea {
  width: 100%;
  min-height: 220px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--ibs-line);
  background: var(--ibs-cream);
  font-size: 13px;
  line-height: 1.7;
  resize: vertical;
}
.ibs-builder__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.ibs-builder__status {
  color: var(--ibs-teal-dark);
  font-size: 13px;
  font-weight: 700;
}
.ibs-builder__note {
  color: var(--ibs-muted);
  font-size: 12px;
}

/* how to */
.ibs-how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  counter-reset: ibs-how;
}
.ibs-how article {
  counter-increment: ibs-how;
  padding: 20px;
  border-radius: 16px;
  background: var(--ibs-white);
  border: 1px solid var(--ibs-line);
  display: grid;
  gap: 8px;
  align-content: start;
}
.ibs-how article::before {
  content: "STEP " counter(ibs-how);
  color: var(--ibs-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.ibs-how h3 { font-size: 16px; font-weight: 900; }
.ibs-how p { color: var(--ibs-muted); font-size: 13px; }

/* footer */
.ibs-footer {
  border-top: 1px solid var(--ibs-line);
  background: var(--ibs-navy);
  color: var(--ibs-white);
}
.ibs-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  text-align: center;
}
.ibs-footer a { color: var(--ibs-yellow); }
.ibs-footer small { color: rgba(255, 255, 255, 0.7); font-size: 11px; }

@media (max-width: 720px) {
  .ibs-nav__links a:not(.ibs-nav__cta) { display: none; }
  .ibs-hero__steps { grid-template-columns: 1fr; }
  .ibs-types { grid-template-columns: 1fr; }
  .ibs-section { padding: 44px 18px; }
}

/* --- blog-styles page additions --- */
.ibs-figure {
  margin: 26px 0 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(28, 42, 47, .12);
  background: #fff;
}
.ibs-figure picture,
.ibs-hero__visual picture,
.ibs-principle__media picture { display: block; }
.ibs-figure img { width: 100%; height: auto; }
.ibs-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: #5f6b70;
  background: #fff;
  border-top: 1px solid #eee4d8;
}
.ibs-hero__visual {
  margin: 34px auto 0;
  max-width: 860px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(23, 57, 71, .35);
}
.ibs-hero__visual img { width: 100%; height: auto; display: block; }
.ibs-principles { display: grid; gap: 34px; margin-top: 8px; }
.ibs-principle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 14px 38px rgba(28, 42, 47, .08);
}
.ibs-principle:nth-child(even) .ibs-principle__media { order: 2; }
.ibs-principle__media { border-radius: 14px; overflow: hidden; }
.ibs-principle__media img { width: 100%; height: auto; display: block; }
.ibs-principle__body h3 { font-size: 22px; line-height: 1.4; margin: 0 0 12px; }
.ibs-principle__body h3 b { color: #a93e18; }
.ibs-principle__body p { color: #46545a; font-size: 15.5px; line-height: 1.85; }
.ibs-principle__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  color: #147f78;
  margin-bottom: 10px;
}
.ibs-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.ibs-quote {
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.9;
  position: relative;
}
.ibs-quote--before { background: #f0efec; color: #5c6469; }
.ibs-quote--after { background: #fdeee4; color: #46341f; }
.ibs-quote b {
  display: inline-block;
  font-size: 12px;
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
  color: #fff;
}
.ibs-quote--before b { background: #8a949a; }
.ibs-quote--after b { background: #e55f2a; }
.ibs-checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.ibs-checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14.5px;
  color: #46545a;
}
.ibs-checklist li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dff2ee;
  color: #147f78;
  font-weight: 900;
  font-size: 13px;
}
.ibs-member {
  background: #173947;
  color: #fff;
  border-radius: 24px;
  padding: 40px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  gap: 28px;
  align-items: center;
}
.ibs-member h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35; margin: 0 0 14px; }
.ibs-member p { color: #d7e4e6; font-size: 15.5px; line-height: 1.85; }
.ibs-member__actions { display: grid; gap: 12px; }
.ibs-member__actions .ibs-btn { justify-content: center; }
.ibs-lookbooks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.ibs-lookbooks a {
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(28, 42, 47, .08);
  border: 2px solid transparent;
}
.ibs-lookbooks a:hover { border-color: #e55f2a; }
.ibs-lookbooks b { display: block; font-size: 15px; margin-bottom: 4px; }
.ibs-lookbooks small { color: #5f6b70; font-size: 12.5px; line-height: 1.6; display: block; }
@media (max-width: 860px) {
  .ibs-principle { grid-template-columns: 1fr; }
  .ibs-principle:nth-child(even) .ibs-principle__media { order: 0; }
  .ibs-compare { grid-template-columns: 1fr; }
  .ibs-member { grid-template-columns: 1fr; padding: 30px 22px; }
}
