#isg {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 100px;
}

#isg .wrap {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

#isg .wrap .content {
  width: 100%;
  height: auto;
}

#isg .wrap .content .select_btn_wrap {
  width: 100%;
  height: auto;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#isg .wrap .content .select_btn_wrap button {
  width: 50%;
  height: 50px;
  border: 1px solid #053863;
  background: #fff;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 18px;
  color: #053863;
  transition: all 0.3s;
}

#isg .wrap .content .select_btn_wrap button:hover {
  background: #074170;
  color: #fff;
}

#isg .wrap .content .select_btn_wrap button.active {
  background: #053863;
  color: #fff;
}

#isg .wrap .content .select_btn_wrap button:first-of-type {
  border-radius: 10px 0 0 10px;
}

#isg .wrap .content .select_btn_wrap button:last-of-type {
  border-radius: 0 10px 10px 0;
}

#isg .wrap .content .chart_wrap {
  width: 100%;
  height: auto;
}

#isg .wrap .content .chart_wrap h2 {
  width: 550px;
  height: 50px;
  border-radius: 10px;
  background: #053863;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 50px;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 16px;
  color: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

#isg .wrap .content .chart_wrap h2:hover {
  background: #0a4e85;
}

#isg .wrap .content .chart_wrap h2::after {
  width: 1px;
  height: 50px;
  background: #888;
  content: "";
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
}

#isg .wrap .content .chart_wrap .chart_line_1 {
  width: 760px;
  height: 1px;
  background: #888;
  margin: 0 auto 50px;
}

#isg .wrap .content .chart_wrap .chart_inner_1 {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 230px;
  margin-bottom: 100px;
}

#isg .wrap .content .chart_wrap .chart_inner_1 h3 {
  width: 150px;
  height: 50px;
  border-radius: 10px;
  background: #053863;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 16px;
  color: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

#isg .wrap .content .chart_wrap .chart_inner_1 h3:hover {
  background: #0a4e85;
}

#isg .wrap .content .chart_wrap .chart_inner_1 h3::before {
  content: "";
  width: 1px;
  height: 50px;
  background: #888;
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
  position: absolute;
}

#isg .wrap .content .chart_wrap .chart_inner_1 h3::after {
  content: "";
  width: 1px;
  height: 50px;
  background: #888;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
  position: absolute;
}

#isg .wrap .content .chart_wrap .chart_inner_2 {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

#isg .wrap .content .chart_wrap .chart_inner_2 .inner_item {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

#isg .wrap .content .chart_wrap .chart_inner_2 .inner_item h4 {
  width: 150px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #053863;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 16px;
  color: #053863;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

#isg .wrap .content .chart_wrap .chart_inner_2 .inner_item h4:hover {
  background: #0a4e85;
  border: none;
  color: #fff;
}

#isg .wrap .content .chart_wrap .chart_inner_2 .inner_item .chart_line_2 {
  position: absolute;
  width: 180px;
  height: 1px;
  background: #888;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

#isg .wrap .content .chart_wrap .chart_inner_2 .inner_item h4::after {
  content: "";
  width: 1px;
  height: 50px;
  background: #888;
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
  position: absolute;
}

#isg .wrap .content #role_wrap,
#isg .wrap .content #rank_wrap {
  display: none;
}
#isg .wrap .content #role_wrap.active,
#isg .wrap .content #rank_wrap.active {
  display: block;
}

#isg .wrap .content .role {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 150px;
}

#isg .wrap .content .role h3 {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 24px;
  color: #fff;
  position: relative;
  flex-shrink: 0;
  background: #053863;
}

#isg .wrap .content .role h3::after {
  content: "";
  width: 150px;
  height: 1px;
  background: #888;
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
}

#isg .wrap .content .role .inner {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
}

#isg .wrap .content .role .inner .box {
  width: 100%;
  height: auto;
  position: relative;
}

#isg .wrap .content .role .inner .box p {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0 0;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 20px;
  color: #fff;
  background: #053863;
}

#isg .wrap .content .role .inner .box ul {
  width: 100%;
  height: auto;
  padding: 30px;
  border: 1px solid #e8e8e8;
  border-top: 0;
  border-radius: 0 0 30px 30px;
}

#isg .wrap .content .role .inner .box ul li {
  list-style: disc;
  font-family: 'PB_M';
	font-weight: normal;
  font-size: 18px;
  color: #888;
  margin-left: 20px;
  margin-bottom: 10px;
}

#isg .wrap .content .role .inner .box ul li:last-of-type {
  margin-bottom: 0;
}

#isg .wrap .content .role .inner::after {
    content: "";
    width: 1px;
    height: 68.1%;
    position: absolute;
    left: -50px;
    top: 51.5%;
    transform: translateY(-50%);
    background: #888;
}

#isg .wrap .content .role .inner .box:nth-of-type(1)::after,
#isg .wrap .content .role .inner .box:nth-of-type(3)::after {
  content: "";
  width: 50px;
  height: 1px;
  background: #888;
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}

#isg .wrap .content .rank {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

#isg .wrap .content .rank img {
  width: auto;
  height: auto;
}

#isg .wrap .content .rank h3 {
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 30px;
}

#isg .wrap .content .line {
  width: 100%;
  height: 1px;
  background: #888;
  margin: 30px 0;
}

#isg .wrap .content table {
  width: 100%;
  height: auto;
  border-collapse:collapse;
  border-spacing:0;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  text-align: center;
}

#isg .wrap .content table caption {
  width: 0;
  height: 0;
  position: absolute;
  font-size: 0;
  white-space: nowrap;
  overflow: hidden;
}

#isg .wrap .content table thead {
  width: 100%;
  height: auto;
  background: #053863;
}

#isg .wrap .content table tr {
  height: 50px;
}

#isg .wrap .content table thead tr th {
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 20px;
  color: #fff;
}

#isg .wrap .content table tbody {
  border: 1px solid #888;
  border-top: 0;
}

#isg .wrap .content table tbody tr {
  border-bottom: 1px solid #888;
}

#isg .wrap .content table tbody tr:last-of-type {
  border-bottom: 0;
}

#isg .wrap .content table tbody tr td {
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 18px;
  color: #888;
  position: relative;
  width: 33.3333%;
}

#isg .wrap .content table tbody tr td::after {
  content: "";
  width: 1px;
  height: 70%;
  background: #888;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}

#isg .wrap .content table tbody tr td:last-of-type::after {
  display: none;
}

@media (max-width: 1400px) {
  #isg .wrap {
    max-width: 90%;
  }

  #isg .wrap .content .role {
    flex-wrap: wrap;
    gap: 100px;
  }

  #isg .wrap .content .role h3::after {
    right: unset;
    top: unset;
    transform: unset;
    bottom: -100px;
    width: 1px;
    height: 100px;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
  }

  #isg .wrap .content .role .inner::after {
    display: none;
  }

  #isg .wrap .content .role .inner .box:nth-of-type(1)::after,
  #isg .wrap .content .role .inner .box:nth-of-type(2)::after {
    content: "";
    width: 1px;
    height: 30px;
    background: #888;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: unset;
    bottom: -30px;
  }

  #isg .wrap .content .role .inner .box:nth-of-type(3)::after {
    display: none;
  }
}

@media (max-width: 1200px) {
  #isg .wrap .content .rank img {
    height: 20px;
  }

  #isg .wrap .content .rank h3 {
    font-size: 24px;
  }

  #isg .wrap .content .rank {
    gap: 10px;
  }

  #isg .wrap .content .role .inner .box p {
    font-size: 18px;
  }

  #isg .wrap .content .role .inner .box ul li {
    font-size: 16px;
  }

  #isg .wrap .content .role .inner .box ul {
    padding: 20px;
  }

  #isg .wrap .content .role {
    gap: 50px;
  }

  #isg .wrap .content .role h3::after {
    height: 50px;
    bottom: -50px;
  }

  #isg .wrap .content table thead tr th {
    font-size: 18px;
  }

  #isg .wrap .content table tbody tr td {
    font-size: 16px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item .chart_line_2 {
    display: none;
  }

  #isg .wrap .content .chart_wrap .chart_inner_1 {
    margin-bottom: 50px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item {
    flex-wrap: wrap;
    gap: 50px;
    width: 150px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item h4:first-of-type::after {
    display: none;
  }

  #isg .wrap .content .chart_wrap .chart_inner_1 {
    gap: 50px;
  }

  #isg .wrap .content .chart_wrap .chart_line_1 {
    width: 400px;
  }
}

@media (max-width: 700px) {
  #isg .wrap .content .role h3 {
    width: 150px;
    height: 150px;
    font-size: 20px;
  }

  #isg .wrap .content .role .inner .box p {
    height: 40px;
    font-size: 16px;
  }

  #isg .wrap .content .role .inner .box ul li {
    font-size: 14px;
    margin-bottom: 5px;
  }

  #isg .wrap .content .role .inner .box ul li:last-of-type {
    margin-bottom: 0;
  }

  #isg .wrap .content table thead tr th {
    font-size: 16px;
  }

  #isg .wrap .content table tr {
    height: 40px;
  }

  #isg .wrap .content .select_btn_wrap button {
    height: 40px;
    font-size: 16px;
  }

  #isg .wrap .content .chart_wrap h2 {
    width: 400px;
    height: 40px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_1 h3 {
    width: 120px;
    height: 40px;
    font-size: 14px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item h4 {
    width: 120px;
    height: 40px;
    font-size: 14px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_1 {
    gap: 20px;
  }

  #isg .wrap .content .chart_wrap .chart_line_1 {
    width: 280px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 {
    gap: 20px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item {
    width: 120px;
  }
}

@media (max-width: 500px) {
  #isg .wrap .content .rank img {
    height: 15px;
  }

  #isg .wrap .content .rank h3 {
    font-size: 20px;
  }

  #isg .wrap .content .role h3 {
    width: 120px;
    height: 120px;
    font-size: 16px;
  }

  #isg .wrap .content .role .inner .box p {
    height: 35px;
    font-size: 14px;
  }

  #isg .wrap .content .role .inner .box ul li {
    font-size: 12px;
  }

  #isg .wrap .content .role .inner .box ul {
    padding: 15px;
  }

  #isg .wrap .content table thead tr th {
    font-size: 14px;
  }

  #isg .wrap .content table tr {
    height: 35px;
  }

  #isg .wrap .content table tbody tr td {
    font-size: 12px;
  }

  #isg .wrap .content .chart_wrap h2 {
    width: 280px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_1 h3 {
    width: 80px;
    font-size: 10px;
  }

  #isg .wrap .content .chart_wrap .chart_line_1 {
    width: 200px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item h4 {
    width: 80px;
    font-size: 10px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item {
    width: 80px;
  }
}

@media (max-width: 400px) {
  #isg .wrap .content table thead tr th {
    font-size: 12px;
  }

  #isg .wrap .content table tbody tr td {
    font-size: 10px;
  }

  #isg .wrap .content table tr {
    height: 30px;
  }

  #isg .wrap .content table {
    border-radius: 5px 5px 0 0;
  }

  #isg .wrap .content .select_btn_wrap button {
    height: 30px;
    font-size: 14px;
  }

  #isg .wrap .content .chart_wrap h2 {
    font-size: 14px;
    height: 30px;
    width: 260px;
    margin-bottom: 30px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_1 h3 {
    height: 30px;
  }

  #isg .wrap .content .chart_wrap .chart_line_1 {
    margin-bottom: 30px;
  }
  
  #isg .wrap .content .chart_wrap .chart_inner_1 h3::before {
    height: 30px;
    top: -30px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_1 h3::after {
    height: 30px;
    bottom: -30px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_1 {
    margin-bottom: 30px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item h4 {
    height: 30px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item {
    gap: 30px;
  }

  #isg .wrap .content .chart_wrap .chart_inner_2 .inner_item h4::after {
    height: 30px;
    top: -30px;
  }
}