@import url(general.css);
@import url(general_sm.css);


#main {
  font-size: 90%;
}

#main .gotoindex {
  padding-left: 15px !important;
  background: transparent url(../image/icon/triangle.gif) no-repeat 0 .3em;
}



#top-notice {
  background-color: #fff6f6;
  border: 1px solid #ec9393;
  border-radius: 5px;
  padding: 0;
  margin: 15px 8px;
  color: #7a0000;
}

#top-notice h2 {
  font-weight: bold;
  color: #7a0000;
  font-size: 100%;
  margin: 0;
  padding: 2px 8px;
  background-color: #ffc8c8;
  border-radius: 5px 5px 0 0;
  border: none;
}

#top-notice-body {
  padding: 8px;
}

#top-banner {
  text-align: center;
  text-indent: 0;
  padding: 0;
  margin: 0;
}

/*recent*/

#recent {
  margin: 0 12px;
}

#recent h2 {
  display: none;
}

#recent #headline {
  margin: 1em 0;
  padding: 0;
}

#recent #pickup-image {
  width: 150px; height: 120px;
  float: left;
}

#recent a img {
  border: none;
}

#recent #pickup-news {
  margin-left: 160px;
}

#recent #pickup-news h3 {
  margin: 0;
  padding: 0;
  font-size: 120%;
}

#recent #pickup-news h3 img {
  vertical-align: text-bottom;
  padding-left: 6px;
}

#recent #pickup-news .date {
  text-align: right;
  margin: .5em 0 .2em;
}

#recent #pickup-news-head p {
  margin: 0; padding: 0;
  text-align: justify; text-justify: inter-ideograph;
}

#recent #pickup-news .continue {
  margin: .2em 0; padding: 0;
  text-align: right;
}

#recent .left-side {
  clear : left;
  float: left;
  width: 470px;
}

#recent p#ads {
  margin: .5em auto;
  text-align: center;
}

#recent dl#other-topics {
  margin: 1em 0;
  padding: 0;
}

#recent dl#other-topics dt {
  clear: left; float: left;
}
#recent dl#other-topics dt {
  width: 4.3em;
  font-family: monospace;
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
}

#recent dl#other-topics dd {
  margin-left: 4.5em; margin-bottom: .5em;
  padding-left: 78px;
  text-indent: -78px;
}

#recent dl#other-topics dd img {
  vertical-align: text-bottom;
  padding-right: 6px;
}

#recent dd.category {
  background: transparent url(../image/icon/triangle.gif) no-repeat 80px .3em;
  padding-left: 170px !important;
  margin-top: .8em;
}

#recent #misc-contents {
  float: right;
  width: 190px;
  margin: .5em 0 0; padding: 0;
}

#recent #misc-contents a img {
  border: none;
}

#recent #misc-contents ul {
  list-style-type: none;
  padding: 0; margin: 0;
  font-weight: bold;
}

#recent #misc-contents ul li {
  text-align: center;
  padding: 0;
  margin: 0 0 3px;
}

iframe#products-banner {
  height: 480px;
  overflow: hidden;
  margin-bottom: 1em;
  display: block;
  margin: 0 auto;
  border: none;
}

#recent #misc-contents ul#kakehashi {
  margin-top: 1em;
}

/* hot topics */

#recent #hot-news1 {
  clear: both;
  float: left;
  width: 330px;
}

#recent #hot-news2 {
  float: right;
  width: 330px;
}

#recent .hot-news h3 {
  height: 53px;
  overflow: hidden;
  font-size: 14px; line-height: 17px;
  margin: 1em 0 .5em;
}

#recent .hot-news h3 img {
  vertical-align: text-bottom;
  padding-left: 6px;
  margin-bottom: 1px;
}

#recent .hot-news p {
  font-size: 90%;
  margin: .5em 0 0; padding: 0;
  text-align: justify; text-justify: inter-ideograph;
}

#recent .hot-news a img {
  border: none;
  float: right;
  margin: 0 0 .5em 1em;
}

/* ad banner */

#main .ad-banner {
  clear: both;
  font-size: 90%;
  text-align: center;
  margin: .5em 0;
}

#main .ad-banner img, #main .ad-banner object {
  vertical-align: bottom;
  border: none !important;
}

/* event-list */

#event-list {
  margin: 20px 60px;
}

#event-list h2 {
  height: 40px;
  line-height: 1;
  padding: 0;
  margin: 0; margin-left: 40px;
}

#event-list h2 a img {
  border: none;
}

#event-list > div {
  height: 130px;
  padding: 35px 12px 0 8px;
  border: solid 3px #ddf; border-radius: 20px;
  margin: -20px 0 0;
}

#event-list dl {
  height: 112px;
  overflow-y: scroll;
  padding: 0 14px;
  margin: 0;
}

#event-list dt {
  float: left; width: 5.5em;
}

#event-list dd {
  margin-left: 5.5em;
}

#event-list p {
  text-align: right;
  margin-top: .5em;
}

/* categorized */

#categorized {
  margin: 0 12px;
}

#categorized .category {
  width: 332px;
  margin: 1em 0 0;
  position: relative;
}

#categorized #galaxy,
#categorized #spacedev,
#categorized #shop,
#categorized #reading,
#categorized #discovery {
  float: left;
}

#categorized #solarsys,
#categorized #phenomena,
#categorized #goods,
#categorized #event,
#categorized #others {
  float: right;
}

#categorized .category .gotoindex {
  position: absolute;
  top: 4px; right: 5px;
  margin: 0;
}

#categorized .category .icon {
  position: absolute;
  top: 2px; left: 4px;
  margin: 0;
}

#categorized .category dl {
  margin: .5em 0;
  padding: 0;
}

#categorized .category dl dt {
  clear: left; float: left;
}

#categorized .category dl dt {
  width: 4.5em;
  font-family: monospace;
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
}

#categorized .category dl dd {
  margin-left: 4.8em; margin-bottom: .5em;
}



ul#misc {
  display: none;
}

@media (max-width: 767px) {
  #hot-news1 {display: none;}
  #hot-news2 {display: none;}
  #nikon {display: none;}
  #categorized {display: none;}
  iframe#products-banner {display: none;}
  #recent {
    margin: 0;
  }
  #main {
    font-size: 100%;
  }
  #main a {
    text-decoration: none;
  }
  #main h2 {
    font-size: 14pt;
    padding: 4px 8px;
    background-color: #002;
    margin: 0;
  }
  #main h2 .subtitle {
    font-size: 9pt;
    margin-left: 1em;
  }
  #main h3 {
    background-color: #112;
    color: white;
    padding: 4px 8px;
    font-size: 12pt;
    margin: 0;
  }
  #ads img {
    width: 100%;
    height: 100%;
    max-width: 468px;
  }
  #top-notice h2{
    font-size: 100%;
    padding: 2px 8px;
    background-color: #ffc8c8;
  }
  #recent #pickup-image {
    width: 100px;
    height: 75px;
    padding: 0 8px 8px;
  }
  #recent #pickup-image img {
    width: 100%;
    height: 100%;
  }
  #recent p#ads {
    margin-top: 20px;
  }
  #recent #pickup-news h3 {
    background-color: transparent;
    font-size: 100%;
  }
  #recent #pickup-news h3 img {
    display: none;
  }
  #recent #pickup-news {
    margin-left: 100px;
  }
  #pickup-news-head {display: none;}
  #recent #pickup-news .continue {
    display: none;
  }
  #recent .left-side {
    float: none;
    width: auto;
    clear: both;
  }
  #recent dl#other-topics {
    margin: 0 0 20px;
  }
  #recent dl#other-topics dd img {
    display: none;
  }
  #recent dl#other-topics dt {
    font-family: sans-serif;
    width: 5rem;
    padding-top: 8px;
    padding-left: 8px;
    float: left;
    text-align: left;
  }
  #recent dl#other-topics dd {
    padding: 8px 8px 8px 5.5rem;
    margin: 0;
    text-indent: 0;
    border-bottom: 1px solid #e6e6e6;
  }
  #recent dd.category {
    display: none;
  }
  #recent #misc-contents {
    float: none;
    margin: 0;
    width: auto;
  }

  #event-list {
    margin: 0;
    padding: 0;
  }
  #event-list h2 {
    height: auto;
  }
  #event-list h2 a {
    text-decoration: none;
  }
  #event-list h2 a:link {
    color: white
  }
  #event-list h2 a:visited {
    color: white
  }
  #event-list > div {
    border: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }
  #event-list dl {
    height: auto;
    padding: 0;
    margin: 0 0 20px;
  }
  #event-list dt {
    padding-top: 8px;
    padding-left: 8px;
    width: 5rem;
    text-align: left;
    float: left;
    height: auto;
  }
  #event-list dd {
    margin: 0;
    padding: 8px 8px 8px 5.5rem;
    border-bottom: 1px solid #e6e6e6;
  }
}
