@charset "utf-8";

#stamp {
    --stamp-red: #e8503a;
    --color-stone-50: oklch(98.5% 0.001 106.423);
    --color-stone-100: oklch(97% 0.001 106.424);
    --color-stone-200: oklch(92.3% 0.003 48.717);
    --color-stone-300: oklch(86.9% 0.005 56.366);
    --color-stone-400: oklch(70.9% 0.01 56.259);
    --color-stone-500: oklch(55.3% 0.013 58.071);
    --color-stone-600: oklch(44.4% 0.011 73.639);
    --color-stone-700: oklch(37.4% 0.01 67.558);
    --color-stone-800: oklch(26.8% 0.007 34.298);
    --color-stone-900: oklch(21.6% 0.006 56.043);
    --color-stone-950: oklch(14.7% 0.004 49.25);
    --color-yellow-50: oklch(98.7% 0.026 102.212);
    --color-yellow-100: oklch(97.3% 0.071 103.193);
    --color-yellow-200: oklch(94.5% 0.129 101.54);
    --color-yellow-300: oklch(90.5% 0.182 98.111);
    --color-yellow-400: oklch(85.2% 0.199 91.936);
    --color-yellow-500: oklch(79.5% 0.184 86.047);
    --color-yellow-600: oklch(68.1% 0.162 75.834);
    --color-yellow-700: oklch(55.4% 0.135 66.442);
    --color-yellow-800: oklch(47.6% 0.114 61.907);
    --color-yellow-900: oklch(42.1% 0.095 57.708);
    --color-yellow-950: oklch(28.6% 0.066 53.813);
    --ticket-text: var(--color-stone-800);
    --ticket-sub: var(--color-stone-600);
    --ticket-muted: var(--color-stone-500);
    --ticket-line: var(--color-stone-200);
    --ticket-soft: var(--color-stone-50);
    --ticket-paper: #ffffff;
    --ticket-cyan-soft: #f1efff;
    --ticket-magenta-soft: #ecfbf7;
    --ticket-yellow-image: #fff8d8;
    --ticket-section-cyan: #f8f6ff;
    --ticket-section-magenta: #f3fffb;
    --ticket-section-yellow: #fffbed;
    --ticket-yellow: var(--color-stone-700);
    --ticket-yellow-soft: var(--color-stone-100);
    --ticket-link: var(--color-stone-700);
    --ticket-cta: var(--primary);
    --primary: var(--color-stone-800);
    --primary-dark: var(--color-stone-900);
    --primary-text: var(--color-stone-50);
}
#stamp article {
    width: 100%;
    background: var(--ticket-paper);
    color: var(--ticket-text);
    font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
    font-feature-settings: "palt";
    text-align: left;
}
#stamp #main,
#stamp #contents {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}
#stamp #breadcrumb {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
    box-sizing: border-box;
}
#stamp article p,
#stamp article li,
#stamp article dd {
    color: var(--ticket-sub);
    font-size: 16px;
    line-height: 32px;
}
#stamp article a {
    color: white;
}
#stamp article h1,
#stamp article h2,
#stamp article h3,
#stamp article h4,
#stamp article strong,
#stamp article summary,
#stamp article a {
    line-break: strict;
}
#stamp-local-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid var(--ticket-line);
    border-bottom: 1px solid var(--ticket-line);
    background: rgba(255, 255, 255, .96);
}
#stamp-local-nav ul {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
}
#stamp-local-nav li {
    flex: 0 0 auto;
}
#stamp-local-nav a {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--ticket-line);
    border-radius: 20px;
    background: #fff;
    color: var(--ticket-link);
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}
/* いま見ている項目は、背景を、薄いグレーにする（JS が、is-current を付ける）
   ページを開いた直後（どの項目にも印がないとき）は、いちばん左の項目を、薄いグレーにする */
#stamp-local-nav a.is-current,
#stamp-local-nav:not(:has(.is-current)) li:first-child a {
    background: var(--color-stone-200);
}

#stamp article > section,
#stamp article > div:not(#sp-sticky-cta) {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 88px max(24px, calc((100% - 1200px) / 2 + 24px));
    box-sizing: border-box;
}
#stamp article section h3 {
    margin: 0;
    color: var(--ticket-text);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: bold;
    line-height: 1.3;
    text-align: left;
}
.section-heading {
    max-width: 900px;
    margin-bottom: 48px;
}
.section-heading.compact {
    margin-bottom: 24px;
}
.section-heading .eyebrow,
#product-title .eyebrow {
    margin-bottom: 12px;
    color: var(--ticket-muted);
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
}
.section-heading p {
    margin-top: 16px;
}
#stamp article > #product-title {
    padding-top: 20px;
    padding-bottom: 40px;
    background: var(--ticket-soft);
}
#product-title .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 40px;
    border-radius: 40px;
    background: #fff;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
    gap: 36px;
    align-items: center;
}
#product-title h1 {
    margin: 0;
    color: var(--ticket-text);
    font-size: clamp(32px, 3.5vw, 38px);
    font-weight: bold;
    line-height: 1.24;
}
#product-title h2 {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--ticket-sub);
    font-size: 16px;
    font-weight: normal;
    line-height: 30px;
}
.hero-price {
    margin-top: 14px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.hero-price span {
    color: var(--ticket-sub);
    font-size: 16px;
    line-height: 28px;
}
.hero-price strong {
    color: var(--ticket-text);
    font-size: 32px;
    line-height: 40px;
}
.hero-points {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#stamp article .hero-points li {
    padding: 4px 10px;
    border: 1px solid var(--ticket-line);
    border-radius: 4px;
    background: #fff;
    color: var(--ticket-sub);
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
}
#stamp article .hero-points li::before {
    content: "#";
    margin-right: 2px;
    color: var(--ticket-muted);
}
.hero-actions,
.final-actions,
.section-action {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-actions a,
.final-actions a,
.section-action a {
    min-height: 52px;
    padding: 0 28px;
    border-radius: 28px;
    background: var(--ticket-cta);
    color: var(--primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    text-decoration: none;
}
#stamp article .hero-actions a,
#stamp article .hero-actions a:visited,
#stamp article .final-actions a,
#stamp article .final-actions a:visited,
#stamp article .section-action a,
#stamp article .section-action a:visited,
#stamp article .btn,
#stamp article .btn:visited,
#stamp article #sp-sticky-cta a,
#stamp article #sp-sticky-cta a:visited {
    color: var(--primary-text);
}
.hero-note {
    margin-top: 10px;
    font-size: 16px;
    line-height: 24px;
}
.title-stamp-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 520 / 420;
    display: block;
    object-fit: cover;
    border-radius: 40px;
    position: relative;
    z-index: 1;
}
.section-action {
    align-items: center;
}
.section-action p {
    margin: 0;
    color: var(--ticket-muted);
    font-size: 14px;
    line-height: 24px;
}

/* ---------------------------------------------------
 箔の輝き（features）
--------------------------------------------------- */
#stamp article #features {
    background: var(--ticket-section-cyan);
}
#stamp article .reason-block {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
#stamp article .reason-block + .reason-block {
    margin-top: 64px;
}
#stamp article .reason-block.reverse .reason-media {
    order: 2;
}
#stamp article .reason-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    background: #fff;
    object-fit: cover;
}
#stamp article .reason-block h4,
#stamp article .flow-list h4,
#stamp article .faq-list summary {
    margin-bottom: 12px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
}

/* ---------------------------------------------------
 取扱カラー（color）
--------------------------------------------------- */
#stamp article #color {
    background: #fff;
}
#stamp article .color-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px 40px;
}
#stamp article .color-grid li {
    margin: 0;
    padding: 0;
}
#stamp article .color-img {
    width: 100%;
    height: auto;
    aspect-ratio: 305 / 102;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
#stamp article .color-grid p {
    margin-top: 10px;
    color: var(--ticket-text);
    font-size: 15px;
    line-height: 22px;
    text-align: center;
}
#stamp article .section-note {
    margin-top: 24px;
    color: var(--ticket-muted);
    font-size: 14px;
    line-height: 24px;
}

/* ---------------------------------------------------
 対応用紙（paper）
--------------------------------------------------- */
#stamp article #paper {
    background: var(--ticket-soft);
}
#stamp article .paper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
#stamp article .paper-card {
    padding: 28px;
    border: 1px solid var(--ticket-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
#stamp article .paper-viewer {
    margin-bottom: 20px;
    border-radius: 16px;
    background: #f0f0ee;
    overflow: hidden;
    position: relative;
}
#stamp article .paper-viewer img {
    width: 100%;
    height: auto;
    aspect-ratio: 928 / 619;
    display: block;
    object-fit: cover;
}
#stamp article .paper-viewer img.is-hidden {
    display: none;
}
#stamp article .paper-arrow {
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    color: var(--ticket-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
#stamp article .paper-arrow:hover {
    background: #fff;
}
#stamp article .paper-arrow.prev {
    left: 8px;
}
#stamp article .paper-arrow.next {
    right: 8px;
}
#stamp article .paper-dots {
    margin: 0 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#stamp article .paper-dots li {
    margin: 0;
    padding: 0;
    line-height: 0;
}
#stamp article .paper-dot {
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
    cursor: pointer;
}
#stamp article .paper-dot:hover {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 2px #fff, 0 0 0 3px #aaa;
}
#stamp article .paper-dot.is-current {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 2px #fff, 0 0 0 4px var(--ticket-text);
}
#stamp article .paper-dots li:nth-child(1) .paper-dot {
    background-image: url("/assets/images/product/businesscard/stamp/stamp_color-1.jpg");
}
#stamp article .paper-dots li:nth-child(2) .paper-dot {
    background-image: url("/assets/images/product/businesscard/stamp/stamp_color-2.jpg");
}
#stamp article .paper-dots li:nth-child(3) .paper-dot {
    background-image: url("/assets/images/product/businesscard/stamp/stamp_color-3.jpg");
}
#stamp article .paper-dots li:nth-child(4) .paper-dot {
    background-image: url("/assets/images/product/businesscard/stamp/stamp_color-4.jpg");
}
#stamp article .paper-dots li:nth-child(5) .paper-dot {
    background-image: url("/assets/images/product/businesscard/stamp/stamp_color-5.jpg");
}
#stamp article .paper-dots li:nth-child(6) .paper-dot {
    background-image: url("/assets/images/product/businesscard/stamp/stamp_color-6.jpg");
}
#stamp article .paper-dots li:nth-child(7) .paper-dot {
    background-image: url("/assets/images/product/businesscard/stamp/stamp_color-7.jpg");
}
#stamp article .paper-dots li:nth-child(8) .paper-dot {
    background-image: url("/assets/images/product/businesscard/stamp/stamp_color-8.jpg");
}
#stamp article .paper-dots li:nth-child(9) .paper-dot {
    background-image: url("/assets/images/product/businesscard/stamp/stamp_color-9.jpg");
}
#stamp article .paper-card h4 {
    margin-bottom: 14px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 22px;
    line-height: 30px;
}
#stamp article .paper-tags {
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#stamp article .paper-tags li {
    padding: 2px 12px;
    border: 1px solid var(--ticket-line);
    border-radius: 999px;
    color: var(--ticket-sub);
    font-size: 13px;
    line-height: 22px;
}
#stamp article .paper-tags:has(+ .paper-note) {
    margin-bottom: 12px;
}
#stamp article .paper-card .paper-note {
    margin-bottom: 8px;
    color: var(--ticket-muted);
    font-size: 13px;
    line-height: 20px;
}
#stamp article .btn {
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    border-radius: 24px;
    background: var(--ticket-cta);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    text-decoration: none;
}
#stamp article .paper-card .btn {
    margin-top: 12px;
}
#stamp article .paper-card .paper-note + .btn,
#stamp article .paper-card .paper-tags + .btn {
    margin-top: auto;
}
#stamp article .paper-card > :nth-last-child(2) {
    margin-bottom: 28px;
    color: var(--stamp-red);
}
#stamp article .paper-notice {
    margin-top: 32px;
    padding: 20px 24px;
    border-radius: 16px;
    background: #fff;
}
#stamp article .paper-notice h4 {
    margin-bottom: 4px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
}
#stamp article .paper-notice p {
    font-size: 14px;
    line-height: 24px;
}

/* ---------------------------------------------------
 データ作成方法（creation-method）
--------------------------------------------------- */
#stamp article #creation-method {
    background: #eef7fd;
}
#stamp article .choice-list {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#stamp article .choice-list > li {
    padding: 0 40px;
    text-align: center;
}
#stamp article .choice-list > li + li {
    border-left: 1px solid #cfe0ec;
}
#stamp article .choice-pill {
    min-width: 260px;
    min-height: 56px;
    margin: 0 auto;
    padding: 0 32px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    box-sizing: border-box;
    color: var(--ticket-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
}
/* スマホ幅で、「PNG / JPEG / PDFで作成」が、最後の1文字だけ次の行に落ちないように、左右の余白をせまくする */
@media screen and (max-width: 480px) {
    #stamp article .choice-pill {
        padding: 0 16px;
    }
}
#stamp article .choice-arrow {
    width: 12px;
    height: 12px;
    margin: 14px auto 14px;
    border-right: 2px solid var(--color-stone-400);
    border-bottom: 2px solid var(--color-stone-400);
    transform: rotate(45deg);
}
#stamp article .choice-list h4 {
    margin-bottom: 8px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 22px;
    line-height: 32px;
}
#stamp article .choice-list p {
    font-size: 15px;
    line-height: 26px;
}
#stamp article .choice-link {
    width: fit-content;
    margin: 8px auto 0;
    color: var(--ticket-text);
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 24px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
#stamp article .choice-btn,
#stamp article .choice-btn:visited {
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    margin: 14px auto 0;
    padding: 0 24px;
    border-radius: 24px;
    background: var(--ticket-cta);
    box-sizing: border-box;
    color: var(--primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
}
#stamp article .data-ok {
    padding: 32px 40px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: center;
}
#stamp article .data-ok .eyebrow {
    margin-bottom: 4px;
    color: var(--ticket-muted);
    font-weight: bold;
    font-size: 13px;
    line-height: 20px;
}
#stamp article .data-ok h4 {
    margin-bottom: 8px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
}
#stamp article .data-ok .format-label {
    margin-bottom: 8px;
    color: var(--ticket-muted);
    font-size: 13px;
    line-height: 20px;
}
#stamp article .data-ok .format-group + .format-label,
#stamp article .data-ok .format-group + .format-group,
#stamp article .data-ok .format-group {
    margin-bottom: 16px;
}
#stamp article .data-ok .format-group:last-child {
    margin-bottom: 0;
}
#stamp article .format-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#stamp article .format-chips li {
    min-width: 96px;
    padding: 8px 16px;
    border-radius: 12px;
    background: #eef7fd;
    color: var(--ticket-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
}
#stamp article .format-chips li::before {
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid #5a9bd3;
    border-radius: 50%;
    box-sizing: border-box;
}

/* ---------------------------------------------------
 データ作成時のポイント（points）
--------------------------------------------------- */
#stamp article #points {
    background: var(--ticket-soft);
}
#stamp article .point-list {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
#stamp article .point-list li {
    margin: 0;
    padding: 20px 16px;
    border: 1px solid var(--ticket-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    text-align: center;
}
#stamp article .point-label {
    color: var(--ticket-muted);
    font-size: 13px;
    line-height: 20px;
}
#stamp article .point-value {
    margin: 4px 0;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 30px;
    line-height: 40px;
}
#stamp article .point-sub {
    color: var(--ticket-muted);
    font-size: 13px;
    line-height: 20px;
}
#stamp article .point-notice {
    margin-bottom: 24px;
}
#stamp article .point-notice p {
    color: var(--stamp-red);
    font-size: 14px;
    line-height: 24px;
}
#stamp article .faq-list details > .acc-body {
    margin: 0 40px 40px;
    padding: 32px 0 0;
    border-top: 1px dashed #cfcfcf;
}
#stamp article .acc-body h5 {
    margin: 0 0 16px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 28px;
    line-height: 40px;
}
#stamp article .faq-list .acc-body > p {
    max-width: none;
    padding: 0;
    color: var(--ticket-text);
    font-size: 15px;
    line-height: 30px;
}
#stamp article .acc-body .red {
    color: var(--stamp-red);
}
#stamp article .acc-body .acc-lead {
    margin-bottom: 32px;
}
/* 比べる図（うまくいかない例・対応できる例・仕上がり） */
#stamp article .cmp-wrap {
    margin-bottom: 40px;
    display: flex;
    gap: 24px;
    align-items: stretch;
}
#stamp article .cmp-box {
    padding: 28px;
    border-radius: 28px;
    box-sizing: border-box;
    flex: 1 1 0;
}
#stamp article .cmp-box.ng {
    background: #fff3f0;
    flex-grow: 2;
}
#stamp article .cmp-box.ok {
    background: #eef6ff;
}
#stamp article .cmp-box.layer {
    background: #edf6ff;
    flex-grow: 2;
}
#stamp article .cmp-box .cmp-title {
    min-height: 60px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}
#stamp article .cmp-box.ng .cmp-title {
    color: var(--stamp-red);
}
#stamp article .cmp-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
}
#stamp article .cmp-box.ok .cmp-title {
    color: #1f56b5;
}
#stamp article .cmp-box.layer .cmp-title {
    color: var(--ticket-text);
}
#stamp article .cmp-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
#stamp article .cmp-box.ok .cmp-cols {
    grid-template-columns: 1fr;
}
#stamp article .cmp-fig {
    margin: 0;
}
#stamp article .cmp-name {
    margin-bottom: 8px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 17px;
    line-height: 26px;
    text-align: center;
}
/* 「箔用」「印刷用」「仕上がり」は、見出しが1行でも2行でも、図の高さがそろうように、見出しの高さを同じにする */
#stamp article .cmp-box.layer .cmp-name,
#stamp article .cmp-result .cmp-name {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#stamp article .cmp-note {
    margin-top: 12px;
    padding: 0 16px;
    color: var(--ticket-text);
    font-size: 15px;
    line-height: 28px;
}
#stamp article .cmp-arrow {
    width: 0;
    height: 0;
    margin-top: 232px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #cfcfcf;
    flex: none;
}
#stamp article .cmp-result {
    margin: 0;
    padding-top: 100px;
    flex: 1 1 0;
}
/* 図の仮の枠（画像が届いたら <img> に差し替える） */
#stamp article .cmp-img {
    width: 100%;
    height: auto;
    aspect-ratio: 336 / 173;
    display: block;
    object-fit: cover;
}
#stamp article .ph-card {
    width: 100%;
    aspect-ratio: 336 / 173;
    background: #7a7a7a;
    position: relative;
}
#stamp article .ph-card::after {
    content: "";
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .25);
    position: absolute;
    top: 19%;
    left: 15.5%;
    width: 69%;
    height: 60%;
}
#stamp article .acc-body .acc-after {
    margin: 0 0 32px;
}
#stamp article .checklist {
    max-width: 100%;
    padding: 36px 40px 40px;
    border: 1px solid #8a8a8a;
    border-radius: 24px;
    background: #fff;
}
#stamp article .checklist h5 {
    margin: 0 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #8a8a8a;
    font-size: 24px;
    text-align: center;
}
#stamp article .checklist ul {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}
#stamp article .checklist li {
    margin: 0 0 12px;
    padding-left: 34px;
    color: var(--ticket-text);
    font-size: 16px;
    line-height: 28px;
    position: relative;
}
#stamp article .checklist li:last-child {
    margin-bottom: 0;
}
#stamp article .checklist li::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 3px;
    box-sizing: border-box;
    position: absolute;
    top: 5px;
    left: 0;
}
#stamp article .checklist li::after {
    content: "";
    width: 10px;
    height: 5px;
    border-left: 2.5px solid #555;
    border-bottom: 2.5px solid #555;
    position: absolute;
    top: 8px;
    left: 4px;
    transform: rotate(-45deg);
}

/* ---------------------------------------------------
 注文方法（order-flow）
--------------------------------------------------- */
#stamp article #order-flow {
    background: #fff;
}
#stamp article .flow-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
}
#stamp article .flow-list li {
    margin: 0;
    padding: 32px;
    border: 1px solid var(--ticket-line);
    border-radius: 28px;
    background: var(--ticket-soft);
    box-sizing: border-box;
    position: relative;
}
#stamp article .flow-list span {
    margin-bottom: 4px;
    color: var(--color-stone-700);
    display: block;
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
}
#stamp article .flow-list h4 {
    margin-bottom: 8px;
}
#stamp article .flow-list p {
    margin: 0;
}
#stamp article .flow-list p.flow-notice {
    margin-top: 8px;
    color: var(--stamp-red);
    font-size: 14px;
    line-height: 24px;
}
#stamp article .flow-list li:not(:last-child)::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: -44px;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: var(--ticket-soft);
    color: var(--color-stone-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    font-family: Arial, sans-serif;
    transform: translateY(-50%);
    box-sizing: border-box;
    padding-bottom: 2px;
}

/* ---------------------------------------------------
 仕様（spec）
--------------------------------------------------- */
#stamp article #spec {
    background: var(--ticket-soft);
}
#stamp article #spec ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
#stamp article #spec li {
    margin: 0;
    padding: 28px;
    border: 1px solid var(--ticket-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    box-sizing: border-box;
}
#stamp article #spec h4 {
    margin-bottom: 16px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}
#stamp article .spec-icon {
    width: 20px;
    height: 20px;
    color: var(--color-stone-500);
    fill: currentColor;
    flex: 0 0 20px;
}
#stamp article #spec p {
    color: var(--ticket-text);
    font-size: 28px;
    line-height: 32px;
}
/* 見出しの上の小さな文字（「仕様」）は、ほかのセクションと同じ大きさにする */
#stamp article #spec .section-heading p {
    color: var(--ticket-sub);
    font-size: 16px;
    line-height: 32px;
}
#stamp article #spec .spec-unit {
    font-size: 20px;
}
#stamp article #spec p.spec-small {
    margin-top: 8px;
    color: var(--ticket-sub);
    font-size: 16px;
    line-height: 24px;
}
#stamp article #spec p.spec-sizes {
    font-size: 16px;
    line-height: 30px;
}
#stamp article #spec li a {
    margin-top: 12px;
    color: var(--ticket-link);
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

/* ---------------------------------------------------
 よくあるご質問（faq）・アコーディオン共通
--------------------------------------------------- */
#stamp article #faq {
    background: #fff;
}
#stamp article .faq-list {
    max-width: none;
    display: grid;
    gap: 12px;
    border-top: 0;
}
#stamp article .faq-list details {
    padding: 0;
    border: 1px solid var(--ticket-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    overflow: hidden;
}
#stamp article .faq-list summary {
    margin: 0;
    padding: 24px 28px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
#stamp article .faq-list summary::-webkit-details-marker {
    display: none;
}
#stamp article .faq-list summary::after {
    content: "+";
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: var(--ticket-yellow-soft);
    color: var(--ticket-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    font-size: 20px;
    line-height: 24px;
}
#stamp article .faq-list details[open] summary::after {
    content: "-";
}
#stamp article .faq-list details > p {
    max-width: 760px;
    padding: 0 56px 28px 28px;
}
#stamp article .faq-list details > p a {
    color: var(--ticket-text);
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
}
#stamp article #points .faq-list summary {
    padding: 28px 40px;
    font-size: 24px;
}
#stamp article #points .faq-list details {
    border-radius: 32px;
}
/* 「注意点」の2つの開閉部分：押せることが分かるように、色・中身の要点・「詳しく見る」ボタンをつける */
#stamp article #points .faq-list details {
    border: 2px solid #e9dba0;
    background: #fff;
}
#stamp article #points .faq-list summary {
    transition: background .2s;
}
#stamp article #points .faq-list summary:hover {
    background: #fffbed;
}
#stamp article #points .faq-list summary::after {
    display: none;
}
#stamp article #points .acc-head {
    min-width: 0;
    display: grid;
    gap: 4px;
    flex: 1;
}
#stamp article #points .acc-hint {
    color: var(--ticket-sub);
    display: block;
    font-size: 15px;
    font-weight: normal;
    line-height: 24px;
}
#stamp article #points .acc-toggle {
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--ticket-text);
    color: #fff;
    display: inline-flex;
    align-items: center;
    flex: none;
    gap: 8px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}
#stamp article #points .acc-toggle::before {
    content: "詳しく見る";
}
#stamp article #points .acc-toggle::after {
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg);
    transition: transform .2s;
}
#stamp article #points .faq-list details[open] .acc-toggle::before {
    content: "閉じる";
}
#stamp article #points .faq-list details[open] .acc-toggle::after {
    margin-top: 4px;
    transform: rotate(-135deg);
}
@media screen and (max-width: 600px) {
    #stamp article #points .faq-list summary {
        flex-wrap: wrap;
    }
    #stamp article #points .acc-head {
        flex-basis: 100%;
    }
    #stamp article #points .acc-toggle {
        margin-left: auto;
    }
}

/* ---------------------------------------------------
 お見積り（final-cta）・スマホ固定ボタン
--------------------------------------------------- */
#stamp article #final-cta {
    background: var(--ticket-soft);
    text-align: center;
}
#stamp article #final-cta > div {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 48px;
    border: 0;
    border-radius: 40px;
    background: var(--ticket-yellow-soft);
}
#stamp article #final-cta h3 {
    text-align: center;
}
#stamp article #final-cta p {
    margin-top: 16px;
}
#stamp article #final-cta .estimate-note {
    margin-top: 8px;
    color: var(--ticket-muted);
    font-size: 16px;
    line-height: 28px;
}
#stamp article #final-cta .estimate-note a {
    color: var(--ticket-link);
    text-decoration: underline;
    text-underline-offset: 4px;
}
#stamp article #final-cta .final-actions {
    justify-content: center;
}
#stamp article #final-cta .final-actions a {
    min-width: 220px;
}
#stamp article #sp-sticky-cta {
    display: none;
}

/* ---------------------------------------------------
 responsive
--------------------------------------------------- */
@media screen and (max-width: 1000px) {
    #stamp article .paper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #stamp article .point-list {
        grid-template-columns: repeat(2, 1fr);
    }
    #stamp article .color-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 768px) {
    #stamp article > section,
#stamp article > div:not(#sp-sticky-cta) {
        padding: 56px 20px;
    }
    #stamp article section h3 {
        font-size: 30px;
        line-height: 40px;
    }
    #stamp article #product-title .inner,
#stamp article .reason-block,
#stamp article .data-ok {
        grid-template-columns: 1fr;
    }
    #stamp article #product-title h1 {
        font-size: 34px;
        line-height: 44px;
    }
    #stamp article #product-title .inner {
        padding: 32px 24px;
        border-radius: 28px;
    }
    #stamp article .title-stamp-img {
        border-radius: 28px;
    }
    #stamp article .hero-price {
        font-size: 16px;
        line-height: 24px;
    }
    #stamp article .reason-block {
        gap: 24px;
    }
    #stamp article .reason-block.reverse .reason-media {
        order: 0;
    }
    #stamp article .paper-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    #stamp article .paper-card {
        padding: 24px 20px;
    }
    #stamp article .choice-list {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    #stamp article .choice-list > li {
        padding: 0;
    }
    #stamp article .choice-list > li + li {
        padding-top: 40px;
        border-top: 1px solid #cfe0ec;
        border-left: 0;
    }
    #stamp article .data-ok {
        padding: 28px 24px;
    }
    #stamp article .cmp-wrap {
        flex-direction: column;
    }
    #stamp article .cmp-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    #stamp article .cmp-result {
        padding-top: 0;
    }
    #stamp article .cmp-box.layer .cmp-name,
    #stamp article .cmp-result .cmp-name {
        min-height: 0;
    }
    #stamp article .cmp-box .cmp-title {
        min-height: 0;
        margin-bottom: 16px;
    }
    #stamp article .cmp-arrow {
        margin: 0 auto;
        border-top: 16px solid #cfcfcf;
        border-right: 10px solid transparent;
        border-bottom: 0;
        border-left: 10px solid transparent;
    }
    #stamp article .cmp-box {
        padding: 20px;
    }
    #stamp article .acc-body h5 {
        font-size: 22px;
        line-height: 32px;
    }
    #stamp article .faq-list details > .acc-body {
        margin: 0 20px 24px;
        padding-top: 24px;
    }
    #stamp article #points .faq-list summary {
        padding: 20px;
        font-size: 18px;
    }
    #stamp article .checklist {
        padding: 24px 20px;
        border-radius: 28px;
    }
    #stamp article .checklist h5 {
        font-size: 22px;
    }
    #stamp article .faq-list summary {
        padding: 20px;
    }
    #stamp article .flow-list {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    #stamp article .flow-list li:not(:last-child)::after {
        content: "⌄";
        top: auto;
        right: auto;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        padding-bottom: 0;
    }
    #stamp article #spec ul {
        grid-template-columns: 1fr;
    }
    #stamp article #final-cta > div {
        padding: 32px 24px;
        border-radius: 28px;
    }
    #stamp article #sp-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        padding: 12px 16px;
        background: #fafaf9;
        border-top: 1px solid var(--ticket-line);
        display: block;
    }
    #stamp article #sp-sticky-cta a {
        min-height: 48px;
        border-radius: 24px;
        background: var(--ticket-cta);
        color: var(--primary-text);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: normal;
        line-height: 24px;
        text-decoration: none;
    }
}
@media screen and (max-width: 480px) {
    #stamp article .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #stamp article .point-list {
        grid-template-columns: 1fr 1fr;
    }
    #stamp article .point-value {
        font-size: 24px;
        line-height: 32px;
    }
}

/* 「注意点」のリンクで開くアコーディオンが、上に付いてくるメニューに隠れないようにする */
#stamp article #points-illustrator,
#stamp article #points-image {
    scroll-margin-top: 90px;
}
