/* Only enqueued for accessible campaign details. Keep the theme's floral heading and breadcrumb trail. */
body.other > #main-contents:has(.myce-detail) { margin-top:18px; }
/* On desktop the native breadcrumb is relatively positioned 75px below its box. */
@media(min-width:769px) {
  body.other > #main-contents:has(.myce-detail) { margin-top:97px; }
}
/* The theme's generic article entrance otherwise translates the entire long page by its own height. */
article.myce-detail { animation:none; transform:none; opacity:1; }
#main-contents .article-single:has(.myce-detail) { width:100%; max-width:none; margin-inline:auto; }
.article-single .article-cont:has(.myce-detail) { width:100%; max-width:none; padding:0; background:white !important; }
.article-cont:has(.myce-detail) > .inner_min, .article-cont:has(.myce-detail) .article-info.single-info { width:100%; max-width:none; margin:0; padding:0; }
.article-cont:has(.myce-detail) .article-info-day { display:none; }
.article-single .article-cont:has(.myce-detail) > h1 {
  box-sizing:border-box; width:min(calc(100% - 72px),1100px); margin:0 auto; padding:10px 18px; border:1px solid #a65522;
  box-shadow:inset 4px 0 #f0d78d; background:#a65522; color:white; font:700 clamp(16px,1.6vw,20px)/1.55 "Yu Gothic",Meiryo,sans-serif;
  text-align:left; letter-spacing:.01em; overflow-wrap:anywhere;
}
.article-single .article-cont:has(.myce-detail) > h1::before,.article-single .article-cont:has(.myce-detail) > h1::after { content:none; }
.myce-detail {
  --brand:#a65522; --deep:#703716; --cream:#fff4bf; --line:#e9dfbd; --gold:#f0d78d; --red:#d00000;
  margin:0; color:#302c27; background:white; font:15px/1.8 "Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  text-align:left; overflow-wrap:anywhere;
}
.myce-detail,.myce-detail *, .myce-detail ::before,.myce-detail ::after,.myce-lightbox,.myce-lightbox * { box-sizing:border-box; }
.article-info .myce-detail :is(p,figure,ul,li,dl,dt,dd) { margin:0; padding:0; color:inherit; font:inherit; }
.article-info .myce-detail :is(h2,h3) { position:relative; margin:0; padding:0; background:none; border:0; box-shadow:none; color:var(--deep); font:700 19px/1.55 "Yu Gothic",Meiryo,sans-serif; text-align:left; }
.article-info .myce-detail :is(h2,h3)::before,.article-info .myce-detail :is(h2,h3)::after { content:none; }
.myce-detail a { color:var(--deep); text-underline-offset:.2em; }
.myce-detail :focus-visible,.myce-lightbox :focus-visible { outline:3px solid #71400e; outline-offset:3px; }
.myce-detail [id] { scroll-margin-top:110px; }
.myce-badges,.myce-hero-inner { width:min(calc(100% - 72px),1100px); margin-inline:auto; }
.myce-badges { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px; padding:1px 18px 10px; background:var(--brand); }
.myce-badges details > div { display:flex; flex-wrap:wrap; gap:4px; margin-top:4px; }
.myce-badges .myce-tag,.myce-badges summary { display:inline-block; width:auto; padding:2px 8px; border:1px solid #c9c0aa; border-radius:3px; background:#fcfbf7; box-shadow:inset 3px 0 #fa94ab; color:#754c24; font:600 12px/1.55 "Yu Gothic",Meiryo,sans-serif; }
.myce-badges summary { border-style:dashed; cursor:pointer; list-style:none; box-shadow:none; }
.myce-badges summary::-webkit-details-marker { display:none; }
.myce-badges [data-kind="treatment"] { box-shadow:inset 3px 0 #94b9fa; }
.myce-badges [data-tag="limited"] { color:#842e42; background:#fff0f0; box-shadow:inset 3px 0 #c84f68; }
.myce-badges [data-tag="weekday"] { color:#20574e; background:#eaf6f3; box-shadow:inset 3px 0 #3f8c7f; }
.myce-badges [data-tag="quantity"] { color:#70460e; background:#fff4d5; box-shadow:inset 3px 0 #c08927; }
.myce-badges [data-tag="monitor"] { color:#593a78; background:#f1ecfa; box-shadow:inset 3px 0 #936ab3; }
.myce-badges [data-tag="men"] { color:#344e62; background:#eaf2f7; box-shadow:inset 3px 0 #6789a1; }
.myce-badges [data-tag="women"] { color:#774052; background:#fceef1; box-shadow:inset 3px 0 #aa7088; }
.myce-hero { container-type:inline-size; padding:18px 0 35px; border-bottom:1px solid var(--line); background-color:#fffdf6; background-image:radial-gradient(ellipse at 100% 100%,#fff4bfc2,transparent 56%),linear-gradient(90deg,#e9dfbd65 1px,transparent 1px),linear-gradient(#e9dfbd65 1px,transparent 1px); background-size:100% 100%,26px 26px,26px 26px; }
.myce-hero-inner { display:grid; min-width:0; grid-template-columns:minmax(0,1fr); gap:16px; }
@media(min-width:761px) {
  .myce-with-image { grid-template-columns:minmax(0,calc(((100% - 16px) / 2.07 - 18px) * 1.3 + 18px)) minmax(0,1fr); }
}
.article-info .myce-detail .myce-poster { display:flex; align-items:center; min-width:0; padding:8px; border:1px solid var(--line); background:linear-gradient(135deg,white,#fffaf0); box-shadow:inset 0 2px var(--gold); }
.myce-detail .myce-zoom { position:relative; display:block; width:100%; cursor:zoom-in; }
.article-info .myce-detail .myce-poster img { display:block; width:100%; max-width:100%; height:auto; margin:0; }
.myce-zoom > span { position:absolute; right:7px; bottom:7px; display:grid; place-items:center; width:29px; height:29px; border:1px solid var(--line); background:#fffffff2; color:var(--brand); font:700 19px/1 Arial,sans-serif; }
.myce-offer { display:flex; flex-flow:column; align-items:stretch; justify-content:flex-start; gap:14px; min-width:0; overflow:hidden; border:1px solid var(--line); background:white; }
.myce-offer-heading { padding:clamp(18px,2.2vw,30px); background:var(--brand); }
.article-info .myce-detail .myce-offer-heading p { color:var(--cream); font-size:13px; font-weight:700; }
.article-info .myce-detail .myce-offer-heading h2 { color:white; font-size:clamp(23px,2.5vw,34px); line-height:1.4; }
.myce-pricing,.myce-service-links,.myce-jump { margin-inline:clamp(16px,2.2vw,30px); }
.article-info .myce-detail .myce-quoted-price { margin:0 clamp(16px,2.2vw,30px); font-size:clamp(17px,2.4vw,28px); line-height:1.45; color:#b70000; font-weight:750; }
.article-info .myce-detail .myce-pricing p { font-size:14px; }
.article-info .myce-detail .myce-pricing .myce-price-label { font-size:13px; font-weight:700; color:var(--deep); }
.article-info .myce-detail .myce-pricing .myce-price { margin:5px 0; color:var(--red); font-size:19px; line-height:1.2; font-weight:700; }
.myce-price strong { font:650 clamp(48px,5.6vw,78px)/1 Arial,sans-serif; letter-spacing:-.055em; }
.myce-price small { font-size:12px; }
.article-info .myce-detail .myce-pricing .myce-saving { display:inline-block; margin-top:3px; background:var(--cream); padding:1px 6px; font-size:12px; font-weight:700; }
.article-info .myce-detail .myce-service-links h3 { margin:0 0 6px; font-size:14px; }
.article-info .myce-detail .myce-inclusions { display:grid; grid-template-columns:1fr 1fr; gap:5px 8px; list-style:none; }
.article-info .myce-detail .myce-inclusions li { padding:4px 8px; border:1px solid #c9c0aa; box-shadow:inset 3px 0 #94b9fa; background:#fcfbf7; font-size:13px; font-weight:700; }
.myce-offer .myce-consult { display:block; margin:auto clamp(16px,2.2vw,30px) clamp(16px,2.2vw,30px); padding:10px; background:var(--brand); color:white; text-align:center; text-decoration:none; font-size:14px; font-weight:700; }
.myce-reader { width:min(calc(100% - 72px),900px); margin:0 auto; padding:clamp(23px,3vw,38px) 0 36px; }
.myce-section + .myce-section,.myce-booking { margin-top:clamp(28px,4vw,43px); }
.article-info .myce-detail .myce-section > h2 { margin:0 0 16px; padding-bottom:10px; border-bottom:1px solid var(--line); background:linear-gradient(0deg,var(--cream),transparent 12px); color:var(--deep); font-size:clamp(19px,2vw,25px); }
.article-info .myce-detail .myce-section > h2::after { content:""; position:absolute; inset:auto auto -1px 0; width:min(25%,100px); height:3px; background:linear-gradient(90deg,var(--brand) 55%,var(--gold) 55% 82%,var(--deep) 82%); }
.article-info .myce-detail .myce-notes { margin-top:12px; padding:10px 14px; border-left:3px solid #85501f; background:#fffaf0; font-size:14px; }
.myce-table { border:1px solid var(--line); }
.myce-table > div { display:grid; grid-template-columns:minmax(132px,27%) minmax(0,1fr); }
.myce-table > div + div { border-top:1px solid var(--line); }
.article-info .myce-detail .myce-table :is(dt,dd) { padding:11px 14px; }
.article-info .myce-detail .myce-table dt { background:var(--cream); font-weight:700; }
.myce-services { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.myce-services > div { border:1px solid var(--line); padding:17px; background:linear-gradient(145deg,var(--cream),white 55%); box-shadow:inset 0 3px var(--brand); }
.myce-services > div > span { display:inline-block; padding:1px 7px; background:var(--brand); color:white; font-size:11px; font-weight:700; }
.article-info .myce-detail .myce-services h3 { margin:5px 0; font-size:17px; }
.article-info .myce-detail .myce-services p { font-size:14px; }
.myce-blocks { display:grid; gap:10px; min-width:0; }
.article-info .myce-detail .myce-blocks h3 { padding:4px 10px; border-left:3px solid var(--brand); background:#fff9e5; font-size:clamp(16px,2vw,20px); }
.article-info .myce-detail .myce-blocks ul { padding-inline-start:1.3em; }
.article-info .myce-detail .myce-blocks .myce-zoom { width:fit-content; max-width:100%; margin:auto; border:1px solid var(--line); }
.article-info .myce-detail .myce-blocks img,.myce-native img { display:block; max-width:100%; height:auto; margin:auto; }
.myce-booking { padding:clamp(19px,3vw,33px); background:linear-gradient(120deg,var(--deep),var(--brand)); color:white; box-shadow:inset 0 4px var(--gold); }
.article-info .myce-detail .myce-booking h2 { color:white; margin:0 0 8px; font-size:clamp(19px,2vw,24px); }
.myce-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:16px; }
.myce-actions a { padding:10px 15px; background:var(--cream); color:var(--deep); text-decoration:none; font-weight:700; }
.myce-actions a + a { background:#fffaf0; }
.article-info .myce-detail :is(.myce-related,.myce-return) { margin-top:18px; font-size:14px; }
.myce-lightbox { width:max-content; max-width:min(94vw,1080px); max-height:94vh; max-height:94dvh; padding:8px; margin:auto; border:1px solid #e9dfbd; background:white; color:#302c27; }
.myce-lightbox::backdrop { background:#17110edb; }
.myce-lightbox button { display:block; margin:0 0 6px auto; padding:7px 14px; border:0; background:#703716; color:white; cursor:pointer; }
.myce-lightbox .myce-image-scroll { max-height:calc(94vh - 75px); max-height:calc(94dvh - 75px); overflow:auto; overscroll-behavior:contain; }
.myce-lightbox img { display:block; width:auto; max-width:100%; height:auto; max-height:calc(94dvh - 75px); object-fit:contain; margin:auto; }
.myce-lightbox p { display:none; }
body:has(.myce-lightbox[open]) { overflow:hidden; }
@media (min-width:761px) {
  .myce-lightbox {
    --myce-screen-height:100vh;
    --myce-image-ratio:1;
    /* Keep the close button outside the picture, in either the side or top margin. */
    --myce-fit-beside:min(calc(100vw - 112px),calc((var(--myce-screen-height) - 8px) * var(--myce-image-ratio)));
    --myce-fit-below:min(calc(100vw - 8px),calc((var(--myce-screen-height) - 112px) * var(--myce-image-ratio)));
    position:fixed; inset:0; margin:auto; padding:0; border:0;
    width:max(var(--myce-fit-beside),var(--myce-fit-below)); max-width:none; max-height:none;
    height:fit-content; overflow:visible; background:transparent;
  }
  .myce-lightbox::backdrop { background:#17110ef2; }
  .myce-lightbox button {
    position:fixed; top:6px; right:6px; width:44px; height:44px;
    margin:0; padding:0; border:1px solid #ffffff80; border-radius:50%;
    background:#342820; color:white; font:600 12px/1.25 Meiryo,sans-serif;
  }
  .myce-lightbox button:focus-visible { outline:2px solid white; outline-offset:2px; }
  .myce-lightbox .myce-image-scroll { max-height:none; overflow:visible; }
  .myce-lightbox img { width:100%; max-width:none; height:auto; max-height:none; }
  @supports (height:100dvh) {
    .myce-lightbox { --myce-screen-height:100dvh; }
  }
}
@media(max-width:760px) {
  .article-single .article-cont:has(.myce-detail) > h1,.myce-badges,.myce-hero-inner,.myce-reader { width:min(calc(100% - 32px),550px); }
  .article-single .article-cont:has(.myce-detail) > h1 { padding:8px 12px; font-size:16px; }
  .myce-badges { padding:0 12px 7px; }
  .myce-hero { padding:12px 0 20px; }
  .myce-hero-inner { grid-template-columns:minmax(0,1fr); gap:9px; }
  .article-info .myce-detail .myce-poster { width:min(100cqi,calc((100% - 12px) * 1.3)); max-width:none; justify-self:center; padding:0; border:0; }
  .myce-detail { font-size:14px; }
  .myce-detail [id] { scroll-margin-top:24vw; }
  .myce-reader { padding-top:22px; }
  .myce-services,.myce-actions { display:grid; grid-template-columns:minmax(0,1fr); }
  .myce-table > div { grid-template-columns:30% minmax(0,1fr); }
  .article-info .myce-detail .myce-table :is(dt,dd) { padding:8px; font-size:13px; }
  .myce-lightbox { width:94vw; }
  .myce-lightbox p { display:block; margin:0 0 5px; color:#55473f; font-size:12px; }
  /* The theme caps mobile images with !important; the zoom viewer needs room to pan. */
  .myce-lightbox img { width:var(--myce-zoom-width); max-width:none !important; max-height:none; }
}
/* Use the theme's own artwork in a smaller encoding. Keep its framing and dimensions. */
body.other > header.page-hd.custom_hd { background-image:url("title-flowers.webp"); }
body.other > header.page-hd.custom_hd > .heaer_back { background-image:url("title-reception.webp"); }
@media (max-width:768px) {
  body.other .hd-top { background-color:#fff; }
}
