/*-----Set-----*/

body {
    margin: 0;
    background-color: #005243;
}

/*-----NAVI-----*/
nav li a {
  border-top: 10px solid #90ee90;
  background: #3cb371;
}
nav ul {
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
nav li {
  box-sizing: border-box;
  float: left;
  border-right: 1px solid #90ee90;
  width: 25%;
}

nav li a {
  display: block;
  padding: 20px 0;
  width: 100%;
  text-decoration: none;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}
nav li a:hover {
  background: #005243;
}
nav li:last-child {
  border-right: none;
}
/*-----PageContents-----*/


/*-----tab no kanri-----*/
/*タブ切り替え全体のスタイル*/
.tab {
    margin: 0 auto;
    color: #ffffff;
    padding-bottom: 1000px;
    background-color: #005243;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 100%;
  }
  
  /*タブのスタイル*/
  .tab_item {
    width: calc(100%/2);
    height: 50px;
    border-bottom: 3px solid #90ee90;
    border-top: 3px solid #90ee90;
    background-color: #90ee90;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
  }
  .tab_item:hover {
    opacity: 0.75;
  }
  
  /*ラジオボタンを全て消す*/
  input[name="tab_item"] {
    display: none;
  }
  
  /*タブ切り替えの中身のスタイル*/
  .tab_content {
    display: none;
    padding: 40px 40px 0;
    clear: both;
    overflow: hidden;
  }
  
  
  /*選択されているタブのコンテンツのみを表示*/
  #untilnow:checked ~ #untilnow_content,
  #nowon:checked ~ #nowon_content {
    display: block;
  }
  
  /*選択されているタブのスタイルを変える*/
  .tab input:checked + .tab_item {
    background-color: #005243;
    color: #fff;
  }


#map {
  display: inline-block;
}

/*-----tab1-----*/
#mapset1 {
  position: absolute;
  top: 73%;
  left: 27%;
  transform: translate(-50%,-50%);
  margin: 0 auto;
  color: #fffacd;
}

#mapset2 { 
  position: absolute;
  top: 72%;
  left: 70%;
  transform: translate(-50%,-50%);
  margin: 0 20px;
  color: #afeeee;
}

h1 {
  position: relative;
  margin: 0;
  font-size: 20px;
  text-align: center;
  border-bottom: 4px solid #00ff7f;
} 

h2 {
  font-weight: bold;
  font-size: 16px;
}

h3 {
  font-weight: bold;
  border-bottom: 3px double #7fffd4;
}
/*-----tab2-----*/
#content2 {
  display: inline-block;
}

#mapgoal {
  width: 48%;
  position: absolute;
  left: 2%;
  font-size: 16px;
  margin: 0 auto;
}

#newcontent {
  width: 48%;
  position: absolute;
  left: 52%;
  font-size: 16px;
  margin: 5px;
}

img {
  margin: 5px;
  border: 5px solid #90ee90;
}