.header {
  /* border-bottom: 2px solid #cbcbcb; */
  /* box-shadow:0px 0px 6px 3px #e4e1fb; */
  position: fixed;
  width: 100%;
  z-index: 99;
  background: #161b7b;
}
.ib {
  display: inline-block;
}
.disn {
  display: none;
}
.header .container {
  position: relative;
  height: 120px;
  padding: 0;
}
.top-logo {
  height: 80px;
  margin: 20px 0;
  background: white;
  padding: 5px;
  border-radius: 4px;
}
.cslogan {
  position: absolute;
  top: 20px;
  left: 216px;
  color: white;
}
.f-left {
  float: left;
}
.f-right {
  float: right;
}
.institution {
  position: absolute;
  top: 20px;
  right: 0;
  color: white;
}
ul.menu {
  position: absolute;
  bottom: 0;
  right: 0;
}
ul.menu li {
  display: inline-block;
  padding: 10px 0;
  border-bottom : 6px solid #161b7b;
  transition: .5s;
}
ul.menu li a, ul.menu li a:hover {
  border-left: 1px solid #7da4fb;
  padding: 0 6px;
  font-weight: bold;
  color: white;
}
ul.menu li:last-child a {
  border-right: 1px solid #7da4fb;
}
ul.menu li:hover {
  border-bottom : 6px solid #e7ecf5;
}
ul.menu:after {
  clear: both;
}

.wrap {
  margin-top: 120px;
  position: absolute;
  top: 0;
  width: 100%;
}
.footer {
  width: 100%;
}
.footer footer {
  text-align: center;
  background: #0b0d39;
  color: white;
  padding: 16px 0;
}
.nav-bottom {
  background: url('bg-nav-bottom.png');
  padding: 32px 0 16px;
}
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.establish {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 16px;
  background: url('himo.png') white center center no-repeat;
  color: #161b7b;
}
.establish span {
  background: white;
  padding-right: 32px;
}
.nav-bottom {
  text-shadow:1px 1px 1px #bcc0cb;
}
.nav-bottom li {
  list-style: '- ';
  list-style-position: inside;
}
.nav-bottom dt {
  color: #161b7b;
  font-weight: bold;
}
.nav-bottom .row-col {
  margin-right: 32px;
}
.nav-bottom .row-col:first-child {
  margin-left: -16px;
}
.nav-bottom .row-col:last-child {
  margin-right: 0;
}
.nav-bottom .bottom-image {
  width: 300px;
  padding: 16px;
  background: white;
}
h3 {
  color: #161b7b;
  margin-bottom: 16px;
}
.draft {
  background: yellow;
  color: red;
  font-weight: bold;
}
img.img-block {
  display: block;
  max-width: 100%;
  margin: 0 auto 12px;
}
.about-slogan {
  font-weight: bold;
  font-size: 28px;
  display: block;
}
h2 {
  margin-bottom: 16px;
}
h2.square {
  font-size: 24px;
  margin-top: 24px;
}
h2.square:before {
  content: '■ ';
}
ul, ol {
  list-style-position: inside;
}
dl.fl dt {
    padding-bottom: 16px;
    padding-top: 16px;
    min-width: 120px;
    float: left;
    clear: both;
    font-weight: bold;
    margin-right: 1em;
    text-align: center;
}
dl.fl dd {
    padding: 16px 0 16px 150px;
    border-bottom: 1px solid #9996;
}
dl.fl dd::after{
  clear: both;
}
dl.fl dt.dtonly {
  float: none;
  display: block;
  border-bottom: 1px solid #9996;
}
dl.fl dd.dtonly {
  display: none;
}
.wrap a:active,.wrap  a:hover {
    outline: 0;
}
a:focus, a:hover {
    color: #23527c;
    text-decoration: underline;
}
a {
    color: #337ab7;
    text-decoration: none;
}
.header a:focus, .header a:hover {
    color: white;
    text-decoration: none;
}
.header a {
    color: #337ab7;
    text-decoration: none;
}
.auto-2colmuns {
  margin-left: 12px;
  margin-bottom: 12px;
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  -o-column-count: 2;
  -ms-column-count: 2;
}
img {
  max-width: 100%;
}
/* 継承物開始 */
html {
  line-height: 1.5; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}
code, kbd, pre, samp {
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
}
kbd {
    padding: 2px 4px;
    font-size: 90%;
    color: #fff;
    background-color: #333;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
}
code {
    padding: 2px 4px;
    font-size: 90%;
    color: #441b77;
    background-color: #cdd3f2;
    border-radius: 4px;
}
mark {
  background-color: #ff0;
  color: #000;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
h1.page-title {
  margin: 32px -16px 16px;
  background: url('/design/head_bg.png') no-repeat center center aliceblue;
  padding: 16px;
  font-size: 32px;
  border-left: 10px solid #161b7b;
}
table {
  border-collapse: collapse;
  width: 100%;
}
table.all-bordered td, table.all-bordered th {
  border: 1px solid black;
}
table.all-bordered {
  border: 1px solid black;
}
/* table tr:first-child td {
  border-top: 1px #ccc solid;
}
table td {
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px #ccc solid;
  -webkit-column-span: none;
     -moz-column-span: none;
          column-span: none;
}
table td:first-child {
  font-weight: 700;
  white-space: nowrap;
  padding-right: 45px;
} */
table thead {
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}
table thead tr td, table thead tr th {
  padding: 12px 6px;
}
table tbody tr td, table tbody tr th {
  padding: 8px 6px;
}
table thead tr th:first-child, table tbody tr th:first-child {
  border-right: 1px solid black;
}
table tbody tr {
  border-bottom: 1px solid black;
}
table tbody tr:last-child {
  border-bottom: none;
}
table tbody {
  border-bottom: 2px solid black;
}
table.all-bordered.wg {
    border: 1px solid #81a1cb;
}
table.wg tbody {
    border-bottom: 2px solid #81a1cb;
}
table.wg tbody tr {
    border-bottom: 1px solid #81a1cb;
}
table.wg thead tr th:first-child, table.wg tbody tr th:first-child {
    border-right: 1px solid #81a1cb;
}
table.all-bordered.wg td, table.all-bordered.wg th {
    border: 1px solid #81a1cb;
}
table.all-bordered.wg tr th {
    background: #81a1cb;
    border-bottom: 1px solid white;
}
.align-c {
  text-align: center;
}
.align-r {
  text-align: right;
}
.entry-title {
  margin-bottom: 32px;
  color: #161b7b;
}
.entry-content {
  margin-bottom: 64px;
}
p {
  line-height: 1.5;
  margin-bottom: 1em;
  font-size: 14px;
}
.indent {
  text-indent: 1em;
}
.box {
  border: 1px solid black;
  padding: 1em;
}
p.pre {
  white-space: pre-line;
}
.mar-left {
  margin-left: 1em;
}
dl.member {
  margin-bottom: 16px;
}
dl.member dt {
  font-weight: bold;
}
td p,
td dt,
td dd {
  line-height: 200%;
  letter-spacing: 0;
  margin-top: 0;
  margin-bottom: 0;
}

hr {
  border: 0;
  border-top: 1px rgba(0, 0, 0, 0.2) solid;
  margin-top: 2.4em;
  margin-bottom: 2.4em;
}
.min-404 {
  min-height: 300px;
}
.min-404-p {
  margin-top: 120px;
}
/* 継承物終了 */
.directors {
  display: inline-block;
  margin-bottom: 28px;
  float: none;
  vertical-align: top;
}
.directors img {
  width: 100px;
  border-radius: 50px;
}
.directors p {
  margin-bottom: 0;
}
.directors .bname {
  font-size: 16px;
  font-weight: bold;
  color: black;
}
.directors .btitle {
  font-size: 12px;
  color: gray;
  line-height: 1.05;
}
.directors-list {
  margin-bottom: 32px;
}
.direc-c {
  margin-left: 16px;
  margin-right: 16px;
}
.s-only {
  display: none;
}
.entries {
  list-style-type: none;
}
.li-news-thumb {
  display: block;
  float: left;
  width: 15%;
}
.li-news-panel {
  display: block;
  float: left;
  width: 85%;
  padding-left: 16px;
}
.li-news {
  padding: 32px;
}
a.li-news-parent {
  text-decoration: none;
  color: black;
}
a.li-news-parent:hover {
  opacity: 0.6;
}
.li-news-panel p {
  line-height: 1.2;
  margin-bottom: 8px;
  font-size: 16px;
}
.li-news-panel p.panel-title {
  font-size: 18px;
  color: #161b7b;
  font-weight: bold;
}
ul.entries li.li-news {
  border-bottom: solid 1px #e1e1e1;
}
.panel-cat {
  border: 1px solid black;
  border-radius: 3px;
  margin-left: 12px;
  padding: 3px;
  font-size: 85%;
}
.wpcf7-form-control {
    font-size: 18px;
    color: black;
    border-radius: 0;
}
.wpcf7-form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
textarea.wpcf7-form-control {
  height: auto;
}
.wpcf7-form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
.required {
    border: 1px solid #bf1515;
    border-radius: 3px;
    margin-left: 12px;
    padding: 3px;
    font-size: 85%;
    color: white;
    background: #bf1515;
}
.wpcf7-submit {
  background: #49b349;
  font-size: 18px;
  color: white;
  border: none;
  border-bottom: 2px solid darkgreen;
}
.wpcf7-submit:hover {
  border-bottom: 2px solid #7bab7b;
  background: #6cd86c;
}
.wpcf7-response-output {
  display: block;
  margin: 0 !important;
  margin-top: -30px !important;
  padding: 10px !important;
  background: white;
  font-size: 20px;
  font-weight: bold;
}
@media only screen and (max-width: 760px) {
  .nav-bottom .row-col:first-child {
    margin-left: 0;
  }
  .nav-bottom .row-col:last-child {
    margin-right: 0;
  }
  .auto-2colmuns {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
    -o-column-count: 1;
    -ms-column-count: 1;
  }
  .w-only {
    display: none;
  }
  .s-only {
    display: block;
  }
  .nav-btn-outer {
    position: absolute;
    top: 20px;
    right: 16px;
  }
  #nav-btn-id {
    color: white;
    border: 1px solid white;
    border-radius: 6px;
    padding: 8px;
    background: none;
    font-size: 0;
    width: 40px;
    height: 40px;
  }
  ul.menu {
    /* display: none; */
    transform: scaleY(0);
    transition: 0.5s linear;
    position: absolute;
    width: 100%;
    top: 80px;
  }
  .menu-open ul.menu {
    display: block;
    transform: scaleY(1);
    position: absolute;
    top: 120px;
    right: 0;
    width: 100%;
  }
  ul.menu li a, ul.menu li a:hover {
    border-left: none;
    text-decoration: none;
    display: block;
    padding: 10px 16px;
    width: 100%;
    line-height: 1;
  }
  ul.menu li {
    display: block;
    padding: 0;
    border-top: 1px solid #bcc3bc;
    border-bottom: none;
    background: #161b7b;
  }
  ul.menu li:hover {
    background: #5d95de;
  }
  ul.menu li:last-child a {
    border-right: none;
  }
  ul.menu li:hover {
    border-bottom: none;
  }
  ul.menu li a:before {
    content: '■ ';
  }
  .header .container {
    height: 80px;
  }
  .top-logo {
    height: 60px;
    margin: 10px 0 10px 10px;
  }
  .menu-open ul.menu {
    top: 80px;
  }
  .wrap {
    margin-top: 80px;
  }
  #nav-btn-id, #btn-img {
    transition: .5s;
  }
  .menu-open img#btn-img {
    transform: rotateZ(270deg);
    transform-origin: center;
    filter: invert(100%);
  }
  #nav-btn-id.menu-open {
    background: white;
  }
  .li-news-thumb {
    width: 20%;
  }
  .li-news-panel {
    width: 80%;
  }
  .li-news {
    padding: 16px 0;
  }
  .li-news-panel p {
    line-height: 1.1;
    font-size: 14px;
  }
}
@media only screen and (max-width:480px){
  .about-slogan {
    font-size: 22px;
  }
  .nav-bottom .row-col {
    margin-right: 0;
  }
  .li-news {
    padding: 16px 0;
  }
  .li-news-thumb {
    width: 25%;
  }
  .li-news-panel {
    width: 75%;
  }
  .li-news-panel p {
    line-height: 1.1;
    font-size: 12px;
  }
  .li-news-panel p.panel-title {
    font-size: 14px;
  }
}
