.a {
  display: none;
}

.section-cnt {
    margin: 2rem auto 0;
}
.section-ttl {
  display: flex;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  padding: .75rem;
}

/*mv*/
.mv-image{
  margin-bottom: 1.5rem;
}
.mv-under{
  margin: 4rem auto;
}

/*お知らせ*/
.info-box {
  border: solid 3px #3C7FE8;
  margin: 20px 0;
}
.info-ttl {
  font-weight: bold;
  font-size: 2.2rem;
  background-color: #3C7FE8;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
}
.info-txt {
  padding: 1rem;
  font-weight: bold;
  font-size: 1.7rem;
}
.info-txt a {
  text-decoration: underline;
}

/*注目ニュース*/
.attention-news-block{
    display: flex;
    border: solid 2px #3c7fe8;
    margin: 1rem auto;
    font-size: 1.8rem;
    min-height: 70px;
}
.attention-news-title{
    background-color: #3c7fe8;
    color: #fff;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
}
.attention-news-content{
    flex: 1;
}
.attention-news-list{
    background-color: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 0 1rem;
}
.attention-news{
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: 94%;
    display: flex;
    align-items: center;
    font-weight: bold;
}
.attention-news[data-animation="true"]{
    transition: .2s transform;
}
.attention-news[data-condition="current"]{
    transform: translate(-50%, -50%);
}
.attention-news[data-condition="prev"]{
    transform: translate(-50%, -150%);
}
.attention-news[data-condition="other"]{
    transform: translate(-50%, 100%);
    opacity: 0;
}
/*テスト後設置導線*/
.after-test-link-box {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
}
.after-test-link {
  flex: 1;
  margin: .5rem;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  box-shadow: 4px 4px 2px rgba(0,0,0,0.6);
}
.after-test-link:hover {
  opacity: .6;
}
.ave-link {
  background-color: #E03434;
  border: solid 5px #F9BABA;
}
.gouhi-line-link {
  background-color: #3B7FE8;
  border: solid 5px #9EBBE8;
}
.link-txt {
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
  color: #fff;
}
.link-txt span {
  font-size: 2.5rem;
}
@media screen and (max-width:1024px){
  .after-test-link-box {
    flex-direction: column;
  }
  .link-txt {
  	font-size: 1.5rem;
  }
  .link-txt span {
    font-size: 2rem;
  }
}
@media screen and (max-width:365px){
  .link-txt span {
    font-size: 1.8rem;
  }
}

.gaiyou-banner:hover {
  opacity: .6;
}
/*過去問*/
.center-title{
    border-bottom: solid 2px #009380;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
}
.center-title::after{
    content: "";
    position: absolute;
    height: 1px;
    width: 16%;
    right: 0;
    bottom: -5px;
    background-color: #009380;
}
.center-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.center-link{
    width: 22%;
    background-color: #c5ece7;
    box-shadow: 2px 2px 0px 1px #009380;
    text-align: center;
    border-radius: 3px;
    padding: 1rem 0;
    margin: 0 0 1rem 0;
}
.center-link-txt{
    color: #000;
    width: 100%;
    height: 100%;
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
}

/*解答解説*/
.answer-cnt-box:not(.answer-update-info) {
  margin-top: 2rem;
}
.answer-ttl{
  background-color: #3b7fe8;
  position: relative;
  justify-content: space-between;
}
.answer-ttl-image-block{
    align-items: center;
}
.answer-ttl-image{
  width: 10%;
  margin-right: 1rem;
}
.update-info-ttl {
  border-left: 1.5rem solid #3C7FE8;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.update-info-cnt{
  height: 13rem;
  overflow: auto;
  background: #ebfffc;
  border-radius: 4px;
  padding: 1rem;
}
.update-info-inner{
    overflow: auto;
    height: 11rem;
}
.update-info-inner::-webkit-scrollbar {
    width: 10px;
}
.update-info-inner::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}
.update-link.update-link{
    text-decoration: underline;
}
.ichiran{
  background: #eee;
  text-align: center;
  border-radius: 4px;
  color: #3f6ecd;
  font-weight: bold;
  border: solid 1px #aaa;
  background: rgb(254,252,255); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(254,252,255,1) 1%, rgba(230,230,230,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(254,252,255,1) 1%,rgba(230,230,230,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(254,252,255,1) 1%,rgba(230,230,230,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefcff', endColorstr='#e6e6e6',GradientType=0 ); /* IE6-9 */
  align-items: center;
  position: relative;
  z-index: 3;
}
.ichiran-txt {
    width: 250px;
}
.pdf-txt{
    flex: 1;
  font-size: 2rem;
  white-space: nowrap;
}
@media screen and (max-width:1024px){
  .ichiran {
    width: 45vw;
  }
  .pdf-txt {
    font-size: 90%;
  }
}
@media screen and (max-width:360px){
  .pdf-txt {
    font-size: 80%;
  }
}
.ichiran-before{
  position: relative;
  padding: 1rem;
}
/*↓採点シート公開時コメントアウト↓*/
/*.ichiran-before:after{
  width: 100%;
  height: 100%;
  background-color: #808080;
  opacity: .8;
  position: absolute;
  content: "試験後に公開";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}*/
.ichiran .pdf-image{
  width: 2.5rem;
  margin-right: .5rem;
}
.answer-subject-column {
  justify-content: center;
}
.answer-subject-select{
  margin: 0 3rem;
  color: #fff;
  font-weight: bold;
  font-size: 3rem;
  padding: 3rem 4rem;
  border-left: 1.8rem #fff solid;
  box-shadow: 0 2px 4px 0 rgba(100,100,100,.5);
  width: 30rem;
  text-align: center;
}
.answer-subject-column {
  margin-top: 2rem;
}
.answer-subject-select:hover {
  opacity: .8;
}
.answer-subject-select.english,
.answer-date-subject-ttl[data-subject="english"] {
  background: #DCC81C;
}
.answer-subject-select.japanese,
.answer-date-subject-ttl[data-subject="japanese"] {
  background: #FF7C98;
}
.answer-subject-select.social-studies,
.answer-date-subject-ttl[data-subject="social-studies"] {
  background: #6ECF72;
}
.answer-subject-select.social-studies,
.answer-date-subject-ttl[data-subject="civics"] {
  background: #6ECF72;
}
.answer-subject-select.science,
.answer-date-subject-ttl[data-subject="science"] {
  background: #E766FD;
}
.answer-subject-select.math,
.answer-date-subject-ttl[data-subject="math"] {
  background: #4A85D1;
}
.answer-date-subject[data-subject="english"] {
  border-color: #dcc81c;
}
.answer-date-subject[data-subject="japanese"] {
  border-color: #EF2D56;
}
.answer-date-subject[data-subject="civics"] {
  border-color: #4caf50;
}
.answer-date-subject[data-subject="social-studies"] {
  border-color: #4caf50;
}
.answer-date-subject[data-subject="science"] {
  border-color: #E981FB;
}
.answer-date-subject[data-subject="math"] {
  border-color: #6A9DDE;
}
.js-tab-cnt {
  display: none;
}
.js-tab-cnt[data-visibility="true"] {
  display: block;
}
.answer li {
  list-style: none;
}
.date-tab-btn-block {
  justify-content: center;
  display: flex;
  align-items: flex-end;
}
.date-tab-btn {
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    align-items: center;
    font-size: 3rem;
    cursor: pointer;
}
.date-tab-btn[data-selected="true"] {
  background: #3C7FE8;
  width: 55%;
  height: 7rem;
}
.date-tab-btn[data-selected="false"] {
  background: #94B9F2;
  width: 45%;
}
.answer-date-subject-ttl {
  font-weight: bold;
  color: #fff;
  padding: 1rem 0 1rem 1rem;
  margin-top: 1.5rem;
}
.answer-subject-ttl-block{
  align-items: center;
}
.answer-date-txt{
  margin-left: 2rem;
}
.answer-exam-block {
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.answer-exam-block[data-subject="social-studies"] {
  background: #eaffeb;
}
.answer-exam-block[data-subject="civics"] {
  background: #eaffeb;
}
.answer-exam-block[data-subject="japanese"] {
  background: #ffe8ed;
}
.answer-exam-block[data-subject="science"] {
  background: #FADEFF;
}
.answer-exam-block[data-subject="english"] {
  background: #fff7df;
}
.answer-exam-block[data-subject="math"] {
  background: #e7f1ff;
}
.answer-date-subject {
  font-weight: bold;
  border-left: solid 1rem;
  padding-left: .8rem;
  width: 15rem;
}
.answer-date-subject.english {
  border-color: #FFD74D;
}
.answer-date-subject.japanese {
  border-color: #FF7C98;
}
.answer-date-subject.science {
  border-color: #BA66C9;
}
.answer-date-subject.math {
  border-color: #4A85D1;
}
.answer-detail-button-container{
  position: relative;
}
.answer-detail-button {
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
.to-answer {
  background: #A81726;
  box-shadow: 0 4px 0 0 rgba(124,14,28);
  padding: 2.1rem 0;
  font-size: 3rem;
}
.to-other {
  background: #3b7fe8;
  box-shadow: 0 4px 0 0 #162f56;
  padding: 2rem 0;
  margin: 0 0 5px 3px;
  font-size: 2.4rem;
}
.grade-advice {
  border: solid 3px #062C6B;
  margin-left: .4rem;
  background-color: #fff;
  align-items: center;
  display: flex;
}
.grade-advice-ttl {
  text-align: center;
  background: #062C6B;
  color: #fff;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.to-grade-advice.to-grade-advice{
  color: #000;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
}
.to-grade-advice.unavailable{
    opacity: 0.25;
    text-decoration: none;
}
.grade-advice-txt{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.grade-advice-ttl:after{
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5rem 0 5rem 2rem;
  border-color: transparent transparent transparent #062C6B;
  position: absolute;
}
.banner-txt{
  position: relative;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
}
.banner-txt:before, .banner-txt:after {
  content: "";
  background-color: #000;
  position: absolute;
  bottom: 0;
}
.banner-txt:before{
  transform: rotate(-20deg);
}
.banner-txt:after{
  transform: rotate(20deg);
}
.banner-txt span {
  background: linear-gradient(transparent 60%, #fff794 60%)
}
.banner-block{
  width: 85%;
  margin:0 auto;
  text-align: center;
}
.banner-area{
    text-align: center;
}
.recommend-banner-area{
    text-align: center;
    margin: 1vh auto;
}
.questionnaire{
  padding-bottom: 1rem;
  background-color: #AED7FF;
}
.question-box{
  width: 100%;
}
.question-cnt-box{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-around;
}
.q_button{
  width: 30%;
  margin: .5rem 0;
  border:1px solid #4C9CEA;
  background-color: #fff;
  border-radius: 3px;
  box-shadow: .25rem .25rem;
  outline-color: #4C9CEA;
  font-size: 2.0rem;
  padding: 8px 0;
  cursor: pointer;
}
.q_button[data-visibility="true"]{
  border:1px solid #4C9CEA;
  box-shadow:none;
  transition: all 1s ease-out;
}
.question-ttl{
  text-align: center;
  padding: 1rem 0;
}
.question-banner-txt{
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
}
/*sns*/
.sns {
  margin: 3rem auto;
}
.sns-ttl {
  text-align: center;
  margin: 0 auto .5rem;
}
.sns-container {
  position: relative;
}
.sns-sp-img {
  width: 15rem;
  margin-right: 2rem;
}
.sns-sp-img img {
  width: 100%;
}
.sns-icon-area {
  display: flex;
  margin: 0 0 1rem;
  align-items: center;
  justify-content: center;
}
.sns-share {
  display: block;
  width: 10rem;
  text-align: center;
  margin: 0 .4rem;
}
.sns-share img {
  width: 100%;
}
.sns-txt {
  position: absolute;
  width: 100%;
  text-align: right;
  color: #fff;
  font-weight: bold;
  background-color: #039080;
  font-size: 2rem;
  padding-right: 1rem;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.5rem;
  z-index: -1;
}

@media screen and (max-width:1024px){
.answer-date-subject{
  margin-bottom: 1rem;
}
.answer-subject-select{
  padding: 1.5rem 3rem;
}
.attention-news-block{
    width: 96%;
}
}
