@charset "utf-8";
.check{
  color: #db002b;
  position: absolute;
  left: 0.5em; top: 0.15em;
  font-size: 1.3em;
}
.square{
  font-size: 1.1em;
  position: absolute;
  left: 0.6em; top: 0.4em;
}
.ranking{
  counter-reset: my-counter;
  list-style: none;
  padding:2% 0 0 4%;
  display: inline-block;
  width: 45%;
}
.rank{
  margin: 30px 0;
  padding:10px 0 0 40px;
  position: relative;
  clear: both;
  display: inline-block;
}
.rank::before{
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: #db002b;
  color: white;
  display: block;
  float: left;
  line-height: 50px;
  margin-left: -3.0em;
  text-align: center;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}
@media all and (-ms-high-contrast: none){
  .rank::before{
    height: 53px;
    width: 53px;
    line-height: 61px;
  }
}
.graph {
    position: relative; /* IE is dumb */
    width: 85%;
    border: 2px solid #534e4d;
    background-color: white;
    margin: 1% 0;
    float: left;
  }
.num{
  margin: 1%;
  position: relative;
  left: 0%;
  display: inline-block;
}
.graph .bar {
    display: block;
    position: relative;
    background: #76d9cb;
    text-align: center;
    color: #f0ffff;
    height: 0.7em;
}
.graph .bar span { position: absolute; left: 1em; }

/*改訂版*/
.text{
  border: none;
}
.intro{
  background: #ef7f7c;
  color: white;
  padding: 0.15em 0.4em;
  margin-right: 0.3em;
}
.introbox{
  padding: 2%;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}
.dami{
  font-size: 0.6em;
  font-weight: normal;
  margin: 1.2em 0;
  text-align: center;
  line-height: 180%;
}
.iconbox{
  padding-left: 12%;
}
.icon1{
  width: 25%;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  margin-right: 4%;
  font-weight: bold;
}
.s1image{
  border-radius: 50%;
  border: solid 4px white;
  width: 55%;
}
.s1image:hover{
  opacity: 0.5;
}
.highlight{
  font-size: 2.8em;
  margin-right: 0.1em;
}
.bigtitle{
  margin-top: 2%;
}
.noschool{
  display: inline-block;
  vertical-align: top;
  width: 48%;
}
.text2{
  font-size: 1.6em;
  padding: 0.7% 9%;
  font-weight: bold;
}
.topic2{
  font-size: 2em;
  margin-top: 2.5%;
}
.highschool{
  width: 35%;
  display: inline-block;
  vertical-align: top;
  margin-left: 2%;
}
.withgraph{
  display: inline-block;
  width: 50%;
}
.definition{
  font-weight: normal;
  font-size: 0.8em;
  padding: 0.6em 0;
  padding-left: 1%;
}
.defilist{
  margin: 0.4em 0;
}
.hosoku{
  background: #fed154;
  color: white;
  padding: 0.2rem ;
  text-align: center;
  font-size: 1.2rem;
  width: 8%;
  display: inline-block;
  vertical-align: top;
  margin-right: 2%;
  margin-top: 1rem;
}
.hosokuex{
  font-size: 0.9rem;
  display: inline-block;
  vertical-align: top;
  width: 84%;
  font-weight: normal;
}
.hosoku_e{
  background: #fed154;
  color: white;
  padding: 0.2rem ;
  text-align: center;
  font-size: 1.2rem;
  width: 17%;
  display: inline-block;
  vertical-align: top;
  margin-right: 2%;
  margin-top: 1rem;
}
.hosokuex_e{
  font-size: 0.9rem;
  display: inline-block;
  vertical-align: top;
  width: 76%;
  font-weight: normal;
}
.kaisetu{
  font-size: 1rem;
  font-weight: normal;
  width:90%;
  padding-top: 0%;
  display: inline-block;
  vertical-align: top;
}
.mid{
  margin-top: 1.5rem;
}
.komoji{
  font-size: 0.9rem;
}
.titleparent{
  width: 60%;
  display: inline-block;
  vertical-align: top;
}
.yobiyose{
  width: 30%;
  display: inline-block;
}
/*グラフ*/
.graphpart{
  margin-left: 8%;
  margin-top: 4%;
}
.piechart{
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #69cfe1;
    background-image: linear-gradient(to right, transparent 50%, #d2dddf 0);
    display: inline-block;
    float: left;
    margin-right: 5%;
}
.piechart::before{
    content: '';
    display: block;
    margin-left: 50%;
    height: 100%;
    border-radius: 0 100% 100% 0 / 50%;
    background-color: inherit;
    transform-origin: left;
    background: #d2dddf; /*ここで色をオレンジにする*/
    transform: rotate(.35turn);
}
.piechart::after{
  content: '';
  width: 270px;/*画像の幅*/
  height: 270px;/*画像の高さ*/
  background-image: url(../image/cry.png);
  background-size: contain;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  bottom: 295px;
  left: 15px;
}
.minichart{
  width: 160px;
  height: 160px;
  display: inline-block;
  vertical-align: top;
  margin-right: 9%;
  margin-top: 2%;
}
.minichart::before{
  transform: rotate(.1turn);
}
.minichart::after{
  background-image: url(../image/parent-child.png);
  width: 135px;
  height: 135px;
  bottom: 147px;
  left: 12px;
}
.data{
  font-weight: bold;
  font-size: 2em;
  margin-right: 4%;
  margin-left: 20%;
}
.number{
  font-size: 2.3em;
  margin: 0 0.1em;
}
.flag{
  width: 10%;
  margin: 1rem 1rem 0 0;
  vertical-align: sub;
}
.space{
  width: 100%;
  height: 10%;
}
.add{
  font-size: 15px;
}
.add-e{
  font-size: 15px;
  padding: 0% 5% 0 10%;
}

.step1_graph{
  width: 75%;
  margin: 4% 0 2% 12%;
}

/*以下から武田追加*/

/*タブレット対応（画面サイズが959px以下の場合ここの記述が適用される）*/
@media screen and (max-width:959px) {
  .highschool {
    width: 100%;
  }
  .noschool {
    width: 100%;
  }



}


/*スマホ対応（画面サイズが559px以下の場合ここの記述が適用される）*/
@media screen and (max-width:559px) {
  .text, .text2{
    font-size: 1.1em;
    padding: 0% 30px;
  }
  .intro{
    padding: 0.3em 0.6em;
    line-height: 300%;
  }
  .introbox{
    margin-top: 20px;
    font-size: 1.3em;
  }
  .dami{
    font-size: 10px;
    margin: 1.5em 0;
  }
  .iconbox{
    padding-left: 5%;
    display: none;
  }
  .icon1{
    width: 28%;
    margin-right: 4%;
  }
  .icon1 p {
    font-size: 12px;
    margin-top: 2%;
  }
  /*グラフ*/
  .page2_flex{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0px 30px 0 30px;
  }
  .graphpart{
    margin: 6% 0 0px 4%;
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
  }
  .piechart{
    width: 200px;
    height: 200px;
    margin: 2% 0 30px 12%;
  }
  .piechart::after{
    width: 180.5px;/*画像の幅*/
    height: 195px;/*画像の高さ*/
    bottom: 196px;
    left: 8.5px;
  }
  .data{
    font-size: 18px;
    margin-right: 0%;
    line-height: 190%;
  }
  .number{
    font-size: 1.9em;
    margin: 0.1em;
    margin-top: 20px;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .add{
    font-size: 12px;
    margin: 1.5% 0px;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
  .add-e{
    font-size: 12px;
    margin: 1.5% 0px;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
  .hosoku{
    font-size: 13px;
  }
  .hosokuex{
    font-size: 10px;
    margin-top: 5%;
    margin-bottom: 1%;
  }
  .hosoku_e{
    font-size: 13px;
    width: 19%;
  }
  .hosokuex_e{
    font-size: 10px;
    margin-top: 5%;
    margin-bottom: 1%;
    width: 73%;
  }
  .ranking{
    margin:0px 0 30px 0;
  }
  .rank::before{/*変更しなくてもよい*/
    line-height: 33px;
    height: 33px;
    width: 33px;
  }
  .kaisetu{
    font-size: 12px;
    margin-bottom: 1%;
    line-height: 200%;
    width: 90%;
    display: block;
  }
  .noschool{
    width: 100%;
  }

  .bigtitle{
    margin: 10px;
    margin-left: 4%;
  }
  .highlight{
    font-size: 2.0em;
    margin-right: 0em;
    margin-left: 4%;
  }
  .topic2{
    font-size: 1.2em;
    margin-top: 2.5%;
    margin-left: 2%;
  }
  .highschool{
    width: 100%;
    margin-left: 2%;
  }
  .defilist{
    list-style-position: outside;
    font-size: 15px;
    padding-right: 35px;
    margin-bottom: 10%;
  }
  .defilist li {
    margin: 20px 0;
  }
  .text2{
    margin-top: 0px;
  }
  .nomargin{
    margin-left: 0;
  }
  .page2_last{
    padding: 10px 1rem 10px 0px !important;
  }
  .nodisplay{
    display: none;
  }
  .num {
    font-size: 0.9em;
  }
  .graph {
    margin: 1% 0 10% 0;
  }
  .step1_graph{
    display: block;
    width: 100%;
    margin: 30px 0 ;
  }
  .ranking{
    display: block;
    width: 90%;
  }
}
