/* Original goods page only. Shared site header and footer use existing styles. */
.goods-hero.css-service-hero{position:relative;overflow:visible;height:auto;min-height:280px;aspect-ratio:2048/856;isolation:isolate}
.goods-hero .css-service-hero__bg{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;pointer-events:none}
.goods-hero__copy{position:relative;width:min(1400px,calc(100% - 48px));margin:0 auto;padding:40px 24px 55px;color:#082f78;box-sizing:border-box}
.goods-hero__eyebrow{margin:0 0 12px;font-size:13px;font-weight:800;letter-spacing:.12em}
.goods-hero__copy h1{margin:0 0 16px;font-size:clamp(29px,3.1vw,48px);line-height:1.25;font-weight:900;letter-spacing:.02em}
.goods-hero__copy>p:last-child{margin:0;font-size:clamp(13px,1.35vw,17px);font-weight:700;line-height:1.8;color:#173b68}
.goods-main,.goods-main *,.goods-hero__copy *{box-sizing:border-box}
.goods-main{width:min(1400px,calc(100% - 48px));margin:0 auto 64px;color:#18273a;font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
.goods-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:#65758a;font-size:12px;margin:20px 0 30px}
.goods-breadcrumb a{color:#073b91;text-decoration:none}
.goods-breadcrumb a:hover{text-decoration:underline}
.goods-intro{margin:0 0 24px}
.goods-intro__title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.goods-intro h2,.goods-note h2{font-size:clamp(21px,2vw,28px);color:#0b367c;font-weight:900;margin:0}
.goods-status{font-size:12px;font-weight:700;border:1px solid #d3deeb;border-radius:4px;background:#f3f6fa;padding:4px 10px;color:#354d6b}
.goods-intro>p{font-size:14px;line-height:1.8;margin:12px 0}
.goods-intro .goods-notice{background:#f4f7fb;border-left:3px solid #0a408e;padding:12px 16px;font-size:13px;color:#46566b;margin:16px 0 0}
.goods-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.goods-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dce4ee;border-radius:12px;background:#fff;overflow:hidden}
.goods-card__image{display:block;background:#fff;line-height:0}
.goods-card__image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.goods-card__image:focus-visible,.goods-expand:focus-visible,.goods-cta:focus-visible{outline:2px solid #1768d4;outline-offset:-3px}
.goods-card__body{display:flex;flex-direction:column;flex:1;padding:18px 22px 20px;border-top:1px solid #e5ebf2}
.goods-card__number{font-size:11px;font-weight:800;letter-spacing:.1em;color:#6a7d95;margin:0 0 5px}
.goods-card h3{font-size:clamp(17px,1.55vw,23px);line-height:1.4;color:#0a3075;margin:0 0 8px;font-weight:800}
.goods-card__description{font-size:14px;line-height:1.75;margin:0 0 18px;color:#46566b}
.goods-card__bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:auto}
.goods-price{margin:0;display:flex;flex-direction:column;gap:2px}
.goods-price span{font-size:11px;color:#6b7686}
.goods-price strong{font-size:clamp(19px,1.8vw,25px);color:#bc1223;font-weight:800;line-height:1.3}
.goods-expand{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#073b91;text-decoration:none;font-weight:700;white-space:nowrap;padding:6px 0}
.goods-expand svg{width:17px;height:17px}
.goods-expand:hover{text-decoration:underline}
.goods-note{margin-top:36px;padding:28px;border:1px solid #dce4ee;border-radius:10px;background:#f7faff}
.goods-note p{font-size:17px;line-height:1.85;margin:14px 0 0;overflow-wrap:anywhere}
.goods-note p+p{font-size:14px;line-height:1.8;color:#56667a}
.goods-cta{display:inline-flex;justify-content:space-between;align-items:center;gap:40px;border-radius:8px;background:#073b91;color:#fff;text-decoration:none;font-size:14px;font-weight:800;padding:12px 20px;margin-top:8px}
.goods-cta:hover{background:#0b57b5}
@media(max-width:760px){
.goods-main{width:calc(100% - 28px);margin-bottom:36px}
.goods-hero.css-service-hero{min-height:240px}
.goods-hero__copy{width:calc(100% - 28px);padding:34px 4px 40px}
.goods-grid{grid-template-columns:1fr;gap:18px}
.goods-card__body{padding:14px 16px 16px}
.goods-note{padding:20px 16px}
.goods-note p{font-size:16px}
.goods-note p+p{font-size:14px}
.goods-breadcrumb{margin:16px 0 24px}
}

/* In-page product image viewer; existing layout remains unchanged. */
html.goods-lightbox-open{overflow:hidden}
.goods-card__image{cursor:zoom-in}
.goods-lightbox{position:fixed;inset:0;margin:0;border:0;padding:20px;width:100%;height:100%;max-width:none;max-height:none;background:transparent;box-sizing:border-box;overflow:hidden}
.goods-lightbox[open]{display:flex;align-items:center;justify-content:center}
.goods-lightbox::backdrop{background:rgba(255,255,255,.70);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.goods-lightbox__image{display:block;flex:0 1 auto;min-width:0;max-width:100%;max-height:100%;margin:0;padding:0;border:0;background:transparent;cursor:zoom-out;line-height:0;outline:none;box-shadow:none}
.goods-lightbox__image img{display:block;width:auto;height:auto;max-width:min(1536px,calc(100vw - 40px));max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);object-fit:contain;border-radius:4px;box-shadow:0 12px 40px rgba(0,0,0,.24)}
@media(max-width:760px){.goods-lightbox{padding:10px}.goods-lightbox__image img{max-width:calc(100vw - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}}

.goods-lightbox:focus,.goods-lightbox__image:focus,.goods-lightbox__image:focus-visible{outline:none!important;box-shadow:none!important}

/* Goods hero photograph only. Keep the original shared navigation and product grid. */
@media(min-width:941px){
.goods-hero .goods-hero__copy{position:absolute;top:54%;left:clamp(24px,5.8vw,112px);width:38%;margin:0;transform:translateY(-50%);padding:0;pointer-events:auto}
.goods-hero .goods-hero__copy>p:last-child{max-width:100%;}
.goods-hero .goods-hero__copy h1{font-size:clamp(29px,2.8vw,48px)}
}
@media(max-width:940px){
.goods-hero.css-service-hero{aspect-ratio:auto}
.goods-hero .css-service-hero__bg{object-position:68% center}
.goods-hero .goods-hero__copy{background:linear-gradient(90deg,rgba(255,255,255,.85),rgba(255,255,255,.56) 48%,transparent 92%)}
}

/* Goods page only: full-bleed hero and selectable HTML heading. */
body.goods-page{margin:0;padding:0}
.goods-page .goods-hero.css-service-hero{width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-sizing:border-box}
.goods-page .goods-hero__copy{font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;user-select:text;-webkit-user-select:text;pointer-events:auto;z-index:2}
.goods-page .goods-hero__copy h1,.goods-page .goods-hero__copy p{user-select:text;-webkit-user-select:text;pointer-events:auto}
.goods-page .goods-hero .css-service-hero__header{z-index:10}
@media(min-width:941px){.goods-page .goods-hero__copy h1{font-size:clamp(26px,2.65vw,48px)}.goods-page .goods-hero__copy>p:last-child{font-size:clamp(12px,1.05vw,17px)}}

/* Header copy remains real, selectable HTML; keep clear of the goods below. */
.goods-page .goods-hero__copy h1{color:#082f78}
.goods-page .goods-hero__copy h1::after{content:"";display:block;width:clamp(36px,4.2vw,82px);height:clamp(3px,.35vw,7px);background:#082f78;margin-top:.28em}
@media(min-width:941px){
.goods-page .goods-hero .goods-hero__copy{top:14.5%;left:2.05%;width:39%;transform:none;padding:0;margin:0;position:absolute;}
.goods-page .goods-hero .goods-hero__eyebrow{font-size:clamp(13px,1.45vw,29px);line-height:1.15;margin:0 0 .36em;letter-spacing:.085em;font-weight:800;}
.goods-page .goods-hero .goods-hero__copy h1{font-size:clamp(25px,3.48vw,70px);line-height:1.16;letter-spacing:-.015em;margin:0 0 .30em;white-space:nowrap;font-weight:900;}
.goods-page .goods-hero .goods-hero__copy>p:last-child{font-size:clamp(12px,1.38vw,28px);line-height:1.5;font-weight:800;letter-spacing:0;color:#082f78;}
}
