@charset "utf-8";

/* CSS Document */
/************************************************************************************
smaller than 990
*************************************************************************************/
@media screen and (max-width: 990px) {

#headerAreaInner {
  width: 970px;
}

}
/************************************************************************************
smaller than 768
*************************************************************************************/
@media screen and (max-width: 768px) {

body {
  overflow-x: hidden;
  background: none;
}
#container {
  width: 100%;
  padding-bottom: 0;
  background:none;
}

img.respChange {
  max-width: 100%;
  height: auto;
}
/* ------------------------------------------------
  headerArea
------------------------------------------------ */
#headerArea {
  width: 100%;
}
#headerAreaInner {
  width: 100%;
  background: url("/jp/n4-common/images/bg_smp.jpg") #fff repeat-x left bottom;
}
#ciBlock {
  margin-top: 30px;
}
#utilityBlock {
  width: 50%;
}
#utilityBlock .utilityBox2 .fontsizeBox, #utilityBlock .utilityBox2 .fontsizeBox * {
  display: none;
}
/* ------------------------------------------------
  gnavNavBlock
------------------------------------------------ */
#gnavBlock,
#gnavBlock dl {
  width: 100%;
}
/*
#gnavBlock li.firstChild {
  width: 10%;
}
*/
#gnavBlock li {
  width: 16.66%;
}
#gnavBlock li:first-child,
#gnavBlock li.lastChild {
  width: 16.68%;
}

#siryou_navi, #rekidai_navi, #seisaku_navi, #kaiken_navi, #souri_navi {
  display: none !important;
}
/* ------------------------------------------------
  breadcrumbArea
------------------------------------------------ */
#breadcrumbArea {
  width: 100%;
}

/* ------------------------------------------------
  contentArea
------------------------------------------------ */
#contentArea {
  width: 100%;
  background-image: none;
}
.oneColumnLayout #contentAreaInner {
  padding: 0 2%;
}
.oneColumnLayout #contentAreaInner .maincontentBlock {
  float: none;
}
.twoColumnLayoutWT #contentAreaInner {
  padding: 0 2%;
}
.twoColumnLayoutWT #contentAreaInner .maincontentBlock {
  width: 65%;
}
.twoColumnLayoutWT #contentAreaInner .subcontentBlock {
  width: 30%;
}




/* ------------------------------------------------
  subcontentBlock
------------------------------------------------ */
/* subSearchBox */
#contentArea .subcontentBlock .subSearchBox {
    margin: 0 0 4px -4px;
}

/* subJohoBox */
#contentArea .subcontentBlock .subJohoBox {
  background-image: none;
  background-color: #dde7ee;
  font-size: 0.8em;
  margin: 0 0 20px 3px !important;
}

/* ------------------------------------------------
  pagetopArea
------------------------------------------------ */
#pagetopArea {
  width: 60%;
  text-align:center;
}
#pagetopArea .pagetop {
  width: auto;
  padding-left:2%;
  padding-right:2%;
  margin-right: 0;
  margin-left: 0;
  clear: both;
  text-align:center;
}
#pagetopArea .pagetop a {
  width: 100%;
  display: inline-block;
  line-height: 3em;
  height: 3em;
  border: 1px solid #cccccc;
  padding: 0;
  background: #f3f2f2 url("/jp/n4-common/images/bg_pagetop.gif") repeat-x left top;
}
#pagetopArea .pagetop a:hover {
  background: #ededed url("/jp/n4-common/images/bg_pagetop_on.gif") repeat-x left top;
}

/* ------------------------------------------------
  footerArea
------------------------------------------------ */
#footerArea .footerBlock1 ul {
  margin-top: 2em;
}
#footerArea .footerBlock1 ul li {
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
}
#footerAreaInner {
  width: auto;
}
#footerAreaInner .utilityBox3 {
  overflow: hidden;
  display:block;
}
#footerAreaInner .utilityBox3 .viewBox, #footerAreaInner .utilityBox3 .viewBox * {
  display: inline-block;
  width: 99px;
}
#footerAreaInner .utilityBox3 .langBox, #footerAreaInner .utilityBox3 .langBox * {
  display: none;
  width: 99px;
  margin-right: 10px;
  vertical-align:top;
}
#footerAreaInner .utilityBox3 .viewBox dt, #footerAreaInner .utilityBox3 .langBox dt {
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  width: 99px;
  height: 31px;
  border-left: none;
  padding: 0;
  display: block;
}
#footerAreaInner .utilityBox3 .viewBox dt {
  background: url(/jp/n4-common/images/r_btn_display.gif) no-repeat;
}
#footerAreaInner .utilityBox3 .langBox dt {
  background: url(/jp/n4-common/images/r_btn_language.gif) no-repeat;
}
#footerAreaInner .utilityBox3 .viewBox dt.open {
  background: url(/jp/n4-common/images/r_btn_display_on.gif) no-repeat;
}
#footerAreaInner .utilityBox3 .langBox dt.open {
  background: url(/jp/n4-common/images/r_btn_language_on.gif) no-repeat;
}
#footerAreaInner .utilityBox3 .viewBox dt.firstChild, #footerAreaInner .utilityBox3 .langBox dt.firstChild {
}
#footerAreaInner .utilityBox3 .viewBox dd, #footerAreaInner .utilityBox3 .langBox dd {
  display: none;
}

#footerAreaInner .utilityBox3 .viewBox dd, #footerAreaInner .utilityBox3 .langBox dd {
  margin-right: 0;
  padding-left: 15px;
  text-align: left;
  width: 82px;
  border-right: 1px solid #dbdbdb;
  border-bottom: 1px solid #dbdbdb;
  border-left: 1px solid #dbdbdb;
  background-color: #ffffff;
}
#footerAreaInner .utilityBox3 .viewBox a, #footerAreaInner .utilityBox3 .langBox a {
  padding: 12px 0 12px 12px;
  background: transparent url("/jp/n4-common/images/blt_arrow_r.gif") no-repeat left 1.2em;
  width: 60px;
}

/* ------------------------------------------------
  subSearchBox
------------------------------------------------ */
#contentArea .subcontentBlock .subSearchBox .word2 {
    width: 45%;
}


}

/************************************************************************************
smaller than 674
*************************************************************************************/
@media screen and (max-width: 674px) {
/* ------------------------------------------------
  headerArea
------------------------------------------------ */
#headerAreaInner {
   position: relative;
}
#utilityBlock .utilityBox1 {
   position: absolute;
   top: 0;
   width: 100%;
   margin-top: 10px;
}
#utilityBlock .utilityBox1 .headerNavBox {
  margin-right: 5px;
}
#utilityBlock {
  width: 100%;
}
#utilityBlock .utilityBox2 {
  width: 98%;
}
#utilityBlock .utilityBox2 .searchBox {
  width: 100%;
  text-align: center;
}
#utilityBlock .utilityBox2 .searchBox .word {
  width: 55%;
  float: none;
}

.contentBlock {
  font-size:0.9em;
  margin-left: 0;
  margin-right: 0;
}


}



/************************************************************************************
smaller than 590
*************************************************************************************/
@media screen and (max-width: 590px) {

/* ------------------------------------------------
  headerArea
------------------------------------------------ */
#headerAreaInner {
   position: relative;
}

#utilityBlock .utilityBox1 {
   position: absolute;
   top: 0;
   width: 100%;
    margin-top: 10px;
}
/* ------------------------------------------------
  gnavNavBlock
------------------------------------------------ */
#gnavBlock li,
#gnavBlock li.lastChild {
  font-size: 0.9em;
}

/* ------------------------------------------------
  contentArea
------------------------------------------------ */
.twoColumnLayoutWT #contentAreaInner .maincontentBlock {
  width: auto;
  float: none;
}
.twoColumnLayoutWT #contentAreaInner .subcontentBlock {
  width: auto;
  float: none;
}

/* ------------------------------------------------
  subSearchBox
------------------------------------------------ */
#contentArea .subcontentBlock .subSearchBox .word2 {
    width: 100px;
}

/* ------------------------------------------------
  subQuizBox
------------------------------------------------ */
#contentArea .subcontentBlock .subQuizBox{
  text-align:center;
}

#contentArea .subcontentBlock .subQuizBox h2{
  text-align:left;
}

#contentArea .subcontentBlock .subQuizBox a img{
  width:70%;
  height:auto;
}

}

/************************************************************************************
smaller than 480
*************************************************************************************/
@media screen and (max-width: 480px) {
html {
  -webkit-text-size-adjust: 100%;
}

/* ------------------------------------------------
  headerArea
------------------------------------------------ */
#headerArea {
  position: relative;
  overflow: visible;
}
#headerAreaInner {
  margin-bottom: 10px;
}
#utilityBlock .utilityBox2 .searchBox {
  float: left;
  width: 70%;
}

/* ------------------------------------------------
  gnavNavBlock
------------------------------------------------ */
#gnavBlock dl dd{
  z-index: 1000;
  display: none;
  position: absolute;
  top: 120px;
  left: 0;
  filter: alpha(opacity=100);
  -moz-opacity: 1.0;
  opacity: 1.0;
}

#gnavBlock dt {
  display: block;
  position: absolute;
  right: 2%;
  top: 92px;
}
#gnavBlock dd {
  right: 2%;
  top: 95px;
  width: 100%;
}
#gnavBlock ul {
  margin-right: 2%;
  padding-bottom: 0;
  margin-left: 2%;
  background-image: none;
  border-top: 2px solid #195E97;
  border-left: 2px solid #195E97;
  border-right: 2px solid #195E97;
  border-bottom: 1px solid #195E97;
}
#gnavBlock li {
  float: none;
  width: 100%;
  border-bottom: 1px solid #4e7491;
  font-size: 1em;
}
#gnavBlock li:first-child,
#gnavBlock li.lastChild {
  float: none;
  width: 100%;
  border-bottom: 1px solid #4e7491;
  font-size: 1em;
}

#gnavBlock li a ,
#gnavBlock li a:link,
#gnavBlock li a:hover,
#gnavBlock li a:active,
#gnavBlock li a:visited {
  background-image: none;
  background-color: #195e97;
  display:block;
}
#gnavBlock li a span.menuItem ,
#gnavBlock li a:link span.menuItem ,
#gnavBlock li a:hover span.menuItem ,
#gnavBlock li a:active span.menuItem ,
#gnavBlock li a:visited span.menuItem {
  color:#ffffff;
}
/*
#gnavBlock li a:hover,
*/
#gnavBlock li.ac a,
#gnavBlock li.on a {
  background-color: #f2f2f2;
}
#gnavBlock li.ac a span.menuItem ,
#gnavBlock li.on a span.menuItem {
  color:#17578a;
}
#gnavBlock li.firstChild {
  display: none;
}
#breadcrumbArea {
  background-color: #F2F2F2;
}
#breadcrumbArea {
  display: none;
}
#footerAreaInner .footerBlock2 span {
  display: block;
}

#contentArea .subcontentBlock .subQuizBox a img{
  width:80%;
  height:auto;
}

}

/************************************************************************************
smaller than 320
*************************************************************************************/
@media screen and (max-width: 320px) {

#utilityBlock .utilityBox1 .headerNavBox {
  display: none;
}
#utilityBlock .utilityBox2 .searchBox .word {
  width: 45%;
}

/* ------------------------------------------------
  subQuizBox
------------------------------------------------ */
#contentArea .subcontentBlock .subQuizBox a img{
  width:100%;
  height:auto;
}

}