#kr-site-templates {
  --paper: #fff;
  --ink: #171d2c;
  --muted: #525d73;
  --line: #e8edf5;
  --key: #2b64d6;
  --tint: #f2f6ff;

  margin: 0;
  color: var(--ink);
  background: var(--paper);

  & .nav-link[aria-current="page"], & .menu-link[aria-current="page"] { color: var(--key); font-weight: 700; }
  & .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  & #kr-main .wrap {
    max-width: 1248px;
    margin-inline: auto;
    padding-inline: 24px;

    @media (max-width: 560px) { padding-inline: 16px; }
  }
  & .title_area {
    padding-block: 64px 36px;
    text-align: center;

    @media (max-width: 560px) { padding-block: 36px 24px; }

    & h1 {
      color: var(--ink);
      font-size: 40px;
      font-weight: 800;
      line-height: 1.4;
      text-wrap: balance;

      @media (max-width: 920px) { font-size: 36px; }
      @media (max-width: 560px) { font-size: 28px; }
    }
    & p { max-width: 640px; margin: 14px auto 0; color: var(--muted); line-height: 1.85; text-wrap: pretty; }
  }
  & .catalog { padding-block: 12px 64px; }
  & .catalog_heading {
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 12px;

    & h2 { font-size: 20px; line-height: 1.5; font-weight: 700; }
    & p { color: var(--muted); font-size: 14px; }
  }
  & .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;

    @media (max-width: 920px) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    @media (max-width: 560px) { grid-template-columns: minmax(0, 1fr); }
  }
  & .card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);

    & .thumbnail {
      border-radius: 19px 19px 0 0;
      overflow: hidden;
      background: #f5f7fb;

      & img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 634; object-fit: cover; }
    }
    & .body {
      padding: 17px 18px 18px;
      display: flex;
      flex: 1;
      flex-direction: column;
      gap: 8px;
    }
    & h3 { font-size: 18px; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }
    & p { color: var(--muted); font-size: 14px; }
    & .standard_price {
      margin-top: auto;
      padding-top: 6px;

      & strong { margin-left: 4px; color: var(--ink); font-size: 16px; font-weight: 700; }
      & span { font-size: 13px; }
    }
    & .links { display: flex; flex-wrap: wrap; gap: 8px; }
  }
  & .preview, & .purchase, & .dialog_close {
    min-height: 44px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  & .preview, & .purchase {
    &:focus-visible { outline: 2px solid var(--key); outline-offset: 3px; }
  }
  & .preview { background: var(--tint); color: #2354b8; &:hover { background: #e5edff; } }
  & .purchase, & [data-booth] { background: var(--key); color: #fff; &:hover { background: #234fb1; } }
  & .acquire_dialog {
    width: min(540px, calc(100% - 32px));
    max-block-size: calc(100% - 32px);
    margin: auto;
    padding: 24px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 16px 58px rgb(19 35 68 / 18%);

    &::backdrop { background: rgb(20 30 52 / 45%); }
    @media (max-width: 560px) { padding: 16px; }
  }
  & .dialog_heading {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;

    & h2 { font-size: 20px; font-weight: 700; line-height: 1.4; }
  }
  & .dialog_close { border-color: var(--line); color: var(--muted); white-space: nowrap; background: var(--paper); cursor: pointer; }
  & .acquire_choice {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;

    & + .acquire_choice { margin-top: 10px; }
    & h3 { font-size: 16px; font-weight: 700; }
    & p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
    & [data-booth], & [data-member], & [data-access-retry] { margin-top: 12px; }
    & .purchase_price { color: var(--ink); font-weight: 700; }
    & [hidden] { display: none; }
  }
}

/* 最終更新: 2026-11-26 14:59 */
