.gj-btn,
.gj-icon-btn,
.gj-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gj-btn:hover,
.gj-icon-btn:hover,
.gj-chip:hover,
.gj-text-link:hover {
  transform: translateY(-1px);
}

.gj-btn-primary {
  background: linear-gradient(135deg, var(--gj-pink), var(--gj-coral));
  color: #fff;
  box-shadow: 0 14px 30px rgba(233, 78, 131, 0.22);
}

.gj-btn-accent {
  background: linear-gradient(135deg, var(--gj-purple), var(--gj-purple-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(74, 31, 69, 0.22);
}

.gj-btn-ghost,
.gj-icon-btn,
.gj-chip {
  background: rgba(255, 255, 255, 0.85);
  color: var(--gj-purple);
  border-color: rgba(243, 203, 214, 0.9);
}

.gj-icon-btn--stack {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  gap: 4px;
  color: var(--gj-purple);
}

.gj-icon-btn__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
}

.gj-icon-btn__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gj-media-card,
.gj-category-card,
.gj-simple-card,
.gj-article-card,
.gj-feature-card,
.gj-info-card,
.gj-linked-card,
.gj-support-card,
.gj-affiliate-box,
.gj-search-box,
.gj-search-results article,
.gj-side-box,
.gj-article-points,
.gj-contact-form,
.gj-meter {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(243, 203, 214, 0.8);
  box-shadow: var(--shadow-card);
}

.gj-media-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(145deg, rgba(252, 232, 239, 0.98), rgba(255, 249, 247, 0.92)),
    linear-gradient(180deg, rgba(233, 78, 131, 0.15), transparent);
}

.gj-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.gj-media-card img[src*="placeholders/generated/"] {
  object-fit: contain;
  object-position: center;
  padding: 18px;
  opacity: 1;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(145deg, rgba(252, 232, 239, 0.98), rgba(255, 249, 247, 0.94));
}

.gj-linked-card img[src*="placeholders/generated/"],
.gj-home-job img[src*="placeholders/generated/"],
.gj-home-articlecard img[src*="placeholders/generated/"],
.gj-article-card__thumb[src*="placeholders/generated/"],
.gj-category-card__media img[src*="placeholders/generated/"],
.gj-feature-card__media img[src*="placeholders/generated/"] {
  object-fit: contain;
  object-position: center;
  padding: 14px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(145deg, rgba(252, 232, 239, 0.98), rgba(255, 249, 247, 0.94));
}

.gj-media-card__label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 35, 76, 0.74);
  color: #fff;
  font-size: 0.85rem;
}

.gj-tag-list,
.gj-chip-row,
.gj-inline-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gj-tag-list li,
.gj-inline-checks li {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--gj-light-pink);
  color: var(--gj-purple);
  font-size: 0.88rem;
}

.gj-side-box .gj-tag-list li {
  border: 1px solid rgba(243, 203, 214, 0.82);
  background: rgba(255, 248, 250, 0.95);
  font-size: 0.8rem;
  cursor: default;
}

.gj-check-list,
.gj-check-grid,
.gj-feature-card ul,
.gj-info-card ul,
.gj-article-points ul,
.gj-contact-form,
.gj-faq-list {
  display: grid;
  gap: 12px;
}

.gj-check-list li,
.gj-check-grid li,
.gj-feature-card li,
.gj-info-card li,
.gj-article-points li {
  position: relative;
  padding-left: 24px;
}

.gj-check-list li::before,
.gj-check-grid li::before,
.gj-feature-card li::before,
.gj-info-card li::before,
.gj-article-points li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--gj-pink);
}

.gj-card-grid,
.gj-four-grid,
.gj-two-grid,
.gj-linked-card-grid,
.gj-meter-grid,
.gj-support-band__grid {
  display: grid;
  gap: 20px;
}

.gj-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gj-card-grid--jobs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gj-four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gj-two-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gj-linked-card-grid,
.gj-meter-grid,
.gj-support-band__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gj-category-card,
.gj-feature-card {
  overflow: hidden;
}

.gj-category-card__media,
.gj-feature-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(233, 78, 131, 0.22), rgba(255, 249, 247, 0.78));
}

.gj-category-card__media img,
.gj-feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gj-category-card__body,
.gj-feature-card__body,
.gj-simple-card,
.gj-article-card,
.gj-info-card,
.gj-linked-card,
.gj-support-card,
.gj-meter,
.gj-side-box,
.gj-article-points,
.gj-contact-form,
.gj-search-results article,
.gj-affiliate-box {
  padding: 24px;
}

.gj-simple-card,
.gj-linked-card,
.gj-reference-link-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.gj-card-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gj-text-sub);
}

.gj-meter__track {
  display: inline-flex;
  gap: 6px;
}

.gj-meter__dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(243, 203, 214, 0.8);
}

.gj-meter__dot.is-filled {
  background: linear-gradient(135deg, var(--gj-pink), var(--gj-coral));
}

.gj-meter__value {
  font-weight: 700;
  color: var(--gj-purple);
}

.gj-note,
.gj-grouped-tags p,
.gj-article-card__meta,
.gj-article-meta,
.gj-search-status,
.gj-footer,
.gj-text-link {
  color: var(--gj-text-sub);
}

.gj-text-link {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(233, 78, 131, 0.46);
}

.gj-linked-card h3 a,
.gj-simple-card h3 a,
.gj-article-card h2 a,
.gj-home-job h3 a,
.gj-home-articlecard h3 a,
.gj-reference-link-card h3 a,
.gj-reference-pill-list a,
.gj-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gj-purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(233, 78, 131, 0.46);
  text-decoration-thickness: 1px;
}

.gj-linked-card h3 a,
.gj-simple-card h3 a,
.gj-article-card h2 a,
.gj-home-job h3 a,
.gj-home-articlecard h3 a,
.gj-reference-link-card h3 a,
.gj-reference-pill-list a,
.gj-text-link {
  text-decoration-thickness: 2px;
}

.gj-linked-card h3 a::after,
.gj-simple-card h3 a::after,
.gj-article-card h2 a::after,
.gj-home-job h3 a::after,
.gj-home-articlecard h3 a::after,
.gj-reference-link-card h3 a::after,
.gj-reference-pill-list a::after,
.gj-text-link::after {
  content: "›";
  color: var(--gj-pink);
  font-size: 1em;
  line-height: 1;
}

.gj-linked-card:has(h3 a:hover),
.gj-linked-card:focus-within,
.gj-simple-card:has(h3 a:hover),
.gj-simple-card:focus-within,
.gj-home-job:has(h3 a:hover),
.gj-home-job:focus-within,
.gj-home-articlecard:has(h3 a:hover),
.gj-home-articlecard:focus-within,
.gj-article-card:has(h2 a:hover),
.gj-article-card:focus-within,
.gj-reference-link-card:has(h3 a:hover),
.gj-reference-link-card:focus-within {
  border-color: rgba(233, 78, 131, 0.72);
  box-shadow: 0 18px 36px rgba(95, 49, 89, 0.12);
}

.gj-linked-card h3 a:focus-visible,
.gj-simple-card h3 a:focus-visible,
.gj-article-card h2 a:focus-visible,
.gj-home-job h3 a:focus-visible,
.gj-home-articlecard h3 a:focus-visible,
.gj-reference-link-card h3 a:focus-visible,
.gj-reference-pill-list a:focus-visible,
.gj-text-link:focus-visible {
  outline: 2px solid rgba(233, 78, 131, 0.46);
  outline-offset: 4px;
  border-radius: 8px;
}

.gj-simple-card:has(.gj-tag-list):not(:has(img))::before,
.gj-linked-card:not(:has(img))::before {
  content: "仮画像\A作成要";
  display: grid;
  place-items: center;
  min-height: 112px;
  margin: -24px -24px 0;
  border-bottom: 1px solid rgba(243, 203, 214, 0.78);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 22%),
    linear-gradient(145deg, rgba(252, 232, 239, 0.98), rgba(255, 249, 247, 0.92));
  color: rgba(95, 49, 89, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: center;
  white-space: pre;
}

.gj-simple-card:has(.gj-tag-list):not(:has(img)) > :first-child,
.gj-linked-card:not(:has(img)) > :first-child {
  margin-top: 2px;
}

.gj-faq-item {
  padding: 0 20px;
}

.gj-faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
}

.gj-faq-item p {
  padding-bottom: 18px;
  color: var(--gj-text-sub);
}

.gj-affiliate-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gj-support-band {
  padding: 28px 0 0;
}

.gj-support-card h2,
.gj-simple-card h3,
.gj-linked-card h3,
.gj-info-card h2,
.gj-feature-card h2,
.gj-article-card h3,
.gj-article-card h2,
.gj-meter h3 {
  margin-bottom: 10px;
}

.gj-article-card__thumb {
  display: block;
  width: calc(100% + 48px);
  max-width: none;
  margin: -24px -24px 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(145deg, rgba(252, 232, 239, 0.98), rgba(255, 249, 247, 0.92));
  border-bottom: 1px solid rgba(243, 203, 214, 0.78);
}

.gj-support-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-height: 132px;
  text-align: center;
}

.gj-support-card img {
  display: none;
}

.gj-support-band__grid .gj-support-card::before {
  content: "安";
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 246, 249, 0.96);
  border: 1px solid rgba(243, 203, 214, 0.82);
  color: #6c315a;
  font-size: 1rem;
  font-weight: 800;
}

.gj-support-band__grid .gj-support-card:nth-child(1)::before { content: "初"; }
.gj-support-band__grid .gj-support-card:nth-child(2)::before { content: "鍵"; }
.gj-support-band__grid .gj-support-card:nth-child(3)::before { content: "盾"; }
.gj-support-band__grid .gj-support-card:nth-child(4)::before { content: "Q"; }
.gj-support-band__grid .gj-support-card:nth-child(5)::before { content: "相"; }

.gj-media-card--shindan {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(145deg, rgba(253, 236, 242, 0.98), rgba(255, 249, 247, 0.94));
}

.gj-media-card--shindan img {
  display: block;
  object-fit: contain;
  object-position: center bottom;
  opacity: 1;
}

.gj-article-side .gj-media-card img[src*="placeholders/generated/"] {
  padding: 22px;
  object-position: center;
}

.gj-page-category .gj-page-hero .gj-media-card img[src*="placeholders/generated/"] {
  padding: 24px;
}

.gj-media-card--shindan img[src*="placeholders/generated/"] {
  padding: 26px;
  object-position: center;
}
