/** 2021, emaki **/
*{
  margin: 0;
  padding: 0;
  list-style-type: none;
}
img{
  border-style: none;
}
body{
  color: #000;
  font-size: 16px;
  font-size: medium;
  font-size: 100%;
  font-weight: normal;
  /*font-family: "ヒラギノ角ゴ ProN W3","ＭＳ Ｐゴシック",sans-serif;
  font-family: "ヒラギノ明朝 ProN W3","ＭＳ Ｐ明朝",serif;*/
  font-family: 'Helvetica Neue', 'ヒラギノ角ゴシック', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Windows', 'Yu Gothic', 'Helvetica', 'メイリオ', sans-serif;
  background-color: #666;
  background-image: url(./images/header_bk.png);
  background-position: left top;
  background-repeat: repeat-x;
  background-size: auto 88px;
  text-align: center;
}

/** Header **/
.header{
  text-align: left;
  margin: 0 auto;
  position: relative;
  height: 88px;
}
.logo{
  position: absolute;
  left: 20px; top: 20px;
  width: 152px; height: 40px;
  text-align: right;
}
.logo-right{
  position: absolute;
  right: 20px; top: 20px;
}

/** Description in Header **/
p.title{
  display: inline-block;
  color: #eee;
  margin-left: 210px;
  margin-top: 20px;
  font-size: 24px; /*1.5rem;*/
}
.header-n p.title{
  margin-left: 160px;
}
.header-w p.title{
  margin-left: 250px;
}
p.mid{
  display: inline-block;
  color: #eee;
  margin-left: 32px; /*2em;*/
  /*margin-top: 20px;*/
  font-size: 16px; /*1rem;*/
}
p.notice{
  display: inline-block;
  color: #ccc;
  margin-left: 32px; /*2em;*/
  margin-top: 5px;
  font-size: 12px; /*0.8rem;*/
}

/** Nav in Header **/
.nav{
  position: absolute;
  left: 15px; top: 10px;
  /*max-width: 10rem;*/
  width: 160px;
  text-align: left;
  color: #ccc;
  border-style: solid;
  border-color: #905c61;
  border-width: 0 1px 0 0;
}
.header-n .nav{
  width: 120px;
}
.header-w .nav{
  width: 220px;
}
.link{
  display: inline-block;
  padding: 4px 0; /*0.25rem 0;*/
  font-size: 16px; /*1rem;*/
}
.backlink::before{
  content: "＜ ";
}
.relationlink::before{
  content: "＞ ";
}
.link.nolink{
  display: block;
}

/** Main **/
.main{
  margin: 0;
  text-align: left;
}

/** Footer **/
.footer{
  height: 40px;
  padding: 0;
  background-color: #666;
}
.copyright{
  padding-top: 12px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: normal;
  color: #ddd;
}

/** Link **/
a{
  text-decoration: underline;
}
a:link{
  color: #ccc;
}
a:visited{
  color: #ccc;
}
a:hover, a:active{
  color: #fff;
}

.relationlink a{
  text-decoration: underline;
}
.relationlink a:link{
  color: #ccc;
}
.relationlink a:visited{
  color: #ccc;
}
.relationlink a:hover, .footer a:active{
  color: #fff;
}

.notice a{
  text-decoration: underline;
}
.notice a:link{
  color: #ccc;
}
.notice a:visited{
  color: #ccc;
}
.notice a:hover{
  color: #fff;
}

/** Other **/
hr{
  visibility: hidden;
  display: none;
}

/** Responsive **/
@media screen and (max-width: 1280px){
  .header-w p.title{
    margin-top: 15px;
    margin-left: 250px;
  }
  .header-w p.notice{
    display: block;
    margin-left: 250px;
    margin-top: 3px;
    font-size: 10px; /*0.6rem;*/
  }
}
@media screen and (max-width: 1180px){
  p.title{
    margin-top: 15px;
  }
  p.notice{
    display: block;
    margin-left: 210px;
    margin-top: 3px;
    font-size: 10px; /*0.6rem;*/
  }
  .header-n p.notice{
    margin-top: 7px;
    margin-left: 160px;
  }
}
@media screen and (max-width: 859px){
  .header-w .logo-right img{
    width: 100px;
    height: auto;
  }
  .header-w p.title{
    margin-left: 180px;
    margin-top: 12px;
    font-size: 20px; /*1.2rem;*/
  }
  .header-w p.notice{
    margin-top: 7px;
    margin-left: 180px;
  }
  .header-w p.mid{
    margin-left: 16px;
  }
  .header-w .nav{
    width: 150px;
  }
  .header-w .nav *{
    font-size: 11px; /*0.7em;*/
  }
  .header-w .link{
    padding: 4px 0; /*0.25rem 0;*/
  }
}
@media screen and (max-width: 799px){
  .logo-right img{
    width: 100px;
    height: auto;
  }
  p.title{
    margin-left: 150px;
    margin-top: 12px;
    font-size: 20px; /*1.2rem;*/
  }
  p.notice{
    margin-top: 7px;
    margin-left: 150px;
  }
  .nav{
    width: 110px;
  }
  .header-w p.title{
    margin-left: 180px;
  }
  .header-w p.notice{
    margin-left: 180px;
  }
  .header-w p.mid{
    margin-left: 16px;
  }
  .header-w .nav{
    width: 150px;
  }

  .header-n p.title{
    margin-left: 120px;
  }
  .header-n p.notice{
    margin-left: 120px;
  }
  .header-n p.mid{
    margin-left: 16px;
  }
  .header-n .nav{
    width: 90px;
  }





  .nav *{
    font-size: 11px; /*0.7em;*/
  }
  .link{
    padding: 4px 0; /*0.25rem 0;*/
  }
}
@media screen and (max-width: 679px){
  .header-w .logo-right{
    right: 10px;
    top: 10px;
  }
  .header-w .logo-right img{
    width: 80px;
    height: auto;
  }
  .header-w p.title{
    margin-left: 150px;
    margin-top: 8px;
    font-size: 16px; /*1.0rem;*/
  }
  .header-w p.mid{
    display: block;
    margin-left: 150px;
    font-size: 10px; /*0.7rem;*/
  }
  .header-w p.notice{
    margin-top: 5px;
    margin-right: auto;
    margin-left: auto;
    font-size: 8px; /*0.5rem;*/
    text-align: right;
  }
  .header-w .nav{
    left: 10px;
    top: 8px;
    width: 150px;
    border-style: none;
  }
  .header-w .nav *{
    font-size: 10px; /*0.8em;*/
  }
  .header-w .link{
    padding: 2px 0; /*0.125rem 0;*/
  }
  .header-w .backlink::before{
    content: "";
  }
  .header-w .relationlink::before{
    content: "";
  }
}
@media screen and (max-width: 639px){
  .header-n .logo-right{
    right: 10px;
    top: 10px;
  }
  .header-n .logo-right img{
    width: 80px;
    height: auto;
  }
  .header-n p.title{
    margin-left: 80px;
    margin-top: 8px;
    font-size: 16px; /*1.0rem;*/
  }
  .header-n p.mid{
    display: block;
    margin-left: 80px;
    font-size: 10px; /*0.7rem;*/
  }
  .header-n p.notice{
    margin-top: 5px;
    margin-right: auto;
    margin-left: auto;
    font-size: 8px; /*0.5rem;*/
    text-align: right;
  }
  .header-n .nav{
    left: 10px;
    top: 8px;
    width: 70px;
    border-style: none;
  }
  .header-n .nav *{
    font-size: 10px; /*0.8em;*/
  }
  .header-n .link{
    padding: 2px 0; /*0.125rem 0;*/
  }
  .header-n .backlink::before{
    content: "";
  }
  .header-n .relationlink::before{
    content: "";
  }
}
@media screen and (max-width: 599px){
  .logo-right{
    right: 10px;
    top: 10px;
  }
  .logo-right img{
    width: 80px;
    height: auto;
  }
  p.title{
    margin-left: 100px;
    margin-top: 8px;
    font-size: 16px; /*1.0rem;*/
  }
  p.mid{
    display: block;
    margin-left: 100px;
    font-size: 10px; /*0.7rem;*/
  }
  p.notice{
    margin-top: 5px;
    margin-right: auto;
    margin-left: auto;
    font-size: 8px; /*0.5rem;*/
    text-align: right;
  }
  .nav{
    left: 10px;
    top: 8px;
    width: 100px;
    border-style: none;
  }
  .nav *{
    font-size: 10px; /*0.8em;*/
  }
  .link{
    padding: 2px 0; /*0.125rem 0;*/
  }
  .backlink::before{
    content: "";
  }
  .relationlink::before{
    content: "";
  }
}
@media screen and (max-width: 479px){
  .header-w p.title{
    margin-left: 80px;
    margin-top: 8px;
    font-size: 16px; /*1.0rem;*/
  }
  .header-w p.mid{
    display: block;
    margin-left: 80px;
    font-size: 10px; /*0.7rem;*/
  }
  .header-w p.notice{
    margin-top: 5px;
    margin-right: auto;
    margin-left: auto;
    font-size: 8px; /*0.5rem;*/
    text-align: right;
  }
  .header-w .nav{
    left: 10px;
    top: 8px;
    width: 70px;
    border-style: none;
  }
  .header-w .link.relationlink{
    display: none;
  }
}
@media screen and (max-width: 379px){
  p.title{
    font-size: 12px;
  }
  .header-w p.title{
    font-size: 12px;
  }
  .header-n p.title{
    font-size: 12px;
  }
}

/** Print **/
@media print {
  body {
    background-color: #fff !important;
    background-image: none !important;
    color: #000 !important;
    border-color: #999 !important;
  }
  body * {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #999 !important;
  }
  hr {
    visibility: visible;
    display: block;
  }
}
