/* HP キャンペーンカード（TOP のヒーロー直後・MENU の品書き一覧の中）。2026-10-16 追加。
 * マークアップは wp-templates/partials/hp-campaign.php、動きの合図（.is-on）は assets/hp-campaign.js。
 * デザインは案02「夕映えの円」（参考: 秋のテラコッタ・円の特典・白い帯）。
 * 幅はコンテナクエリで切り替える。TOP は画面幅いっぱい、MENU は品書き一覧の 860px の枠の中に入るため、
 * 画面幅（@media）では MENU の PC 表示で円がはみ出す。
 * 筆記体 Sacramento は SIL Open Font License 1.1（自己ホスト。HP は外部 CDN からフォントを読まない） */
@font-face { font-family: 'Sacramento'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/hp-campaign-sacramento.woff2) format('woff2'); }

.hpcp-sec { container: hpcp / inline-size; }
.hpcp-sec--top { background: #EAE5D8; padding: clamp(72px, 9vw, 110px) 16px 0; }
.hpcp-sec--menu { margin: 40px 0 clamp(56px, 7vw, 84px); }
.hpcp { position: relative; max-width: 1000px; margin: 0 auto; color: #FFF8EF; font-family: 'Shippori Mincho', serif; font-variant-numeric: lining-nums; text-align: left; }
:where(.hpcp p) { margin: 0; }  /* 詳細度0（個別の margin を優先させる） */

/* ---------- 面（夕焼け色のグラデーション＋粒子） ---------- */
.hpcp-face { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: .95fr 1.25fr; align-items: center; gap: 24px; padding: 50px 56px 40px; background: linear-gradient(115deg, #EBC29C 0%, #DDA582 30%, #C9855F 62%, #A0744F 100%); background-size: 180% 180%; animation: hpcp-drift 14s ease-in-out infinite alternate; }
@keyframes hpcp-drift { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }
.hpcp-face::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -30%; width: 55%; height: 120%; background: radial-gradient(closest-side, rgba(255,236,214,.55), transparent); }
.hpcp-face::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .38; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- 見出し（弧を描く文字・AUTUMN・筆記体） ---------- */
.hpcp-arc { display: block; width: 340px; max-width: 100%; height: 56px; overflow: visible; }
.hpcp-arc text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; letter-spacing: 3.2px; fill: #FFF8EF; }
.hpcp-ttl { position: relative; display: inline-block; margin: -2px 0 0; padding: 0; border: 0; font-size: inherit; font-weight: 400; line-height: 1; letter-spacing: 0; color: inherit; }
.hpcp-cap { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 72px; letter-spacing: .05em; text-shadow: 0 2px 24px rgba(120,60,30,.18); }
.hpcp-scr { position: absolute; right: -34px; bottom: -40px; font-family: 'Sacramento', cursive; font-weight: 400; font-size: 66px; line-height: 1; color: #FFF3E3; white-space: nowrap; transform: rotate(-6deg); }
.hpcp-until { margin-top: 58px; font-size: 30px; line-height: 1.2; letter-spacing: .12em; white-space: nowrap; }  /* 2026-10-16 オーナー指示で倍の大きさに（15→30px） */
.hpcp-until small { font-size: 22px; letter-spacing: .12em; margin-left: 4px; }

/* ---------- 3大特典の円 ---------- */
.hpcp-gifts { display: flex; align-items: center; justify-content: center; gap: 14px; }
.hpcp-c { flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(255,248,239,.72); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(255,248,239,.06); }
.hpcp-c1 { width: 214px; height: 214px; }
.hpcp-c2, .hpcp-c3 { width: 146px; height: 146px; }
.hpcp-k { font-size: 10.5px; letter-spacing: .24em; opacity: .9; }
.hpcp-l { margin-top: 6px; font-size: 12.5px; letter-spacing: .14em; }
.hpcp-big { margin-top: 2px; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: .01em; }
.hpcp-big small { font-family: 'Shippori Mincho', serif; font-size: 19px; margin-left: 2px; }
.hpcp-off { margin-top: 2px; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 19px; line-height: 1; letter-spacing: .2em; }
.hpcp-mid { margin-top: 6px; font-size: 15.5px; letter-spacing: .06em; line-height: 1.45; }
.hpcp-note { grid-column: 2; margin-top: -6px; text-align: center; font-size: 10.5px; letter-spacing: .08em; line-height: 1.8; opacity: .92; }
.hpcp-note br { display: none; }

/* ---------- 「新規会員登録者限定」のバッジ（周りの文字が回る） ---------- */
.hpcp-badge { position: absolute; z-index: 2; top: -26px; right: 30px; width: 116px; height: 116px; }
.hpcp-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: hpcp-spin 26s linear infinite; }
.hpcp-ring text { font-family: 'Cormorant Garamond', serif; font-size: 10.5px; letter-spacing: 2.6px; fill: #9A4F33; }
.hpcp-sec--menu .hpcp-ring text { fill: #D9A27F; }  /* MENU の深緑の上では明るく */
@keyframes hpcp-spin { to { transform: rotate(360deg); } }
.hpcp-badge p { position: absolute; inset: 16px; border-radius: 50%; background: #B65F3E; color: #FFF3E8; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 12.5px; letter-spacing: .12em; line-height: 1.55; box-shadow: 0 8px 22px -10px rgba(110,50,25,.6); }

/* ---------- 白い帯（公式LINEから予約） ---------- */
.hpcp-band { display: flex; align-items: center; justify-content: center; gap: 18px; height: 56px; background: rgba(255,248,239,.95); color: #8A4B32; text-decoration: none; font-size: 14px; letter-spacing: .26em; transition: background .4s ease, gap .4s ease; }
.hpcp-band span { font-family: 'Cormorant Garamond', serif; font-size: 18px; }
.hpcp-band:hover { background: #fff; gap: 28px; color: #8A4B32; }
.hpcp-fine { margin-top: 8px; text-align: right; font-size: 10px; letter-spacing: .08em; color: #8C8577; }
.hpcp-sec--menu .hpcp-fine { color: rgba(237,232,219,.55); }

/* ---------- 動き（hp-campaign.js が html に .hpcp-js、カードに .is-on を付ける） ---------- */
.hpcp-js .hpcp { opacity: 0; transform: translateY(24px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.25,1,.3,1); }
.hpcp-js .hpcp.is-on { opacity: 1; transform: none; }
.hpcp-js .hpcp-rv { opacity: 0; transform: translateY(14px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.25,1,.3,1); }
.hpcp-js .hpcp.is-on .hpcp-rv { opacity: 1; transform: none; }
.hpcp-d1 { transition-delay: .15s !important; } .hpcp-d2 { transition-delay: .6s !important; } .hpcp-d3 { transition-delay: 1s !important; }
.hpcp-js .hpcp-c { opacity: 0; transform: scale(.86); transition: opacity 1s ease, transform 1.3s cubic-bezier(.25,1.4,.4,1); }
.hpcp-js .hpcp.is-on .hpcp-c { opacity: 1; transform: none; }
.hpcp-js .hpcp .hpcp-c1 { transition-delay: .5s; } .hpcp-js .hpcp .hpcp-c2 { transition-delay: .7s; } .hpcp-js .hpcp .hpcp-c3 { transition-delay: .85s; }
.hpcp-js .hpcp-scr { clip-path: inset(-40% 100% -40% -10%); }
.hpcp-js .hpcp.is-on .hpcp-scr { animation: hpcp-wipe 1.8s cubic-bezier(.6,0,.2,1) .5s both; }
@keyframes hpcp-wipe { from { clip-path: inset(-40% 100% -40% -10%); } to { clip-path: inset(-40% -10% -40% -10%); } }

/* ---------- 枠が狭いとき（MENU の PC 表示 860px・タブレット） ---------- */
@container hpcp (max-width: 959px) {
  .hpcp-face { padding: 44px 30px 36px; gap: 12px; }
  .hpcp-cap { font-size: 54px; }
  .hpcp-scr { font-size: 52px; right: -26px; bottom: -32px; }
  .hpcp-until { margin-top: 48px; font-size: 26px; } .hpcp-until small { font-size: 19px; }
  .hpcp-gifts { gap: 10px; }
  .hpcp-c1 { width: 172px; height: 172px; }
  .hpcp-c2, .hpcp-c3 { width: 120px; height: 120px; }
  .hpcp-big { font-size: 44px; } .hpcp-big small { font-size: 16px; }
  .hpcp-mid { font-size: 13.5px; }
  .hpcp-badge { width: 104px; height: 104px; right: 20px; }
  .hpcp-badge p { inset: 14px; font-size: 11.5px; }
}
/* ---------- SP（縦に積む） ---------- */
@container hpcp (max-width: 819px) {
  .hpcp-face { grid-template-columns: 1fr; padding: 44px 20px 30px; text-align: center; gap: 0; }
  .hpcp-arc { margin: 30px auto 0; width: 290px; height: 48px; }
  .hpcp-cap { font-size: 60px; }
  .hpcp-scr { font-size: 54px; right: -22px; bottom: -34px; }
  .hpcp-until { margin: 50px 0 26px; font-size: 28px; } .hpcp-until small { font-size: 20px; }
  .hpcp-gifts { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 10px 12px; }
  .hpcp-c1 { width: 200px; height: 200px; grid-column: 1 / -1; justify-self: center; }
  .hpcp-c2, .hpcp-c3 { width: 136px; height: 136px; }
  .hpcp-big { font-size: 52px; } .hpcp-big small { font-size: 18px; }
  .hpcp-mid { font-size: 14.5px; }
  .hpcp-note { grid-column: 1; margin-top: 18px; }
  .hpcp-note br { display: inline; }
  .hpcp-badge { top: -20px; right: 8px; width: 92px; height: 92px; }
  .hpcp-badge p { inset: 13px; font-size: 10.5px; }
  .hpcp-ring text { font-size: 9px; letter-spacing: 2px; }
  .hpcp-fine { text-align: center; }
}

/* 動きを減らす設定の人には、動きなしで最初から表示する */
@media (prefers-reduced-motion: reduce) {
  .hpcp, .hpcp * { animation: none !important; transition: none !important; }
  .hpcp-js .hpcp, .hpcp-js .hpcp-rv, .hpcp-js .hpcp-c { opacity: 1; transform: none; }
  .hpcp-js .hpcp-scr { clip-path: none; }
}

/* ============================================================
 * 2026-11 のカード（partials/hp-campaign.php の $card_nov）。2026-10-30 オーナー採用の A案「霜月の夜」。
 * 上の .hpcp-（10月・夕映えの円）とは別のクラス .hpn- で書く。両方を持たせ、部品が今日のキャンペーンの id で描き分ける。
 * ============================================================ */
/* HP キャンペーンカード 11月 案A「霜月の夜」
 * 晩秋から初冬へ。深い夜の地に、細い金の線と、上から下がる金の短冊（新規会員登録者限定）。
 * 幅はコンテナクエリで切り替える（TOP は画面幅いっぱい、MENU は 860px の枠の中）。 */
.hpn-sec { container: hpn / inline-size; }
.hpn-sec--top { background: #EAE5D8; padding: clamp(72px, 9vw, 110px) 16px 0; }
.hpn-sec--menu { margin: 40px 0 clamp(56px, 7vw, 84px); }
.hpn-sec--menu .hpn-face { outline: 1px solid rgba(194,173,140,.26); }  /* MENU の深緑の地に溶けないよう外周にも細い線 */
.hpn { --hpn-brush: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 64' preserveAspectRatio='none'><filter id='r' x='-4%' y='-30%' width='108%' height='160%'><feTurbulence type='fractalNoise' baseFrequency='.012 .55' numOctaves='3' seed='4'/><feDisplacementMap in='SourceGraphic' scale='10' xChannelSelector='R' yChannelSelector='G'/></filter><g filter='url(%23r)'><path d='M12 27 C 70 15 140 13 200 15 C 250 16 290 13 310 19 C 318 27 314 39 302 45 C 250 52 190 49 130 50 C 80 51 36 54 16 49 C 6 44 4 33 12 27 Z'/><path d='M40 21 C 120 9 230 10 300 14 L 302 18 C 230 15 120 15 42 25 Z' opacity='.6'/><path d='M24 52 C 100 55 200 56 286 50 L 286 53 C 200 59 100 59 26 56 Z' opacity='.5'/></g></svg>");  /* 数字の下に敷く刷毛の形（色は background で付ける） */
  position: relative; max-width: 1000px; margin: 0 auto; color: #EDE8DB; font-family: 'Shippori Mincho', serif; font-variant-numeric: lining-nums; text-align: left; }
:where(.hpn p, .hpn ul, .hpn li) { margin: 0; padding: 0; }  /* 詳細度0（個別の margin を優先させる） */
.hpn ul { list-style: none; }

/* ---------- 面（深い夜の地・金の細い枠・粒子） ---------- */
.hpn-face { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 286px minmax(0, 1fr); column-gap: 44px; align-items: center; padding: 60px 52px 0 108px; background: radial-gradient(80% 130% at 0% 0%, rgba(194,173,140,.17), rgba(194,173,140,0) 62%), linear-gradient(158deg, #262D27 0%, #1B201C 68%, #161A17 100%); box-shadow: 0 34px 60px -40px rgba(16,19,8,.6); }
.hpn-face::before { content: ""; position: absolute; inset: 10px; z-index: 1; border: 1px solid rgba(194,173,140,.42); pointer-events: none; }
.hpn-face::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- 金の短冊（新規会員登録者限定） ---------- */
.hpn-tag { position: absolute; z-index: 2; top: 0; left: 46px; width: 38px; padding: 26px 0 36px; writing-mode: vertical-rl; line-height: 38px; font-size: 13px; font-weight: 600; letter-spacing: .28em; color: #1C211D; background: linear-gradient(180deg, #DECBA6 0%, #C2AD8C 100%); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 13px), 0 100%); }
.hpn-tag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(172deg, rgba(255,250,236,0) 38%, rgba(255,250,236,.6) 50%, rgba(255,250,236,0) 62%) 50% 0% / 100% 300% no-repeat; }

/* ---------- 見出し（November・2大特典・締切） ---------- */
.hpn-eb { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 14px; letter-spacing: .26em; color: #CDB993; white-space: nowrap; }
.hpn-ttl { margin: 12px 0 0; padding: 0; border: 0; background: none; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 58px; line-height: 1; letter-spacing: .02em; color: #F2EDE2; }  /* 特典の数字より小さく（数字をいちばん大きく見せる） */
.hpn-sub { margin-top: 16px; font-size: 16px; letter-spacing: .24em; white-space: nowrap; }
.hpn-sub em { font-style: normal; color: #DCC9A4; }
.hpn-until { display: flex; align-items: baseline; gap: 14px; margin-top: 26px; font-size: 26px; line-height: 1.2; letter-spacing: .08em; white-space: nowrap; }
.hpn-until::before { content: ""; flex: none; align-self: center; width: 30px; height: 1px; background: #C2AD8C; }
.hpn-until small { margin-left: -10px; font-size: 17px; letter-spacing: .1em; }

/* ---------- 2大特典 ---------- */
.hpn-gifts { display: grid; grid-template-columns: 1fr 1fr; }
.hpn-g { position: relative; padding: 4px 26px 4px 0; }
.hpn-g + .hpn-g { padding: 4px 0 4px 34px; }
.hpn-g + .hpn-g::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(rgba(194,173,140,0), rgba(194,173,140,.62) 16%, rgba(194,173,140,.62) 84%, rgba(194,173,140,0)); }
.hpn-gk { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 14px; letter-spacing: .24em; color: #CDB993; }
.hpn-gl { margin-top: 12px; font-size: 15px; letter-spacing: .16em; white-space: nowrap; }
.hpn-gv { position: relative; isolation: isolate; display: flex; width: fit-content; align-items: baseline; margin-top: 6px; line-height: 1; white-space: nowrap; }
.hpn-gv::before { content: ""; position: absolute; z-index: -1; left: -14px; right: -16px; bottom: -8px; height: 62%; background: rgba(176,150,104,.5); -webkit-mask: var(--hpn-brush) center / 100% 100% no-repeat; mask: var(--hpn-brush) center / 100% 100% no-repeat; }  /* 金の刷毛 */
.hpn-n { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 66px; letter-spacing: .01em; color: #F6F1E6; }
.hpn-u { margin-left: 4px; font-size: 19px; letter-spacing: .08em; }
.hpn-off { margin-left: 9px; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 23px; letter-spacing: .14em; color: #F0E4C9; }
.hpn-gc { margin-top: 20px; font-size: 11.5px; letter-spacing: .08em; line-height: 1.75; color: rgba(237,232,219,.76); }
.hpn-gc span { display: inline-block; }  /* 折れるときは「アンケートに／お答え」の間だけで折る */

/* ---------- 下の帯（注記・公式LINEから予約） ---------- */
.hpn-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 42px; padding: 22px 0 32px; border-top: 1px solid rgba(194,173,140,.28); }
.hpn-fine { font-size: 11.5px; letter-spacing: .1em; color: rgba(237,232,219,.68); }
.hpn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 300px; height: 56px; padding: 0 28px; box-sizing: border-box; background: linear-gradient(180deg, #DECBA6, #C4AF8D); color: #1C211D; text-decoration: none; font-size: 14.5px; font-weight: 500; letter-spacing: .24em; transition: gap .4s ease, filter .4s ease; }
.hpn-cta span { font-family: 'Cormorant Garamond', serif; font-size: 20px; letter-spacing: 0; }
.hpn-cta:hover { gap: 28px; color: #1C211D; filter: brightness(1.06); }
.hpn-cta:focus-visible { outline: 2px solid #F2EDE2; outline-offset: 4px; }

/* ---------- 枠が狭いとき（MENU の PC 表示 860px・タブレット） ---------- */
@container hpn (max-width: 959px) {
  .hpn-face { grid-template-columns: 238px minmax(0, 1fr); column-gap: 30px; padding: 56px 36px 0 92px; }
  .hpn-tag { left: 38px; }
  .hpn-eb { font-size: 12.5px; letter-spacing: .16em; }
  .hpn-ttl { font-size: 50px; }
  .hpn-sub { font-size: 15px; letter-spacing: .2em; }
  .hpn-until { font-size: 23px; } .hpn-until small { font-size: 15px; }
  .hpn-g { padding-right: 18px; } .hpn-g + .hpn-g { padding-left: 26px; }
  .hpn-n { font-size: 56px; }
  .hpn-u { font-size: 17px; } .hpn-off { font-size: 20px; margin-left: 7px; }
  .hpn-gl { font-size: 14px; letter-spacing: .12em; }
}
/* ---------- タブレット（見出しを上に、特典は2列のまま） ---------- */
@container hpn (max-width: 819px) {
  .hpn-face { grid-template-columns: minmax(0, 1fr); padding: 54px 36px 0 92px; }
  .hpn-gifts { margin-top: 36px; }
  .hpn-foot { margin-top: 36px; }
}
/* ---------- SP（縦に積む。短冊は右上へ） ---------- */
@container hpn (max-width: 539px) {
  .hpn-face { padding: 52px 26px 0; }
  .hpn-face::before { inset: 8px; }
  .hpn-tag { left: auto; right: 26px; width: 34px; line-height: 34px; padding: 22px 0 32px; font-size: 12px; }
  .hpn-head { padding-right: 52px; }
  .hpn-ttl { font-size: 48px; }
  .hpn-until { margin-top: 22px; font-size: 24px; }
  .hpn-gifts { grid-template-columns: minmax(0, 1fr); margin-top: 34px; }
  .hpn-g { padding: 0 0 26px; }
  .hpn-g + .hpn-g { padding: 26px 0 0; }
  .hpn-g + .hpn-g::before { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 1px; background: linear-gradient(90deg, rgba(194,173,140,.62), rgba(194,173,140,.62) 70%, rgba(194,173,140,0)); }
  .hpn-gl { margin-top: 8px; font-size: 15px; }
  .hpn-n { font-size: 60px; }
  .hpn-u { font-size: 18px; } .hpn-off { font-size: 22px; }
  .hpn-gc { margin-top: 12px; }
  .hpn-foot { flex-direction: column-reverse; align-items: stretch; gap: 14px; margin-top: 34px; padding: 0 0 26px; border-top: 0; }
  .hpn-cta { min-width: 0; width: 100%; }
  .hpn-fine { text-align: center; }
}
@container hpn (max-width: 400px) {
  .hpn-face { padding: 48px 22px 0; }
  .hpn-tag { right: 20px; }
  .hpn-eb { font-size: 12.5px; letter-spacing: .2em; }
  .hpn-ttl { font-size: 46px; }
  .hpn-sub { font-size: 14.5px; letter-spacing: .18em; }
  .hpn-until { gap: 12px; font-size: 22px; } .hpn-until::before { width: 22px; }
  .hpn-n { font-size: 56px; }
  .hpn-cta { gap: 14px; padding: 0 16px; font-size: 14px; letter-spacing: .2em; }
}

/* ---------- 動き（hp-campaign.js が html に .hpn-js、カードに .is-on を付ける） ---------- */
.hpn-js .hpn { opacity: 0; transform: translateY(24px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.25,1,.3,1); }
.hpn-js .hpn.is-on { opacity: 1; transform: none; }
.hpn-js .hpn-rv { opacity: 0; transform: translateY(14px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.25,1,.3,1); }
.hpn-js .hpn.is-on .hpn-rv { opacity: 1; transform: none; }
.hpn-js .hpn .hpn-d1 { transition-delay: .2s; } .hpn-js .hpn .hpn-d2 { transition-delay: .45s; } .hpn-js .hpn .hpn-d3 { transition-delay: .7s; } .hpn-js .hpn .hpn-d4 { transition-delay: .95s; }
.hpn-js .hpn-tag { transform: translateY(-101%); transition: transform 1.3s cubic-bezier(.6,0,.2,1) .35s; }
.hpn-js .hpn.is-on .hpn-tag { transform: none; }
.hpn-js .hpn.is-on .hpn-tag::after { animation: hpn-glint 9s ease-in-out 2.4s infinite; }
@keyframes hpn-glint { 0% { background-position: 50% 100%; } 18%, 100% { background-position: 50% 0%; } }

/* 動きを減らす設定の人には、動きなしで最初から表示する */
@media (prefers-reduced-motion: reduce) {
  .hpn, .hpn *, .hpn *::after { animation: none !important; transition: none !important; }
  .hpn-js .hpn, .hpn-js .hpn-rv, .hpn-js .hpn-tag { opacity: 1; transform: none; }
}

/* ============================================================
 * 2026-11-25 クリスマスのギフトのカード（partials/hp-campaign.php の $gift_xmas）。TOP だけ・期間中だけ。
 * オーナー採用（Linear ARI-71・ARI-75）: 案3「贈りもののカード」＋シール A「二重線の印」。
 *   PC: キャンペーンのカード（.hpn）の右に、生成りの紙のカードを少し傾けて重ねる。
 *   959px 以下: 傾けずに縦に並べ、2枚とも高さを詰める（キャンペーンは特典を横2列に）。
 * キャンペーンのカードは列 .hpx-col に入れる。列を名前 hpn のコンテナにしないと、.hpn のコンテナクエリが全幅の組み方のままになる。
 * シールはグラデーションを使わない（2026-11-25 オーナー「グラデーションは避けて、もう少しスタイリッシュに」）。
 * 写真の窓 hp-xmas-gift-photo*.jpg は描いた絵（写真ではない）。筆記体 Pinyon Script・英字 Hanken Grotesk は
 * SIL Open Font License 1.1（Google Fonts の latin の woff2 を自己ホスト）。
 * ============================================================ */
@font-face { font-family: 'Pinyon Script'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/hp-campaign-pinyon.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/hp-campaign-hanken.woff2) format('woff2'); }

.hpx-sec { background: #EAE5D8; padding: clamp(72px, 9vw, 110px) 16px 0; }
.hpx-row { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; max-width: 1120px; margin: 0 auto; }
.hpx-row--solo { grid-template-columns: minmax(0, 500px); justify-content: center; }
.hpx-col { container: hpn / inline-size; position: relative; display: flex; min-width: 0; }
.hpx-col > * { flex: 1 1 auto; min-width: 0; }
.hpx-col--gift { z-index: 2; }
.hpx-row .hpn { display: flex; max-width: none; margin: 0; }
.hpx-row .hpn-face { flex: 1; grid-template-rows: auto auto 1fr; }
.hpx-row .hpn-foot { align-self: end; }
@media (min-width: 960px) { .hpx-row .hpn-gc span { display: block; } }  /* 重ねたカードの縁から離すため、特典2の注記は2行に */
@media (min-width: 960px) and (max-width: 1199px) {  /* キャンペーンの列が狭い幅では、注記が2行に割れないようボタンを幅いっぱいに */
  .hpx-row .hpn-foot { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .hpx-row .hpn-cta { width: 100%; min-width: 0; }
  .hpx-row .hpn-fine { text-align: center; }
}

/* ---------- 生成りの紙のカード ---------- */
.hpx { position: relative; display: flex; margin-left: -8px; transform: rotate(2.2deg); color: #2A2C26; font-family: 'Shippori Mincho', serif; font-variant-numeric: lining-nums; text-align: center; }
.hpx-row--solo .hpx { margin-left: 0; }
.hpx-paper { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 14px 14px 32px; background: #F8F4EB; box-shadow: 0 40px 60px -30px rgba(28,24,16,.5), 0 3px 10px rgba(28,24,16,.14); }
.hpx-paper::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .5  0 0 0 0 .42  0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }  /* 紙の粒 */
.hpx-photo { position: relative; align-self: stretch; aspect-ratio: 16 / 10; background: #3A382E url(/assets/hp-xmas-gift-photo.jpg) center / cover no-repeat; }

/* シール A「二重線の印」: 生成りの丸に金の細い線2本（グラデーションなし） */
.hpx-seal { position: absolute; right: 18px; bottom: -31px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 66px; height: 66px; margin: 0; border: 1px solid #A88B52; border-radius: 50%; background: #F8F4EB; box-shadow: 0 0 0 3px #F8F4EB, 0 0 0 4px #A88B52; color: #8E774C; }
.hpx-seal-k { margin-left: .3em; font-family: 'Hanken Grotesk', sans-serif; font-size: 10px; font-weight: 500; line-height: 1; letter-spacing: .3em; }
.hpx-seal-sp { display: block; width: 9px; height: 9px; }
.hpx-seal-sp path { fill: #A88B52; }
.hpx-seal-y { margin-left: .16em; font-family: 'Cormorant Garamond', serif; font-size: 12px; line-height: 1; letter-spacing: .16em; }

.hpx-scr { margin: 30px 0 0; padding: 0 6px; font-family: 'Pinyon Script', cursive; font-weight: 400; font-size: clamp(44px, 4.2vw, 60px); line-height: 1; letter-spacing: 0; white-space: nowrap; background: linear-gradient(100deg, #86662B 0%, #D7BB7B 26%, #F4E6BF 40%, #B8944F 58%, #86662B 78%, #C9A862 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }  /* 金の箔 */
.hpx-eb { margin: 8px 0 0; font-family: 'Hanken Grotesk', sans-serif; font-size: 10.5px; font-weight: 500; letter-spacing: .36em; white-space: nowrap; color: #8E774C; }
.hpx-lead { margin: 18px 0 0; font-size: 16.5px; line-height: 1.85; letter-spacing: .14em; }
.hpx-facts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; margin: 10px 0 0; font-size: 12px; letter-spacing: .08em; color: #5F5A4E; }
.hpx-facts b { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 16px; letter-spacing: .04em; color: #2A2C26; }
.hpx-facts i { width: 1px; height: 13px; background: rgba(142,119,76,.5); }
.hpx-cta { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 270px; height: 56px; margin-top: 22px; padding: 0 28px; box-sizing: border-box; background: #22261F; color: #F3EFE7; text-decoration: none; font-size: 14.5px; font-weight: 500; letter-spacing: .24em; transition: gap .4s ease, background .4s ease; }
.hpx-cta span { font-family: 'Cormorant Garamond', serif; font-size: 20px; letter-spacing: 0; }
.hpx-cta:hover { gap: 28px; background: #2E332A; color: #F3EFE7; }
.hpx-cta:focus-visible { outline: 2px solid #22261F; outline-offset: 4px; }
.hpx-fine { margin: 10px 0 0; font-size: 11px; letter-spacing: .08em; color: #8A8476; }

/* ---------- 959px 以下（スマホ・タブレット）: 傾けずに縦に並べ、2枚とも高さを詰める（2026-11-25 オーナー「縦長すぎる・斜めは無しに」） ---------- */
@media (max-width: 959px) {
  .hpx-row, .hpx-row--solo { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 520px; }
  .hpx { margin: 0; transform: none; }
  /* キャンペーンのカード: 特典を横2列に */
  .hpx-row .hpn-face { padding: 34px 22px 0; }
  .hpx-row .hpn-face::before { inset: 7px; }
  .hpx-row .hpn-tag { right: 20px; width: 30px; padding: 16px 0 24px; line-height: 30px; font-size: 11px; letter-spacing: .22em; }
  .hpx-row .hpn-head { padding-right: 40px; }
  .hpx-row .hpn-eb { font-size: 11px; letter-spacing: .14em; }
  .hpx-row .hpn-ttl { margin-top: 6px; font-size: 40px; }
  .hpx-row .hpn-sub { margin-top: 8px; font-size: 13.5px; letter-spacing: .16em; }
  .hpx-row .hpn-until { gap: 10px; margin-top: 10px; font-size: 19px; }
  .hpx-row .hpn-until::before { width: 18px; }
  .hpx-row .hpn-until small { margin-left: -6px; font-size: 13px; }
  .hpx-row .hpn-gifts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(194,173,140,.28); }
  .hpx-row .hpn-g { padding: 0 10px 0 0; }
  .hpx-row .hpn-g + .hpn-g { padding: 0 0 0 14px; }
  .hpx-row .hpn-g + .hpn-g::before { top: 2px; bottom: 2px; left: 0; right: auto; width: 1px; height: auto; background: rgba(194,173,140,.5); }
  .hpx-row .hpn-gk { font-size: 12px; letter-spacing: .18em; }
  .hpx-row .hpn-gl { margin-top: 2px; font-size: 12.5px; letter-spacing: .08em; }
  .hpx-row .hpn-gv { margin-top: 2px; }
  .hpx-row .hpn-gv::before { left: -8px; right: -8px; }
  .hpx-row .hpn-n { font-size: 35px; }
  .hpx-row .hpn-u { margin-left: 2px; font-size: 12.5px; }
  .hpx-row .hpn-off { margin-left: 4px; font-size: 14px; letter-spacing: .08em; }
  .hpx-row .hpn-gc { margin-top: 8px; font-size: 10.5px; line-height: 1.6; }
  .hpx-row .hpn-gc span { display: block; }
  .hpx-row .hpn-foot { gap: 8px; margin-top: 18px; padding: 0 0 18px; }
  .hpx-row .hpn-cta { height: 50px; }
  /* ギフトのカード: 写真の窓を低く、文と事実を1行ずつに */
  .hpx-paper { padding: 10px 10px 16px; }
  .hpx-photo { aspect-ratio: 16 / 7; background-image: url(/assets/hp-xmas-gift-photo-sp.jpg); }
  .hpx-seal { right: 12px; bottom: -16px; width: 50px; height: 50px; }
  .hpx-seal-k { font-size: 8px; }
  .hpx-seal-y { font-size: 9.5px; }
  .hpx-scr { margin-top: 18px; font-size: 40px; }
  .hpx-eb { margin-top: 4px; font-size: 9.5px; }
  .hpx-lead { margin-top: 10px; font-size: 14px; letter-spacing: .06em; }
  .hpx-lead br { display: none; }
  .hpx-facts { flex-wrap: nowrap; gap: 0 10px; margin-top: 4px; font-size: 11px; letter-spacing: .02em; }
  .hpx-facts i { height: 11px; }
  .hpx-facts b { font-size: 14px; }
  .hpx-cta { align-self: center; min-width: 240px; height: 48px; margin-top: 14px; padding: 0 30px; }  /* 幅いっぱいにしない（2026-11-25 オーナー「スペースがないので少し狭めて」） */
  .hpx-fine { margin-top: 8px; font-size: 10px; }
}
