@charset "utf-8";

/* 全体共通ヘッダー */
#header_bar {
  width: 100%;
}

#header_bar ul {
  max-width: 1200px;
  height: 77px;
  margin: 0 auto;
  display: table;
}

#header_bar li {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
#header_bar li a {
  display: block;
  font-weight: bold;
}
#header_bar li a:hover {
  color: #0078AD;;
}

#header_bar #logo_platform {
  width:170px;
}

#header_bar #logo_platform img{
  width:150px !important;
}

#header_bar #member_num_block {
  width:57%;
  color: #416aa4;
  font-size: 110%;
  font-weight: bold;
  text-align: left !important;
}

#header_bar #member_num_block .number{
  font-size: 200%;
}
#header_bar #member_num_block .update{
  font-size: 75%;
}
#header_bar #member_num_block a{
  width:200px;
}


#header_bar .btn_regist a {
  width:120px;
	background: #AF4A00;
	border:1px solid #723000;
	color:#ffffff;
	border-radius: 4px;
	padding:5px 20px;
	margin:0 10px 0 0;
  font-size: 110%;
}
#header_bar .btn_login a {
  width:120px;
	background: #ffffff;
	color:#3C3C3B;
  border: 4px solid #ccc;
	border-radius: 4px;
	padding:5px 20px;
	margin:0;
  font-size: 110%;
}

#header_bar .id_info_txt {
  width:70px;
  margin:1em 0 0 6px;
  line-height: 1.3em;
  font-size: 75%;
	font-weight: normal;
  text-align:left !important;
  display: block !important;
}
#header_bar .id_info_txt a {
	font-weight: normal;
	text-decoration: underline;
  display: inline !important;
}

#gnavi__wrap {
  width: 100%;
  background: #0078AD;;
}
#open_pf_menu img{
  padding-top:10px;
}
.gnavi__lists {
  max-width: 1200px;
  display: flex;
  margin: 0 auto;
}

.gnavi__list {
  width: 20%;
  height: 60px;
  background-color: #0078AD;;
  position: relative;
  transition: all .3s;
}
.gnavi__list:hover {
  background-color: #0071BB;
}
.gnavi__list:not(:first-child)::before {
  content: "";
  /* width: 1px; */
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .3s;
}
.gnavi__list:hover::before {
  background-color: #0071BB;
}
.gnavi__list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.05em;
  font-weight: 600;
  transition: all .3s;
}
.gnavi__list:hover a {
  color: #fff;
}
.dropdown a {
  pointer-events: none;
}
.dropdown a::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
  width: 0.5em;
  height: 0.5em;
  border: 0.175em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
  position: absolute;
  top: 25px;
  right: 3px;
}

.dropdown__lists {
  display: none;/*デフォルトでは非表示の状態にしておく*/
  width: 120%;
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 60000;
  border:1px solid #0071BB; 
}
.gnavi__list:hover .dropdown__lists {
  display: block;
}
.dropdown__list {
  background-color: #FFFFFF;
  height: 45px;
  transition: all .3s;
  position: relative;
}
.dropdown__list:not(:first-child)::before{
  content: "";
  width: 100%;
  background-color: #3492d1;
  position: absolute;
  top: 0;
  left: 0;
}
.dropdown__list:hover {
  opacity: 0.9;
}
.dropdown__list a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0071BB !important;
  text-decoration: none;
  position: relative;
  pointer-events: auto;
  font-size: 70%;
}
.dropdown__list a::before {
  display: none;
}
.dropdown__list a::after {
  display: none;
}

@media screen and (max-width: 1024px) {

main{
  margin-top: 42px;
}
  /* 共通ヘッダー */
  #header_bar {
    width: 100%;
    padding:0.5em;
    position: relative;
    z-index: 9999;
    height: 70px;
    cursor: pointer;
  }

  #header_bar ul {
    height: auto;
    list-style-type: none;
    transition: all .3s ease-out 0s;
  }

  /* 地方創生SDGs官民連携プラットフォーム以下共通ヘッダー */
  #gnavi__wrap {
    width: 100%;
    position: relative;
    height: 0px;
    cursor: pointer;
  }
  #gnavi__wrap ul {
    display: block;
    height: auto;
    list-style-type: none;
    height: 0!important;
    overflow: hidden;
    transition: all .3s ease-out 0s;
  }
  #open_menu {
    width: 100%;
    position: relative;
    z-index: 9998;
    height: 42px;
    cursor: pointer;
  }
  #open_menu::before{
    content:"プラットフォームメニューを開く";
    color: #fff;
    display: block;
    height: 42px;
    padding: 14px 0 0;
    background: #0078AD; url("/common/successor/img/icon_downarrow.png") no-repeat 95.5% center;
    background-size: 14px;
    font-size: 81.25%;
    text-align: center;
    transition: all .3s ease-out 0s;
  }
  #open_menu ul {
    display: block;
    height: auto;
    list-style-type: none;
    height: 0!important;
    overflow: hidden;
    transition: all .3s ease-out 0s;
  }
  #open_menu.on ul{
    height: calc(50px * 10)!important;
    transition: all .3s ease-out 0s;
    position: relative;
    z-index: 9999;
  }
  #open_menu.on:after {
    content:" ";
    display: block;
    position: absolute;
    top: 43px;
    width: 100%;
    height: 10000%;
    background: #000;
    opacity: 0.6;
  }
  #open_menu.on::before{
    content:"プラットフォームメニューを閉じる";
  }
  .gnavi__list {
    width: 50%;
    left: 50%;
  }
  .gnavi__list a {
    justify-content: start;
  }

}
@media screen and (max-width: 600px) {
  /* 共通ヘッダー */
  #header_bar {
    height: 55px;
  }
  #header_bar #logo_platform {
    width:120px;
  }
  
  #header_bar #logo_platform img{
    width:100px !important;
  }
  
  #header_bar #member_num_block {
    width: 20%;
    font-size: 70%;
  }
  
  #header_bar #member_num_block .number{
    font-size: 120%;
  }
  #header_bar #member_num_block .update{
    font-size: 75%;
  }
  #header_bar #member_num_block a{
    width:100px;
  }
  
  
  #header_bar .btn_regist a {
    width:70px;
    padding:5px 2px;
    font-size: 70%;
  }
  #header_bar .btn_login a {
    width:70px;
    padding:5px 2px;
    font-size: 70%;
  }
  
  #header_bar .id_info_txt {
    display: none !important;
  }

  #open_menu li a {
    margin: 0 2%;
    padding: 10px 5px !important;
    font-size: 70%;
  }
}

@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, #header_bar li:nth-last-of-type(2) a { padding: 12px 39px 6px 12px; } /* IE11 */
}

  /* バーガーメニュー */
  #open_menu {
    width: 100%;
    position: relative;
    z-index: 9998;
    height: 0px;
    cursor: pointer;
  }
  #open_menu ul {
    display: block;
    height: auto;
    list-style-type: none;
    height: 0!important;
    overflow: hidden;
    transition: all .3s ease-out 0s;
  }
  #open_menu.on ul{
    height: calc(50px * 30)!important;
    transition: all .3s ease-out 0s;
    position: relative;
    z-index: 9999;
  }
  #open_menu.on:after {
    content:" ";
    display: block;
    position: absolute;
    top: 43px;
    width: 100%;
    height: 10000%;
    background: #000;
    opacity: 0.6;
  }
  #open_menu li {
    display: block;
    text-align: left;
    vertical-align: middle;
    background: #0078AD;;
    border: 1px solid #0078AD;
  }
  #open_menu li a {
    margin: 0 4%;
    padding: 15px 0;
    font-size:87.5%;
  }

  #open_menu li.regist p.txt_regist {
    text-align:center;
    margin-bottom: 10px;
  }
  #open_menu li.regist .btn_set {
    width:100%;
    display: table;
    border-collapse: separate;
    border-spacing:10px 0;
  }
  #open_menu li.regist .btn_set div.btn_regist {
    width:40%;
  }
  #open_menu li.regist .btn_set div.btn_regist a {
    padding:0;
    padding:5% 10%;
    margin:0;
  }
  #open_menu li.regist .btn_set div.btn_login {
    width:40%;
  }
  #open_menu li.regist .btn_set div.btn_login a {
    padding:0;
    padding:5% 10%;
    margin:0;
  }
  #open_menu li.ID_info p {
    width:auto;
    margin: 0 4%;
    padding: 15px 0;
    font-size: 87.5%;
  }
  #open_menu li.ID_info p a{
    margin: 0;
    padding:0;
  }
  #open_menu li:nth-of-type(5) a {
    margin: 0 4%;
  }

  #open_menu .gnavi__list {
    width: 50%;
    height:50px;
    left: 50%;
  }

  #open_menu .gnavi__list a {
    justify-content: start;
  }

  #open_menu .bg_white {
    background-color: #FFFFFF;
    color:#0078AD !important;
  }
  #open_menu .bg_white a {
    color:#0078AD !important;
  }


