/* SHINKO V101 PC ONLY. Company/company.php is the reference layout.
   Keep these selectors inside the shared #wrap; do not touch body or contents. */
@media screen and (min-width: 769px) {
  #wrap.shinko-pc {width:95%;height:auto;margin-left:auto;margin-right:auto;}
  #wrap.shinko-pc #menuwall {height:39px;width:100%;position:relative;left:0;top:0;margin:0 auto;max-width:1400px;min-width:840px;}
  #wrap.shinko-pc #menubox {height:39px;position:absolute;left:0;top:0;width:101%;margin:0 auto;}
  #wrap.shinko-pc #menubox ul.MenuBarHorizontal {margin:0;padding:0;list-style:none;font-size:100%;width:auto;border-left:1px solid #fff;}
  #wrap.shinko-pc #menubox ul.MenuBarHorizontal>li {width:16.5%;height:39px;position:relative;float:left;margin:0;padding:0;background:#D4D4D6 url(/images/menu_back2.jpg) no-repeat left center;border-right:1px solid #fff;}
  #wrap.shinko-pc #menubox ul.MenuBarHorizontal ul {font-size:12px;z-index:1020;}
  #wrap.shinko-pc #menubox ul.MenuBarHorizontal ul li {width:200px;height:21px;padding:4px 0 0 25px;background:#fff url(/images/menu_back.jpg) no-repeat 16px center;border:1px solid #4B636F;border-top:0;text-align:left;}
  #wrap.shinko-pc #search {height:30px;width:100%;margin:0 auto;min-width:800px;background:url(/images/search.jpg) no-repeat left center;position:relative;}
  #wrap.shinko-pc #search .search_01 {box-sizing:content-box;float:left;width:300px;height:28px;padding-left:90px;padding-top:0;overflow:visible;}
  #wrap.shinko-pc #search .search_03 {height:16px;width:auto;float:right;margin:7px 0 0 5px;}
  #wrap.shinko-pc #search .search_04 {height:16px;width:auto;float:right;margin:7px 0 0 10px;padding:0 5px;text-align:center;color:#fff;}
  #wrap.shinko-pc #header {height:50px;width:100%;padding-top:45px;padding-bottom:15px;text-align:center;float:left;margin-left:auto;margin-right:auto;}
  /* Google programmable search: remove the outer 2 x 1em padding.
     This reduces ~58px box height to about ~28px WITHOUT scaling text or
     changing the search mechanism (unlike the failed V98/V99 changes). */
  #wrap.shinko-pc #search .gsc-control-cse,
  #wrap.shinko-pc #search .cse .gsc-control-cse {padding:0!important;border:0!important;background:transparent!important;}
  #wrap.shinko-pc #search .gsc-search-box,
  #wrap.shinko-pc #search table.gsc-search-box {margin-top:0!important;margin-bottom:0!important;}
}

/* V102: PC ONLY — company/company.php top bar dimensions are the reference.
   The legacy page stylesheets differ; scoped !important rules normalize only
   the shared header. The /sp/ site and <=768px screens are untouched. */
@media screen and (min-width: 769px) {
  #wrap.shinko-pc { width:95% !important; height:auto !important; margin:0 auto !important; }
  #wrap.shinko-pc #menuwall { height:39px !important; width:100% !important;
    position:relative !important; left:0 !important; top:0 !important;
    margin:0 auto !important; max-width:1400px !important; min-width:840px !important; }
  #wrap.shinko-pc #menubox { height:39px !important; width:101% !important;
    position:absolute !important; left:0 !important; top:0 !important; margin:0 auto !important; }
  #wrap.shinko-pc #menuwall ul.MenuBarHorizontal>li { height:39px !important; width:16.5% !important; }
  #wrap.shinko-pc #search { height:30px !important; min-height:30px !important;
    width:100% !important; min-width:800px !important; margin:0 auto !important;
    background:url('/images/search.jpg') no-repeat left center !important; position:relative !important; }
  #wrap.shinko-pc #search .search_01 { width:300px !important; height:27px !important;
    float:left !important; padding:0 0 0 90px !important; margin:0 !important;
    overflow:visible !important; position:relative !important; }
  #wrap.shinko-pc #search .search_03 {float:right !important; height:16px !important;
    width:auto !important; margin:7px 0 0 5px !important; }
  #wrap.shinko-pc #search .search_04 {float:right !important; height:16px !important;
    width:auto !important; margin:7px 0 0 10px !important; padding:0 5px !important;}
  #wrap.shinko-pc #header {height:50px !important; width:100% !important;
    padding:45px 0 15px !important; margin:0 auto !important; text-align:center !important;
    float:left !important; }
  /* Compact Google's dynamically inserted searchbox while keeping an ordinary
     readable font and live Google submission, without a transform/zoom hack. */
  #wrap.shinko-pc #search .gsc-control-cse,
  #wrap.shinko-pc #search .cse .gsc-control-cse { box-sizing:border-box !important;
    height:27px !important; min-height:0 !important; padding:0 !important;
    margin:0 !important; border:0 !important; background:transparent !important; }
  #wrap.shinko-pc #search form.gsc-search-box,
  #wrap.shinko-pc #search table.gsc-search-box,
  #wrap.shinko-pc #search .gsc-search-box { height:27px !important;
    min-height:0 !important; padding:0 !important; margin:0 !important;
    border-spacing:0 !important; }
  #wrap.shinko-pc #search .gsc-input-box,
  #wrap.shinko-pc #search .gsc-input-box-hover,
  #wrap.shinko-pc #search .gsc-input-box-focus {box-sizing:border-box !important;
    height:25px !important; min-height:0 !important; padding:0 !important;
    margin:0 !important; line-height:23px !important; }
  #wrap.shinko-pc #search .gsc-input,
  #wrap.shinko-pc #search .gsc-input-box table,
  #wrap.shinko-pc #search .gsc-input-box td {height:25px !important;
    min-height:0 !important; padding-top:0 !important; padding-bottom:0 !important;}
  #wrap.shinko-pc #search input.gsc-input { box-sizing:border-box !important;
    height:23px !important; min-height:0 !important; padding-top:0 !important;
    padding-bottom:0 !important; line-height:23px !important; font-size:13px !important; }
  #wrap.shinko-pc #search button.gsc-search-button-v2,
  #wrap.shinko-pc #search .gsc-search-button-v2 { box-sizing:border-box !important;
    height:25px !important; min-height:0 !important; padding:3px 7px !important;
    margin:0 !important; vertical-align:middle !important; }
}
