@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400&display=swap");

/* CSS Document */

/*site.css*/
html,
body {
  height: 100%;
}

body {
  font-family: Arial, Roboto, "Droid Sans", "メイリオ", Meiryo, Osaka,
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif;
  font-size: 14px;
  color: #333;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

h1,
h2,
h3,
h4,
p {
  font-size: 14px;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 11px;
  font-weight: normal;
  color: #cccccc;
}

p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

ul,
li,
dl,
dt,
dd {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

img {
  margin: 0px;
  padding: 0px;
  border: none;
  vertical-align: bottom;
}

a {
  overflow: hidden;
  outline: none;
}

a,
a:visited {
  color: #1a828b;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

cite a:hover {
  text-decoration: none;
}

table {
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  border-collapse: collapse;
  border: 1px solid #333333;
}

small {
  font-size: 12px;
}

/*---------------------------------------------------------

ヘッダー

-----------------------------------------------------------*/

#Wrapper {
  min-width: 100%;
  overflow: hidden;
  min-height: 100%;
  height: auto;
  margin: 0px auto -40px;
}

#SiteHeader {
  height: 100px;
  width: 980px;
  margin: 0 auto;
  position: relative;
}

#SiteName {
  margin-top: 2px;
  position: absolute;
  top: 20px;
  left: 5px;
}

#SiteHeader h1 {
  padding-top: 3px;
}

#SiteName a {
  display: block;
  width: 339px;
  height: 50px;
  background: url(../img/site_name.gif) no-repeat;
  text-indent: -9999px;
}

#English {
  position: absolute;
  top: 8px;
  right: 250px;
  width: 52px;
  height: 12px;
}

#English a {
  display: block;
  width: 52px;
  height: 12px;
  background: url(../img/english_link.gif) left center no-repeat;
  text-indent: -9999px;
}

#English a:hover {
  opacity: 0.7;
}

#Nyuukai {
  position: absolute;
  top: 70px;
  right: 1px;
  width: 72px;
  height: 14px;
}

/*----------index.php template.html用スタイル----------*/
#Nyuukai.template {
  position: absolute;
  top: 6px;
  right: 310px;
  width: 72px;
  height: 14px;
}

/*----------ここまで----------*/

#Nyuukai a {
  display: block;
  width: 72px;
  height: 14px;
  background: url(../img/nyuukai_link.png) left center no-repeat;
  text-indent: -9999px;
}

#Nyuukai a:hover {
  opacity: 0.7;
}

#HNavi {
  width: 236px;
  height: 28px;
  position: absolute;
  top: 0px;
  right: 5px;
}

#HNavi ul {
  display: flex;
}

#HNavi li {
  display: inline-block;
}

#HNavi li a {
  text-indent: -9999px;
}

#HNavi li a:hover {
  opacity: 0.7;
}

#HNavi li:first-child a {
  display: block;
  width: 78px;
  height: 28px;
  background: url(../img/header_link.gif) no-repeat;
}

#HNavi li:nth-child(2n) a {
  display: block;
  width: 158px;
  height: 28px;
  background: url(../img/fb.gif) no-repeat;
}

#HLink {
  width: 168px;
  height: 40px;
  position: absolute;
  top: 45px;
  right: 5px;
}

#HLink li.imagebtn > a {
  text-indent: -9999px;
}

#HLink li.imagebtn > a:hover {
  opacity: 0.7;
}

#HLink li.imagebtn:first-child > a {
  display: block;
  width: 168px;
  height: 14px;
  background: url(../img/jpmist_link.gif) no-repeat;
}

#HLink li.imagebtn:nth-child(2n) > a {
  display: block;
  margin-top: 8px;
  width: 139px;
  height: 14px;
  background: url(../img/m3com_link.gif) no-repeat;
}

/*index.php template.html用スタイル*/
#HLink.template {
  width: 186px;
  height: 50px;
  position: absolute;
  top: 30px;
  right: 190px;
}

#HLink.template ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 50px;
  justify-content: start;
}
#HLink.template li.imagebtn > a {
  margin-top: 10px;
  margin-left: 10px;
}

#HLink.template li.imagebtn:first-child > a {
  display: block;
  width: 186px;
  height: 14px;
  background: url(../img/sij_link.gif) no-repeat;
}

#HLink.template li.imagebtn:nth-child(2n) > a {
  display: block;
  width: 172px;
  height: 14px;
  background: url(../img/jpmist_link.gif) no-repeat;
}

#HLink.template li.imagebtn:nth-child(3n) > a {
  display: block;
  width: 172px;
  height: 14px;
  background: url(../img/isct_link.png) no-repeat;
}

#HLink.template li.imagebtn:nth-child(4n) > a {
  display: block;
  width: 172px;
  height: 14px;
  background: url(../img/kubisagari.png) no-repeat;
}

#HLink ul.menu {
  color: rgb(51, 51, 51);
  display: flex;
  flex-direction: column;
  font-size: 14px;
  /* left: -9999px; */
  position: absolute;
  z-index: 10000000;
}

#HLink ul.menu li {
  margin: 0;
  padding: 0;
  position: relative;
  text-align: left;
}

#HLink ul.menu li a {
  background-color: rgba(31, 156, 167, 0.8);
  border-bottom-color: rgb(255, 255, 255);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  color: rgb(255, 255, 255);
  cursor: pointer;
  position: relative;
  text-align: center;
  z-index: 100;
  height: 65px;
  width: 220px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

#HLink .imagebtn:nth-child(1) ul.menu {
  display: none;
}
#HLink .imagebtn:nth-child(1):hover ul.menu {
  display: flex;
}

/*ここまで*/

#Fixbox {
  height: 700px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

#SiteFooter {
  height: 40px;
  background: url(../img/footer_bg.gif) repeat-x bottom center;
}

#CopyRight {
  color: #fff;
  padding: 15px 0px 0px;
  text-align: center;
}

#PageTop {
  bottom: 20px;
  right: 20px;
  position: fixed;
  text-align: right;
  z-index: 10000;
}

/*--------------------------------------------

ここからスマホ用

-----------------------------------------------*/

@media screen and (max-width: 979px) {
  #SiteHeader {
    height: 50px;
    width: 100%;
    position: absolute;
    display: block;
    background: #24b6c4;
  }

  #SiteHeader h1 {
    display: none;
  }

  #SiteName {
    width: 60%;
    height: 38px;
    float: none;
    margin: 0px auto 0px;
    top: 2px;
    left: 5px;
  }

  #SiteName a {
    background-image: url(../img/site_name_sp.gif);
    background-position: left center;
    background-size: auto 36px;
    background-repeat: no-repeat;
    text-indent: -9999px;
  }

  #English,
  #Nyuukai {
    display: none;
  }

  #HNavi {
    width: 40px;
    height: 30px;
    position: absolute;
    top: 5px;
    right: 50px;
  }

  #HNavi ul {
    padding: 0;
  }

  #HNavi li {
    display: inline-block;
    margin-right: 10px;
  }

  #HNavi li#LinksPc {
    display: none;
  }

  #HNavi li a {
    text-indent: -9999px;
  }

  #HNavi li:first-child a {
    display: block;
    width: 30px;
    height: 40px;
    background-image: url(../img/header_link_sp.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
  }

  #HNavi li:nth-child(2n) a {
    display: block;
    width: 30px;
    height: 40px;
    background-image: url(../img/fb_sp.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
  }

  #HLink {
    display: none;
  }

  #Fixbox {
    display: none;
  }

  .hide-sp {
    display: none;
  }
}

/*-----------------------------------------------

ここからテンプレート編集領域

 ------------------------------------------------- */

#Container {
  width: 960px;
  padding: 40px 10px 100px;
  margin: 80px auto 0px;
  font-size: 16px;
  line-height: 1.4;
}

#Container a,
#Container a:visited {
  color: #04a6b4;
  text-decoration: underline;
}

#Container h1 {
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 50px;
}

#Container h2 {
  font-size: 24px;
  margin-bottom: 40px;
}

#Container h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

#Container h4 {
  font-size: 16px;
  margin-bottom: 20px;
}

#Container p {
  line-height: 1.4;
}

#Container blockquote,
#Container cite {
  padding: 0;
  margin: 0 0 20px;
}

#Container ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

#Container li {
  margin-bottom: 10px;
}

#Container ol li {
  list-style-type: decimal;
  list-style-position: inside;
}

#Container ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

@media screen and (max-width: 979px) {
  #Container {
    width: 90%;
    padding: 40px 5% 70px;
    margin: 40px auto 0px;
    font-size: 14px;
  }

  #Container h1 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  #Container h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  #Container h3 {
    font-size: 16px;
  }

  #Container h4 {
    font-size: 14px;
  }
}

/*menu*/

.main_navi {
  height: 100%;
  float: left;
}

.toggleMenu {
  display: block;
  width: 50px;
  height: 50px;
  float: right;
  display: none;
  background-image: url(../img/nav_btn.gif);
  background-repeat: no-repeat;
  background-size: 100%;
  text-indent: -9999px;
  color: #fff;
}

.toggleMenu.active {
  background-image: url(../img/nav_btn_active.gif);
}

.nav {
  clear: both;
  list-style: none;
  *zoom: 1;
  position: relative;
}

.nav:before,
.nav:after {
  content: " ";
  display: table;
}

.nav:after {
  clear: both;
}

.nav ul {
  list-style: none;
  width: 9em;
}

.nav a {
  color: #fff;
  *zoom: 1;
}

.nav > li {
  float: left;
  z-index: 200;
}

.nav > li > a {
  display: block;
}

.nav li ul {
  position: absolute;
  left: -9999px;
  z-index: 100;
  width: 100%;
}

.nav li li a {
  display: block;
  background: rgba(31, 156, 167, 0.8);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid #fff;
  padding: 15px 0;
  color: #ffffff;
  text-align: center;
}

.nav li li li a {
  background: rgba(31, 156, 167, 0.8);
  z-index: 200;
  border-bottom: 1px solid #fff;
}

.nav li li a:hover,
.nav li li li a:hover {
  background: rgba(36, 181, 194, 0.8);
}

/*ここからHorizontal*/

.nav li {
  position: relative;
}

.nav > li.hover > ul {
  left: 0;
}

.nav li li.hover ul {
  left: 100%;
  top: 0;
}

@media screen and (max-width: 979px) {
  #Navi {
    position: relative;
    top: 0px;
  }

  .nav > li {
    float: none;
  }

  .nav ul {
    display: block;
    width: 100%;
  }

  .nav > li.hover > ul,
  .nav li li.hover ul {
    position: static;
  }

  .nav li a,
  .nav li li a {
    text-align: left;
    padding: 15px 0 15px 5px;
    background: #1f9ca7;
    border-bottom: 1px solid #fff;
  }

  .nav li li a {
    padding: 15px 0 15px 20px;
    background-color: #037f8a;
  }

  .nav a:hover {
    background: #24b5c2;
  }
}

.nav > li > .parent {
  background-position: 95% 50%;
}

.nav li li .parent {
  /*background-image: url("../../css/%22%22");*/
  background-repeat: no-repeat;
  background-position: 95% 50%;
}

@media screen and (max-width: 979px) {
  .nav > li > .parent {
    background-position: right center;
  }

  .nav li li .parent {
    background-image: url("../../common/img/down_arrow.png");
    background-repeat: no-repeat;
    background-position: right center;
  }
}

@media only screen and (min-width: 980px) {
  #Navi {
    position: absolute;
    z-index: 10000;
    width: 100%;
    top: 100px;
    background: url(../img/navi_bg.gif) repeat-x;
  }

  .nav {
    width: 980px;
    height: 80px;
    margin: 0 auto;
  }
  .nav > li {
    border: 1px solid #2797a1;
    border-left: none;
    box-sizing: border-box;
  }

  .nav > li.main_navi:hover {
    background-color: #177981;
  }

  #Jimukyoku {
    border-left: 1px solid #2797a1 !important;
  }

  .nav li.main_navi > a {
    /* display: block; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Noto Sans JP", sans-serif;
    /* background-image: url("../img/navi.gif"); */
    font-size: 17px;
    background-repeat: no-repeat;
    /* text-indent: -9999px; */
    border: 1px solid #7cdae2;
    box-sizing: border-box;
  }

  #Jimukyoku a {
    width: 174px;
    height: 78px;
    background-position: 0px 0px;
  }

  #Jimukyoku a:hover {
    background-position: 0px -80px;
  }

  #Kankei a {
    width: 124px;
    height: 78px;
    background-position: -114px 0px;
  }

  #Kankei a:hover {
    background-position: -114px -80px;
  }

  #Houkoku a {
    width: 214px;
    height: 78px;
    background-position: -248px 0px;
  }

  #Houkoku a:hover {
    background-position: -248px -80px;
  }

  #Tipsptifall.hover {
    z-index: 201;
  }

  #Tipsptifall > a {
    width: 160px;
    height: 78px;
    background-position: -458px 0px;
    text-align: center;
  }

  #Tipsptifall > a:hover {
    background-position: -458px -80px;
  }

  #Zadankai a {
    width: 190px;
    height: 78px;
    background-position: -618px 0px;
  }

  #Zadankai > a:hover {
    background-position: -618px -80px;
  }

  #Gaiyou > a {
    width: 174px;
    height: 78px;
    background-position: -808px 0px;
  }

  #Gaiyou > a:hover {
    background-position: -808px -80px;
  }

  .subnavi {
    display: none;
  }

  #SijSp,
  #LinksSp,
  #EnglishLinkSp,
  #NyuukaiSp,
  #KakotaikaiSp,
  #ResearchSp {
    display: none;
  }

  div.officers {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  div.officers table {
    margin: 0;
  }

  div.officers tbody tr:nth-child(even) {
    background-color: #e6e6e6;
  }

  div.officers th {
    background-color: #ccc;
  }

  div.officers th,
  div.officers td {
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 5px 10px;
    min-width: 100px;
  }
}
