/* ============================================================
   チラシの枠（2026-12-03 安部さん「枠の形ちゃんと再現してね」）
   左上は紺のL字（角は四角）、右下はオレンジのL字（紺を180度回した形）。
   上と下の辺は真ん中で斜めに切れて離れ、左下と右上の角は斜めの白い筋で切れる。
   太さ --t。index / about / first / photos で読む
   ============================================================ */
.pho-day, .aw2-win, body.x-home .x-panel-txt{
  --t: 10px; --fx: 45.5%;
  position: relative; overflow: hidden;
  border: 0 !important;
}
.pho-day::before, .pho-day::after,
.aw2-win::before, .aw2-win::after,
body.x-home .x-panel-txt::before, body.x-home .x-panel-txt::after{
  content: ""; position: absolute; inset: 0 !important;
  width: auto !important; height: auto !important;
  z-index: 1; pointer-events: none; opacity: 1 !important;
  -webkit-mask: none !important; mask: none !important;
  background: #14275A !important;
  clip-path: polygon(
    0 0, var(--fx) 0, calc(var(--fx) + var(--t) * 1.4) var(--t),
    var(--t) var(--t), var(--t) calc(100% - var(--t) * 1.1),
    0 calc(100% - var(--t) * 1.8),
    0 100%, calc(var(--t) * 2.6) 100%,
    var(--fx) 100%, calc(var(--fx) + var(--t) * 1.4) calc(100% - var(--t)),
    calc(var(--t) * 1.3) calc(100% - var(--t)), calc(var(--t) * 2.6) 100%,
    0 100%, 0 calc(100% - var(--t) * 1.8)
  );
}
.pho-day::after, .aw2-win::after, body.x-home .x-panel-txt::after{
  background: #F26B21 !important;
  transform: rotate(180deg);
}
/* オレンジの札の上では、オレンジの枠を白に */
body.x-home .x-panel-txt:nth-child(even)::after{ background: #fff !important; }
/* 中身が枠にかからないよう少し内側へ */
.pho-day, .aw2-win{ padding-left: max(28px, calc(var(--t) * 3)); padding-right: max(28px, calc(var(--t) * 3)); }
@media (min-width: 761px){ .pho-day, .aw2-win{ --t: 14px; } }
.pho-day, .aw2-win, body.x-home .x-panel-txt, .haw, .haw::before{ border-radius: 0 !important; }

/* ---- 枠の中は、チラシと同じく真ん中にそろえる（2026-12-03 安部さん「なんでこんな左詰めなの？」）
   枠から中身まで、四方とも同じだけ空ける ---- */
body.x-home .x-panel-txt{
  align-items: center !important; justify-content: center !important; text-align: center;
  padding: calc(var(--t) + 32px) calc(var(--t) + 24px) !important;
}
body.x-home .x-panel-txt .t{ display: block; width: 100%; text-align: center; transform: skewX(-6deg); }
body.x-home .x-panel-txt .d{
  width: 100%; max-width: 20em; margin: 20px auto 0 !important; padding-top: 0 !important;
  border-top: 0 !important; text-align: center;
}
body.x-home .x-panel-txt .d::before{
  content: ""; display: block; width: 56px; height: 4px; margin: 0 auto 16px;
  background: #F26B21; transform: skewX(-20deg);
}
body.x-home .x-panel-txt:nth-child(even) .d::before{ background: #14275A; }
.pho-day{ text-align: center; }
.pho-day .pd-qr{ justify-content: center; text-align: left; }
body.x-home .x-panel-txt .t{ font-size: clamp(32px, 8.4vw, 46px) !important; line-height: 1.25; text-wrap: balance; }
body.x-home .x-panel-txt .d{ max-width: 22em; text-wrap: balance; }
