/* 結婚式の LP（pimorio.com/wedding）。スマホの幅が基本で、広い画面では同じ幅のまま真ん中に置く */
/* お手紙のカードの字はアプリと同じクレー（色はチャコール：2026-11-06 ユーザー） */
@font-face { font-family: "Klee One"; src: url("/assets/event/klee-one.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "LINE Seed JP"; src: url("/assets/fonts/lineseedjp-bold-wedding.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --ink: #4e392e; --muted: #7d6c60; --line: #ece7df; --tone: #fbdcc4;
  --head: "LINE Seed JP", -apple-system, "Hiragino Sans", sans-serif;
  --body: -apple-system, "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #2c2724; font-family: var(--body); line-height: 1.6; }
img { max-width: 100%; }
.lp { max-width: 480px; margin: 0 auto; }
.lp { background: url("/assets/wedding/dots.png") 0 0 / 120px, url("/assets/wedding/paper.jpg") 0 0 / 256px, #fffdf9; background-blend-mode: normal, multiply, normal; color: var(--ink); font-family: var(--body); container-type: inline-size; }
.hero { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0H390V9C360 15 330 5 300 9S246 16 214 9 170 3 138 10 84 16 54 8 20 6 0 12Z'/%3E%3C/svg%3E") bottom / 100% 18px no-repeat, linear-gradient(#000,#000) top / 100% calc(100% - 17px) no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0H390V9C360 15 330 5 300 9S246 16 214 9 170 3 138 10 84 16 54 8 20 6 0 12Z'/%3E%3C/svg%3E") bottom / 100% 18px no-repeat, linear-gradient(#000,#000) top / 100% calc(100% - 17px) no-repeat; }
.hero { position: relative; height: 200cqw; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-top: 6cqw; color: #fff; background: #1b2c3f; }
.hero > * { position: relative; z-index: 1; }
.hero .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: 0; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.28), transparent 38%, transparent 66%, rgba(0,0,0,.7)); z-index: 0; }
.hero .logo { width: 36cqw; }
.hero .script { width: 80cqw; margin-top: 18cqw; }
.hero .what { margin: 0; font-size: 14px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero .cta { position: absolute; left: 0; right: 0; bottom: 7cqw; display: grid; justify-items: center; gap: 2cqw; }
.badge { display: block; width: 136px; }
/* いちばん上の使い方へのリンク（App Store のボタンの下。写真の上でも読めるように影） */
.hero .guide-link { color: #fff; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-shadow: 0 1px 8px rgba(0,0,0,.5); padding: 8px 12px; }
.badge img { display: block; width: 100%; height: auto; }
.chips { font-size: 13px; font-weight: 600; }

.sec { padding: 40px 20px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.sec.first { border-top: 0; }
.tone-b { --tone: #fbdcc4; }
.sec h2 { font-family: var(--head); font-size: 22px; line-height: 1.4; margin: 0; }
.sec .sub { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-inline: -20px; }
.wall > * { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; display: grid; place-items: center; text-align: center; padding: 6px; font-size: 12px; line-height: 1.4; color: var(--muted); background: #efeae1; }
.wall img { padding: 0; }
.reveal { position: relative; aspect-ratio: 500 / 1087; border-radius: 12px; background: #000; overflow: hidden; }
.reveal .print { position: absolute; left: var(--l); top: var(--t); width: 38%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 2px 5px rgba(0,0,0,.4); transform: rotate(var(--r)); }
.reveal .envelope { position: absolute; left: 13%; bottom: 8%; width: 74%; height: auto; }
.reveal .pocket { clip-path: inset(35% 0 0 0); }
.stack { position: relative; height: 745px; margin-top: 6px; }
.dark.cardblock { padding-bottom: 76px; }
.note { position: absolute; left: 50%; top: 50%; width: 262px; height: 216px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.55)); transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)); }
.paper { position: relative; width: 100%; height: 100%; overflow: hidden; color: #3f3b37; font-family: "Klee One", var(--body); background: url("/assets/wedding/paper.jpg") 0 0 / 256px, #fbf8f1; background-blend-mode: multiply, normal; -webkit-mask: url("/assets/wedding/card.svg") center / 100% 100% no-repeat; mask: url("/assets/wedding/card.svg") center / 100% 100% no-repeat; }
.note p { position: absolute; left: 50%; top: 50px; width: 168px; height: 75px; margin: 0 0 0 -84px; font-size: 13px; font-weight: 600; line-height: 25px; white-space: nowrap; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='25'%3E%3Crect y='23.5' width='2.5' height='1' fill='%23a9a49a'/%3E%3C/svg%3E") 0 0 / 6px 25px; }
.note span { position: absolute; right: 32px; bottom: 26px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.note i { font-family: "Bradley Hand", Noteworthy, "Snell Roundhand", cursive; font-weight: 700; font-style: normal; color: #77726b; margin-right: 4px; }
.note .face { position: absolute; left: 58px; bottom: -18px; height: 82px; width: auto; max-width: none; transform: translateX(-50%); }
.note:nth-child(1) { --x: -50px; --y: -255px; --r: -7deg; z-index: 4; }
.note:nth-child(2) { --x: 50px; --y: -85px; --r: 6deg; z-index: 3; }
.note:nth-child(3) { --x: -50px; --y: 85px; --r: 5deg; z-index: 2; }
.note:nth-child(4) { --x: 50px; --y: 255px; --r: -6deg; z-index: 1; }
.stack.anim .note { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(1.15); transition: opacity .1s, transform .2s cubic-bezier(.2, 1.5, .4, 1); }
.stack.anim .note.on { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(1); }
.band, .end, .dark { position: relative; color: #3a2a21; overflow: hidden; background: url("/assets/wedding/paper.jpg") 0 0 / 256px, var(--tone); background-blend-mode: multiply, normal; }
.band, .dark { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 18' preserveAspectRatio='none'%3E%3Cpath d='M0 10C24 4 66 8 96 13S150 3 182 3 230 15 262 9 310 8 340 4 360 13 390 7V18H0Z'/%3E%3C/svg%3E") top / 100% 18px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0H390V9C360 15 330 5 300 9S246 16 214 9 170 3 138 10 84 16 54 8 20 6 0 12Z'/%3E%3C/svg%3E") bottom / 100% 18px no-repeat, linear-gradient(#000,#000) center / 100% calc(100% - 34px) no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 18' preserveAspectRatio='none'%3E%3Cpath d='M0 10C24 4 66 8 96 13S150 3 182 3 230 15 262 9 310 8 340 4 360 13 390 7V18H0Z'/%3E%3C/svg%3E") top / 100% 18px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0H390V9C360 15 330 5 300 9S246 16 214 9 170 3 138 10 84 16 54 8 20 6 0 12Z'/%3E%3C/svg%3E") bottom / 100% 18px no-repeat, linear-gradient(#000,#000) center / 100% calc(100% - 34px) no-repeat; }
.end { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 18' preserveAspectRatio='none'%3E%3Cpath d='M0 10C24 4 66 8 96 13S150 3 182 3 230 15 262 9 310 8 340 4 360 13 390 7V18H0Z'/%3E%3C/svg%3E") top / 100% 18px no-repeat, linear-gradient(#000,#000) bottom / 100% calc(100% - 17px) no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 18' preserveAspectRatio='none'%3E%3Cpath d='M0 10C24 4 66 8 96 13S150 3 182 3 230 15 262 9 310 8 340 4 360 13 390 7V18H0Z'/%3E%3C/svg%3E") top / 100% 18px no-repeat, linear-gradient(#000,#000) bottom / 100% calc(100% - 17px) no-repeat; }
.band { display: grid; justify-items: center; gap: 8px; padding: 38px 20px 0; }
.band .line { width: 56%; }
.band .cams { display: block; width: 68%; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.points b { display: block; font-family: var(--head); font-size: 16px; line-height: 1.45; }
.points span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.shot { display: block; width: 100%; height: auto; border-radius: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.step b { display: block; font-family: var(--head); font-size: 14px; margin-top: 8px; }
.step span { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.price { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; margin: 0; }
.price div { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.price dt { font-size: 14px; color: var(--muted); }
.price dd { margin: 0; font-family: var(--head); font-size: 16px; font-variant-numeric: tabular-nums; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 11px 0; }
details p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.end { text-align: center; justify-items: center; padding-top: 44px; padding-bottom: 0; border-top: 0; }
.end h2 { font-size: 20px; }
.end-couple { display: block; width: 72%; margin-top: 8px; margin-bottom: -38px; }
.dark { --tone: #24405f; --ink: #f6f1e7; --muted: #c5ccd6; --line: rgba(255,255,255,.2); color: var(--ink); display: grid; gap: 16px; padding: 48px 20px; }
.dark h2 { font-family: var(--head); font-size: 22px; line-height: 1.4; margin: 0; }
.dark .sub { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.lp .band { margin-top: 28px; }
.dark + .sec { border-top: 0; }
mark { color: inherit; padding: 0 .1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath fill='%23f6a05f' d='M2 6C30 2 62 4 96 3S160 1 197 3C199 9 198 16 199 21 165 23 128 20 92 22S30 23 3 21C1 15 3 11 2 6Z'/%3E%3C/svg%3E") 0 55% / 100% 86% no-repeat; }
.bubble { position: fixed; z-index: 5; bottom: max(14px, env(safe-area-inset-bottom, 0px)); right: max(12px, calc((100vw - 480px) / 2 + 12px)); width: 64px; height: 64px; display: block; filter: drop-shadow(0 5px 10px rgba(0,0,0,.28)); }
.bubble:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.other { display: block; padding: 28px 20px 30px; background: #2c2724; color: #f6f1e7; text-decoration: none; }
.other b { display: block; font-family: var(--head); font-size: 18px; line-height: 1.5; }
.other span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: #c9c3b8; }
.other img { display: block; width: 100%; height: auto; margin-top: 14px; border-radius: 12px; }
.other i { display: block; margin-top: 12px; font-style: normal; font-weight: 600; font-size: 14px; }
.other:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.script-h { margin: 18cqw 0 0; line-height: 0; }
.hero .script { margin-top: 0; height: auto; }
.foot { max-width: 480px; margin: 0 auto; padding: 18px 20px 32px; background: #2c2724; color: #a9a49a; font-size: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }
.foot a { color: inherit; }

/* TikTok の中のブラウザの案内（lp.js が開く。LP の案内と同じ） */
.sheet {
  position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.35);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .25s ease;
}
.sheet[hidden] { display: none; }
.sheet.show { opacity: 1; }
.sheet-arrow { position: absolute; top: 8px; right: 24px; animation: nudge 1.2s ease-in-out infinite; }
.sheet-arrow path { stroke: #fff; }
@keyframes nudge { 50% { translate: 4px -4px; } }
.sheet-card {
  width: 100%; max-width: 480px; background: #fff; border-radius: 28px 28px 0 0;
  padding: 20px 20px max(20px, env(safe-area-inset-bottom)); text-align: center;
  transform: translateY(100%); transition: transform .4s var(--ease-pop);
}
.sheet.show .sheet-card { transform: none; }
.sheet-icon { margin: -52px auto 8px; border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.sheet-card h2 { font-size: 22px; }
.sheet-card ol { text-align: left; margin: 14px auto 16px; padding: 0 0 0 1.4em; max-width: 280px; font-size: 15px; display: grid; gap: 6px; }
.dots { display: inline-block; padding: 0 8px; border-radius: 8px; background: var(--tile); letter-spacing: .1em; }
.copy, .close { display: block; width: 100%; font: inherit; border: 0; border-radius: 999px; padding: 14px; cursor: pointer; }
.copy { background: var(--ink); color: #fff; font-size: 16px; }
.close { background: none; color: var(--muted); font-size: 14px; margin-top: 4px; }
.sheet-note { font-size: 12px; color: var(--muted); margin-top: 8px; }
.sheet-card h2 { font-family: var(--head); margin: 0; }

/* 使い方のページへのリンク */
.more { font-family: var(--head); font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
