@charset "UTF-8";
:root {
  --paper: #f8f7f4;
  --ink: #393534;
  --muted: #827b77;
  --line: #ded9d3;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 45px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; background: none; }
button:disabled { cursor: wait; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
img { max-width: 100%; display: block; }
p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
[hidden] { display: none !important; }
.preview-note { color: var(--muted); font-size: 9px; letter-spacing: .09em; padding: 10px 35px 0; text-align: right; }
.preview-note span { margin-left: 18px; }
.header { height: 105px; padding: 0 5.5%; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: var(--serif); font-size: 21px; letter-spacing: .2em; display: inline-flex; align-items: center; gap: 12px; }
.wordmark-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); margin-left: 3px; }
.header nav { display: flex; align-items: center; gap: 38px; font-size: 11px; letter-spacing: .07em; }
.header-reply { color: var(--wine); }
.header-reply span { padding-left: 13px; }
.hero { width: min(1240px, 88%); margin: 80px auto 0; position: relative; padding-bottom: 90px; }
.hero-copy { position: relative; z-index: 1; width: 360px; padding-left: 28px; }
.eyebrow { font-size: 11px; letter-spacing: .13em; line-height: 2; }
h1 { font-size: 35px; line-height: 1.95; letter-spacing: .13em; margin-top: 32px; }
h1 span { white-space: nowrap; }
.hero-description { font-size: 13px; line-height: 2.3; letter-spacing: .07em; margin-top: 27px; }
.hero-art { width: 79%; margin: -130px 0 0 auto; }
.hero-art > img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; clip-path: ellipse(50% 49% at 50% 50%); }
.hero-art figcaption { font-size: 10px; letter-spacing: .12em; color: var(--muted); margin: 22px 0 0 18%; }
.read-link { display: inline-flex; align-items: center; gap: 27px; font-size: 10px; letter-spacing: .12em; margin: 15px 0 0 28px; }
.read-link span { color: var(--wine); font-size: 18px; }
.letter { width: min(1100px, 88%); margin: auto; padding-top: 100px; }
.letter-opening { text-align: center; font-size: 11px; letter-spacing: .13em; margin-bottom: 120px; }
.small-rule { display: block; width: 24px; height: 1px; background: var(--wine); margin: 0 auto 26px; }
.chapter { position: relative; margin-bottom: 180px; }
.chapter-first { padding: 0 0 0 25%; }
.chapter h2 { font-size: 27px; line-height: 2; letter-spacing: .11em; margin-bottom: 48px; }
.chapter p { font-size: 14px; letter-spacing: .055em; line-height: 2.6; margin-top: 31px; }
.chapter-second { min-height: 590px; display: grid; grid-template-columns: 48% 40%; gap: 12%; align-items: center; }
.chapter-second .chapter-copy { grid-column: 2; grid-row: 1; }
.quiet-art { grid-column: 1; grid-row: 1; align-self: center; }
.quiet-art img { width: 100%; height: 520px; object-fit: cover; object-position: 76% center; border-radius: 48% 48% 2px 2px; }
.quiet-art figcaption { text-align: center; font-size: 10px; letter-spacing: .1em; color: var(--muted); margin-top: 23px; }
.closing-letter { text-align: center; padding: 20px 0 145px; }
.closing-letter h2 { font-size: 30px; letter-spacing: .12em; line-height: 2; margin: 38px 0; }
.closing-letter > p:not(.eyebrow) { font-size: 13px; letter-spacing: .05em; line-height: 2.4; }
.closing-letter > img { width: 145px; height: auto; margin: 53px auto 32px; }
.closing-letter .christmas-line { color: var(--muted); font-size: 11px !important; }
.text-link { display: inline-flex; align-items: center; gap: 26px; margin-top: 34px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .07em; }
.text-link span { color: var(--wine); }
.mobile-only { display: none; }
.reply-section { background: #f0eeea; padding: 100px max(32px, calc((100% - 1050px) / 2)) 85px; }
.section-intro { text-align: center; }
.section-intro .eyebrow { color: var(--wine); }
.section-intro h2 { font-size: 28px; letter-spacing: .08em; line-height: 1.9; margin: 24px 0; }
.section-intro > p:last-child { color: #706a66; font-size: 12px; line-height: 2.2; letter-spacing: .03em; }
.reply-workspace { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; margin-top: 65px; align-items: start; }
.reply-form { font-size: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.reply-form label { display: block; letter-spacing: .05em; }
.reply-form label > span { float: right; color: var(--muted); font-size: 10px; }
.reply-form input { display: block; width: 100%; border: 0; border-bottom: 1px solid #bdb5ad; border-radius: 0; background: transparent; padding: 13px 1px; margin-top: 5px; font-size: 12px; min-height: 44px; }
.message-label { margin-top: 32px; margin-bottom: 13px; }
textarea { display: block; width: 100%; resize: vertical; border: 1px solid #d6cfc7; background: #fcfbf8; border-radius: 0; padding: 19px; font-family: var(--serif); font-size: 15px; line-height: 2; min-height: 220px; max-height: 550px; }
textarea::placeholder, input::placeholder { color: #938980; }
.message-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 10px; color: #756e67; }
.reply-form fieldset { border: 0; padding: 0; margin: 28px 0 0; }
.reply-form legend { font-size: 11px; letter-spacing: .05em; margin-bottom: 12px; }
.examples > div { display: flex; flex-wrap: wrap; gap: 8px; }
.examples button { border: 0; border-bottom: 1px solid #c9bfb6; font-size: 10px; padding: 10px 0; margin-right: 6px; }
.examples button span { margin-left: 8px; color: var(--wine); }
.color-options { display: flex; gap: 23px; flex-wrap: wrap; }
.color-option { border: 0; padding: 6px 0; display: flex; gap: 9px; align-items: center; font-size: 11px; min-height: 40px; }
.swatch { display: inline-block; width: 19px; height: 19px; border-radius: 50%; border: 1px solid #bdb0a5; position: relative; }
.swatch.ivory { background: #faf9f6; }
.swatch.crimson { background: #741b24; }
.swatch.rose { background: #f3e0d8; }
.color-option[aria-pressed=true] .swatch::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--wine); border-radius: 50%; }
.privacy-note { position: relative; padding-left: 22px; margin: 27px 0 17px; font-size: 10px; line-height: 1.9; color: #776c63; }
.privacy-note svg { position: absolute; width: 12px; height: 15px; left: 0; top: 3px; fill: none; stroke: #776c63; stroke-width: 1.2; }
.button { border: 1px solid #b8aaa0; border-radius: 0; padding: 16px 22px; min-height: 51px; font-size: 12px; letter-spacing: .05em; display: inline-flex; justify-content: center; align-items: center; gap: 22px; transition: background .2s; }
.button:hover { background: #e6e0d9; }
.button.primary { background: var(--wine); border-color: var(--wine); color: #fffdf9; }
.button.primary:hover { background: #68232b; }
.button.subtle { border: 0; border-bottom: 1px solid #b8aaa0; padding-right: 0; padding-left: 0; }
.create-card { width: 100%; margin-top: 7px; }
.form-error { min-height: 16px; color: #912d35; font-size: 11px; }
.preview-caption { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 17px; font-size: 10px; letter-spacing: .06em; color: #756d67; }
.preview-caption > span:last-child { color: var(--muted); }
.card-stage { padding: 24px; background: #e7e2db; }
.card-stage canvas { display: block; width: 100%; height: auto; background: #faf9f6; box-shadow: 0 5px 19px #46382b12; }
.card-hint { font-family: var(--serif); font-size: 11px; text-align: center; letter-spacing: .08em; margin-top: 22px; color: #756d67; }
.card-result { text-align: center; border-top: 1px solid #d5cbc1; padding-top: 68px; margin-top: 55px; }
.card-result h3 { font-size: 22px; line-height: 1.8; letter-spacing: .05em; margin: 25px 0 13px; }
.card-result > p { color: #756d67; font-size: 12px; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.result-note { font-size: 10px !important; margin-top: 20px; line-height: 1.8; }
.afterword { text-align: center; padding: 100px 24px; }
.afterword > p { font-family: var(--serif); font-size: 17px; line-height: 2.3; letter-spacing: .1em; }
.back-top { display: inline-block; font-size: 10px; letter-spacing: .07em; color: var(--muted); margin-top: 32px; }
footer { border-top: 1px solid var(--line); width: 89%; margin: auto; padding: 36px 0 45px; display: flex; align-items: center; gap: 27px; }
footer .wordmark { font-size: 17px; }
footer > span, footer small { color: var(--muted); font-size: 10px; letter-spacing: .06em; }
footer small { margin-left: auto; }
.dialog-shade { position: fixed; inset: 0; background: #30292466; z-index: 100; }
dialog { position: fixed; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; z-index: 101; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); width: min(530px, calc(100% - 28px)); max-height: 90dvh; padding: 30px; overflow: auto; box-shadow: 0 25px 90px #30292422; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-heading h2 { font-size: 24px; letter-spacing: .06em; margin-top: 7px; }
.dialog-heading .eyebrow { font-size: 10px; }
.close-button { font-size: 26px; line-height: 1; border: 0; width: 38px; height: 38px; }
.dialog-description { font-size: 11px; line-height: 1.9; color: #756d67; margin-top: 16px; }
.phone-preview { width: 265px; margin: 25px auto; border: 6px solid #e2ded8; border-radius: 22px; background: #b6c6c1; overflow: hidden; }
.phone-header { display: flex; justify-content: space-between; align-items: center; background: #f6f6ef; padding: 12px 14px; font-size: 11px; }
.phone-header > span:first-child { font-size: 22px; }
.phone-chat { padding: 14px 18px 20px; display: flex; flex-direction: column; align-items: flex-end; min-height: 300px; gap: 12px; }
.chat-date { font-size: 9px; align-self: center; background: #718b83; color: white; padding: 4px 13px; border-radius: 10px; }
.chat-card { width: 180px; border-radius: 5px; overflow: hidden; }
.chat-card img { width: 100%; height: auto; }
.chat-bubble { white-space: pre-wrap; overflow-wrap: anywhere; background: #e1ebd4; font-size: 11px; line-height: 1.8; padding: 10px 12px; border-radius: 10px; max-width: 100%; }
.chat-status { font-size: 8px; color: #f7fcfa; }
.phone-preview.social, .phone-preview.social .phone-chat { background: #f4f0e8; }
.phone-preview.social .chat-card { width: 100%; }
.phone-preview.social .chat-bubble { background: #fff; }
.phone-preview.social .chat-status { color: #756d67; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.dialog-actions .button { font-size: 11px; padding: 13px 16px; }
#replace-dialog { padding: 32px; }
#replace-dialog h2 { font-size: 20px; line-height: 1.8; }
#replace-dialog p { font-size: 12px; line-height: 1.9; margin: 20px 0 28px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--wine); color: #fffdf9; padding: 13px 23px; font-size: 12px; z-index: 102; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 30px); text-align: center; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }
@container gift-page (max-width: 1000px) {
  .hero { margin-top: 60px; }
  .hero-copy { padding-left: 0; width: 330px; }
  h1 { font-size: 31px; }
  .hero-art { width: 82%; margin-top: -60px; }
  .read-link { margin-left: 0; }
  .chapter-first { padding-left: 20%; }
  .chapter-second { grid-template-columns: 42% 50%; gap: 8%; }
  .chapter h2 { font-size: 24px; }
  .chapter p { font-size: 13px; }
  .quiet-art img { height: 440px; }
  .reply-workspace { gap: 40px; }
}
@container gift-page (max-width: 700px) {
  .preview-note { padding: 8px 20px 0; font-size: 8px; text-align: center; }
  .preview-note span { margin-left: 13px; }
  .header { height: 87px; padding: 0 25px; }
  .wordmark { font-size: 19px; gap: 8px; }
  .wordmark-dot { width: 4px; height: 4px; }
  .header nav > a:first-child { display: none; }
  .header nav { font-size: 10px; }
  .header-reply span { padding-left: 8px; }
  .hero { width: 100%; margin: 48px auto 0; padding-bottom: 60px; }
  .hero-copy { width: auto; padding: 0 38px; }
  .eyebrow { font-size: 10px; letter-spacing: .09em; }
  h1 { font-size: 29px; line-height: 1.95; letter-spacing: .1em; margin-top: 26px; }
  .hero-description { font-size: 12px; line-height: 2.3; margin-top: 22px; }
  .hero-art { width: 94%; margin: 38px auto 0; }
  .hero-art > img { aspect-ratio: 1.2; object-position: 68% center; clip-path: ellipse(50% 48% at 50% 50%); }
  .hero-art figcaption { margin: 19px 0 0; text-align: center; font-size: 9px; letter-spacing: .06em; }
  .read-link { margin: 33px 0 0 38px; font-size: 10px; }
  .letter { width: auto; padding: 65px 36px 0; }
  .letter-opening { font-size: 10px; margin-bottom: 80px; }
  .chapter { margin-bottom: 100px; }
  .chapter-first { padding: 0 0 0 8px; }
  .chapter h2 { font-size: 24px; line-height: 1.9; margin-bottom: 31px; letter-spacing: .08em; }
  .chapter p { font-size: 13px; letter-spacing: .01em; line-height: 2.5; margin-top: 26px; }
  .chapter-second { display: flex; flex-direction: column; align-items: stretch; gap: 50px; min-height: 0; }
  .chapter-second .chapter-copy { order: 2; padding-left: 8px; }
  .quiet-art { order: 1; width: 82%; margin: 0 auto; }
  .quiet-art img { height: 335px; }
  .quiet-art figcaption { font-size: 9px; }
  .closing-letter { padding: 10px 0 90px; }
  .closing-letter .eyebrow { font-size: 9px; letter-spacing: .04em; }
  .closing-letter h2 { font-size: 25px; letter-spacing: .06em; margin: 30px 0; }
  .closing-letter > p:not(.eyebrow) { font-size: 12px; line-height: 2.3; letter-spacing: .02em; }
  .closing-letter > img { width: 125px; margin-top: 40px; }
  .closing-letter .christmas-line { font-size: 10px !important; }
  .mobile-only { display: block; }
  .text-link { font-size: 10px; }
  .reply-section { padding: 70px 24px 55px; }
  .section-intro h2 { font-size: 24px; letter-spacing: .04em; }
  .section-intro > p:last-child { font-size: 11px; }
  .reply-workspace { grid-template-columns: 1fr; gap: 42px; margin-top: 43px; }
  .card-preview-column { max-width: 380px; width: 100%; margin: auto; }
  .field-row { gap: 17px; }
  .reply-form input, .reply-form textarea { font-size: 16px; }
  .message-meta { font-size: 9px; }
  .examples button { padding: 12px 0; }
  .card-stage { padding: 23px 27px; }
  .card-hint { font-size: 10px; margin-top: 17px; }
  .card-result { padding-top: 40px; margin-top: 40px; }
  .card-result h3 { font-size: 19px; }
  .card-result > p { font-size: 11px; }
  .result-actions { flex-direction: column; gap: 12px; }
  .result-actions .button { width: 100%; }
  .result-actions .subtle { width: auto; align-self: center; }
  .afterword { padding: 65px 25px; }
  .afterword > p { font-size: 14px; }
  footer { padding: 29px 0; gap: 18px; flex-wrap: wrap; }
  footer .wordmark { font-size: 17px; }
  footer > span, footer small { font-size: 9px; }
  footer small { width: 100%; margin-left: 0; }
  dialog { padding: 23px 20px; }
  .phone-preview { width: 248px; }
  .dialog-heading h2 { font-size: 21px; }
  .dialog-actions .button { width: 100%; }
  .dialog-description { font-size: 10px; }
}
@container gift-page (max-width: 360px) {
  .header { padding: 0 20px; }
  .hero-copy { padding: 0 30px; }
  h1 { font-size: 27px; }
  .read-link { margin-left: 30px; }
  .letter { padding-left: 26px; padding-right: 26px; }
  .chapter h2 { font-size: 22px; }
  .chapter p { font-size: 12px; }
  .closing-letter h2 { font-size: 22px; }
  .closing-letter > p:not(.eyebrow) { font-size: 11px; }
  .phone-preview { width: 230px; }
  .section-intro h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
