.center-kakomon{
    padding: 0 .25rem;
}
.attention-news-block{
    width: 100%;
    font-size: 1.2rem;
    margin: 3em auto;
}
.attention-news-title {
  top: -3vw;
  left: 1vw;
  width: 1.9em;
  height: 1.9em;
  font-size: 2.7em;
}
.attention-news{
  align-items: center;
  display: flex;
  font-size: 1.5rem;
  justify-content: center;
  letter-spacing: -0.05em;
  padding-left: 0em;
  width: 100%;
}
.attention-news-title-txt{
  font-size: 1.5em;
  width: 100%;
  padding: 0;
     display: block;
}
.attention-news-list {
  width: 100%;
  height: 10vw;
  min-height: 50px;
}
.attention-news-title-txt::after {
  border-width: 2.5em 0 0 1.5em;
}
.big-btn {
  width: 185px;
}
.attention-news-block {
    width: 100%;
    font-size: 1.2rem;
    margin: 0 auto;
    min-height: 5em;
    margin-top: 2vw;
}
.sns-comments-block{
    width: 100%;
    font-size: 1.2rem;
    margin: 0em auto;
}
.sns-comments-title {
  top: -3vw;
  left: 1vw;
  width: 1.9em;
  height: 1.9em;
  font-size: 2.7em;
}
.sns-comments{
  align-items: center;
  display: flex;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  padding-left: 0em;
  width: 100%;
}
.sns-comments-title-txt{
  font-size: 1.5em;
  width: 100%;
  padding: 0;
  display: block;
}
.sns-comments-list {
  width: 100%;
  height: 10vw;
  min-height: 50px;
  margin-left: 3vw;
}
.sns-comments-content {
  background-color: #fff;
  border-top-left-radius: 2vw;
  border-top-right-radius: 2vw;
  display: flex;
  filter: drop-shadow(0vw 0vw 1vw #6e6e6e);
}
.sns-comments-icon {
  width: 70%;
  display: flex;
  align-items: center;
  padding: 2vw;
  justify-content: space-between;
}
img.sns-comments-kyotsu-icon {
  width: 60%;
  height: auto;
}
img.sns-comments-x-icon {
  width: 25%;
  height: auto;
}
.sns-comments-cross {
  position: relative;
  width: 3vw;
  height: 0.5vw;
  transform: rotate(45deg);
  background-color: #000;
}
.sns-comments-cross::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3vw;
  height: 0.5vw;
  transform: translate(-50%, -50%) rotate(-90deg);
  background-color: #000;
}
.sns-comments-title-txt::after {
  border-width: 2.5em 0 0 1.5em;
}
.sns-comments-container2 {
  margin: 0 auto;
  position: fixed;
  bottom: 0;
  z-index: 100;
  width: 95vw;
  left: 50%;
  transform: translateX(-50%);
}
.sns-comments-under-container {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 1vw;
  background-color: #3debff;
}
.sns-comments-under-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) skewX(-60deg);
  background-color: #ffe200;
  width: 30%;
  height: 100%;
}
.to-answer {
  flex: 1;
  height: 15vw;
}
.to-other {
  flex: 1;
  height: 15vw;
}
.answer-exam-block{
    align-items: flex-start;
    justify-content: flex-start;
}
.answer-date-subject {
    width: 100%;
    margin-left: 1.5rem;
}
.answer-subject-select{
    border-left-width: 1rem;
}
.answer-detail-button{
  margin: 1.5vw 0 4px 1.5vw;
  font-size: 1.8rem;
}
.answer-detail-button-container{
  width: 71%;
}
.answer-detail-button-liquid .to-other{
  width: 10vw;
}
.answer-detail-button-liquid{
  position: relative;
  left: 0;
  bottom: 0;
  justify-content: space-around;
}
.grade-advice{
  display: flex;
  flex-direction: column;
  margin: 1.5vw 0 0 1.5vw;
  align-items: center;
  width: 25vw;
}
.none-advice{
  display: none;
  flex-direction: column;
  margin: 1.5vw 0 0 1.5vw;
  align-items: center;
}
.flow-image{
  width: 100%;
}
.grade-advice-ttl:after{
  border-width: 1rem 12.5vw 0 12.5vw;
  border-color: #062C6B transparent transparent transparent;
  bottom: -1rem;
  left: .25rem;
}
.grade-advice-ttl {
  height: auto;
  width: 25vw;
}
.grade-advice-ttl p{
  margin: 0 auto;
}
.none-advice-ttl:after{
  border-width: 1rem 4rem 0 4rem;
  border-color: #062d6b00 transparent transparent transparent;
  bottom: -1rem;
  left: .25rem;
}
.none-advice-ttl {
  height: auto;
  display: none !important;
}
.grade-advice-txt {
  margin: 2.3rem auto 1.1rem;
}
.answer-subject-select {
  margin: 0 .5rem;
  padding: 2rem .5rem;
  font-size: 2.1rem;
}
.mv-under{
  width: 94%;
}
.grade-center-line{
  content: "";
  background-color: #000;
  width: 85%;
  height: .15rem;
  margin: 1rem auto;
}
.sns {
  width: 100%;
}
.sns-sp-img {
  width: 9rem;
}
.sns-share {
  width: 6rem;
}
.responsive-banner{
    width: 100%;
    max-width: 300px;
    margin: 3vh auto;
}
.sns-icon-area{
    align-items: flex-start;
}
.yell-banner {
  display: block;
  margin: 3vw auto;
}
.pickup-main-ttl{
  font-size: 2rem;
  padding-left: 5rem;
}
@media screen and (max-width: 375px){
.to-other{
    font-size: 1.6rem;
}
.center-link-txt{
    font-size: 1.4rem;
}
}
@media screen and (max-width: 320px){
.answer-subject-select-arrow::before, .answer-subject-select-arrow::after{
    left: 1rem;
}
.answer-detail-button-container{
  width: 70%;
}
.sns {
  width: 100%;
}
.sns-sp-img {
  margin-right: .5rem;
}
.sns-share {
  width: 5.5rem;
}
.grade-advice-txt {
  margin: 1.7rem auto;
}
}



/*ユーザー別ボタン*/
.user {
  width: 100%;
}

.user-btn-block-after {
  height: 12vh;
}

/*過去問ピックアップ*/
.past-ttl-row {
  width: 94%;
}

.past-ttl-sub {
  width: 40%;
  font-size: 1.2rem;
}

.past-ttl-main {
  width: 60%;
  font-size: 1.8rem;
}

.pickup-main-intro {
  width: 96%;
}

.pickup-main-intro-txt {
  padding: 0.5rem;
  width: 75%;
  margin-right: 5%;
  font-size: 1.5rem;
}

.pickup-main-intro .pickup-main-intro-image {
  width: 20%;
  display: block;
}

.pickup-main-intro-txt:before, .pickup-main-intro-txt:after {
  border-width: 1rem 0 1rem 2rem;
  top: 30%;
}

.pickup-main-intro-txt:before {
  left: 99%;
}

.pickup-main-intro-txt:after {
  left: 101%;
}

.past-check {
  width: 50%;
  margin: 1rem 2% 0 48%;
  margin-top: 1rem;
  display: block;
}

.gaiyou-banner {
  margin: .5rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.yell-banner-box {
  width: 45%;
}

.answer-ttl-txt {
  font-size: 2.1rem;
  word-break: auto-phrase;
}

/* トップ遷移ボタン */
.scroll-top-btn {
  position: fixed;
  bottom: 4vw;
  right: 4vw;
  width: 15vw;
  height: 15vw;
  background-color: #008170;
  color: white;
  font-size: 8vw;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none; /* 初期状態で非表示 */
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.scroll-top-btn.show {
  display: flex;
}