body.categories .pagetitle {
  margin-bottom: 1.875em;
  background: #b8cfe6;
  background: -moz-linear-gradient(top, #b8cfe6 0%, #dbe7f2 100%);
  background: -webkit-linear-gradient(top, #b8cfe6 0%, #dbe7f2 100%);
  background: linear-gradient(to bottom, #b8cfe6 0%, #dbe7f2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b8cfe6', endColorstr='#dbe7f2',GradientType=0 );
}
body.categories .pagetitle .container {
  background-image: url("../images/pagetitle_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  -moz-background-size: 62.5em;
  -o-background-size: 62.5em;
  -webkit-background-size: 62.5em;
  background-size: 62.5em;
}
body.categories .pagetitle h2 {
  padding: 1em 0.83em;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.4;
}
body.categories .localnav {
  margin-top: -1.875em;
  margin-bottom: 1.875em;
  background-color: #b8cfe6;
}
body.categories .localnav ul:after {
  content: '';
  clear: both;
  display: block;
}
body.categories .localnav ul li {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 25%;
  padding: 1%;
}
body.categories .localnav ul li a {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  cursor: pointer;
  width: 100%;
  height: 3.125em;
  padding: 0 0.3125em;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  line-height: 3.125em;
  vertical-align: middle;
  background-color: #004d99;
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
  -moz-box-shadow: 0 -0.3125em 0 rgba(0, 0, 0, 0.3) inset;
  -webkit-box-shadow: 0 -0.3125em 0 rgba(0, 0, 0, 0.3) inset;
  box-shadow: 0 -0.3125em 0 rgba(0, 0, 0, 0.3) inset;
}
body.categories .localnav ul li a:hover {
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
body.categories h3 {
  position: relative;
  background-color: #f2e9ce;
  min-height: 3.75em;
}
body.categories h3 strong {
  display: inline-block;
  padding-left: 3em;
  vertical-align: middle;
  line-height: 2.5;
  letter-spacing: 0.05em;
}
body.categories h3:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 3.75em;
  height: 3.75em;
  background-color: #cca633;
  background-repeat: no-repeat;
  background-position: center center;
  -moz-background-size: 1.5em;
  -o-background-size: 1.5em;
  -webkit-background-size: 1.5em;
  background-size: 1.5em;
}
body.categories h3.doc:before {
  background-image: url("../images/icon_doc.png");
}
body.categories h3.fish:before {
  background-image: url("../images/icon_fish.png");
}
body.categories .section {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 1.875em;
  padding: 1.25em;
}
body.categories .section:after {
  content: '';
  clear: both;
  display: block;
}
body.categories .section h4 {
  margin-bottom: 0.5em;
  padding: 0.4em;
  color: #004d99;
  font-weight: bold;
  line-height: 1.2;
  background-color: #dae7f2;
}
body.categories .section h5 {
  margin: 1em 0 0.5em;
  color: #6a3906;
  font-size: 100%;
  font-weight: bold;
  line-height: 1.2;
}
body.categories .section p {
  line-height: 1.875;
  margin-bottom: 1em;
}
body.categories .section img {
  max-width: 100%;
}
body.categories .section ul.list {
  margin-left: 1.25em;
  margin-bottom: 1em;
}
body.categories .section ul.list li {
  position: relative;
  padding: 0.3125em 0 0.3125em 1.15em;
  line-height: 1.4;
  text-indent: -1.15em;
}
body.categories .section ul.list li:before {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  content: '\00BB';
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.3125em;
  font-size: 75%;
  color: #ffffff;
  text-align: center;
  text-indent: 0;
  line-height: 1.2;
  vertical-align: middle;
  background-color: #004d99;
}
body.categories .section ol.list {
  margin-bottom: 1em;
  margin-left: 2em;
  list-style-type: decimal;
}
body.categories .section ol.list li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}
body.categories .section table.table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 1em;
  line-height: 1.4;
}
body.categories .section table.table.w100 {
  width: 100%;
}
body.categories .section table.table tbody tr th {
  padding: 0.7em 1em;
  border-bottom: solid 1px #004d99;
  color: #004d99;
  font-weight: bold;
  vertical-align: middle;
  white-space: nowrap;
}
body.categories .section table.table tbody tr td {
  padding: 0.7em 1em;
  vertical-align: middle;
  border-bottom: solid 1px #cccccc;
}
body.categories .section .date {
  margin-bottom: 1.5em;
  padding: 0.5em;
  border-top: dotted 1px #cccccc;
  text-align: right;
  background-color: #f2f2f2;
}
body.categories .section ul.news {
  margin-left: 1.25em;
  margin-bottom: 1em;
}
body.categories .section ul.news li {
  position: relative;
  padding: 0.625em 0 0.625em 1.15em;
  border-bottom: dotted 1px #cccccc;
  line-height: 1.4;
  text-indent: -1.15em;
}
body.categories .section ul.news li:before {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  content: '\00BB';
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.3125em;
  font-size: 75%;
  color: #ffffff;
  text-align: center;
  text-indent: 0;
  line-height: 1.2;
  vertical-align: middle;
  background-color: #004d99;
}
body.categories .section ul.news li em {
  margin-right: 1em;
  font-weight: bold;
}
body.categories .section .nav {
  margin-bottom: 1.875em;
  text-align: center;
}
body.categories .section .btn {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  cursor: pointer;
  padding: 0.5em 1.875em 0.7em;
  border: 0 none;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  background-color: #004d99;
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
  -moz-box-shadow: 0 -0.3125em 0 rgba(0, 0, 0, 0.3) inset;
  -webkit-box-shadow: 0 -0.3125em 0 rgba(0, 0, 0, 0.3) inset;
  box-shadow: 0 -0.3125em 0 rgba(0, 0, 0, 0.3) inset;
}
body.categories .section .btn:hover {
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
body.categories .section .boxset {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
body.categories .section .boxset:after {
  content: '';
  clear: both;
  display: block;
}
body.categories .section .boxset .box {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 50%;
  margin-bottom: 1.25em;
  padding: 0 2%;
}
body.categories .section .boxset .box .txt {
  margin-top: 0.75em;
  text-align: center;
  line-height: 1.6;
}
body.categories .section .panel {
  margin-bottom: 1.875em;
  padding: 1.875em;
  background-color: #f2f2f2;
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
}
body.categories .section .fishery {
  margin-bottom: 1.875em;
  padding: 1.875em;
  background-color: #e6ecf2;
}
body.categories .section .fishery:after {
  content: '';
  clear: both;
  display: block;
}
body.categories .section .fishery dl {
  float: left;
  width: 46%;
}
body.categories .section .fishery dl dt {
  margin-bottom: 0.3125em;
  color: #004d99;
  font-weight: bold;
}
body.categories .section .fishery .youtube {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  cursor: pointer;
  padding: 0.625em 1.875em;
  border: 0 none;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  background-color: #e60000;
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
  -moz-box-shadow: 0 -0.1875em 0 rgba(0, 0, 0, 0.3) inset;
  -webkit-box-shadow: 0 -0.1875em 0 rgba(0, 0, 0, 0.3) inset;
  box-shadow: 0 -0.1875em 0 rgba(0, 0, 0, 0.3) inset;
}
body.categories .section .fishery .youtube:hover {
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
body.categories .section .fishery .ph {
  float: right;
  width: 52%;
  text-align: right;
}
body.categories .section .fishery .ph img {
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
}
body.categories .section .flow {
  position: relative;
  margin: 0 -1.25em;
  padding: 1.25em 0;
}
body.categories .section .flow:after {
  content: '';
  clear: both;
  display: block;
}
body.categories .section .flow + .flow {
  border-top: solid 1px #cccccc;
}
body.categories .section .flow + .flow:before {
  content: '';
  position: absolute;
  top: -0.625em;
  left: 5.625em;
  border-style: solid;
  border-color: transparent;
  border-top-color: #ffaa00;
  border-width: 1.25em 0.9375em;
}
body.categories .section .flow .block {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 20%;
  height: 12.5em;
  padding: 1.25em 0.625em 0 1.25em;
  color: #ffffff;
  font-weight: bold;
  background-color: #004d99;
}
body.categories .section .flow .block .number {
  font-size: 375%;
  margin-bottom: 0.16em;
}
body.categories .section .flow .block .subject {
  font-size: 187.5%;
}
body.categories .section .flow .txt {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 41%;
  padding-left: 1.25em;
}
body.categories .section .flow .ph {
  float: right;
  width: 37%;
  text-align: right;
}
body.categories .section .marker {
  padding-right: 0.1em;
  padding-left: 0.1em;
  background: linear-gradient(rgba(0, 0, 0, 0) 0%, #ffe371 0%);
}
body.categories .section table.training {
  width: 100%;
  border-collapse: separate;
  border-spacing: 2px;
  margin-bottom: 1em;
  line-height: 1.4;
}
body.categories .section table.training thead tr th {
  padding: 0.5em;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  background-color: #004d99;
}
body.categories .section table.training tbody tr th {
  padding: 0.5em;
  border-right: solid 1px #b9b9b9;
  border-bottom: solid 1px #b9b9b9;
  color: #004d99;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  background-color: #e5e5e5;
}
body.categories .section table.training tbody tr td {
  padding: 0.5em;
  border-right: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
}
body.categories .section dl.list {
  margin-bottom: 1em;
}
body.categories .section dl.list dt {
  position: relative;
  padding: 0.3125em 0 0.3125em 1.15em;
  font-weight: bold;
  line-height: 1.4;
  text-indent: -1.15em;
}
body.categories .section dl.list dt:before {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  content: '\00BB';
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.3125em;
  font-size: 75%;
  color: #ffffff;
  text-align: center;
  text-indent: 0;
  line-height: 1.2;
  vertical-align: middle;
  background-color: #004d99;
}
body.categories .section dl.list dd {
  margin-bottom: 0.625em;
  padding: 0 0.625em 0.625em 1.25em;
  border-bottom: dotted 1px #cccccc;
  line-height: 1.6;
}
body.categories .googlemap {
  width: 100%;
  height: 30em;
}
body.categories .recruitmap {
  margin-bottom: 3.75em;
}
body.categories .recruitnav {
  margin-bottom: 1.875em;
}
body.categories .recruitnav:after {
  content: '';
  clear: both;
  display: block;
}
body.categories .recruitnav .nav {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 50%;
  padding: 0 1%;
  text-align: center;
}
body.categories .recruitnav .nav a:hover {
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}

/* Contact
---------------------------------------------------------------- */
body#contact .long, body#shipentry .long {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 0.2em 0.5em;
  border: solid 1px #e5e5e5;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
body#contact .middle, body#shipentry .middle {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 30%;
  margin: 0 0.5em;
  padding: 0.2em 0.5em;
  border: solid 1px #e5e5e5;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
body#contact .short, body#shipentry .short {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 20%;
  margin: 0 0.5em;
  padding: 0.2em 0.5em;
  border: solid 1px #e5e5e5;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
body#contact fieldset, body#shipentry fieldset {
  padding: 20px;
  text-align: center;
}

/* Ship sales
---------------------------------------------------------------- */
body#shipsales .shipinfo table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  font-size: 87.5%;
  line-height: 1.6;
}
body#shipsales .shipinfo table thead tr th {
  padding: 0.3em 0.5em;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  background-color: #004d99;
  white-space: nowrap;
}
body#shipsales .shipinfo table thead tr th + th {
  border-left: dotted 1px #ffffff;
}
body#shipsales .shipinfo table tbody tr td {
  padding: 0.3em 0.5em;
  border-bottom: solid 1px #e5e5e5;
}
body#shipsales .shipinfo table tbody tr td a {
  text-decoration: underline;
}
body#shipsales .shipinfo table tbody tr:nth-child(even) {
  background-color: #f2f2ff;
}
body#shipsales .shipinfo table tbody tr.status2 * {
  color: #cc9999;
  background-color: #ffe5e5;
}
body#shipsales .shipinfo table tbody tr.status3 * {
  color: #b3b3b3;
  background-color: #f2f2f2;
}
body#shipsales .pagenav {
  text-align: center;
}
body#shipsales .pagenav li {
  display: inline-block;
}
body#shipsales .pagenav li a, body#shipsales .pagenav li span, body#shipsales .pagenav li strong {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  width: 2em;
  height: 2em;
  text-decoration: none;
  line-height: 2;
  background-color: #e5e5e5;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
body#shipsales .pagenav li a {
  color: #004d99;
}
body#shipsales .pagenav li span {
  color: #cccccc;
}
body#shipsales .pagenav li a:hover, body#shipsales .pagenav li strong {
  color: #ffffff;
  background-color: #004d99;
}
body#shipsales .detail {
  margin-bottom: 2em;
}
body#shipsales .detail .image {
  margin: 1em 0;
  text-align: center;
}
body#shipsales .detail .image img {
  display: inline-block;
  padding: 0.3125em;
  border: solid 1px #e5e5e5;
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
}
body#shipsales .detail table {
  border-collapse: separate;
  border-spacing: 0.3125em;
  width: 100%;
  line-height: 1.6;
}
body#shipsales .detail table tbody tr th, body#shipsales .detail table tbody tr td {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0.3em 1em;
  vertical-align: middle;
}
body#shipsales .detail table tbody tr th {
  color: #004d99;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  background-color: #dae7f2;
}
body#shipsales .detail table tbody tr th.second {
  background-color: #f2f2f2;
}
body#shipsales .detail table tbody tr td {
  border-bottom: dotted 1px #e5e5e5;
}

/* Link
---------------------------------------------------------------- */
body#link .section ul.list li {
  padding: 0.625em 0 0.625em 1.15em;
  border-bottom: dotted 1px #cccccc;
}

/* WP-pagenavi
---------------------------------------------------------------- */
.wp-pagenavi {
  margin-top: 2em;
  font-size: 87.5%;
  text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-block;
  padding: 5px 10px !important;
  border: 0 none !important;
  background-color: #e1d7cd;
  -moz-border-radius: 0.3125em;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
  color: #ffffff;
  background-color: #004d99;
}

/* RWD
---------------------------------------------------------------- */
@media only screen and (max-width: 640px) {
  body.categories .pagetitle {
    font-size: 87.5%;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
  }
  body.categories .pagetitle h2 {
    padding: 0.75em 0.3125em;
  }
  body.categories .localnav {
    margin-top: -0.625em;
  }
  body.categories .localnav ul li {
    float: none;
    width: auto;
  }
  body.categories h3 {
    font-size: 75%;
  }
  body.categories .section {
    padding: 0.625em 0;
  }
  body.categories .section ul.list {
    margin-left: 0.3125em;
  }
  body.categories .section table.table tbody tr th, body.categories .section table.table tbody tr td {
    display: block;
    padding: 0.3125em 0.625em;
  }
  body.categories .section ul.news {
    margin-left: 0.3125em;
  }
  body.categories .section ul.news li em {
    margin-bottom: 0.3125em;
  }
  body.categories .section .btn {
    width: 100%;
    min-width: 1em;
  }
  body.categories .section .boxset:after {
    content: '';
    clear: both;
    display: block;
  }
  body.categories .section .boxset .box {
    float: none;
    width: auto;
    padding: 0;
  }
  body.categories .section .boxset .box .txt {
    text-align: left;
  }
  body.categories .section .panel {
    margin-bottom: 0.625em;
    padding: 0.625em;
  }
  body.categories .section .fishery {
    margin-bottom: 0.625em;
    padding: 0.625em;
  }
  body.categories .section .fishery dl, body.categories .section .fishery .ph {
    float: none;
    width: auto;
  }
  body.categories .section .fishery .ph {
    margin-top: 0.625em;
    text-align: center;
  }
  body.categories .section .flow {
    margin: 0;
    padding: 1.25em 0;
  }
  body.categories .section .flow + .flow:before {
    left: 50%;
    margin-left: -0.625em;
  }
  body.categories .section .flow .block {
    float: none;
    width: auto;
    height: auto;
    margin-bottom: 0.3125em;
    padding: 0.3125em;
  }
  body.categories .section .flow .block .number {
    display: inline-block;
    font-size: 125%;
    margin-bottom: 0;
  }
  body.categories .section .flow .block .subject {
    display: inline-block;
    font-size: 125%;
  }
  body.categories .section .flow .txt {
    float: none;
    width: auto;
    padding-left: 0;
  }
  body.categories .section .flow .ph {
    float: none;
    width: auto;
    text-align: center;
  }
  body.categories .section .googlemap {
    height: 10em;
  }

  body#shipsales .shipinfo {
    overflow: auto;
  }
  body#shipsales .shipinfo table tbody tr td {
    white-space: nowrap;
  }
  body#shipsales .shipinfo::-webkit-scrollbar {
    height: 6px;
  }
  body#shipsales .shipinfo::-webkit-scrollbar-track {
    background-color: #e5e5e5;
  }
  body#shipsales .shipinfo::-webkit-scrollbar-thumb {
    background-color: #4d4d4d;
    border-radius: 3px;
  }
}
