@charset "UTF-8";

/* body */

body{
  margin: 0;
  padding: 0;
  font-family: '03スマートフォントUI',sans-serif;
}

a{
  color: #568a83;
  text-decoration: underline;
}

a:hover{
  color: #ffffff;
  background-color: #000000;
}

.hidden{
  display: none;
}

.caution{
  font-weight: bold;
  color: #f00;
}

/* wrapper */
.wrapper{
  width: 80%;
  max-width: 1200px;
  min-width: 900px;
  margin: auto;
  border: solid #666666 4px;
}

/* header */
.header{
  width: 100%;
  height: 260px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.header img{
  height: 200px;
}

/* language menu */

.lang{
  height: ２rem;
  padding: 10px;
  background-color: #000;
  color: #fff;
  font-size: small;
}
.lang a{
  color: #fff;
}
.lang a:hover{
  text-decoration: underline;
}


/* header - global menu */
.global-nav{
  padding: 10px;
  height: 2rem;
  float: right;
}

.global-nav ul li{
  display: inline-block;
  width: 120px;
  border-left: solid 1px #70A6A0;
}

.global-nav ul li:last-child {
  border-right: solid 1px #70A6A0;  
}

.global-nav ul li a{
  color: #70A6A0;
  font-size: small;
  text-align: center;
  text-justify: inter-ideograph;
  display: block;
}

.global-nav ul li a:hover{
  color: #ffffff;
  background-color: #000000;
}

/* side bar */
.sidebar{
  width: 175px;
  padding: 0;
  margin-left: 20px;
  float: left;
}


.menu{
  width: 100%;
  list-style-type: none;
}

.menu > li{
  text-align: left;
  width: 175px;
  margin: 2px 0;
  padding: 5px;
  border: solid 1px #ccc;
  display: block;
  cursor: pointer;
}

.menu > li::before {
  content: '';
  position: relative;
  float: right;
  border: 7px solid transparent;
  border-left-color: #70a6a0;
  width: 0;
  height: 0;
  top: 2px;
  right: 0px;
}

.menu > li.open::before {
  content: '';
  position: relative;
  float: right;
  border: 7px solid transparent;
  border-top-color: #70a6a0;
  width: 0;
  height: 0;
  top: 4px;
  right: 4px;
}

.submenu{
  display: none;
  list-style-type: none;
}

.submenu > li{
  text-align: left;
  width: 172px;
  margin-top: 1px;
  padding: 5px;
  border-top: dashed 1px #ccc;
  display: block;
}

.submenu > li:first-child{
  margin-top: 5px;
}
.submenu > li:last-child{
  padding-bottom: 0px;
}


.menu a {
  color: #000;
  text-decoration: none;
  display: block;
}

.menu div:hover, .menu a:hover{
  background-color: #000;
  color: #fff;
}


/* search-box */
.search-box{
  margin: 45px 0;
  width: 100%;
}

.search-box .text{
  font-size: small;
}
.search-box .search-input{
  height: 30px;
  width: 140px;
  box-shadow: 0px 10px 6px 0px #fafafa inset;
  border-radius: 5px;
}

.search-box .search-submit{
  height: 30px;
  width: 28px;
  background: url('./images/submit_button.jpg') no-repeat;
}

/* column */
.latest-column{
  margin-top: 2rem;
}

.latest-column h2{
  font-size: small;
  margin-bottom: 20px;
}

.column-content{
  font-size: small;
}

/* main */
.main{
  margin-left: 220px;
  margin-bottom: 40px;
}

.main h2{
  background: url('./images/section.png') no-repeat;
  height: 36px;
  font-size: 1.3rem;
  padding: 0.5rem 0.75rem;
  color: #fff;
  font-weight: normal;
  letter-spacing: 2px;
}

.main h2:nth-child(n+2){
  margin-top: 2rem;
}

.main h3{
  font-size: 1.3rem;
  font-weight: normal;
  margin-bottom: 1rem;
  text-decoration: underline;
}

.main h4{
  color: #fff;
  background-color: #456c69;
  margin-bottom: 2rem;
}

.main h4:before{
  content:"\025B8\0020";
}

.main h4:nth-child(n+2) {
  margin-top: 2rem;
}

.main ul{
  margin: 1rem 0 2rem 1rem;
}

.main .last-update{
  font-size: small;
  color: #999;
  text-align: right;
  margin-right: 10%;
}

/* section */
.section{
  width: 90%;
  border: solid 1px #000;
  padding: 2rem;
  margin-bottom: 2rem;
  line-height: 200%;
}
.section p:nth-child(n+2){
  margin-top: 1rem;
}

/* for specific pages */

/* top page: ruled list */

.ruled-list{
}

.ruled-list li{
  display: inline-block;
  list-style-type: none;
  width: 100%;
  line-height: 200%;
  border-bottom: 1px dashed #000;
  letter-spacing: 1px;
}

.ruled-list li:before{
  display: inline-block;
  content: ' ';
  width: 1rem;
  height: 1rem;
  border-radius: 0.5rem;
  background-color: rgb(148, 209, 202);
}

.ruled-list li.sticky:before{
  background-color: #f00;
}

.ruled-list li.sticky a{
  color: #f00;
}

.ruled-list li.sticky a:hover{
  color: #fcc;
}



/* staffs table */
.main table.officers th, table.staffs td{
    vertical-align: top;
}
.main table.officers th{
	text-align: left;
	width: 12rem;
}
.main table.officers th.en{
	text-align: left;
	width: 18rem;
}

/* presidents table */
.presidents td{
  padding-left: 1rem;
}

/* mikuni table */
.main table.mikuni th, table.mikuni td{
  border: 1px solid #666666;
}


/* order */
.soldout{
  color: #c00;
}

.title{
  font-weight: bold;
}


/* publications table*/

.main table.publ th, .main table.publ td{
  padding: 1rem;
  vertical-align: middle;
}

a.dl{
  display: block;
  font-weight: bold;
  color: #568a83;
}

a:hover.dl{
  background-color: #000;
  color: #fff;
}

/* PDF download */
p.download{
	width: 100%;
	margin-bottom: 2em;
}
.download a{
	width: 7em;
	display: inline-block;
}

/* content-archive */

.section-info{
  text-align: right;
  font-size: small;
  color: #666;
}

/* page-pubs */
p.pubs{
  margin-bottom: 3rem;
}

.pubs img{
  height: 250px;
  width: 182px;
  border: solid 1px #000;
  margin-right: 3rem;
}

/* archive navigator */
.page-nav {
    text-align: center;
}

.page-nav li {
    display: inline;
    list-style: none;
}

.page-nav li.current span {
    color: #000;
    font-weight: bold;
    display: inline-block;
    padding: 3px 7px;
    background: #fee;
    border: solid 1px #fcc;
}

.page-nav li a {
    color: #333;
    padding: 3px 7px;
    background: #eee;
    display: inline-block;
    border: solid 1px #999;
    text-decoration: none;
}

.page-nav li a:hover {
    color: #fff;
    background-color: #000;
}

.page-nav li.page_nums span {
    color: #fff;
    padding: 3px 7px;
    background: #666;
    display: inline-block;
    border: solid 1px #333;
}

/* footer */
.footer{
  margin: 20px auto;
  font-size: small;
  text-align: center;
}

/* wordpress default classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #eee;
    border: 1px solid #ddd;
    max-width: 96%;
    padding: 10px;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    margin: 0;
    padding: 5px 0;
line-height: 1.3em;
}
