/* =========================================
   P20 Search Product
   - P20（単一商品寄り検索結果）専用
   - header / footer は inner-pages-header-footer.css 側で管理
   - 共通トークン / ボタン等は style.css 側を利用
========================================= */

.page-p20 .p20-page {
  padding: 16px 0 56px;
}

.page-p20 .p20-breadcrumb {
  margin: 0 0 12px;
  font-size: var(--font-size-13);
  color: var(--color-text-muted);
}

.page-p20 .p20-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-p20 .p20-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 6px;
  color: #8fa1b2;
}

.page-p20 .p20-hero {
  position: relative;
  overflow: hidden;
  padding: 8px 0 4px;
  background: transparent;
  border-radius: 0;
}

.page-p20 .p20-hero__inner {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.page-p20 .p20-hero__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.page-p20 .p20-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(247, 231, 187, 0.18);
  color: #fff2c8;
  font-size: var(--font-size-12);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-p20 .p20-hero__title {
  margin: 0;
  color: #1b2f44;
  text-shadow: none;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
}

.page-p20 .p20-hero__content {
  border-radius: 0;
  padding: 0;
}

.page-p20 .p40-hero__notice {
  display: table;
  margin: 14px auto 22px;
  padding: 12px 18px;
  border: 1px solid rgba(201, 74, 44, 0.18);
  border-radius: 999px;
  background: rgba(255, 228, 216, 0.92);
  color: #7a2f1f;
  font-size: var(--font-size-13);
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.page-p20 .p20-search-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at right top, rgba(74, 138, 132, 0.18), transparent 28%),
    radial-gradient(circle at left bottom, rgba(47, 95, 143, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, #edf4f8 100%);
}

.page-p20 .p20-search-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(248, 251, 253, 0.95) 0%,
      rgba(240, 246, 250, 0.90) 36%,
      rgba(229, 240, 246, 0.75) 58%,
      rgba(255, 255, 255, 0.70) 78%
    ),
    url("../img/common/img-main.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  transform: scale(1.02);
}

.page-p20 .p20-search-hero__inner {
  position: relative;
  z-index: 1;
  padding: 28px 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(14, 36, 58, 0.78);
  box-shadow:
    0 18px 42px rgba(18, 39, 60, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
}

.page-p20 .p20-search-prompt {
  margin: 10px auto 0;
  font-size: var(--font-size-20);
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.page-p20 .p20-searchbox {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  margin-top: 12px;
}

.page-p20 .p20-searchbox input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-border-default);
  border-radius: 14px;
  background: #fff;
  font-size: var(--font-size-14);
}

.page-p20 .p20-searchbox input:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(47, 95, 143, 0.14);
}

.page-p20 .p20-searchbox .c-button,
.page-p20 .p20-searchbox button {
  border-radius: 14px;
  font-size: var(--font-size-14);
}

.page-p20 .p20-searchbox .c-button--primary,
.page-p20 .p20-searchbox button {
  background: var(--color-brand-primary);
  box-shadow: none;
}

.page-p20 .p20-searchbox .c-button--primary:hover,
.page-p20 .p20-searchbox button:hover {
  background: var(--color-brand-primary-hover);
}

.page-p20 .p20-hero__visual--error {
  display: flex;
  justify-content: center;
  margin: 0 0 24px;
}

.page-p20 .p20-hero__visual--error img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-p20 .p20-hero__actions {
  text-align: center;
}

.page-p20 .p20-hero__actions .c-button {
  gap: 8px;
  border-radius: 14px;
}

.page-p20 .p20-hero__actions .c-button svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
  fill: currentColor;
}

.page-p20 .p40-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.page-p20 .p40-hero__actions .c-button {
  min-width: 200px;
}

.page-p20 .p40-search-manual {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(28, 75, 122, 0.12);
}

.page-p20 .p40-search-manual__note {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
}

.page-p20 .p40-hero__manual-button {
  width: 100%;
  min-width: 0;
  min-height: 84px;
  padding: 20px 24px;
  font-size: var(--font-size-18);
  font-weight: 700;
  border-radius: 18px;
  border-color: rgba(47, 95, 143, 0.28);
  background: linear-gradient(180deg, rgba(232, 242, 255, 0.98) 0%, rgba(215, 232, 252, 0.98) 100%);
  color: #1c4b7a;
  box-shadow: 0 14px 28px rgba(30, 63, 94, 0.12);
}

.page-p20 .p40-hero__manual-button:hover,
.page-p20 .p40-hero__manual-button:focus-visible {
  border-color: rgba(37, 91, 146, 0.42);
  background: linear-gradient(180deg, rgba(241, 248, 255, 1) 0%, rgba(205, 226, 250, 1) 100%);
  color: #163e66;
  transform: translateY(-1px);
}

.page-p20 .p20-toolbar {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
}

.page-p20 .p20-hero__support {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-p20 .p20-hero__support-item {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--font-size-12);
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: rgba(255, 255, 255, 0.55);
    text-underline-offset: 6px;
    backdrop-filter: none;
  }

.page-p20 .p20-hero__spotlight {
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-p20 .p20-hero__spotlight-lead {
  margin: 0;
  color: #35506d;
  font-size: var(--font-size-13);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: pretty;
}

.page-p20 .p20-hero__spotlight-note {
  margin: 2px 0 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-12);
  line-height: 1.5;
  text-wrap: pretty;
}

.page-p20 .p20-toolbar__text {
  margin: 0;
  font-size: var(--font-size-14);
  color: var(--color-text-muted);
}

.page-p20 .p20-toolbar__subtext {
  margin: 0;
  font-size: var(--font-size-13);
  color: var(--color-text-muted);
}

.page-p20 .p20-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.page-p20 .p20-summary-card {
  padding: 16px 18px;
  border: 1px solid var(--color-border-default);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: var(--shadow-sm);
}

.page-p20 .p20-summary-card__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--font-size-12);
  font-weight: 700;
  color: var(--color-text-muted);
}

.page-p20 .p20-summary-card__value {
  display: block;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  color: var(--color-text-strong);
}

.page-p20 .p20-list {
  display: grid;
  gap: 16px;
}

.page-p20 .p20-intent {
  padding: 22px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(74, 138, 132, 0.10), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
  box-shadow: var(--shadow-sm);
}

.page-p20 .p20-intent__intro {
  margin-bottom: 18px;
}

.page-p20 .p20-intent__title {
  margin: 0;
  color: var(--color-text-strong);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
}

.page-p20 .p20-intent__lead {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-14);
  line-height: 1.7;
}

.page-p20 .p20-intent__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-p20 .p20-intent__card {
  padding: 18px;
  border: 1px solid rgba(47, 95, 143, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.page-p20 .p20-intent__card-title {
  margin: 0;
  color: #1b2f44;
  font-size: var(--font-size-16);
  line-height: 1.5;
}

.page-p20 .p20-intent__card-body {
  margin: 10px 0 0;
  color: #4a6178;
  font-size: var(--font-size-14);
  line-height: 1.8;
}

.page-p20 .p20-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  grid-template-areas:
    "media head"
    "details details"
    "price price"
    "actions actions";
  gap: 18px 20px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.page-p20 .p20-card.is-featured {
  position: relative;
  border-color: #d7b76a;
  background:
    radial-gradient(circle at top right, rgba(240, 213, 142, 0.28), transparent 24%),
    linear-gradient(180deg, #fffdf6 0%, #fff7e6 100%);
  box-shadow:
    0 24px 52px rgba(65, 42, 9, 0.16),
    0 10px 20px rgba(108, 78, 28, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.page-p20 .p20-card.is-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, #8f6b22 0%, #d9b86a 40%, #f6e4b0 100%);
}

.page-p20 .p20-card__media {
  grid-area: media;
  min-width: 0;
}

.page-p20 .p20-card__head {
  grid-area: head;
  min-width: 0;
  align-self: center;
}

.page-p20 .p20-card__taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.page-p20 .p20-card__rank {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin: 0 0 10px;
  border-radius: 999px;
  background: #edf3f7;
  color: #415264;
  font-size: var(--font-size-12);
  font-weight: 800;
}

.page-p20 .p20-card__rank.is-featured {
  background: linear-gradient(135deg, #7f5b16 0%, #c99a3c 55%, #f2ddaa 100%);
  color: #fffdf7;
  box-shadow: 0 10px 18px rgba(103, 73, 17, 0.18);
}

.page-p20 .p20-card__details {
  grid-area: details;
  min-width: 0;
}

.page-p20 .p20-price,
.page-p20 .p20-empty-price {
  grid-area: price;
}

.page-p20 .p20-card__actions {
  grid-area: actions;
}

.page-p20 .p20-card__image {
  display: block;
  width: 100%;
}

.page-p20 .p20-card__image .contain {
  display: block;
  width: 100%;
  min-height: 180px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.page-p20 .p20-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-brand-accent-soft-2);
  color: var(--color-brand-accent-hover);
  font-size: var(--font-size-12);
  font-weight: 700;
}

.page-p20 .p20-card__maker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf3f7;
  color: #415264;
  font-size: var(--font-size-12);
  font-weight: 700;
}

.page-p20 a.p20-card__maker {
  text-decoration: none;
}

.page-p20 a.p20-card__maker:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.page-p20 a.p20-card__category {
  text-decoration: none;
}

.page-p20 a.p20-card__category:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.page-p20 .p20-card__title {
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--color-text-strong);
  word-break: break-word;
}

.page-p20 .p20-card__title a {
  position: relative;
  display: block;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(47, 95, 143, 0.36);
  text-underline-offset: 0.16em;
  text-decoration-thickness: 0.08em;
  transition:
    color 0.18s ease,
    text-decoration-color 0.18s ease;
}

.page-p20 .p20-card__title::first-line,
.page-p20 .p20-card__title a::first-line {
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 700;
}

.page-p20 .p20-card__title-cta {
  margin-top: 12px;
}

.page-p20 .p20-card__title-cta-actions {
  display: grid;
  gap: 10px;
}

.page-p20 .p20-buy-now-form,
.page-p20 .p20-card__title-cta .kaitori-cart-btn-wrap,
.page-p20 .p20-card__title-cta .c-button {
  width: 100%;
}

.page-p20 .p20-buy-now-form .c-button,
.page-p20 .p20-card__title-cta .c-button {
  min-width: 0;
  border-radius: 14px;
}

.page-p20 .p20-card__title-cta .p20-buy-now-form .c-button--primary {
  background: linear-gradient(180deg, #d0682d 0%, #b6521d 100%);
  border-color: #a94b1c;
  box-shadow: 0 10px 22px rgba(176, 82, 29, 0.2);
}

.page-p20 .p20-card__title-cta .p20-buy-now-form .c-button--primary:hover {
  background: linear-gradient(180deg, #dd7640 0%, #bf5920 100%);
  border-color: #a3471a;
}

.page-p20 .p20-card__title-cta .c-button--primary {
  background: var(--color-brand-primary);
}

.page-p20 .p20-card__title-cta .c-button--primary:hover {
  background: var(--color-brand-primary-hover);
}

.page-p20 .p20-card__feature-copy {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(180, 143, 71, 0.28);
  border-radius: 14px;
  background: rgba(255, 251, 239, 0.92);
  font-size: var(--font-size-13);
  color: #805d1b;
  font-weight: 700;
}

.page-p20 .p20-refine {
  margin-top: 14px;
}

.page-p20 .p20-refine__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--font-size-12);
  font-weight: 700;
  color: var(--color-text-muted);
}

.page-p20 .p20-refine__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-p20 .p20-refine__chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #cfdce5;
  border-radius: 999px;
  background: #f7fbfe;
  color: #2f5f8f;
  font-size: var(--font-size-12);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-p20 .p20-refine__chip:hover {
  border-color: #aac4da;
  background: #eef5fb;
  color: #23496e;
}

.page-p20 .p20-card.is-featured .p20-card__image .contain {
  min-height: 208px;
}

.page-p20 .p20-card.is-featured .p20-price {
  border-color: rgba(182, 146, 77, 0.28);
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.96) 0%, rgba(255, 247, 231, 0.92) 100%);
}

.page-p20 .p20-card__title a:hover {
  color: var(--color-brand-primary);
  text-decoration-color: currentColor;
}

.page-p20 .p20-card__title a:focus-visible {
  outline: 2px solid rgba(47, 95, 143, 0.34);
  outline-offset: 3px;
  border-radius: 4px;
  color: var(--color-brand-primary);
  text-decoration-color: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .page-p20 .p20-card__title a[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 5;
    min-width: 180px;
    max-width: min(320px, 80vw);
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(18, 39, 60, 0.94);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    box-shadow: 0 10px 24px rgba(18, 39, 60, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
    pointer-events: none;
  }

  .page-p20 .p20-card__title a[data-tooltip]::before {
    content: "";
    position: absolute;
    left: 16px;
    bottom: calc(100% + 4px);
    z-index: 5;
    width: 10px;
    height: 10px;
    background: rgba(18, 39, 60, 0.94);
    transform: rotate(45deg) translateY(4px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
    pointer-events: none;
  }

  .page-p20 .p20-card__title a[data-tooltip]:hover::after,
  .page-p20 .p20-card__title a[data-tooltip]:hover::before,
  .page-p20 .p20-card__title a[data-tooltip]:focus-visible::after,
  .page-p20 .p20-card__title a[data-tooltip]:focus-visible::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.page-p20 .p20-spec {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  background: #f8fbfd;
}

.page-p20 .p20-spec__label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--font-size-12);
  font-weight: 700;
  color: var(--color-text-muted);
}

.page-p20 .p20-spec p,
.page-p20 .p20-desc {
  margin: 0;
  font-size: var(--font-size-14);
  line-height: 1.75;
  color: var(--color-text-default);
}

.page-p20 .p20-price {
  padding: 18px;
  border: 1px solid #d8e3ea;
  border-radius: 10px;
  background: linear-gradient(180deg, #f4f8fb 0%, #edf3f7 100%);
}

.page-p20 .p20-price__head {
  display: block;
  margin-bottom: 14px;
}

.page-p20 .p20-price__title,
.page-p20 .p20-empty-price__title {
  margin: 0;
  font-size: var(--font-size-18);
  line-height: 1.4;
  color: #16202b;
}

.page-p20 .p20-price__note,
.page-p20 .p20-empty-price__text {
  margin: 4px 0 0;
  font-size: var(--font-size-12);
  line-height: 1.6;
  color: #5f6b76;
}

.page-p20 .p20-price__zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.page-p20 .p20-zone {
  min-width: 0;
  padding: 12px 16px 14px;
  border: 1px solid #cfdce5;
  border-radius: 7px;
  background: #fff;
}

.page-p20 .p20-zone__label {
  display: block;
  margin-bottom: 10px;
  font-size: var(--font-size-12);
  font-weight: 700;
  color: #4f5f6d;
}

.page-p20 .p20-zone__value {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center; 
  gap: 2px;
  color: var(--color-brand-primary);
  font-weight: 400;
  line-height: 1.15;
}

.page-p20 .p20-price-num {
  font-size: clamp(22px, 1.6vw, 26px);
  letter-spacing: -0.02em;
  white-space: normal;       
  word-break: break-all;    
}

.page-p20 .p20-price-sep,
.page-p20 .p20-price-prefix {
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.1;
}

.page-p20 .p20-price-unit {
  margin-left: 1px;
  padding-bottom: 2px;
  font-size: 20px;
  line-height: 1.1;
  color: #44515d;
}

.page-p20 .p20-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.page-p20 .kaitori-cart-btn-wrap {
  position: relative;
  display: inline-block;
  overflow: visible;
  z-index: 0;
}

.page-p20 .kaitori-cart-btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-p20 .kaitori-cart-btn-wrap.animating .js-kaitori-cart-effect {
  animation: kaitoriCartBtnPop 0.52s cubic-bezier(.2,.9,.2,1);
  transform-origin: center;
  will-change: transform;
  box-shadow:
    0 0 0 3px rgba(47, 95, 143, 0.14),
    0 10px 20px rgba(30, 63, 94, 0.18);
}

@keyframes kaitoriCartBtnPop {
  0% { transform: scale(1); }
  20% { transform: scale(0.90); }
  45% { transform: scale(1.08); }
  68% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.page-p20 .coin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -2px 0 rgba(140, 93, 0, 0.18),
    0 4px 8px rgba(0, 0, 0, 0.16);
  background:
    radial-gradient(circle at 30% 30%, #fff8c2 0%, #ffe277 30%, #f4be28 64%, #d99500 100%);
}

.page-p20 .coin::after {
  content: "\00a5";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #7a5200;
  font-size: 10px;
  font-weight: 900;
}

.page-p20 .coin.left { animation: coinLeft 0.78s linear forwards; }
.page-p20 .coin.mid { animation: coinMid 0.78s linear forwards; }
.page-p20 .coin.right { animation: coinRight 0.78s linear forwards; }
.page-p20 .coin.late { animation: coinLate 0.92s linear forwards; }

@keyframes coinLeft {
  0% { opacity: 1; transform: translate(0, 0) scale(0.55) rotate(0deg); }
  35% { opacity: 1; transform: translate(-18px, -16px) scale(1) rotate(-90deg); }
  100% { opacity: 0; transform: translate(-42px, -64px) scale(0.84) rotate(-220deg); }
}

@keyframes coinMid {
  0% { opacity: 1; transform: translate(0, 0) scale(0.52) rotate(0deg); }
  42% { opacity: 1; transform: translate(0, -28px) scale(0.98) rotate(-90deg); }
  100% { opacity: 0; transform: translate(0, -74px) scale(0.82) rotate(-180deg); }
}

@keyframes coinRight {
  0% { opacity: 1; transform: translate(0, 0) scale(0.55) rotate(0deg); }
  35% { opacity: 1; transform: translate(18px, -16px) scale(1) rotate(90deg); }
  100% { opacity: 0; transform: translate(42px, -64px) scale(0.84) rotate(220deg); }
}

@keyframes coinLate {
  0% { opacity: 0; transform: translate(0, 0) scale(0.35) rotate(0deg); }
  22% { opacity: 0; }
  34% { opacity: 1; }
  66% { opacity: 1; transform: translate(10px, -22px) scale(0.92) rotate(100deg); }
  100% { opacity: 0; transform: translate(24px, -54px) scale(0.74) rotate(180deg); }
}

.page-p20 .p20-card__actions .c-button {
  min-width: 160px;
  border-radius: 14px;
}

.page-p20 .p20-card__actions .c-button--primary {
  background: var(--color-brand-primary);
}

.page-p20 .p20-card__actions .c-button--primary:hover {
  background: var(--color-brand-primary-hover);
}

.page-p20 .p20-card__actions .c-button--secondary {
  color: #23496c;
  border: 1px solid rgba(47, 95, 143, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.96) 0%, rgba(233, 243, 251, 0.96) 100%);
  box-shadow: 0 8px 18px rgba(30, 63, 94, 0.08);
}

.page-p20 .p20-card__actions .c-button--secondary:hover {
  color: #1b3f61;
  border-color: rgba(47, 95, 143, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 239, 250, 0.98) 100%);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .page-p20 .p20-card__title-cta-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-p20 .p20-card__title-cta-actions > form {
    display: flex;
  }

  .page-p20 .p20-card__title-cta-actions .c-button,
  .page-p20 .p20-card__title-cta-actions .js-kaitori-cart-effect {
    min-height: 52px;
  }
}

.page-p20 .p20-empty-price {
  padding: 16px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
}

@media (max-width: 959px) {
  .page-p20 .p20-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-p20 .p20-intent__grid {
    grid-template-columns: 1fr;
  }

  .page-p20 .p20-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .page-p20 .p20-price__zones {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-p20 .p20-price-num {
    font-size: clamp(22px, 2.4vw, 28px);
  }
}

@media (max-width: 767px) {
  .page-p20 .p20-page {
    padding: 8px 0 32px;
  }

  .page-p20 .p20-hero {
    padding: 6px 0 2px;
  }

  .page-p20 .p20-hero__inner {
    width: 100%;
  }

  .page-p20 .p20-hero__box {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .page-p20 .p20-hero__content {
    padding: 0 6px;
  }

  .page-p20 .p20-summary-grid {
    grid-template-columns: 1fr;
  }

  .page-p20 .p20-intent {
    padding: 18px;
  }

  .page-p20 .p20-search-hero__inner {
    padding: 22px 18px 20px;
  }

  .page-p20 .p20-searchbox {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .page-p20 .p20-searchbox input,
  .page-p20 .p20-searchbox button,
  .page-p20 .p20-searchbox .c-button {
    height: 44px;
  }

  .page-p20 .p40-hero__notice {
    margin: 12px auto 18px;
    padding: 11px 14px;
    line-height: 1.65;
  }

  .page-p20 .p40-hero__actions {
    gap: 10px;
    margin-top: 22px;
  }

  .page-p20 .p40-hero__actions .c-button {
    min-width: 0;
    width: 100%;
  }

  .page-p20 .p40-hero__manual-button {
    min-height: 76px;
    padding: 18px 20px;
    font-size: var(--font-size-16);
  }

  .page-p20 .p40-search-manual {
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
  }

  .page-p20 .p40-search-manual__note {
    font-size: 13px;
    line-height: 1.6;
  }

  .page-p20 .p20-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "head"
      "details"
      "price"
      "actions";
    gap: 14px;
    padding: 12px 10px;
    border-radius: 0;
  }

  .page-p20 .p20-card__media {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .page-p20 .p20-card__image .contain {
    min-height: 220px;
  }

  .page-p20 .p20-card__title {
    font-size: clamp(18px, 4.8vw, 21px);
  }

  .page-p20 .p20-price__zones {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-p20 .p20-zone {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
    align-items: end;
  }

  .page-p20 .p20-zone__label {
    margin: 0;
  }

  .page-p20 .p20-price-num {
    font-size: clamp(21px, 5.4vw, 24px);
  }

  .page-p20 .p20-price-unit {
    font-size: 14px;
  }

  .page-p20 .p20-card__actions .c-button {
    width: 100%;
    min-width: 0;
  }

  .page-p20 .p20-card__actions .kaitori-cart-btn-wrap {
    width: 100%;
  }

.page-p20 .p20-price,
.page-p20 .p20-empty-price,
.page-p20 .p20-spec {
  padding-left: 12px;
  padding-right: 12px;
}
}

.page-p20 .p20-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 36px;
  z-index: 79;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(47, 95, 143, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #244a6d;
  box-shadow: 0 10px 24px rgba(32, 58, 82, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.page-p20 .p20-back-to-top:hover {
  border-color: rgba(47, 95, 143, 0.34);
  background: #ffffff;
}

.page-p20 .p20-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-p20 .p20-back-to-top__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 0;
  line-height: 0;
}

.page-p20 .p20-back-to-top__icon::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(1px) rotate(-45deg);
  transform-origin: center;
}

.page-p20 .p20-back-to-top__label {
  font-size: var(--font-size-12);
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 767px) {
  .page-p20 .p20-back-to-top {
    right: 12px;
    bottom: 20px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .page-p20 .p20-back-to-top__label {
    display: none;
  }

  .page-p20 .p20-back-to-top__icon {
    width: 16px;
    height: 16px;
  }
}
