/*目的別グループページ用CSS*/
#Purpose {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#Purpose .PurposeTtl {
  margin-bottom:30px;
}
#Purpose .PurposeTtl h2{
  display: flex;
  align-items: center;
  font-family:serif;
  letter-spacing: 0.3em;
  justify-content: center;
  font-size: 30px;
}
#Purpose .PurposeTtl h2:before,
#Purpose .PurposeTtl h2:after{
  border-top: 1px solid;
  content: "";
}
#Purpose .PurposeTtl h2:before{
  margin-right: 1rem;
  width: 3em;
}
#Purpose .PurposeTtl h2:after{
  margin-left: 1rem;
  width: 3em;
}
#Purpose .PurposeTtl .PurposeubTitle {
  font-size: 12px;
  text-align: center;
}


#Purpose h3 {
  text-align: center;
  font-size: 14px;
  color: #333;
  margin-bottom: 30px;
  width: 100%;
}
#Purpose ul.UnderLink {
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 80%;
}
#Purpose ul.UnderLink li {
  width: 48%;
}
#Purpose ul.UnderLink li img {
  width: 100%;
  display: block;
}
#Purpose h4 {
  text-align: left;
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
  font-family: serif;
  width: 100%;
}
#Purpose .PurposeRank {
  background: #EFEFEF;
  padding: 20px 20px 0px 20px;
  width: 100%;
}
#Purpose .PurposeRank ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
}
#Purpose .PurposeRank li {
  margin-bottom: 20px;
  width: calc((100% - 100px) / 3);
  background: #FFF;
  padding: 10px;
}
#Purpose .PurposeRank li img {
  width: 100%;
}
#Purpose .PurposeRank li a {
  position: relative;
  display: block;
}
#Purpose .PurposeRank li a .RankNo {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background: #820000;
    color: #fff;

}
#Purpose .PurposeRank li:nth-child(1) a .RankNo {
  background: #bca879;
  width: 40px;
  height: 40px;
  line-height: 40px;
}
#Purpose .PurposeRank li:nth-child(2) a .RankNo {
  background: #a9aaa9;
  width: 40px;
  height: 40px;
  line-height: 40px;
}
#Purpose .PurposeRank li:nth-child(3) a .RankNo {
  background: #957b61;
  width: 40px;
  height: 40px;
  line-height: 40px;
}
#Purpose .PurposeRank li p {
  font-size: 14px;
}
#Purpose .PurposeRank li p.RankItemName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 770px) {
  #Purpose .PurposeTtl {
    margin-bottom: 20px;
  }
  #Purpose .PurposeTtl h2{
    font-size: 22px;
    letter-spacing: 0.1em;
  }
  #Purpose h3 {
    font-size: 10px;
    margin-bottom: 20px;
  }
  #Purpose ul.UnderLink {
    margin-bottom: 20px;
    width: 90%;
  }
  #Purpose h4 {
    padding: 0;
  }
  #Purpose .PurposeRank {
    padding: 10px 10px 0px 10px;

  }
  #Purpose .PurposeRank ul {
  }
  #Purpose .PurposeRank li {
    margin-bottom: 10px;
    width: calc((100% - 80px) / 3);
  }
  #Purpose .PurposeRank li:nth-child(1) a .RankNo {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
  #Purpose .PurposeRank li:nth-child(2) a .RankNo {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
  #Purpose .PurposeRank li:nth-child(3) a .RankNo {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
    #Purpose .PurposeRank li p {
        font-size: 12px;
    }

}

h2.SpTitle{
    font-size: 1.7em;
    text-align: center;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-weight: normal;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 10px 0;
  letter-spacing: 1px;
}

h2.SpTitle span {
  font-size: .7em;
}







