@charset "utf-8";
/*===================================================

 年賀状印刷（/newyear-card）

 紙うちわ印刷（/hand-fan）と同じUI。hand-fan.css をもとに、セレクターを #newyear-card に変えて作成している
 （紙うちわの hand-fan.css とは独立していて、お互いに影響しない）。
 末尾の「年賀状ページ用の追加」は、年賀状の内容（デザイン一覧、宛名印刷、お支払いなど）のための追加。

===================================================*/
#newyear-card {
    --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);
}
#newyear-card article {
    /* layout.css が、幅1136px以下で、body を中央揃え（text-align: center）にするため、この記事の中は、左揃えに戻す */
    text-align: left;
    width: 100%;
    background: var(--ticket-paper);
    color: var(--ticket-text);
    font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
    font-feature-settings: "palt";
}
#newyear-card #main,
#newyear-card #contents {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}
#newyear-card #breadcrumb {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
    box-sizing: border-box;
}
#newyear-card article p,
#newyear-card article li,
#newyear-card article dd {
    color: var(--ticket-sub);
    font-size: 16px;
    line-height: 32px;
}
#newyear-card article a {
    color: var(--ticket-link);
}
#newyear-card article h1,
#newyear-card article h2,
#newyear-card article h3,
#newyear-card article h4,
#newyear-card article strong,
#newyear-card article summary,
#newyear-card article a {
    line-break: strict;
}
#newyear-card-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);
}
#newyear-card-local-nav ul {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
}
#newyear-card-local-nav li {
    flex: 0 0 auto;
}
#newyear-card-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;
}
/* ページ内メニュー：いま見ている項目は、背景を、薄いグレーにする（newyear-card.js が、is-current を付ける）
   ページを開いた直後（どの項目にも印がないとき）は、いちばん左の「年賀状印刷」を、薄いグレーにする */
#newyear-card-local-nav a.is-current,
#newyear-card-local-nav:not(:has(.is-current)) li:first-child a {
    background: var(--color-stone-200);
}
#newyear-card article > section,
#newyear-card 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;
}
#newyear-card 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;
}
#newyear-card .section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}
#newyear-card .section-heading.compact {
    margin-bottom: 24px;
}
#newyear-card .section-heading .eyebrow,
#newyear-card #product-title .eyebrow {
    margin-bottom: 12px;
    color: var(--ticket-muted);
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
}
#newyear-card .section-heading p {
    margin-top: 16px;
}
#newyear-card article > #product-title {
    padding-top: 20px;
    padding-bottom: 40px;
    background: var(--ticket-soft);
}
#newyear-card #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;
}
#newyear-card #product-title h1 {
    margin: 0;
    color: var(--ticket-text);
    font-size: clamp(32px, 3.5vw, 38px);
    font-weight: bold;
    line-height: 1.24;
}
#newyear-card #product-title h2 {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--ticket-sub);
    font-size: 16px;
    font-weight: normal;
    line-height: 30px;
}
#newyear-card .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;
}
#newyear-card .hero-price span {
    color: var(--ticket-sub);
    font-size: 16px;
    line-height: 28px;
}
#newyear-card .hero-price strong {
    color: var(--ticket-text);
    font-size: 32px;
    line-height: 40px;
}
#newyear-card .hero-points {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#newyear-card 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;
}
#newyear-card article .hero-points li::before {
    content: "#";
    margin-right: 2px;
    color: var(--ticket-muted);
}
#newyear-card .hero-actions,
#newyear-card .final-actions,
#newyear-card .section-action {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
#newyear-card .hero-actions a,
#newyear-card .final-actions a,
#newyear-card .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;
}
#newyear-card article .hero-actions a,
#newyear-card article .hero-actions a:visited,
#newyear-card article .final-actions a,
#newyear-card article .final-actions a:visited,
#newyear-card article .section-action a,
#newyear-card article .section-action a:visited,
#newyear-card article #lineup .btn,
#newyear-card article #lineup .btn:visited,
#newyear-card article #sp-sticky-cta a,
#newyear-card article #sp-sticky-cta a:visited {
    color: var(--primary-text);
}
#newyear-card .hero-note {
    margin-top: 10px;
    font-size: 16px;
    line-height: 24px;
}
#newyear-card .hero-media {
    position: relative;
    min-height: 320px;
    padding: 8px 24px 0;
    border-radius: 40px;
    background: var(--ticket-cyan-soft);
    overflow: visible;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
#newyear-card .title-newyear-card-img {
    width: 112%;
    max-width: 740px;
    height: auto;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transform: translate(36px, -34px) scale(1.22);
    transform-origin: center;
}
#newyear-card .section-action {
    align-items: center;
}
#newyear-card .section-action p {
    margin: 0;
    color: var(--ticket-muted);
    font-size: 14px;
    line-height: 24px;
}
#newyear-card .benefit-list,
#newyear-card .usecase-list,
#newyear-card .flow-list,
#newyear-card .quality-list,
#newyear-card .support-list,
#newyear-card .review-list,
#newyear-card .size-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
#newyear-card .benefit-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
#newyear-card .benefit-list li {
    padding: 24px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    color: var(--ticket-text);
    font-weight: bold;
}
#newyear-card .benefit-list span,
#newyear-card .flow-list span,
#newyear-card .data-ok span {
    margin-bottom: 4px;
    color: var(--color-stone-700);
    display: block;
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
}
#newyear-card .benefit-list span {
    font-size: 18px;
}
#newyear-card #lineup .product-card {
    min-height: 100%;
    padding: 24px;
    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;
    text-decoration: none;
}
#newyear-card .product-newyear-card-img,
#newyear-card .quality-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    margin-bottom: 24px;
    object-fit: contain;
}
#newyear-card .product-newyear-card-img {
    border-radius: 20px;
    background: var(--ticket-cyan-soft);
}
#newyear-card .usecase-list li:nth-child(2) .product-newyear-card-img {
    background: var(--ticket-magenta-soft);
}
#newyear-card .usecase-list li:nth-child(3) .product-newyear-card-img {
    background: var(--ticket-yellow-image);
}
#newyear-card .quality-img {
    border-radius: 16px;
    background: var(--ticket-cyan-soft);
}
#newyear-card .quality-list li:nth-child(2) .quality-img {
    background: var(--ticket-magenta-soft);
}
#newyear-card .quality-list li:nth-child(3) .quality-img {
    background: var(--ticket-yellow-image);
}
#newyear-card #lineup .category,
#newyear-card .review-use {
    margin-bottom: 8px;
    color: var(--ticket-muted);
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
}
#newyear-card #lineup strong {
    margin-bottom: 8px;
    color: var(--ticket-text);
    font-size: 20px;
    font-weight: bold;
    line-height: 28px;
}
#newyear-card #lineup .price {
    margin-bottom: 16px;
    color: var(--color-stone-700);
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
#newyear-card #lineup .price span {
    font-size: 16px;
}
#newyear-card #lineup .price span:first-child {
    color: var(--ticket-text);
}
#newyear-card #lineup .price strong {
    color: var(--color-stone-700);
    font-size: 32px;
    line-height: 40px;
}
#newyear-card #lineup .desc {
    min-height: 96px;
    margin-bottom: 24px;
}
#newyear-card #lineup .btn {
    width: calc(100% - 32px);
    min-height: 48px;
    margin: auto 16px 0;
    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;
}
#newyear-card .reason-block {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
#newyear-card .reason-block + .reason-block {
    margin-top: 64px;
}
#newyear-card .reason-block.reverse img {
    order: 2;
}
#newyear-card .reason-img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    background: var(--ticket-cyan-soft);
    object-fit: contain;
}
#newyear-card .reason-block.reverse .reason-img {
    background: var(--ticket-magenta-soft);
}
#newyear-card .reason-block h4,
#newyear-card .quality-list h4,
#newyear-card .support-list h4,
#newyear-card .flow-list h4,
#newyear-card .perforation-summary h4,
#newyear-card .faq-list summary {
    margin-bottom: 12px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
}
#newyear-card .sub-heading {
    max-width: 720px;
    margin: 80px 0 32px;
}
#newyear-card .sub-heading h3 {
    font-size: clamp(24px, 3vw, 32px);
}
#newyear-card .flow-list li {
    position: relative;
    padding: 32px;
    border: 0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    box-sizing: border-box;
}
#newyear-card .flow-list {
    gap: 56px;
}
#newyear-card .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;
}
#newyear-card .flow-list li:not(:last-child)::before {
    content: none;
}
#newyear-card .flow-list h4 {
    margin-bottom: 8px;
}
#newyear-card .flow-list p {
    margin: 0;
}
#newyear-card .flow-list .flow-link {
    margin-top: 12px;
}
#newyear-card .flow-list .flow-link a {
    text-decoration: underline;
    text-underline-offset: 4px;
}
#newyear-card .data-ok {
    margin-top: 32px;
    padding: 32px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 32px;
    align-items: center;
}
#newyear-card .data-ok h4 {
    margin-bottom: 12px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
}
#newyear-card .data-ok ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
#newyear-card .data-ok li {
    min-height: 72px;
    padding: 16px;
    border-radius: 20px;
    background: var(--ticket-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
#newyear-card .data-ok li:nth-child(1) {
    background: #eef7ff;
}
#newyear-card .data-ok li:nth-child(2) {
    background: #fff8d8;
}
#newyear-card .data-ok li:nth-child(3) {
    background: #fff1f2;
}
#newyear-card .data-ok li:nth-child(4) {
    background: #fff3e6;
}
#newyear-card .data-ok span {
    margin: 0;
    color: var(--ticket-text);
    font-size: 24px;
    line-height: 32px;
}
#newyear-card .template-link {
    margin-top: 16px;
}
#newyear-card .template-link a {
    text-decoration: underline;
    text-underline-offset: 4px;
}
#newyear-card #quick-benefits,
#newyear-card #order-flow,
#newyear-card #quality,
#newyear-card #faq {
    background: var(--ticket-soft);
}
#newyear-card #lineup {
    background: var(--ticket-section-cyan);
}
#newyear-card #size-guide {
    background: var(--ticket-section-magenta);
}
#newyear-card #reviews,
#newyear-card #schedule {
    background: var(--ticket-section-yellow);
}
#newyear-card .quality-list > li,
#newyear-card .support-list li,
#newyear-card .review-list li,
#newyear-card .size-list li,
#newyear-card .perforation-summary,
#newyear-card #spec li {
    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;
}
#newyear-card .size-list li {
    padding: 24px;
}
#newyear-card .size-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    margin-bottom: 24px;
    border-radius: 20px;
    background: var(--ticket-cyan-soft);
    object-fit: contain;
    padding: 16px 0;
}
#newyear-card .size-list li:nth-child(2) .size-img {
    background: var(--ticket-magenta-soft);
}
#newyear-card .size-list li:nth-child(3) .size-img {
    background: var(--ticket-yellow-image);
}
#newyear-card .size-list h4 {
    margin-bottom: 8px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
}
#newyear-card .size-value {
    margin-bottom: 8px;
    color: var(--color-stone-700);
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
}
#newyear-card .size-link {
    min-height: 44px;
    margin-top: 20px;
    padding: 0 20px;
    border-radius: 22px;
    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;
}
#newyear-card article .size-link,
#newyear-card article .size-link:visited {
    color: var(--primary-text);
}
#newyear-card .support-list {
    grid-template-columns: repeat(4, 1fr);
}
#newyear-card .support-list h4 {
    font-size: 20px;
    line-height: 28px;
}
#newyear-card #spec ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
#newyear-card #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;

}
#newyear-card .spec-icon {
    width: 20px;
    height: 20px;
    color: var(--color-stone-500);
    fill: currentColor;
    flex: 0 0 20px;
}
#newyear-card #spec p {
    color: var(--ticket-text);
    font-size: 24px;
    line-height: 32px;
}
#newyear-card #spec p + p {
    margin-top: 8px;
    color: var(--ticket-sub);
    font-size: 16px;
    line-height: 24px;
}
#newyear-card #spec .delivery-days {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
#newyear-card #spec .delivery-days span {
    font-size: 28px;
}
#newyear-card #spec .delivery-days em {
    font-style: normal;
    font-size: 20px;
    line-height: 28px;
}
#newyear-card #spec a {
    margin-top: 12px;
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}
#newyear-card .paper-list {
    display: grid;
    gap: 8px;
}
#newyear-card .paper-list dt {
    margin-top: 8px;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
}
#newyear-card .paper-list dt:first-child {
    margin-top: 0;
}
#newyear-card .paper-list dd {
    color: var(--ticket-sub);
    font-size: 16px;
    line-height: 24px;
}
#newyear-card .perforation-summary {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: center;
}
#newyear-card .perforation-newyear-card-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    background: var(--ticket-yellow-image);
    object-fit: contain;
}
#newyear-card .review-img {
    width: 160px;
    height: 120px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--ticket-cyan-soft);
    object-fit: contain;
}
#newyear-card .review-list li:nth-child(2) .review-img {
    background: var(--ticket-magenta-soft);
}
#newyear-card .review-list li:nth-child(3) .review-img {
    background: var(--ticket-yellow-image);
}
#newyear-card .faq-list {
    max-width: none;
    display: grid;
    gap: 12px;
    border-top: 0;
}
#newyear-card .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;
}
#newyear-card .faq-list summary {
    margin: 0;
    padding: 24px 28px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
#newyear-card .faq-list summary::-webkit-details-marker {
    display: none;
}
#newyear-card .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;
}
#newyear-card .faq-list details[open] summary::after {
    content: "-";
}
#newyear-card .faq-list p {
    max-width: 760px;
    padding: 0 56px 28px 28px;
}
#newyear-card #final-cta {
    text-align: center;
}
#newyear-card #final-cta > div {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 48px;
    border: 0;
    border-radius: 40px;
    background: var(--ticket-yellow-soft);
}
#newyear-card article #final-cta h3 {
    text-align: center;
}
#newyear-card #final-cta p {
    margin-top: 16px;
}
#newyear-card #final-cta .estimate-note {
    margin-top: 8px;
    color: var(--ticket-muted);
    font-size: 16px;
    line-height: 28px;
}
#newyear-card #final-cta .estimate-note a {
    color: var(--ticket-link);
    text-decoration: underline;
    text-underline-offset: 4px;
}
#newyear-card #final-cta .final-actions {
    justify-content: center;
}
#newyear-card #final-cta .final-actions a {
    min-width: 220px;
}
#newyear-card #sp-sticky-cta {
    display: none;
}
/*---------------------------------------------------
 年賀状ページ用の追加
---------------------------------------------------*/
/* ヒーロー：画像の枠の大きさ・高さは、紙うちわ（hand-fan.css）と同じ。背景は、薄いオレンジ。画像は、余白が少ないため、紙うちわ（1.22倍・ずらし）より弱い、1.05倍の拡大だけにする（強くすると、枠からはみ出す） */
#newyear-card .hero-media {
    background: #fdeee9;
}
#newyear-card .hero-media a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#newyear-card .title-newyear-card-img {
    transform: scale(1.05);
}
#newyear-card .hero-actions a {
    box-sizing: border-box;
}
#newyear-card .hero-soldout p {
    margin: 0;
    color: var(--ticket-text);
    font-weight: bold;
    font-size: 18px;
    line-height: 32px;
}
#newyear-card .hero-note {
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--ticket-soft);
    font-size: 14px;
    line-height: 24px;
}
/* デザイン一覧（全点を、横スクロールで見る。並びは、product.js の random で、毎回入れ替わる）
   HTMLの random="100" は、表示する点数の上限。画像が100点をこえたら、数字を増やす
   PCは、4点と、5点目の途中までを見せて、続きがあることを伝える */
#newyear-card .design-list {
    margin: 0;
    padding: 24px 24px 0;
    border-radius: 24px;
    background: var(--color-stone-100);
    list-style: none;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}
/* 横スクロールのバー：丸いレールの中を、黄色い棒（つまみ）が動く。常に表示される
   棒の長さは、画像の数に合わせて、自動で変わる（画像が増えると、短くなる）
   レールと棒は、枠線（透明）で内側に寄せて、丸い帯の形にしている
   Chrome・Safari・Edge は ::-webkit-scrollbar、Firefox は scrollbar-color で指定する（両方を同時に指定すると、Chrome で、片方が無視されるため、分ける） */
#newyear-card .design-list::-webkit-scrollbar {
    height: 28px;
}
#newyear-card .design-list::-webkit-scrollbar-track {
    margin: 0 24px;
    border: 9px solid transparent;
    border-radius: 12px;
    background: var(--color-stone-200);
    background-clip: padding-box;
}
#newyear-card .design-list::-webkit-scrollbar-thumb {
    border: 9px solid transparent;
    border-radius: 12px;
    background: var(--color-yellow-400);
    background-clip: padding-box;
}
@supports not selector(::-webkit-scrollbar) {
    #newyear-card .design-list {
        scrollbar-width: auto;
        scrollbar-color: var(--color-yellow-400) var(--color-stone-200);
    }
}
#newyear-card .design-list li {
    flex: 0 0 calc((100% - 96px) / 4.5);
}
#newyear-card .design-list li picture {
    display: block;
}
#newyear-card .design-list img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}
/* 宛名印刷 */
#newyear-card .price-line {
    margin-top: 16px;
    color: var(--ticket-text);
    font-weight: bold;
}
#newyear-card .price-line strong {
    font-size: 28px;
}
#newyear-card .notice-list {
    max-width: 960px;
    margin: 32px 0 0;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--ticket-soft);
    list-style: disc inside;
}
#newyear-card .notice-list li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 24px;
    text-indent: -1em;
    padding-left: 1em;
    list-style: none;
}
#newyear-card .notice-list li::before {
    content: "・";
}
/* 大事な一文は、太字と黄色のマーカーで、目立たせる */
#newyear-card .support-list li strong {
    color: var(--ticket-text);
    font-weight: bold;
    background: linear-gradient(transparent 58%, #ffe58a 58%);
}
#newyear-card .support-list li a {
    color: var(--ticket-link);
    text-decoration: underline;
}
#newyear-card .support-list {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
}
/* オプションと仕様は、どちらも背景が白で続く。間の余白は、ほかの区切りと同じ大きさにする（上のセクションの下の余白と、見出しの上の余白を、二重にしない） */
#newyear-card #about-option {
    padding-bottom: 0;
}
#newyear-card #spec-wrap .sub-heading {
    margin: 16px 0 32px;
}
#newyear-card #spec-wrap > section#spec {
    padding: 0;
    margin: 0;
}
/*---------------------------------------------------
 元旦に届けるスケジュール（#schedule）
---------------------------------------------------*/
#newyear-card .end-delivery {
    max-width: 1120px;
    box-sizing: border-box;
    container-type: inline-size;
    color: var(--ticket-text);
    line-height: 1.4;
    text-align: left;
}
#newyear-card .end-delivery .ed-flow {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
#newyear-card .end-delivery .ed-step {
    flex: 0 1 auto;
    min-width: 0;
}
#newyear-card .end-delivery .ed-label {
    margin: 0 0 4px;
    color: var(--ticket-text);
    font-size: 18px;
    font-weight: 700;
}
#newyear-card .end-delivery .ed-date {
    margin: 0;
    color: var(--ticket-text);
    font-size: 18px;
}
#newyear-card .end-delivery .ed-date span {
    display: inline-block;
    white-space: nowrap;
}
#newyear-card .end-delivery .ed-date small {
    font-size: 16px;
}
#newyear-card .end-delivery .ed-sub {
    margin: 2px 0 0;
    color: #666;
    font-size: 14px;
}
/* 受付確定日の「？」（押すと、説明の吹き出しが開く） */
#newyear-card .end-delivery .ed-label-row {
    position: relative;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
#newyear-card .end-delivery .ed-label-row .ed-label {
    margin: 0;
}
/* 吹き出しは、項目（受付確定日の行）の左端に合わせて開く */
#newyear-card .end-delivery .ed-help {
    position: static;
}
#newyear-card .end-delivery .ed-help summary {
    width: 22px;
    height: 22px;
    border: 1px solid var(--color-stone-400);
    border-radius: 50%;
    box-sizing: border-box;
    color: var(--color-stone-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
#newyear-card .end-delivery .ed-help summary::-webkit-details-marker {
    display: none;
}
#newyear-card .end-delivery .ed-help summary:hover,
#newyear-card .end-delivery .ed-help[open] summary {
    background: var(--color-stone-700);
    border-color: var(--color-stone-700);
    color: #fff;
}
#newyear-card .end-delivery .ed-help summary:focus-visible {
    outline: 2px solid var(--color-stone-700);
    outline-offset: 2px;
}
#newyear-card .end-delivery .ed-help-body {
    position: absolute;
    top: 32px;
    left: 0;
    z-index: 10;
    width: min(300px, calc(100vw - 80px));
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid var(--ticket-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}
#newyear-card .end-delivery .ed-help-body p {
    margin: 0;
    color: var(--ticket-text);
    font-size: 14px;
    line-height: 24px;
    font-weight: normal;
}
#newyear-card .end-delivery .ed-help-body p + p {
    margin-top: 6px;
}
#newyear-card .end-delivery .ed-help-body a,
#newyear-card .end-delivery .ed-help-body a:visited {
    color: var(--ticket-link);
    text-decoration: underline;
}
#newyear-card .end-delivery .ed-help-body a:hover {
    text-decoration: none;
}
#newyear-card .end-delivery .ed-arrow {
    flex: 0 0 auto;
    align-self: center;
    width: 28px;
    height: 26px;
    background: #b0b0b0;
    clip-path: polygon(0 28%, 58% 28%, 58% 0, 100% 50%, 58% 100%, 58% 72%, 0 72%);
}
/* 受付確定日（流れの最初）は、ブランドの黄色（#fedf21）のマーカーで目立たせる。矢印・線・丸印は、グレー */
#newyear-card .end-delivery .ed-first .ed-label,
#newyear-card .end-delivery .ed-first .ed-date {
    color: var(--light-black);
    font-weight: 700;
}
#newyear-card .end-delivery .ed-first .ed-date span {
    background: linear-gradient(transparent 55%, #fedf21 55%);
}
#newyear-card .end-delivery .ed-note {
    margin: 12px 0 0;
    font-size: 14px;
}
/* 流れは、時系列の線と丸印で見せる（矢印は使わない）。枠の幅が狭いとき（スマホ）は縦に並べ、左に、線と丸印を付ける */
#newyear-card .end-delivery .ed-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-left: 24px;
}
#newyear-card .end-delivery .ed-arrow {
    display: none;
}
#newyear-card .end-delivery .ed-step {
    position: relative;
    padding-bottom: 18px;
}
#newyear-card .end-delivery .ed-step:last-of-type {
    padding-bottom: 0;
}
#newyear-card .end-delivery .ed-step::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 11px;
    height: 11px;
    border: 3px solid #b0b0b0;
    border-radius: 50%;
    background: #fff;
}
#newyear-card .end-delivery .ed-step.ed-first::before {
    background: #fedf21;
}
#newyear-card .end-delivery .ed-step:not(:last-of-type)::after {
    content: '';
    position: absolute;
    left: -17px;
    top: 22px;
    bottom: -3px;
    width: 3px;
    background: #b0b0b0;
    border-radius: 2px;
}
#newyear-card .end-delivery .ed-note {
    line-height: 1.6;
}
/* 枠の幅が640px以上（タブレット・PC）のときは、横一列の時系列（上に、線と丸印）にする */
@container (min-width: 640px) {
    #newyear-card .end-delivery .ed-flow {
        display: grid;
        grid-template-columns: 1.1fr .9fr 1.6fr .9fr .9fr;
        gap: 0 12px;
        align-items: start;
        padding-left: 0;
    }
    #newyear-card .end-delivery .ed-step {
        padding: 28px 0 0;
    }
    #newyear-card .end-delivery .ed-step:last-of-type {
        padding: 28px 0 0;
    }
    #newyear-card .end-delivery .ed-step::before {
        left: 0;
        top: 4px;
    }
    #newyear-card .end-delivery .ed-step:not(:last-of-type)::after {
        left: 18px;
        right: -12px;
        top: 9px;
        bottom: auto;
        width: auto;
        height: 3px;
    }
}


/*---------------------------------------------------
 responsive
 レスポンシブの指定は、すべて、このファイルの最後に、まとめている。
 （スケジュールの図 #schedule の、縦並び・タブレットの横並び・PCの横並びの切り替えだけは、枠の幅で決めるため、#schedule の指定の中にある（@container））
---------------------------------------------------*/
@media screen and (max-width: 768px) {
    #newyear-card article > section,
    #newyear-card article > div:not(#sp-sticky-cta) {
        padding: 56px 20px;
    }

    #newyear-card article section h3 {
        font-size: 30px;
        line-height: 40px;
    }

    #newyear-card #product-title .inner,
    #newyear-card .reason-block,
    #newyear-card .perforation-summary {
        grid-template-columns: 1fr;
    }

    #newyear-card #product-title h1 {
        font-size: 34px;
        line-height: 44px;
        text-align: left;
    }

    #newyear-card #product-title .inner {
        padding: 32px 24px;
        border-radius: 28px;
    }

    #newyear-card .hero-media {
        padding: 20px;
        border-radius: 28px;
    }

    #newyear-card .title-newyear-card-img {
        width: 100%;
        transform: none;
    }

    #newyear-card .hero-price {
        font-size: 16px;
        line-height: 24px;
    }

    #newyear-card .hero-price strong {
        font-size: 32px;
        line-height: 40px;
    }

    #newyear-card .reason-block.reverse img {
        order: 0;
    }

    #newyear-card .flow-list li:not(:last-child)::after {
        content: "⌄";
        top: auto;
        right: auto;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 32px;
        height: 32px;
        border-radius: 16px;
        background: var(--ticket-soft);
        padding-bottom: 0;
    }

    #newyear-card .flow-list li:not(:last-child)::before {
        content: none;
    }

    #newyear-card .usecase-list,
    #newyear-card .benefit-list,
    #newyear-card .quality-list,
    #newyear-card .support-list,
    #newyear-card .review-list,
    #newyear-card .size-list,
    #newyear-card .data-ok,
    #newyear-card #spec ul {
        grid-template-columns: 1fr;
    }

    #newyear-card .flow-list {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    #newyear-card .data-ok ul {
        grid-template-columns: 1fr;
    }

    #newyear-card #final-cta > div {
        padding: 32px 24px;
        border-radius: 28px;
    }

    #newyear-card #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;
    }

    #newyear-card #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;
    }

    #newyear-card article #sp-sticky-cta a,
    #newyear-card article #sp-sticky-cta a:visited {
        color: var(--primary-text);
    }

    #newyear-card #product-title .inner {
        grid-template-columns: 1fr;
    }
    /* 仕様（#spec）の各項目（li）は、スマホでは、中央揃えにする */
    #newyear-card #spec li,
    #newyear-card #spec li p,
    #newyear-card #spec li a {
        text-align: center;
    }
    #newyear-card #spec h4,
    #newyear-card #spec .delivery-days {
        justify-content: center;
    }
    #newyear-card .design-list {
        padding: 16px 16px 0;
        border-radius: 20px;
        gap: 16px;
    }
    /* スマホは、2点と、3点目の途中までを見せる */
    #newyear-card .design-list li {
        flex: 0 0 calc((100% - 32px) / 2.5);
    }
    #newyear-card .support-list {
        grid-template-columns: 1fr;
    }
    #newyear-card .reason-block {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    #newyear-card .hero-media {
        min-height: 0;
        padding: 20px;
    }

    #newyear-card .notice-list li{
        text-align: left;
    }
    #newyear-card .section-heading .eyebrow, #newyear-card #product-title .eyebrow{
        text-align: left;
    }

    #newyear-card .section-heading p,#newyear-card .reason-block h4{
        text-align: left;
    }
    #newyear-card article p, article li, article dd, p.eyebrow{
        text-align: left;
    }
    #newyear-card .size-list h4,#newyear-card .size-value,#newyear-card .support-list h4{
        text-align: center;
    }
}

/* タブレット（iPadなど）。幅900px以下は、ヒーローを1列にする */
@media screen and (max-width: 900px) {
    #newyear-card #product-title .inner {
        grid-template-columns: 1fr;
    }
    #newyear-card .hero-media {
        min-height: 0;
    }
}

/* タブレット（幅601〜1024px）。仕様・サポートの一覧は、2列にする（奇数の最後の項目は、横いっぱい）。サイズの一覧は、紙うちわの用途と同じ（スマホは1列、タブレットは3列） */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    #newyear-card #spec ul,
    #newyear-card .support-list {
        grid-template-columns: repeat(2, 1fr);
    }
    #newyear-card .support-list li:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* タブレット（幅769〜1024px）。特長（画像と文章）は、画像の最小幅を決めず、半分ずつにする */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    #newyear-card .reason-block {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px;
    }
}

@media screen and (max-width: 700px) {
    /* モバイル（幅700px以下）は、文字を、少し小さくする */
        #newyear-card .end-delivery .ed-label {
        font-size: 16px;
    }
    #newyear-card .end-delivery .ed-date {
        font-size: 16px;
    }
    #newyear-card .end-delivery .ed-date small {
        font-size: 14px;
    }
    #newyear-card .end-delivery .ed-sub {
        font-size: 12px;
    }
    #newyear-card .end-delivery .ed-note {
        font-size: 12px;
    }
    #newyear-card #spec h4 {
        justify-content: center;
    }
    #newyear-card .notice-list li{
        text-align: left;
    }
    #newyear-card .section-heading .eyebrow, #newyear-card #product-title .eyebrow{
        text-align: left;
    }

    #newyear-card .section-heading p,#newyear-card .reason-block h4{
        text-align: left;
    }
    #newyear-card article p, #newyear-card article li, #newyear-card article dd{
        text-align: left;
    }
    #newyear-card .size-list h4,#newyear-card .size-value,#newyear-card .support-list h4{
        text-align: center;
    }
}
