.search-box {
  display: flex;
  align-items: center;
  width: min(470px, 100%);
  height: 44px;
  padding: 4px 4px 4px 18px;
  background: #fff;
  border: 2px solid #bfd9ea;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(68, 130, 176, 0.08);
}

.search-box svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  fill: var(--color-main-dark);
}

.search-box input {
  width: 100%;
  min-width: 0;
  color: var(--color-text);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-box input::placeholder {
  color: #98a5ad;
  font-weight: 700;
}

.search-box button {
  flex: 0 0 76px;
  height: 34px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  background: linear-gradient(180deg, #4b9bd0, #1d77b9);
  border: 0;
  border-radius: 999px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-heading::before {
  color: var(--color-main-dark);
  font-size: 1.1rem;
  font-weight: 800;
  content: "＊";
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.3;
}

.section-heading--with-link {
  justify-content: space-between;
}

.section-heading--with-link::before {
  content: "＊";
}

.section-heading--with-link h2 {
  margin-right: auto;
}

.section-heading--with-link a {
  color: var(--color-main-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.category-card img {
  width: 78px;
  height: 58px;
  margin-right: 10px;
  object-fit: contain;
}

.category-card span {
  font-weight: 800;
  line-height: 1.4;
}

.category-card--blue {
  background: #eef7ff;
}

.category-card--cream {
  background: #fff7e9;
}

.category-card--green {
  background: #eff8ed;
}

.category-card--lavender {
  background: #f3f0ff;
}

.category-card--peach {
  background: #fff1ea;
}

.category-card--all {
  gap: 12px;
  color: var(--color-main-dark);
  background: #fff;
  border-color: #bdd9ec;
}

.category-card__icon {
  color: var(--color-main);
  font-size: 2.1rem;
  line-height: 1;
}

.category-card__arrow {
  margin-left: auto;
  font-size: 1.8rem;
}

.tag-pills {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 18px;
  color: var(--color-main-dark);
  font-size: 0.9rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid #bad5e8;
  border-radius: 999px;
}

.illust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.illust-card {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.illust-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.illust-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.illust-card__title {
  display: -webkit-box;
  min-height: calc(0.82rem * 1.4 * 2);
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.illust-card__category {
  justify-self: start;
  max-width: 100%;
  padding: 3px 10px;
  overflow: hidden;
  color: var(--color-main-dark);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #eaf5ff;
  border-radius: 999px;
}

.empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  color: var(--color-muted);
  font-weight: 700;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.stock-cta,
.about-cta {
  min-height: 78px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.stock-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  color: #fff;
}

.stock-cta strong {
  font-size: 1.35rem;
  line-height: 1;
}

.stock-cta span {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.5;
}

.stock-cta b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #2974a5;
  background: #fff;
  border-radius: 50%;
}

.stock-cta--pixta {
  background: linear-gradient(90deg, #2e89c9, #2476b2);
}

.stock-cta--adobe {
  background: linear-gradient(90deg, #78b780, #5ca76a);
}

.about-cta {
  display: grid;
  grid-template-columns: 1fr 130px;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
}

.about-cta span {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px 0 16px 18px;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 700;
}

.about-cta strong {
  color: var(--color-main-dark);
  font-size: 0.95rem;
}

.about-cta em {
  display: inline-flex;
  justify-content: center;
  width: 150px;
  margin-top: 2px;
  padding: 4px 12px;
  color: var(--color-main-dark);
  font-style: normal;
  font-weight: 800;
  border: 1px solid #b8d6ea;
  border-radius: 999px;
}

.about-cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
