/* The existing page's design, calculators, pictures and booking controls are not modified. */
.mtcb[hidden] { display: none !important; }
.mtcb { font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif; box-sizing:border-box; }
.mtcb *, .mtcb *::before, .mtcb *::after { box-sizing:border-box; }
@media (max-width: 767px) {
  .mtcb:not([hidden]) {
    display:block; position:fixed; z-index:9990; left:10px; right:10px; bottom:calc(10px + env(safe-area-inset-bottom, 0px));
    max-width:520px; margin:0 auto; padding:10px 11px 11px;
    background:#fff; border:2px solid #172744; border-radius:16px;
    box-shadow:0 5px 25px rgba(0,0,0,.19); line-height:1.35; color:#111;
  }
  .mtcb__head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:9px; }
  .mtcb__words { display:grid; gap:2px; min-width:0; }
  .mtcb__words strong { font-size:13px; font-weight:800; color:#192d48; }
  .mtcb__words span { color:#555; font-size:11px; }
  .mtcb__close { border:0; padding:1px 9px 4px; font-size:22px; line-height:1; background:#f0f0f0; color:#333; border-radius:10px; cursor:pointer; }
  .mtcb__close:focus-visible, .mtcb__actions a:focus-visible { outline:3px solid #146fc0; outline-offset:3px; }
  .mtcb__actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
  .mtcb__actions a, .mtcb__actions a:visited {
    text-decoration:none!important; text-align:center; font-size:15px; line-height:1.3; font-weight:800;
    min-height:46px; padding:12px 4px; border-radius:11px; display:flex; align-items:center; justify-content:center;
  }
  .mtcb__tel, .mtcb__tel:visited { background:#ffd838!important; color:#171717!important; border:1px solid #e7b000!important; }
  .mtcb__line, .mtcb__line:visited { background:#193d26!important; color:#fff!important; border:1px solid #193d26!important; }
  body.mtcb-visible { padding-bottom:125px !important; }
}
@media (min-width:768px) { .mtcb { display:none !important; } }
@media (prefers-reduced-motion: reduce) { .mtcb { transition:none !important; } }

/* Display-only correction on the single historical image with 15,000.
 * Positioned relative to native 800x1000 art and scales on mobile. */
.mtcb-claim-image-wrap { display:inline-block; position:relative; box-sizing:border-box; vertical-align:top; width:min(100%, 800px); max-width:100%; container-type:inline-size; }
.mtcb-claim-image-wrap img, .mtcb-claim-image-wrap picture { display:block; width:100%; max-width:100%; height:auto; }
.mtcb-claim-image-wrap .mtcb-claim-image-label {
  position:absolute; z-index:1; box-sizing:border-box;
  left:18.5%; top:60.8%; width:37.5%; height:5.9%;
  display:flex; align-items:center; justify-content:center;
  padding:0 1%; margin:0; line-height:1.1; white-space:nowrap;
  font-size:3.13cqw; font-weight:900; letter-spacing:-.05em;
  color:#362514; background:linear-gradient(100deg,#fff9ec 0%,#fff7e9 70%,#f8e6cb 100%);
  border:1px solid rgba(175,120,33,.35); border-radius:3px;
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  pointer-events:none;
}
@media (max-width:400px) {
  .mtcb-claim-image-wrap .mtcb-claim-image-label { font-size:3.10cqw; border-width:.5px; }
}
