@CHARSET "UTF-8";

html, body {
  height: 100%;
}

.mobmenu {
  background: #444;
  color: #fff;
  display: none;
  padding: 8px;
  position: fixed;
  text-decoration: none; top : 0;
  right: 0;
  z-index: 99;
  top: 0;
}

.mobmenu:hover {
  color: #fff;
}

.mobmenu i {
  margin: 0 4px;
}

.screen {
  display: table;
  width: 100%;
  height: 100%;
}

.leftpain {
  background: #f6f6f6;
  border-right: 1px solid #eee;
  display: table-cell;
  width: 300px;
  vertical-align: top;
  padding-bottom: 1px;
}

.rightpain {
  display: table-cell;
  text-align: center;
  vertical-align: top;
}

.left-navbox {
  background: url("../img/jsme-logo.png") no-repeat;
  background-size: 48px auto;
  background-position: center 24px;
  padding-top: 72px;
}

.headtitle {
  font-size: 20px;
  font-weight: normal;
  margin: 24px 8px 32px;
}

.headtitle a {
  color: #333;
  text-decoration: none;
}

.headtitle a:hover {
  color: #666;
}

.gl-nav-main {
  border-bottom: 1px dotted #ccc;
  margin: 24px 0;
  text-align: left;
  padding: 0;
  list-style: none;
}

.gl-nav-main a {
  color: #333;
  text-decoration: none;
}

.gl-nav-main>li>a {
  border-top: 1px dotted #ccc;
  display: block;
  padding: 8px 16px;
}

.gl-nav-main>li>a:hover, .gl-nav-main li.current>a {
  background: #444;
  color: #fff;
}

.gl-nav-main .sub-menu {
  font-size: .91em;
  list-style: disc;
  margin-left: 2em;
  padding-left: 1em;
}

.gl-nav-main .sub-menu>li {
  margin: 6px 0 8px;
}

.gl-nav-main .sub-menu a:hover {
  background: none;;
  color: #777;
  text-decoration: underline;
}

.gl-nav-main .sub-menu .current a {
  color: #666;
  background: none;
  border-bottom: 3px dotted #999;
}

.sarchbox {
  margin: 0 16px;
}

.gotohome {
  margin: 56px auto;
}

.gotohome i {
  margin-right: 8px;
}

.sidewidget {
  margin: 24px 16px;
  padding: 8px 16px;
  text-align: left;
  font-size: .9em;
}

.sidewidget h3 {
  font-size: 1.2em;
  margin: 8px 0;
}

.menutopwidget {
  margin: 24px;
  text-align: center;
}

/* Footer */
.gl-foot {
  padding: 16px 0;
  text-align: center;
}

.gl-ft-copy {
  color: #777;
  font-size: .9em;
}


/* News ********************/
.news {
  margin: 24px 0;
}

.subttl {
  border-bottom: 3px double #ccc;
  font-weight: normal;
  font-size: 1.5em;
  margin: 8px 0;
}

.news-list {
  font-size: .95em;
  margin: 8px 0;
}

.news-list td {
  border: none;
  border-bottom: 1px dashed #ddd;
}


.news-list .date {
  width: 16%;
}

.news-list-link {
  text-align: right;
}

/* Contents Body ********************/
.content {
  margin: auto;
  padding: 40px 0;
  text-align: left;
  width: 96%;
  max-width: 800px;
  min-height: 600px;
}

.ttl-img {
  text-align: center;
}

.ttl-img img {
  width: auto;
  max-width: 100%;
  margin: auto;
  max-height: 400px;
}

.content .ttl {
  border-bottom: 1px dotted #666;
  font-size: 2em;
  font-weight: normal;
  text-align: center;
  margin: 40px 0;
  padding-bottom: 8px;
}

/* Archive Page ***************/
.archivelist {
  text-align: right;
}

.archivelist li {
  display: inline-block;
}

.archivelist li:after {
  content: "/";
  margin-left: 4px;
}

.articlelist {
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}

.atc-ttl {
 font-weight: normal;
 font-size: 1.2em;
 margin: 8px 0;
}

.atc-exp {
  margin: 16px 0;
  font-size: .95em;
}


.atc-info {
  font-size: .95em;
  text-align: right;
  margin: 16px 0 0;
}
.atc-info-cat:after{
  content: "|";
  margin-left: 8px;
}

.readmore {
  display: inline-block;
}

@media screen and (max-width: 960px) {
  .mobmenu {
    opacity: .8;
    display: block;
  }
  .screen {
    display: block;
    height: auto;
  }
  .leftpain {
    border-right: none;
    display: block;
    width: auto;
  }
  .rightpain {
    display: block;
    text-align: center;
  }
  .left-navbox {
    background-size: 32px auto;
    background-position: center 16px;
    padding-top: 40px;
  }
  
  .headtitle {
    margin: 24px 8px;
  }
  
  .gl-nav-main, .gotohome, .sidewidget, .manutopwidget {
    display: none;
  }
  
  .modal-content .gl-nav-main, .modal-content .gotohome, .modal-content .sidewidget, .modal-content .manutopwidget {
    display: block;
  }
  
}
