/* Public /contents_/ presentation only. Original markup, PHP, links and handlers remain intact. */
#sub_container:has(#bo_gall),#sub_container:has(#bo_v){box-sizing:border-box;width:100%;max-width:1200px;margin:32px auto 64px;padding:0;min-width:0}
#sub_container #bo_gall,#sub_container #bo_v{width:100%;min-width:0;box-sizing:border-box}
#sub_container #bo_gall{padding-bottom:32px}
#sub_container #bo_cate{display:none;padding:0;margin:0;background:transparent;border-bottom:1px solid #e5e5e5}
#sub_container #bo_cate_ul{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:0;margin:0}
#sub_container #bo_cate li{margin:0;padding:0;flex:none}
#sub_container #bo_cate a{display:block;min-height:44px;padding:11px 14px;border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;color:#666;line-height:1.5;font-size:14px;white-space:nowrap;transition:none}
#sub_container #bo_cate #bo_cate_on{color:#d8432c;background:transparent;border:0;border-bottom:2px solid #d8432c;font-weight:600;box-shadow:none}
#sub_container #bo_btn_top{margin:0 0 22px}
#sub_container #bo_list_total{border:0;padding:10px 0;min-height:44px;line-height:1.5;font-size:13px;color:#666}
#sub_container #bo_list_total .btn_bo_user{margin:0}
#sub_container #bo_list_total .btn_bo_sch{min-height:40px;border:1px solid #e5e5e5;background:white;color:#555;border-radius:3px;padding:0 14px}
#sub_container #bo_gall .gw_gl_s_box{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 28px;align-items:start}
#sub_container #bo_gall .gall_row,#sub_container #bo_gall .gall_row.flex{display:contents;width:auto;margin:0;padding:0}
#sub_container #bo_gall .gall_row::before,#sub_container #bo_gall .gall_row::after,#sub_container #bo_gall .gw_gl_li::after{display:none;content:none}
#sub_container #bo_gall .gw_gl_li{min-width:0;width:auto;float:none;padding:0;margin:0;border:0;list-style:none}
#sub_container #bo_gall .box{margin:0;padding:0;min-width:0;background:none;border:0;box-shadow:none}
#sub_container #bo_gall .box>a{display:block;color:inherit;text-decoration:none}
#sub_container #bo_gall .con{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;gap:0;padding:0;min-width:0}
#sub_container #bo_gall .img-wrap{position:relative;width:100%;max-width:none;height:auto;aspect-ratio:2/3;margin:0;flex:none;border-radius:3px;overflow:hidden;background:#f7f6f4}
#sub_container #bo_gall .img-wrap .img{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;border:0;background:transparent;overflow:hidden}
#sub_container #bo_gall .img-wrap .img img{display:block;position:absolute;top:0;left:50%;width:auto;height:100%;max-width:none;object-fit:contain;object-position:center;transform:translateX(-50%);transition:none}
#sub_container #bo_gall .con>.txt{width:100%;max-width:none;min-width:0;height:auto;padding:13px 0 0;background:none}
#sub_container #bo_gall .title{font-size:16px;line-height:1.45;margin:0 0 5px;padding:0;font-weight:600}
#sub_container #bo_gall .bo_tit{font-size:inherit;line-height:1.45;margin:0;padding:0;min-height:2.9em;white-space:normal;overflow-wrap:anywhere;word-break:keep-all;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#sub_container #bo_gall .plus_info p{margin:3px 0 0;font-size:13px;line-height:1.5;color:#737373}
#sub_container #bo_gall .con .txt .info{margin:9px 0 0;padding:0;font-size:13px;line-height:1.65;max-height:3.3em;overflow-wrap:anywhere;word-break:keep-all;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#666}
#sub_container #bo_gall .platform_icon{margin:0}
#sub_container #bo_gall .pg_wrap{margin-top:36px}
#sub_container .bo_sch{left:50%;top:50%;margin:0;transform:translate(-50%,-50%);width:min(360px,calc(100vw - 32px));max-height:calc(100vh - 48px)}
#sub_container a:focus-visible,#sub_container button:focus-visible{outline:2px solid #d8432c;outline-offset:3px}
/* Hide the repeated list only on a detail page. Back-to-list and its original URL remain available. */
#sub_container:has(#bo_v) #bo_gall{display:none}
#sub_container #bo_v{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);column-gap:48px;row-gap:0;align-items:start;padding:0 0 40px;margin:0;border:0}
#sub_container #bo_v_top{grid-column:1/-1;grid-row:1;margin:0 0 24px;padding:0}
#sub_container #bo_v_top .btn_bo_user{float:none;display:flex;justify-content:flex-start;align-items:center;gap:8px;margin:0;padding:0}
#sub_container #bo_v_top .btn_bo_user li{float:none;margin:0}
#sub_container #bo_v_top .btn_bo_user .btn{height:40px;line-height:38px;padding:0 14px;background:white;border:1px solid #e5e5e5;border-radius:3px;color:#555}
#sub_container #bo_v>header{grid-column:2;grid-row:2;position:static;width:auto;margin:0;padding:0;background:none;border:0}
#sub_container #bo_v_title{margin:0 0 10px;padding:0;border:0;text-align:left;font-size:30px;line-height:1.45;letter-spacing:-.025em;overflow-wrap:anywhere;word-break:keep-all}
#sub_container #bo_v_title .bo_v_tit{font-size:inherit;font-weight:600;line-height:inherit;margin:0}
#sub_container #bo_v_info{grid-column:2;grid-row:3;margin:0;padding:0;border:0}
#sub_container #bo_v_atc{display:contents}
#sub_container #bo_v_img{grid-column:1;grid-row:2/7;width:100%;margin:0;padding:0;min-width:0}
#sub_container #bo_v_img p{margin:0;padding:0}
#sub_container #bo_v_img img{display:block;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain;transform:none;border-radius:3px}
#sub_container #bo_v_con{grid-column:2;grid-row:4;min-height:0;margin:16px 0 28px;padding:0;width:100%;overflow:visible;text-align:left;font-size:16px;line-height:1.9;word-break:keep-all;overflow-wrap:anywhere}
#sub_container #bo_v_con p{margin:0;text-align:inherit;font:inherit;line-height:inherit}
#sub_container #bo_v_link{grid-column:2;grid-row:5;max-width:none!important;width:100%;margin:0!important;padding:0;min-width:0}
#sub_container #bo_v_link h2{position:static;background:none;border:0;font-size:17px;line-height:1.6;font-weight:600;padding:0;margin:0 0 12px;word-break:keep-all;overflow-wrap:anywhere}
#sub_container #bo_v_link ul{border:0;border-top:1px solid #e5e5e5;margin:0;padding:0}
#sub_container #bo_v_link li{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:10px;align-items:center;margin:0;padding:12px 0!important;border-bottom:1px solid #e5e5e5!important;min-width:0}
#sub_container #bo_v_link li>span{grid-column:1;grid-row:1;align-self:center;margin:0}
#sub_container #bo_v_link li>a{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:space-between;min-height:36px;font-size:14px;line-height:1.6;color:#333;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
#sub_container #bo_v_link li>a:first-of-type::after{content:'↗';margin-left:12px;color:#777;flex:none}
#sub_container #bo_v_link li>a+a{grid-row:2;min-height:24px;font-size:12px;color:#777!important}
#sub_container #bo_v_link li>a+a strong{font-weight:400}
#sub_container #bo_v_atc>p{grid-column:2;margin:0}
#sub_container #bo_v_title{color:#222}
#sub_container #bo_v_con{color:#333}
#sub_container #bo_v:not(:has(#bo_v_img)){grid-template-columns:minmax(0,1fr)}
#sub_container #bo_v:not(:has(#bo_v_img))>header,#sub_container #bo_v:not(:has(#bo_v_img)) #bo_v_info,#sub_container #bo_v:not(:has(#bo_v_img)) #bo_v_con,#sub_container #bo_v:not(:has(#bo_v_img)) #bo_v_link,#sub_container #bo_v:not(:has(#bo_v_img)) #bo_v_atc>p{grid-column:1}
@media(max-width:1000px){#sub_container #bo_gall .gw_gl_s_box{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}#sub_container #bo_v{grid-template-columns:minmax(0,260px) minmax(0,1fr);column-gap:30px}}
@media(max-width:650px){#sub_container:has(#bo_gall),#sub_container:has(#bo_v){width:100%;margin:24px auto 40px}#sub_container #bo_cate_ul{justify-content:flex-start;gap:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}#sub_container #bo_cate{margin-bottom:12px}#sub_container #bo_cate a{padding:10px 12px;font-size:13px;min-height:42px}#sub_container #bo_btn_top{margin-bottom:16px}#sub_container #bo_list_total{font-size:12px;gap:8px}#sub_container #bo_gall .gw_gl_s_box{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}#sub_container #bo_gall .con>.txt{padding-top:10px}#sub_container #bo_gall .title{font-size:15px}#sub_container #bo_gall .plus_info p{font-size:12px}#sub_container #bo_gall .con .txt .info{font-size:12px;margin-top:7px}#sub_container #bo_v{display:flex;flex-direction:column;gap:0;padding-bottom:20px}#sub_container #bo_v_top{width:100%;margin-bottom:20px}#sub_container #bo_v>header{order:2;width:100%;margin-top:22px}#sub_container #bo_v_title{font-size:24px;line-height:1.5;margin:0}#sub_container #bo_v_img{order:1;width:min(100%,260px);align-self:center}#sub_container #bo_v_info{order:3}#sub_container #bo_v_con{order:4;font-size:15px;line-height:1.9;margin:18px 0 26px}#sub_container #bo_v_link{order:5}#sub_container #bo_v_link h2{font-size:16px}#sub_container #bo_v_link li>a{font-size:13px}#sub_container #bo_v_atc>p{order:6}}
