/* Shared Japanese company design for package and local-tour category pages and LPs. */
body.sb-company-layout{
 --sb-layout-ink:#193d3b;--sb-layout-muted:#60716b;--sb-layout-paper:#fcfbf7;
 --sb-layout-line:#e4e5db;--sb-layout-gold:#a77b35;--sb-layout-price:#d63f20;
 background:var(--sb-layout-paper);color:var(--sb-layout-ink);
 font-family:"Yu Gothic",Meiryo,sans-serif;font-size:15px;line-height:1.85;
}
.sb-company-layout .sb-main{max-width:1260px;margin:auto;padding:0 36px 72px}
.sb-company-layout .sb-breadcrumb{padding:24px 0;font-size:12px;line-height:1.8;color:var(--sb-layout-muted);overflow-wrap:anywhere}
.sb-company-layout .sb-breadcrumb a{color:var(--sb-layout-ink);text-underline-offset:4px}
.sb-company-layout .sb-detail-title{max-width:1100px;margin:12px 0 32px}
.sb-company-layout .sb-detail-title>small,.sb-company-layout .sb-intro>small{font:400 11px/1.8 "Yu Gothic",Meiryo,sans-serif;letter-spacing:.14em;color:var(--sb-layout-gold)}
.sb-company-layout .sb-detail-title h1{font:500 clamp(28px,3vw,40px)/1.55 "Yu Mincho",Georgia,serif;color:var(--sb-layout-ink);letter-spacing:.02em;margin:14px 0 20px;overflow-wrap:anywhere}
.sb-company-layout .sb-detail-title>p{max-width:900px;font-size:15px;line-height:1.9;color:var(--sb-layout-muted);margin:0}
.sb-company-layout .sb-detail-jump{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
.sb-company-layout .sb-detail-jump a{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;background:#fff;border:1px solid var(--sb-layout-line);font-size:13px;color:var(--sb-layout-ink);text-decoration:none}
.sb-company-layout .sb-detail-jump a:hover{background:#eef0e8;border-color:var(--sb-layout-ink)}
.sb-company-layout .sb-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin:0 0 36px;overflow:hidden}
.sb-company-layout .sb-gallery>img{display:block;width:100%;height:180px;min-height:0;object-fit:cover;margin:0}
.sb-company-layout .sb-gallery>img:first-child{grid-row:span 2;height:370px;min-height:0}
.sb-company-layout .sb-gallery>img:nth-child(4){grid-column:2 / -1;height:180px}
.sb-company-layout .sb-gallery[data-photo-count="3"]{grid-template-columns:2fr 1fr}
.sb-company-layout .sb-gallery[data-photo-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.sb-company-layout .sb-gallery[data-photo-count="2"]>img{grid-row:auto;height:320px}
.sb-company-layout .sb-gallery[data-photo-count="1"]{grid-template-columns:minmax(0,1fr)}
.sb-company-layout .sb-gallery[data-photo-count="1"]>img{grid-row:auto;height:400px}
.sb-company-layout .sb-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}
.sb-company-layout .sb-article{min-width:0;overflow-wrap:anywhere}
.sb-company-layout .sb-article>section{background:#fff;border:1px solid var(--sb-layout-line);border-radius:0;padding:30px;margin:0 0 26px;scroll-margin-top:90px}
.sb-company-layout .sb-article h2{font:500 25px/1.6 "Yu Mincho",Georgia,serif;letter-spacing:.02em;color:var(--sb-layout-ink);margin:0 0 22px;padding:0 0 15px;border-bottom:1px solid var(--sb-layout-line)}
.sb-company-layout .sb-article h3,.sb-company-layout .sb-article h4,.sb-company-layout .sb-article h5{font:600 18px/1.7 "Yu Gothic",Meiryo,sans-serif;color:var(--sb-layout-ink);margin:24px 0 12px}
.sb-company-layout .sb-article p,.sb-company-layout .sb-article li{font-size:14px;line-height:1.95}
.sb-company-layout .sb-article a{text-underline-offset:4px}
.sb-company-layout .sb-article ul,.sb-company-layout .sb-article ol{padding-left:24px}
.sb-company-layout .sb-article table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:13px;line-height:1.8}
.sb-company-layout .sb-article th,.sb-company-layout .sb-article td{padding:12px;border:1px solid var(--sb-layout-line);vertical-align:top}
.sb-company-layout .sb-article th{background:#eef0e8;font-weight:600;color:var(--sb-layout-ink)}
.sb-company-layout .sb-article img{max-width:100%;height:auto;max-height:600px;object-fit:contain}
.sb-company-layout .sb-summary{position:sticky;top:calc(var(--sb-company-header-height,68px) + 24px);padding:26px;background:#eef0e8;border:1px solid var(--sb-layout-line);border-radius:0;min-width:0}
.sb-company-layout .sb-summary p{font-size:13px;line-height:1.85;overflow-wrap:anywhere}
.sb-company-layout .sb-summary .sb-big-price{font-size:28px;font-weight:700;line-height:1.5;margin:14px 0 20px;color:var(--sb-layout-price)}
.sb-company-layout .sb-summary .sb-reference-conditions{font-size:12px;color:var(--sb-layout-muted)}
.sb-company-layout .sb-summary>small{font-size:11px;line-height:1.8;color:var(--sb-layout-muted)}
.sb-company-layout .sb-button{display:block;border:1px solid var(--sb-layout-gold);border-radius:0;background:var(--sb-layout-gold);color:#fff;padding:13px 18px;min-height:46px;font:600 14px/1.7 "Yu Gothic",Meiryo,sans-serif;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.sb-company-layout .sb-button:hover{background:#92703c;border-color:#92703c;color:#fff}
.sb-company-layout .sb-button.sb-outline{background:transparent;border-color:var(--sb-layout-ink);color:var(--sb-layout-ink)}
.sb-company-layout .sb-button.sb-outline:hover{background:#fff}
.sb-company-layout .sb-booking{border-radius:0}
.sb-company-layout .sb-booking input:not([type=checkbox]),.sb-company-layout .sb-booking select{min-height:46px;border:1px solid #a7b8ab;border-radius:0;font:14px/1.7 "Yu Gothic",Meiryo,sans-serif;color:var(--sb-layout-ink);background:#fff}
.sb-company-layout .sb-booking .sb-quote,.sb-company-layout .sb-autopay-info{border-radius:0}
.sb-company-layout .sb-booking [hidden]{display:none!important}
.sb-company-layout .sb-booking button:disabled{opacity:.5;cursor:not-allowed}
.sb-company-layout :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--sb-layout-gold);outline-offset:4px}
.sb-company-layout .sb-hero{min-height:440px}
.sb-company-layout .sb-hero h1{font-family:"Yu Mincho",Georgia,serif;font-weight:500;line-height:1.5}
.sb-company-layout .sb-intro{padding:64px 0 36px;text-align:center}
.sb-company-layout .sb-intro h1,.sb-company-layout .sb-intro h2{font:500 32px/1.6 "Yu Mincho",Georgia,serif;color:var(--sb-layout-ink)}
.sb-company-layout .sb-intro p{font-size:14px;line-height:1.85;color:var(--sb-layout-muted)}
.sb-company-layout .sb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.sb-company-layout .sb-grid .sb-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--sb-layout-line);color:var(--sb-layout-ink);text-decoration:none;overflow:hidden}
.sb-company-layout .sb-grid .sb-card>img{display:block;width:100%;height:200px;object-fit:cover}
.sb-company-layout .sb-grid .sb-card>div{display:flex;flex:1;flex-direction:column;padding:24px}
.sb-company-layout .sb-grid .sb-card h3{font:600 19px/1.65 "Yu Gothic",Meiryo,sans-serif;margin:10px 0 12px;color:var(--sb-layout-ink)}
.sb-company-layout .sb-grid .sb-card p{font-size:13px;line-height:1.85;color:var(--sb-layout-muted)}
.sb-company-layout .sb-grid .sb-card>div>span{font-size:13px;font-weight:600;color:var(--sb-layout-ink);margin-top:auto;padding-top:12px}
.sb-company-layout .sb-footer{background:#173e3c;color:#f4f1e5;font:13px/1.9 "Yu Gothic",Meiryo,sans-serif}
.sb-company-layout .sb-footer h2{font:400 26px/1.6 Georgia,serif;letter-spacing:2px;color:inherit}
.sb-company-layout .sb-footer a{color:inherit;text-underline-offset:4px}
.sb-company-layout .sb-autopay-note{max-width:1188px;padding:24px;font:14px/1.85 "Yu Gothic",Meiryo,sans-serif;color:var(--sb-layout-ink);background:#eef0e8;border:1px solid var(--sb-layout-line)}
@media(max-width:1000px){
 .sb-company-layout .sb-detail-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .sb-company-layout .sb-summary{position:static;grid-row:1}
 .sb-company-layout .sb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .sb-company-layout .sb-main{padding:0 18px 44px}
 .sb-company-layout .sb-breadcrumb{padding:20px 0;font-size:11px}
 .sb-company-layout .sb-detail-title{margin:8px 0 24px}
 .sb-company-layout .sb-detail-title h1{font-size:27px;line-height:1.55;letter-spacing:0}
 .sb-company-layout .sb-detail-title>p{font-size:14px}
 .sb-company-layout .sb-detail-jump{gap:8px;margin-bottom:24px}
 .sb-company-layout .sb-detail-jump a{font-size:12px;padding:9px 12px}
 .sb-company-layout .sb-gallery,.sb-company-layout .sb-gallery[data-photo-count]{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:26px}
 .sb-company-layout .sb-gallery>img,.sb-company-layout .sb-gallery[data-photo-count]>img{grid-column:auto;grid-row:auto;height:140px}
 .sb-company-layout .sb-gallery>img:first-child,.sb-company-layout .sb-gallery[data-photo-count]>img:first-child{grid-column:1 / -1;height:240px}
 .sb-company-layout .sb-gallery>img:nth-child(4){grid-column:1 / -1;height:160px}
 .sb-company-layout .sb-gallery[data-photo-count="2"]>img:nth-child(2){grid-column:1 / -1;height:180px}
 .sb-company-layout .sb-article>section{padding:22px 18px;margin-bottom:22px}
 .sb-company-layout .sb-article h2{font-size:23px;margin-bottom:18px}
 .sb-company-layout .sb-article h3,.sb-company-layout .sb-article h4,.sb-company-layout .sb-article h5{font-size:17px}
 .sb-company-layout .sb-summary{padding:22px}
 .sb-company-layout .sb-summary .sb-big-price{font-size:26px}
 .sb-company-layout .sb-form-grid{grid-template-columns:minmax(0,1fr)}
 .sb-company-layout .sb-hero{min-height:360px}
 .sb-company-layout .sb-hero h1{font-size:32px}
 .sb-company-layout .sb-intro{padding:40px 0 26px}
 .sb-company-layout .sb-intro h1,.sb-company-layout .sb-intro h2{font-size:26px}
 .sb-company-layout .sb-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 .sb-company-layout .sb-grid .sb-card>div{padding:22px}
 .sb-company-layout .sb-autopay-note{margin:24px 18px;padding:20px}
}
@media print{.sb-company-layout .sb-detail-grid{display:block}.sb-company-layout .sb-summary{position:static}.sb-company-layout .sb-article>section{break-inside:avoid}}
