:root {
  --nenga-ink: #322a25;
  --nenga-muted: #75665a;
  --nenga-red: #b62b32;
  --nenga-red-dark: #8f2028;
  --nenga-gold: #bd842b;
  --nenga-cream: #fff7e8;
  --nenga-pale: #fffaf1;
  --nenga-line: #eadbc3;
  --nenga-green: #356e55;
}

body.order-lp { color: var(--nenga-ink); background: #fff; }
.order-lp .container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.order-lp a { color: inherit; }
.order-lp .preview-banner { margin: 0; padding: 11px 20px; text-align: center; color: #624719; background: #fff0cf; font-size: .92rem; font-weight: 700; }

.intro-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #ffdf51, #f8c918 56%, #efb90e); }
.intro-section::before { position: absolute; inset: 0; content: ""; background-position: center top; background-size: cover; opacity: .92; }
.intro-section::after { position: absolute; z-index: 0; right: 0; bottom: 0; left: 0; height: 142px; content: ""; background: #fff9ed; }
.intro-grid { position: relative; z-index: 1; display: flex; width: min(1240px, calc(100% - 40px)); flex-direction: column; margin-inline: auto; }
.intro-copy { position: relative; z-index: 8; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; width: min(850px, 94%); min-height: 142px; margin-inline: auto; padding: 15px 0; }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--nenga-gold); font-size: .92rem; font-weight: 800; letter-spacing: .12em; }
.intro-copy .eyebrow { display: none; }
.intro-copy h1 { margin: 0; }
.intro-lead { max-width: 40em; margin: 0; color: #5e4a35; font-size: .98rem; line-height: 1.65; }
.primary-button, .secondary-button, .phone-button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 18px; padding: 13px 27px; border-radius: 7px; background: var(--nenga-red); color: #fff !important; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 var(--nenga-red-dark); transition: transform .16s ease, box-shadow .16s ease; }
.primary-button:hover, .secondary-button:hover, .phone-button:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--nenga-red-dark); }
.intro-art { position: relative; order: -1; flex: 0 0 auto; aspect-ratio: 1.94 / 1; overflow: hidden; }
.intro-art-image { position: absolute; display: block; width: auto; height: auto; max-width: none; pointer-events: auto; }
.intro-sun { z-index: 1; top: 36%; bottom: auto; left: 34%; width: min(70%, 590px); filter: drop-shadow(0 12px 15px #80310e30); }
.intro-title-group { position: absolute; z-index: 10; top: 1.5%; left: 50%; display: flex; width: min(56%, 760px); flex-direction: column; align-items: center; gap: clamp(8px, 1vw, 12px); transform: translateX(-50%); }
.intro-title-print { position: relative; top: auto; left: auto; width: 100%; flex: 0 0 auto; filter: drop-shadow(0 5px 4px #56211430); }
.intro-title-design { position: relative; top: auto; left: auto; width: 60%; flex: 0 0 auto; filter: drop-shadow(0 5px 4px #56211430); }
.intro-title-row { position: relative; display: flex; width: 100%; flex: 0 0 auto; align-items: center; justify-content: center; }
.intro-year { position: relative; z-index: 8; top: auto; left: auto; width: 40%; flex: 0 0 auto; filter: drop-shadow(0 8px 7px #73410d45); }
.intro-sign { z-index: 8; right: auto; bottom: 15%; left: 56%; width: 26%; transform: rotate(-10deg); filter: drop-shadow(0 9px 7px #19404c38); }
.intro-sheep { z-index: 5; left: 0; bottom: 4%; width: 30%; filter: drop-shadow(0 8px 8px #3c281d2e); }
.intro-landscape { z-index: 4; right: -5%; bottom: -1%; width: 78%; filter: drop-shadow(0 -6px 8px #5d40261d); }
.intro-mourning { z-index: 7; right: 1%; bottom: 3%; width: 17%; filter: drop-shadow(0 5px 6px #34221e38); }
.steps-section { padding: 58px 0 62px; background: #fff; }
.steps-inner { display: grid; grid-template-columns: .85fr 1.5fr; align-items: center; gap: 40px; }
.steps-inner h2, .section-heading h2, .greeting-card h2, .order-cta-inner h2, .delivery-card h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.45; }
.steps-inner h2 { color: var(--nenga-red); font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.25; }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps-list li { min-height: 150px; padding: 21px 18px; border: 1px solid var(--nenga-line); border-radius: 12px; background: var(--nenga-pale); }
.steps-list li > span { display: block; margin-bottom: 13px; color: var(--nenga-red); font-size: 1.15rem; font-weight: 900; }
.steps-list strong, .steps-list small { display: block; }
.steps-list strong { font-size: 1.06rem; }
.steps-list small { margin-top: 8px; color: var(--nenga-muted); line-height: 1.5; }

.catalog-section { padding: 72px 0 80px; background: linear-gradient(180deg, #fff8e9, #fffdf8 38%, #fff8e9); }
.section-heading { margin: 0 auto 32px; text-align: center; }
.section-heading p:last-child { color: var(--nenga-muted); }
.category-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.category-tabs [role="tab"] { min-height: 58px; padding: 10px; border: 1px solid #dfc99f; border-radius: 7px; background: #fffdf8; color: #655443; font: inherit; font-weight: 800; cursor: pointer; }
.category-tabs [role="tab"] span { display: inline-grid; min-width: 27px; height: 27px; place-items: center; margin-left: 5px; border-radius: 50%; background: #f2e4c6; color: #6f4e1c; font-size: .84rem; }
.category-tabs [role="tab"][aria-selected="true"] { border-color: var(--nenga-red); background: var(--nenga-red); color: white; box-shadow: 0 3px 0 var(--nenga-red-dark); }
.category-tabs [role="tab"][aria-selected="true"] span { background: #fff; color: var(--nenga-red); }
.category-tabs [role="tab"]:focus-visible, .order-lp a:focus-visible { outline: 3px solid #3379bd; outline-offset: 3px; }
.catalog-summary { display: flex; justify-content: space-between; margin-bottom: 13px; color: var(--nenga-muted); font-weight: 800; }
.design-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.design-card { overflow: hidden; border: 1px solid var(--nenga-line); border-radius: 9px; background: #fff; box-shadow: 0 8px 22px #66411b0b; transition: transform .18s ease, box-shadow .18s ease; }
.design-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px #66411b18; }
.design-card-link { display: block; padding: 13px; text-decoration: none; }
.sample-art { position: relative; display: grid; width: 100%; aspect-ratio: 0.68; place-items: center; background: #fff; text-align: center; }
.sample-art::before, .sample-art::after { content: none; }
.sample-art-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; box-sizing: border-box; border: 1px solid #e7dac3; object-fit: contain; object-position: center; }
.sample-art > span { position: relative; z-index: 1; padding: 8px 14px; border: 1px dashed #b89053; border-radius: 4px; background: #fffdf9e8; font-weight: 800; line-height: 1.6; }
.sample-art i { position: absolute; inset: 12px; border: 1px solid #d7c39e; pointer-events: none; }
.design-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 3px 9px; }
.design-code, .detail-code { display: inline-flex; align-items: center; justify-content: center; padding: .34em .7em; border-radius: 999px; background: var(--nenga-red); color: #fff; line-height: 1.15; }
.design-code { flex: 0 0 auto; white-space: nowrap; font-size: 1.25rem; font-weight: 900; }
.detail-link-label { display: flex; justify-content: flex-end; color: var(--nenga-red); font-size: .92rem; font-weight: 800; }
.catalog-more { margin: 28px 0 0; color: var(--nenga-muted); text-align: center; }

.greeting-section { padding: 54px 0; background: #fff; }
.greeting-card { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 26px; padding: 34px clamp(22px, 5vw, 55px); border: 1px solid #ead9b7; border-radius: 12px; background: #fffaf0; }
.greeting-mark { display: grid; width: 92px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--nenga-red); color: #fff6de; font-family: serif; font-size: 3.5rem; }
.greeting-card p:last-child { margin-bottom: 0; color: var(--nenga-muted); line-height: 1.9; }
.order-cta-section { padding: 60px 0; background: #f6eddb; }
.order-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 28px; }
.order-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.order-cta-inner p:last-child { margin-bottom: 0; color: var(--nenga-muted); }
.order-cta-delivery-card { grid-column: 1 / -1; max-width: none; margin-top: 4px; padding: 26px clamp(22px, 4vw, 40px); }
.order-cta-delivery-card h2 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.order-cta-phone { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.order-cta-phone > p:first-child { margin: 0; color: var(--nenga-ink); font-size: 1.25rem; font-weight: 800; }
.order-cta-phone-note { max-width: 42em; margin: 0; color: var(--nenga-muted); font-size: .88rem; font-weight: 700; line-height: 1.75; }
.secondary-button { flex: 0 0 auto; background: var(--nenga-green); box-shadow: 0 4px 0 #254d3c; }
.secondary-button:hover { box-shadow: 0 2px 0 #254d3c; }
.copyright { margin: 0; padding: 18px; color: #eee5d9; background: #302a26; text-align: center; font-size: .85rem; }

/* Shared calendar-style footer for all nengajo pages */
.order-lp .site-footer { padding: 46px 0 22px; color: #dbe7f2; background: var(--footer); }
.order-lp .footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; }
.order-lp .footer-logo { display: block; width: 180px; height: auto; margin-bottom: 16px; }
.order-lp .footer-tel { display: inline-block; margin-bottom: 12px; color: #fff; text-decoration: none; font-size: 22px; font-weight: 700; }
.order-lp .site-footer p { margin: 0; font-size: 14px; line-height: 1.8; }
.order-lp .footer-links { display: grid; align-content: start; justify-items: start; gap: 11px; }
.order-lp .footer-links a { color: #dbe7f2; text-decoration: none; font-size: 14px; line-height: 1.6; }
.order-lp .footer-links a:hover, .order-lp .footer-links a:focus-visible { color: #fff; }
.order-lp .site-footer .copyright { margin-top: 30px !important; padding: 0; color: #a9bfd1; background: transparent; text-align: center; font-size: 12px !important; }
@media (max-width: 980px) { .order-lp .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.detail-main { padding-block: 20px 82px; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; padding: 22px 0; color: var(--nenga-muted); font-size: .92rem; }
.breadcrumbs a, .text-link { color: var(--nenga-red); font-weight: 700; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(28px, 6vw, 74px); padding-top: 20px; }
.detail-art-wrap { display: grid; place-items: center; padding: 18px; border: 1px solid var(--nenga-line); border-radius: 10px; background: var(--nenga-cream); }
.detail-art-image { display: block; width: auto; max-width: 100%; max-height: 680px; height: auto; object-fit: contain; object-position: center; filter: drop-shadow(0 2px 4px rgba(50, 42, 37, .12)); }
.detail-code { margin: 4px 0 10px; font-size: 2.2rem; font-weight: 900; }
.detail-copy h1 { margin: 0 0 18px; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.detail-note { margin-bottom: 25px; color: var(--nenga-muted); line-height: 1.8; }
.detail-copy .text-link { display: block; margin-top: 22px; }
.invalid-design { margin: 60px 0; padding: 38px; border-radius: 10px; background: var(--nenga-cream); text-align: center; }
[hidden] { display: none !important; }

.guide-main > .preview-banner { margin: 0; }
.guide-hero { padding-block: 68px 40px; text-align: center; }
.guide-hero h1 { margin: 0 0 16px; font-size: clamp(2.25rem, 5vw, 3.4rem); }
.guide-hero > p:not(.section-kicker) { max-width: 44em; margin-inline: auto; color: var(--nenga-muted); line-height: 1.85; }
.selected-design { display: flex; width: fit-content; align-items: center; gap: 14px; margin: 24px auto 0; padding: 12px 18px; border: 1px solid #e3c58a; border-radius: 999px; background: #fff7e7; }
.selected-design span { color: var(--nenga-muted); font-size: .9rem; }
.selected-design strong { color: var(--nenga-red); font-size: 1.15rem; }
.selected-design a { color: var(--nenga-red); font-weight: 700; }
.guide-steps { max-width: 900px; padding-bottom: 65px; }
.guide-return { padding-bottom: 30px; text-align: center; }
.guide-steps article { display: grid; grid-template-columns: 74px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--nenga-line); }
.guide-step-number { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; background: #fae7cf; color: var(--nenga-red); font-size: 1.25rem; font-weight: 900; }
.guide-steps h2 { margin: 3px 0 10px; font-size: 1.4rem; }
.guide-steps p { margin: 0 0 10px; color: var(--nenga-muted); line-height: 1.85; }
.step-status { display: inline-block; padding: 7px 11px; border-radius: 4px; background: #fff1d5; color: #70511b !important; font-weight: 700; }
.delivery-section { padding: 54px 0; background: linear-gradient(110deg, #fff4df, #fffaf2); }
.delivery-card { max-width: 850px; padding: 36px clamp(22px, 5vw, 54px); border: 1px solid #ecd9b5; border-radius: 10px; background: #fffdf9; }
.delivery-card p:last-child { margin-bottom: 0; color: var(--nenga-muted); line-height: 1.9; }
.greeting-reminder { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 24px; max-width: 850px; padding-block: 56px; }
.reminder-symbol { display: grid; width: 100px; height: 100px; place-items: center; border-radius: 50%; background: var(--nenga-red); color: #fff; font-size: 3rem; font-weight: 900; line-height: 1; text-align: center; }
.greeting-reminder h2 { margin: 0 0 9px; font-size: 1.35rem; }
.greeting-reminder p { margin: 0; color: var(--nenga-muted); line-height: 1.85; }
.guide-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; padding: 36px 0 72px; text-align: center; }
.guide-bottom > p { flex-basis: 100%; margin: 0; font-size: 1.25rem; font-weight: 800; }
.guide-bottom .order-cta-phone { flex-basis: 100%; }
.phone-button { background: var(--nenga-green); box-shadow: 0 4px 0 #254d3c; }
.order-cta-phone .phone-button { background: #102a44; box-shadow: 0 4px 0 #091b2c; }
.order-cta-phone .phone-button:hover { box-shadow: 0 2px 0 #091b2c; }
.guide-form-link { margin-top: 15px; }

/* Order form */
.form-hero { padding-block: 56px 32px; text-align: center; }
.form-hero h1 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3rem); }
.form-hero > p:not(.section-kicker) { color: var(--nenga-muted); line-height: 1.8; }
.form-steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 24px; }
.form-steps span { padding: 9px 13px; border-radius: 999px; background: #fff1d9; color: #75531e; font-weight: 800; }
.form-steps b { color: #bda67e; }
.order-form { max-width: 930px; padding-bottom: 74px; }
.draft-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--nenga-line); border-radius: 8px; background: #fffaf1; }
.draft-controls[hidden] { display: none; }
.draft-status { margin: 0; color: var(--nenga-red); font-size: .85rem; line-height: 1.65; }
.draft-clear-button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #cbb99f; border-radius: 6px; background: #fff; color: var(--nenga-muted); font: inherit; font-size: .82rem; cursor: pointer; }
.draft-clear-button:hover { border-color: var(--nenga-red); color: var(--nenga-red); }
.draft-clear-button[hidden] { display: none; }
.form-section { margin-bottom: 25px; padding: clamp(20px, 4vw, 38px); border: 1px solid var(--nenga-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 25px #6041150a; }
.form-section-heading { margin-bottom: 25px; }
.form-section-heading .section-kicker { margin-bottom: 4px; font-size: .75rem; }
.form-section-heading h2 { margin: 0 0 6px; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.form-section-heading p:last-child { margin: 0; color: var(--nenga-red); font-size: .9rem; font-weight: 400; line-height: 1.7; }
.order-items { display: grid; gap: 16px; }
.order-item { padding: 20px; border: 1px solid #e8d9c3; border-radius: 9px; background: var(--nenga-pale); }
.item-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.item-title { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 1.2rem; }
.selected-art-preview { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 10px; margin: -4px 0 18px auto; }
.selected-art-preview[hidden] { display: none; }
.order-form .selected-art-preview.has-photo-notice { width: 100%; }
.order-form .photo-submit-note { flex: 1 1 auto; margin: 0 auto 0 0; color: var(--nenga-red); font-size: .86rem; font-weight: 700; line-height: 1.6; }
.order-form .photo-submit-note[hidden] { display: none; }
.selected-art-identity { display: flex; align-items: center; gap: 10px; }
.selected-art-preview img { display: block; width: 150px; height: 112px; padding: 4px; border: 1px solid #e8d9c3; border-radius: 5px; background: #fff; object-fit: contain; }
.selected-art-preview img[hidden] { display: none; }
.selected-art-preview figcaption { color: var(--nenga-muted); font-size: .9rem; font-weight: 800; }
.choose-design-button { flex: 0 0 auto; padding: 7px 11px; border: 1px solid #bba16e; border-radius: 5px; background: #fff; color: #75531e; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.choose-design-button:hover { border-color: var(--nenga-red); color: var(--nenga-red); }
.choose-design-button:focus-visible { outline: 3px solid #d9c193; outline-offset: 2px; }
.item-index { color: var(--nenga-red); font-size: 1.1rem; }
.remove-design { padding: 6px 10px; border: 1px solid #cbbdab; border-radius: 5px; background: white; color: #655b50; font: inherit; font-size: .84rem; cursor: pointer; }
.remove-design:disabled { opacity: .42; cursor: not-allowed; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: var(--nenga-ink); font-size: .96rem; font-weight: 700; }
.field > span, .contact-method legend { line-height: 1.5; }
.order-form .quantity-guidance { color: var(--nenga-red); font-size: .82rem; font-weight: 600; }
.order-form .quantity-guidance[hidden] { display: none; }
.field small { margin-left: 5px; color: #817467; font-size: .8rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cfc5b7; border-radius: 5px; background: #fff; color: var(--nenga-ink); font: inherit; font-weight: 400; }
.field textarea { min-height: unset; resize: vertical; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #d9c193; outline-offset: 1px; border-color: #98743a; }
.form-annotation { margin-left: .35em; color: var(--nenga-red); font-size: .82em; font-weight: 400; }
.field-wide { grid-column: 1 / -1; }
.item-main-fields .field-short { max-width: 220px; }
.sender-mode-field { margin-bottom: 2px; }
.sender-font-field { min-width: 0; margin-top: 16px; padding: 0; border: 0; }
.sender-font-field legend { margin-bottom: 7px; padding: 0; line-height: 1.5; }
.sender-font-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.sender-font-option { display: flex; min-height: 48px; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid #cfc5b7; border-radius: 6px; background: #fff; font-size: .9rem; font-weight: 600; cursor: pointer; }
.sender-font-option:has(input:checked) { border-color: #98743a; background: #fff8e9; box-shadow: inset 0 0 0 1px #98743a; }
.sender-font-option:focus-within { outline: 3px solid #d9c193; outline-offset: 1px; }
.sender-font-option input { width: 18px; min-width: 18px; min-height: 18px; height: 18px; margin: 0; accent-color: var(--nenga-red); }
.sender-font-option[data-font-style="kaisho"] span { font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; }
.sender-font-option[data-font-style="mincho"] span { font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif; }
.sender-font-option[data-font-style="gothic"] span { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
.sender-font-option[data-font-style="rounded-gothic"] span { font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif; }
.add-design-button { width: 100%; min-height: 52px; margin-top: 16px; border: 1px dashed #b88a4f; border-radius: 7px; background: #fffaf1; color: #78561f; font: inherit; font-weight: 800; cursor: pointer; }
.add-design-button:hover { background: #fff2d9; }
.item-print-details { margin-top: 19px; padding-top: 17px; border-top: 1px solid #e8d9c3; }
.text-change-fields { display: grid; gap: 12px; margin-top: 16px; }
.changeable-text-field { margin: 0; padding: 15px; border: 1px solid #e8d9c3; border-radius: 8px; background: #fff; }
.changeable-text-title { margin: 0 0 11px; color: #554537; font-size: 1rem; }
.changeable-text-input { margin-top: 12px; }
.sender-information-panel { display: grid; gap: 10px; margin-top: 14px; padding: 16px; border: 1px solid #e8d9c3; border-radius: 7px; background: #fff; }
.sender-fields-help { margin-bottom: 0; }
.sender-override-fields { grid-template-columns: minmax(0, 1fr); margin-top: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.additional-manuscript-field { grid-column: 1 / -1; margin-top: 14px; }
.sender-fields-heading { grid-column: 1 / -1; margin: 0; padding-bottom: 10px; border-bottom: 1px solid #eee7dc; color: var(--nenga-ink); font-size: 1.35rem; font-weight: 800; }
.sender-fields-heading .form-annotation { font-size: .7em; }
.mourning-fields { margin: 18px 0 0; padding: 18px; border: 1px solid #cbd4da; border-radius: 8px; background: #f1f4f5; }
.mourning-fields legend { padding: 0 7px; color: #5e707b; font-weight: 800; }
.field-help { margin: 0 0 15px; color: var(--nenga-red); font-size: .82rem; font-weight: 400; }
.mourning-person { margin-top: 14px; padding-top: 14px; border-top: 1px solid #cbd4da; }
.mourning-person h4 { margin: 0 0 12px; color: #5e707b; font-size: .98rem; }
.add-person-button { margin-top: 14px; padding: 8px 12px; border: 1px solid #9aaab2; border-radius: 5px; background: #fff; color: #4f6570; font: inherit; font-weight: 700; cursor: pointer; }
.contact-method { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 17px; margin: 0; padding: 0; border: 0; }
.contact-method legend { flex-basis: 100%; padding: 0; font-weight: 700; }
.contact-method label { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.contact-method input { width: 18px; min-height: 18px; height: 18px; accent-color: var(--nenga-red); }
.privacy-consent { margin: 22px 0; padding: 19px 22px; border: 1px solid var(--nenga-line); border-radius: 8px; background: #fff; }
.privacy-consent label { display: flex; align-items: flex-start; gap: 10px; line-height: 1.7; }
.privacy-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--nenga-red); }
.privacy-consent a { color: #8d2930; text-decoration: underline; text-underline-offset: .15em; }
.privacy-consent strong { margin-left: 4px; color: #8d2930; font-size: .85rem; }
.privacy-consent p { margin: 9px 0 0 28px; color: var(--nenga-muted); font-size: .88rem; }
.form-disclaimer { margin: 8px 0 20px; padding: 22px 25px; border-left: 4px solid #b68a48; background: #fff8e9; }
.form-disclaimer h2 { margin: 0 0 8px; font-size: 1.1rem; }
.form-disclaimer p { margin: 0; color: var(--nenga-muted); line-height: 1.8; }
.form-submit-area { padding: 26px; border-radius: 9px; background: #f5f2ed; text-align: center; }
.form-submit-area p { margin: 0 0 13px; color: var(--nenga-muted); }
.form-submit-area button { min-width: min(100%, 310px); min-height: 54px; padding: 12px 20px; border: 0; border-radius: 6px; background: var(--nenga-red); box-shadow: 0 4px 0 #8e2028; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.form-submit-area button:disabled { background: #968c80; box-shadow: none; cursor: not-allowed; }
.form-back-link { display: flex; justify-content: center; gap: 25px; margin: 24px 0 0; }

/* Mourning designs use a quiet blue-grey palette across their active context. */
.category-tabs [data-category="mourning"][aria-selected="true"] { border-color: #617985; background: #6e8490; color: #fff; box-shadow: 0 3px 0 #506571; }
.category-tabs [data-category="mourning"][aria-selected="true"] span { background: #fff; color: #617985; }
.design-card--mourning { border-color: #d1dbe0; }
.design-card--mourning .sample-art { border-color: #d4dde1; background: linear-gradient(145deg, #f0f3f4, #e4eaed); color: #657984; }
.design-card--mourning .sample-art::before { background: #91a4ad; opacity: .26; }
.design-card--mourning .sample-art::after { content: "蓮・水引"; color: #748791; }
.design-card--mourning .design-code, .is-mourning .detail-code { background: #607985; color: #fff; }
.is-mourning .catalog-section { background: linear-gradient(180deg, #f0f3f4, #fafbfb 42%, #eef2f4); }
.is-mourning .catalog-section .section-kicker { color: #6e8490; }
.is-mourning .design-card { border-color: #d1dbe0; }
.is-mourning .design-card .sample-art { border-color: #d4dde1; background: linear-gradient(145deg, #f0f3f4, #e4eaed); color: #657984; }
.is-mourning .design-card .sample-art::before { background: #91a4ad; opacity: .26; }
.is-mourning .design-card .sample-art::after { content: "蓮・水引"; color: #748791; }
.is-mourning .detail-art-wrap { border-color: #d1dbe0; background: #edf1f3; }
.is-mourning .primary-button { background: #6e8490; box-shadow: 0 4px 0 #506571; }
.is-mourning .selected-design { border-color: #c5d1d6; background: #f0f4f5; }
.is-mourning .selected-design strong, .is-mourning .selected-design a { color: #607985; }
.order-item--mourning { border-color: #c8d4da; background: #f6f8f9; }
.order-item--mourning .selected-art-preview img { border-color: #cbd4da; }
@media (max-width: 850px) {
  .intro-sign { width: clamp(23%, calc(71.6vw - 398px), 26%); }
  .steps-inner { grid-template-columns: 1fr; gap: 25px; }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 641px) {
  .intro-sign { top: 40%; right: 3%; bottom: auto; left: auto; translate: 0 -50%; }
}
@media (max-width: 640px) {
  .order-lp .container { width: min(100% - 28px, 520px); }
  .order-lp .preview-banner { padding-inline: 12px; font-size: .78rem; line-height: 1.55; }
  .intro-section::before { background-size: 760px auto; }
  .intro-section::after { height: 160px; }
  .intro-grid { width: 100%; }
  .intro-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; width: 100%; min-height: 160px; padding: 14px 0; }
  .intro-lead { margin: 0; font-size: .92rem; }
  .intro-sun { top: 40%; left: 28%; width: 72%; }
  .intro-title-group { top: 4%; left: 3%; width: 94%; gap: clamp(2px, 1vw, 5px); transform: none; }
  .intro-title-print { width: 100%; }
  .intro-title-design { width: 66%; }
  .intro-title-row { width: 100%; }
  .intro-year { width: 40%; }
  .intro-sign { right: auto; bottom: 29%; left: 52%; width: clamp(120px, 36vw, 138px); transform: rotate(-10deg); }
  .intro-art { aspect-ratio: .82 / 1; }
  .intro-sheep { left: 2%; bottom: 15%; width: 43%; }
  .intro-landscape { right: -12%; bottom: 5%; width: 112%; }
  .intro-mourning { right: 1%; bottom: 7%; width: 22%; }
  .steps-section, .catalog-section { padding-block: 44px; }
  .steps-list { grid-template-columns: 1fr; gap: 9px; }
  .steps-list li { min-height: 0; display: grid; grid-template-columns: 42px 1fr; align-items: center; column-gap: 10px; padding: 13px 16px; }
  .steps-list li > span { grid-row: span 2; margin: 0; }
  .steps-list small { margin-top: 3px; }
  .category-tabs { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-tabs [role="tab"] { min-height: 52px; font-size: .9rem; }
  .design-grid { gap: 10px; }
  .design-card-link { padding: 8px; }
  .design-card-meta { padding-top: 9px; }
  .detail-link-label { font-size: .8rem; }
  .sample-art > span { padding: 5px 8px; font-size: .84rem; }
  .sample-art i { inset: 7px; }
  .catalog-more { font-size: .92rem; line-height: 1.7; }
  .greeting-section, .order-cta-section { padding-block: 38px; }
  .greeting-card { grid-template-columns: 58px 1fr; gap: 15px; padding: 22px 16px; }
  .greeting-mark { width: 54px; font-size: 2.15rem; }
  .greeting-card p:last-child { font-size: .94rem; }
  .order-cta-inner { align-items: stretch; flex-direction: column; gap: 19px; }
  .order-cta-inner .secondary-button { align-self: flex-start; }
  .order-cta-actions { flex-direction: column; align-items: stretch; }
  .order-cta-actions .primary-button, .order-cta-actions .secondary-button { align-self: flex-start; }
  .detail-main { padding-bottom: 48px; }
  .detail-layout { grid-template-columns: 1fr; gap: 26px; }
  .detail-art-wrap { padding: 10px; }
  .detail-art-image { max-height: none; }
  .guide-hero { padding-block: 42px 25px; }
  .selected-design { flex-wrap: wrap; justify-content: center; border-radius: 12px; }
  .guide-steps { padding-bottom: 42px; }
  .guide-steps article { grid-template-columns: 48px 1fr; gap: 13px; padding: 21px 0; }
  .guide-step-number { width: 44px; height: 44px; font-size: 1rem; }
  .guide-steps h2 { font-size: 1.2rem; }
  .guide-steps p { font-size: .95rem; }
  .delivery-section { padding: 36px 0; }
  .delivery-card { padding: 24px 18px; }
  .greeting-reminder { grid-template-columns: 55px 1fr; gap: 12px; padding-block: 38px; }
  .reminder-symbol { width: 55px; height: 55px; font-size: 1.6rem; }
  .guide-bottom { padding-bottom: 48px; }
  .form-hero { padding-block: 38px 22px; }
  .form-steps { gap: 5px; }
  .form-steps span { padding: 7px 9px; font-size: .76rem; }
  .form-steps b { font-size: .8rem; }
  .form-section { padding: 19px 15px; }
  .draft-controls { align-items: flex-start; flex-direction: column; gap: 10px; padding: 13px; }
  .form-section-heading { margin-bottom: 19px; }
  .form-fields { grid-template-columns: 1fr; gap: 13px; }
  .field-wide { grid-column: auto; }
  .item-main-fields .field-short { max-width: none; }
  .sender-font-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-item { display: flex; flex-direction: column; padding: 14px; }
  .order-item > .item-header { order: 1; }
  .order-item > .selected-art-preview { order: 2; }
  .order-form .selected-art-preview { width: 100%; flex-wrap: wrap; justify-content: flex-end; }
  .order-form .photo-submit-note { flex-basis: 100%; }
  .selected-art-identity { max-width: 100%; flex-wrap: wrap; justify-content: flex-end; }
  .order-form .selected-art-preview.has-photo-notice img { flex: 0 0 auto; width: clamp(88px, 27vw, 112px); height: 84px; }
  .order-form .photo-submit-note { font-size: .78rem; }
  .order-item > .item-main-fields { order: 3; }
  .order-item > .mourning-fields { order: 4; }
  .order-item > .item-print-details { order: 5; }
  .order-item > .sender-mode-field { order: 6; }
  .order-item > .sender-information-panel { order: 7; }
  .item-header { align-items: flex-start; }
  .remove-design { font-size: .77rem; }
  .mourning-fields { padding: 14px 11px; }
  .form-back-link { flex-direction: column; gap: 12px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .design-card, .primary-button, .secondary-button, .phone-button { transition: none; }
}
