:root {
  --astra-ui-blue: #2e6be6;
  --astra-ui-blue-hover: #245dcc;
  --astra-ui-blue-dark: #245dcc;
  --astra-ui-on-blue: #ffffff;
  --astra-ui-ink: #0d1b2e;
  --astra-ui-muted: #526174;
  --astra-ui-line: #dfe7f2;
  --astra-ui-bg: #f5f8fc;
  --astra-ui-card: #ffffff;
}

/* All site UI inherits the single blue brand palette from :root. */


.astra-unpublished-link {
  color: inherit;
  text-decoration: none;
}

body.page:not(.home),
body.blog,
body.archive,
body.single-post {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* Shared blog index */
body.blog .claude-design-page,
body.archive .claude-design-page {
  min-height: 100vh;
  background: var(--astra-ui-bg);
}

.astra-column-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 20px clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--astra-ui-line);
  background:
    radial-gradient(circle at 82% 12%, rgba(46, 107, 230, .14), transparent 32%),
    linear-gradient(135deg, #fff 0%, #f4f8ff 100%);
  color: var(--astra-ui-ink);
  text-align: center;
}

.astra-column-hero__inner {
  width: min(100%, 860px);
  margin: 0 auto;
}

.astra-column-hero__label {
  margin: 0 0 14px;
  color: var(--astra-ui-blue-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.astra-column-hero h1 {
  margin: 0;
  color: var(--astra-ui-ink);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .04em;
}

.astra-column-hero__description {
  margin: 20px auto 0;
  max-width: 680px;
  color: var(--astra-ui-muted);
  font-size: 15px;
  line-height: 1.9;
}

.astra-column-main {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 64px clamp(18px, 4vw, 32px) 80px;
}

.astra-column-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

.astra-column-card {
  height: 100%;
  min-width: 0;
}

.astra-column-card__link {
  height: 100%;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--astra-ui-line);
  border-radius: 14px;
  background: var(--astra-ui-card);
  box-shadow: 0 12px 34px rgba(13, 27, 46, .06);
  color: var(--astra-ui-ink) !important;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.astra-column-card__link:hover {
  border-color: rgba(46, 107, 230, .42);
  box-shadow: 0 18px 42px rgba(13, 27, 46, .11);
  transform: translateY(-3px);
}

.astra-column-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: #e9eef6;
}

.astra-column-card__image img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.astra-column-card__link:hover .astra-column-card__image img {
  transform: scale(1.025);
}

.astra-column-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 22px;
}

.astra-column-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: #65748a;
  font-size: 12px;
  line-height: 1.6;
}

.astra-column-card__category {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--astra-ui-blue);
  color: var(--astra-ui-on-blue);
  font-size: 11px;
  font-weight: 700;
}

.astra-column-card h2 {
  margin: 15px 0 0;
  color: var(--astra-ui-ink);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .01em;
  display: -webkit-box;
  overflow: hidden;
  min-height: 4.8em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.astra-column-card__excerpt {
  margin: 12px 0 0 !important;
  color: var(--astra-ui-muted);
  font-size: 14px;
  line-height: 1.85;
  display: -webkit-box;
  overflow: hidden;
  min-height: 5.55em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.astra-column-empty {
  padding: clamp(44px, 8vw, 80px) 24px;
  border: 1px solid var(--astra-ui-line);
  border-radius: 14px;
  background: #fff;
  color: var(--astra-ui-muted);
  text-align: center;
}

.astra-column-pagination {
  margin-top: 44px;
}

.astra-column-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.astra-column-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--astra-ui-line);
  border-radius: 8px;
  background: #fff;
  color: var(--astra-ui-ink) !important;
  text-decoration: none !important;
}

.astra-column-pagination .page-numbers.current,
.astra-column-pagination a.page-numbers:hover {
  border-color: var(--astra-ui-blue);
  background: var(--astra-ui-blue);
  color: var(--astra-ui-on-blue) !important;
}

/* Shared lower-page typography and panel treatment */
body.page:not(.home) .astra-office-insert,
body.page:not(.home) .astra-profile-page {
  color: var(--astra-ui-ink);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

body.page:not(.home) .c-pageTitle {
  color: var(--astra-ui-ink) !important;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: .04em !important;
}

body.page:not(.home) .astra-office-hero {
  background:
    radial-gradient(circle at 82% 14%, rgba(46, 107, 230, .14), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f4f8ff 100%) !important;
}

body.page:not(.home) .astra-office-kicker,
body.page:not(.home) .astra-office-section-label {
  color: var(--astra-ui-blue-dark) !important;
}

body.page:not(.home) .astra-office-hero h1,
body.page:not(.home) .astra-office-section-head h2 {
  color: var(--astra-ui-ink) !important;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif !important;
}

body.page:not(.home) .astra-office-btn.is-primary,
body.page:not(.home) .wp-block-button__link {
  border-color: var(--astra-ui-blue) !important;
  background: var(--astra-ui-blue) !important;
  color: var(--astra-ui-on-blue) !important;
}

body.page:not(.home) .astra-office-btn.is-primary:hover,
body.page:not(.home) .wp-block-button__link:hover {
  background: var(--astra-ui-blue-hover) !important;
}

/* Blog article: desktop sidebar TOC, mobile inline TOC, strong contrast. */
body.single-post .post_content > .p-toc {
  background: #fff !important;
}

body.single-post #sidebar a {
  color: var(--astra-ui-blue-dark) !important;
}

body.single-post #sidebar .astra-sidebar-profile__link {
  border-color: var(--astra-ui-blue) !important;
  background: var(--astra-ui-blue) !important;
  color: var(--astra-ui-on-blue) !important;
}

body.single-post .c-categoryList__link,
body.single-post .p-postList__cat {
  background: var(--astra-ui-blue) !important;
  color: var(--astra-ui-on-blue) !important;
}

body.single-post .c-shareBtns,
body.single-post .p-snsCta,
body.single-post .c-fixBtn.-share {
  display: none !important;
}

@media (min-width: 960px) {
  body.single-post .post_content > .p-toc {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .astra-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astra-column-main {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  body.single-post #sidebar .widget_swell_index {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .astra-column-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 20px;
  }

  .astra-column-card h2,
  .astra-column-card__excerpt {
    display: block;
    overflow: visible;
    min-height: 0;
    -webkit-line-clamp: unset;
  }
}

@media (max-width: 560px) {
  .astra-column-hero {
    padding: 52px 18px 44px;
  }

  .astra-column-card__body {
    padding: 20px 18px 22px;
  }
}

/* astra-hojokin-inline-author-bio:start */
/* The manually embedded profile remains in post_content but is not rendered. */
body.single-post .post_content .astra-hojokin-inline-author-bio {
  display: none !important;
}
/* astra-hojokin-inline-author-bio:end */

/* ASTRA ARTICLE VISUAL READABILITY 2026-08-10 */
/* FAQ: make every question a clear visual stop without changing its wording. */
body.single-post .post_content > h3.astra-faq-question {
  margin: 2.75em 0 1.15em !important;
  padding: 16px 18px !important;
  border: 1px solid #dbe4f0 !important;
  border-left: 5px solid #2e6be6 !important;
  border-radius: 10px !important;
  background: #f7fafd !important;
  color: #172033 !important;
  font-size: clamp(20px, 1.35em, 23px) !important;
  line-height: 1.55 !important;
  box-shadow: 0 8px 20px rgba(13, 27, 46, .05);
}

body.single-post .post_content > h3.astra-faq-question::before,
body.single-post .post_content > h3.astra-faq-question::after {
  display: none !important;
}

body.single-post .post_content > p.astra-faq-answer {
  margin: 0 0 var(--swl-block-margin, 2em) !important;
}

body.single-post .post_content > .wp-block-group.astra-faq-answer-group {
  margin-top: 0 !important;
  margin-bottom: 2em !important;
}

/* Reusable numbered steps based on the strongest existing article pattern. */
body.single-post .post_content > ol.astra-step-cards {
  counter-reset: astra-article-step;
  display: grid;
  gap: 14px;
  margin: 24px 0 36px;
  padding: 0;
  list-style: none;
}

body.single-post .post_content > ol.astra-step-cards > li {
  counter-increment: astra-article-step;
  position: relative;
  min-height: 62px;
  margin: 0;
  padding: 15px 18px 15px 62px;
  border: 1px solid rgba(13, 27, 46, .13);
  border-radius: 10px;
  background: #f7fafd;
  line-height: 1.85;
}

body.single-post .post_content > ol.astra-step-cards > li::before {
  content: counter(astra-article-step);
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0d1b2e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

body.single-post .post_content > ol.astra-route-cards > li > strong:first-child {
  display: inline-block;
  margin-bottom: 7px;
  color: #173d75;
  font-size: 1.04em;
}

/* Short eligibility and review points become scannable cards. */
body.single-post .post_content > ul.astra-check-cards {
  display: grid;
  gap: 12px;
  margin: 24px 0 36px;
  padding: 0;
  list-style: none;
}

body.single-post .post_content > ul.astra-check-cards > li {
  position: relative;
  margin: 0;
  padding: 13px 16px 13px 48px;
  border: 1px solid rgba(13, 27, 46, .12);
  border-radius: 9px;
  background: #fff;
  line-height: 1.8;
}

body.single-post .post_content > ul.astra-check-cards > li::before {
  content: "✓";
  position: absolute;
  top: 13px;
  left: 15px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8f0ff;
  color: #245fc7;
  font-size: 14px;
  font-weight: 800;
}

/* Neutral examples must not look like confirmed eligibility decisions. */
body.single-post .post_content > ul.astra-neutral-cards,
body.single-post .post_content > ul.astra-warning-cards {
  display: grid;
  gap: 12px;
  margin: 24px 0 36px;
  padding: 0;
  list-style: none;
}

body.single-post .post_content > ul.astra-neutral-cards > li,
body.single-post .post_content > ul.astra-warning-cards > li {
  position: relative;
  margin: 0;
  padding: 13px 16px 13px 48px;
  border: 1px solid rgba(13, 27, 46, .12);
  border-radius: 9px;
  background: #fff;
  line-height: 1.8;
}

body.single-post .post_content > ul.astra-neutral-cards > li::before,
body.single-post .post_content > ul.astra-warning-cards > li::before {
  position: absolute;
  top: 13px;
  left: 15px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

body.single-post .post_content > ul.astra-neutral-cards > li::before {
  content: "•";
  background: #e8f0ff;
  color: #245fc7;
}

body.single-post .post_content > ul.astra-warning-cards > li {
  border-color: rgba(180, 93, 20, .2);
  background: #fffaf2;
}

body.single-post .post_content > ul.astra-warning-cards > li::before {
  content: "!";
  background: #fff0d9;
  color: #a4510e;
}

body.single-post .post_content > .wp-block-group.astra-info-card {
  margin: 24px 0 36px;
  padding: 17px 19px;
  border: 1px solid rgba(46, 107, 230, .22);
  border-left: 5px solid #2e6be6;
  border-radius: 10px;
  background: #f7fafd;
}

body.single-post .post_content > .wp-block-group.astra-info-card p {
  margin: 0;
}

/* Only explicitly marked long three-column tables scroll on small screens. */
body.single-post .post_content > figure.astra-scroll-table-3col {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  body.single-post .post_content > figure.astra-scroll-table-3col::before {
    content: "横にスクロールして表全体を確認できます";
    display: block;
    position: sticky;
    left: 0;
    width: max-content;
    margin: 0 0 8px;
    padding: 5px 9px;
    border-radius: 5px;
    background: #eef4ff;
    color: #315d9b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
  }

  body.single-post .post_content > figure.astra-scroll-table-3col table {
    width: 100%;
    min-width: 600px;
    max-width: none;
    table-layout: auto;
  }

  body.single-post .post_content > figure.astra-scroll-table-3col th,
  body.single-post .post_content > figure.astra-scroll-table-3col td {
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.65;
  }

  body.single-post .post_content > h3.astra-faq-question {
    margin-top: 2.35em !important;
    padding: 14px 15px !important;
    font-size: 19px !important;
  }

}

/* Make the existing gold notices distinct from normal paragraphs. */
body.single-post:is(.postid-230, .postid-176, .postid-130, .postid-134) .post_content > .wp-block-group.has-border-color.has-base-2-background-color.has-background {
  background-color: #fffaf0 !important;
}

@media (max-width: 767px) {
  body.single-post:is(.postid-230, .postid-176, .postid-130, .postid-134) .post_content > p:not(.has-small-font-size) {
    margin-bottom: 24px;
  }

  body.single-post:is(.postid-230, .postid-176, .postid-130, .postid-134) .post_content > h2 {
    margin-top: 3em;
    margin-bottom: 1.5em;
  }

  body.single-post:is(.postid-230, .postid-176, .postid-130, .postid-134) .post_content > h3:not(.astra-faq-question) {
    margin-top: 2.25em;
    margin-bottom: 1.25em;
  }

  body.single-post .post_content > figure.astra-scroll-table-3col table {
    min-width: 560px;
  }
}
