html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

header {
  height: 115px;
  line-height: 115px;
}

header.show {
  height: 390px;
}

header .logo {
  float: left;
  margin-left: 15px;
}

header h1{
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  width: 200px;
  height: 110px;
  background: #000;
}

header h1 a {
  text-decoration: none;
  color: #fff;
}

.pc-menu {
  display: none;
}

.menu-bar {
    position: absolute;
    top: 25px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 20;
    border: 1px solid #333;
}
.menu-bar span,
.menu-bar span:before,
.menu-bar span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #000;
    position: absolute;
}
.menu-bar span:before {
    bottom: 8px;
}
.menu-bar span:after {
    top: 8px;
}

.header-menu {
  opacity: 0;
}

.header-menu.show {
  opacity: 1;
}

.header-menu {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  width: 95%;
}

.header-menu ul {
  width: 100%;
}

.header-menu li {
  width: calc((100% - 22px) / 2);
  margin: 0 auto;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  height: 60px;
  border: solid 1px #CCCCCC;
}

.header-menu li:nth-child(1) {
  margin-top: 20px;
}

.header-menu li a {
  text-decoration: none;
  color: #000000;
  text-align: center;
  display: block;
}

.header-menu li a span {
  color: #999999;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  line-height: 2;
  font-size: 14px;
}

#main {
  width:73%;
  float: right;
  background-color: #fff;
  padding-bottom: 95px;
}

#main h2 {
  margin: 15px 0;
  height: 38px;
  line-height: 38px;
  font-size: 14px;
  padding-left: 35px;
  background: #000 url(photos.work16.png) no-repeat left 10px center;
  color: #fff;
}

#main h3 {
  margin: 15px 0;
  height: 38px;
  line-height: 38px;
  padding: 0 15px;
  font-size: 14px;
  background: linear-gradient(#fff, #ebebeb);
  border: 1px solid #ccc;
  color: #333;
}

#main h4 {
  padding: 0 15px;
  font-weight: bold;
  margin-top: 13px;
}

#main p {
  padding: 0 15px;
}

#main a {
  color: #333;
}

#main a:hover {
  text-decoration: none;
}

.news {
  height: 150px;
  overflow-y: scroll;
  padding-left: 15px;
}

.news dt {
  display: inline-block;
  width: 14%;
  min-width: 100px;
  border-bottom: 1px solid #ccc;
}

.news dd {
  display: inline-block;
  width: 86%;
  border-bottom: 1px solid #ccc;
}

.new {
  background: #FF0000;
  color: #fff;
  padding: 0 4px;
  font-size: 10px;
  border-radius: 2px;

}

#sidebar {
  width:23%;
  float: left;
  background-color: #fff;
}

#sidebar h2 {
  padding-left: 10px;
  border-left: 3px solid #000;
  margin-bottom: 18px;
  line-height: 1;
}

#sidebar ul {
  list-style: none;
}

#sidebar li {
  height: 32px;
  line-height: 32px;
  background: #fff;
  border-bottom: 1px solid #ccc;
}

#sidebar ul li a:hover {
  display: block;
  background: #000;
  color: #fff;
  transition: 0.5s;
}

#sidebar li:last-child {
  border: none;
}

#sidebar li a {
  text-decoration: none;
  color: #333;
  padding-left: 12px;
}

.box {
  margin: 15px 0;
}

.bg-gray {
  background: #E4E4E4;
  border: 1px solid #ccc;
  padding: 20px 15px;
}

.to-top {
  clear: both;
}

.to-top a {
  font-size: 10px;
  background: #000;
  text-align: center;
  width: 50px;
  line-height: 50px;
  display: block;
  float: right;
  color: #fff;
  text-decoration: none;
}

.to-top:hover {
  opacity: 0.5;
  transition: 0.5s;
}

footer {
  clear: both;
  width: 100%;
  background-color: #000;
  color: #fff;
  text-align: center;
}

footer p {
  font-size: 12px;
  font-weight: 400;
  line-height: 23px;
}

@media screen and (min-width: 800px) {
  .menu-bar {
    display: none;
  }

  header {
    position: relative;
    display: flex;
    justify-content: space-around;
    height: 140px;
    max-width: 1100px;
  }

  header .logo {
    display: flex;
    position: relative;
    left: auto;
  }

  .pc-menu {
    display: flex;
    width: 100%;
  }
  
  .pc-menu ul {
    display: flex;
    align-items: center;
    width: 100%;
  }
  
  .pc-menu li {
    margin: 0 auto;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 28px;
    height: 60px;
    border-left: solid 1px #CCCCCC;
    min-width: 130px;
  }

  .pc-menu li:nth-child(4) {
    border-right: solid 1px #CCCCCC;
    margin-right: 20px;
  }
  
  .pc-menu li a {
    text-decoration: none;
    color: #000000;
    text-align: center;
    display: block;
  }
  
  .pc-menu li a span {
    color: #999999;
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
  }
}

@media screen and (min-width: 1000px) {
  header .logo {
    left: 40px;
  }
}

@media screen and (min-width: 1200px) {
  header .logo {
    left: 80px;
  }
}

@media screen and (min-width: 1300px) {
  header .logo {
    left: 155px;
  }
}