/* City page responsive additions */
.eriaPage .cityPage {
  --city-color: #f2a91f;
}

.koe_ttl01 {
  padding: 0.1em 0.1em;
    border-top: 2px dotted #fff;
    border-bottom: 2px dotted #fff;
    background: #77c3df;
    box-shadow: 0px 0px 0px 7px #77c3df;
    font-size: 16px;
    color: #fff;
}

.tuika_t {
  padding: 5px;
}

.eriaPage .cityPage,
.eriaPage .cityPage .ken_01,
.eriaPage .cityPage .test_taisaku,
.eriaPage .cityPage .shisenback,
.eriaPage .cityPage .shi_blackbord,
.eriaPage .cityPage .ken_qa,
.eriaPage .cityPage #shi_shidou,
.eriaPage .cityPage .oosaka_shien {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.eriaPage .cityPage img.res,
.eriaPage .cityPage .res img {
  max-width: 100%;
  height: auto;
}

.eriaPage .cityPage > p:first-child {
  text-align: center;
}

.eriaPage .cityPage .shi_shidou_h {
  margin: 0 0 20px;
  padding: 15px 16px;
  border-radius: 10px;
  background: var(--city-color);
  color: #fff;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: center;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.eriaPage .cityPage .shi_h3_new {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 6px solid var(--city-color);
  border-radius: 6px;
  background: #fffdf6;
  color: #444;
  font-size: 21px;
  line-height: 1.5;
}

.eriaPage .cityPage .shi_h3_new span,
.eriaPage .cityPage .red {
  color: #e85a4f;
}

.eriaPage .cityPage .test_taisaku,
.eriaPage .cityPage .shisenback,
.eriaPage .cityPage .oosaka_shien {
  margin-bottom: 30px;
  padding: 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  line-height: 1.85;
}

.eriaPage .cityPage .test_taisaku p,
.eriaPage .cityPage .shisenback p,
.eriaPage .cityPage #shi_shidou p {
  line-height: 1.85;
}

.eriaPage .cityPage .balloon {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.eriaPage .cityPage .balloon .ic {
  flex: 0 0 76px;
  margin: 0;
}

.eriaPage .cityPage .balloon .ic img {
  width: 76px;
  height: auto;
}

.eriaPage .cityPage .balloon_shi-left,
.eriaPage .cityPage .balloon_shi-right {
  flex: 1 1 auto;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fffdf6;
  color: #444;
  font-weight: bold;
  line-height: 1.6;
}

.eriaPage .cityPage .balloon_shi-left {
  border: 2px solid #f6c8d8;
}

.eriaPage .cityPage .balloon_shi-right {
  border: 2px solid #bfe6f8;
}

.eriaPage .cityPage .tk_points {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.eriaPage .cityPage .tk_points li {
  position: relative;
  margin: 0 0 8px;
  padding: 10px 12px 10px 34px;
  border-radius: 6px;
  background: #fffdf6;
  font-weight: bold;
  line-height: 1.5;
  list-style: none;
}

.eriaPage .cityPage .tk_points li::before {
  position: absolute;
  left: 12px;
  top: 50%;
  color: var(--city-color);
  content: "\f00c";
  font-family: FontAwesome;
  transform: translateY(-50%);
}

.eriaPage .cityPage .shi_blackbord {
  margin-bottom: 24px;
  padding: 16px;
  border: 3px solid #80c35a;
  border-radius: 10px;
  background: #f9fff4;
}

.eriaPage .cityPage .shi_blackbord p {
  margin: 0 0 10px;
  color: #4a8d2f;
  font-weight: bold;
}

.eriaPage .cityPage .feature_gakunen,
.eriaPage .cityPage .yaruki_link {
  margin: 0;
  padding-left: 1.4em;
  line-height: 1.8;
}

.eriaPage .cityPage .feature_link a,
.eriaPage .cityPage .yaruki_link a,
.eriaPage .cityPage .ken_qa a,
.eriaPage .cityPage .test_taisaku a {
  color: #0894cf;
  font-weight: bold;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.eriaPage .cityPage .ken_qa dl {
  margin: 0;
}

.eriaPage .cityPage .ken_h2_qattl img {
  display: none;
}

.eriaPage .cityPage .ken_qa_ttl {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 6px solid var(--city-color);
  border-radius: 6px;
  background: #fffdf6;
  color: #444;
  font-size: 22px;
  line-height: 1.5;
}

.eriaPage .cityPage .ken_qa dt {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 6px 6px 0 0;
  background: var(--city-color);
  color: #fff;
  font-weight: bold;
  line-height: 1.5;
}

.eriaPage .cityPage .ken_qa dd {
  margin: 0;
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: #fff;
  line-height: 1.8;
}

.eriaPage .cityPage .marginSide,
.eriaPage > .marginSide {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 767px) {
  .eriaPage .cityPage {
    padding-inline: 10px;
  }

  .eriaPage .cityPage .shi_shidou_h {
    padding: 13px 12px;
    font-size: 21px;
  }

  .eriaPage .cityPage .shi_h3_new,
  .eriaPage .cityPage .ken_qa_ttl {
    font-size: 18px;
  }

  .eriaPage .cityPage .test_taisaku,
  .eriaPage .cityPage .shisenback,
  .eriaPage .cityPage .oosaka_shien {
    padding: 14px;
  }

  .eriaPage .cityPage .balloon .ic {
    flex-basis: 58px;
  }

  .eriaPage .cityPage .balloon .ic img {
    width: 58px;
  }
}

/* City page: mobile balloon layout fix */
@media screen and (max-width: 767px) {
  .eriaPage .cityPage .balloon,
  .eriaPage .cityPage .balloon.leftside {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin: 18px 0 24px !important;
    padding: 0;
    clear: both;
  }

  .eriaPage .cityPage .balloon .ic,
  .eriaPage .cityPage .balloon figure.ic {
    position: static !important;
    float: none !important;
    flex: 0 0 58px;
    width: 58px;
    margin: 0 !important;
    padding: 0;
  }

  .eriaPage .cityPage .balloon .ic img {
    display: block;
    width: 58px;
    height: auto;
  }

  .eriaPage .cityPage .balloon_shi-left,
  .eriaPage .cityPage .balloon_shi-right {
    position: relative !important;
    float: none !important;
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.55;
  }

  .eriaPage .cityPage .balloon_shi-left p,
  .eriaPage .cityPage .balloon_shi-right p {
    margin: 0;
  }

  .eriaPage .cityPage .cityBalloon--parent .balloon_shi-left {
    order: 1;
  }

  .eriaPage .cityPage .cityBalloon--parent .ic {
    order: 2;
  }

  .eriaPage .cityPage .cityBalloon--child .ic {
    order: 1;
  }

  .eriaPage .cityPage .cityBalloon--child .balloon_shi-right {
    order: 2;
  }
}

@media screen and (max-width: 374px) {
  .eriaPage .cityPage .balloon,
  .eriaPage .cityPage .balloon.leftside {
    gap: 8px;
  }

  .eriaPage .cityPage .balloon .ic,
  .eriaPage .cityPage .balloon figure.ic {
    flex-basis: 50px;
    width: 50px;
  }

  .eriaPage .cityPage .balloon .ic img {
    width: 50px;
  }

  .eriaPage .cityPage .balloon_shi-left,
  .eriaPage .cityPage .balloon_shi-right {
    padding: 10px 12px;
    font-size: 15px;
  }
}

/* City page: keep balloon icon close to the speech bubble */
@media screen and (max-width: 767px) {
  .eriaPage .cityPage .cityBalloon {
    flex-direction: row !important;
  }

  .eriaPage .cityPage .cityBalloon--parent {
    justify-content: flex-end;
  }

  .eriaPage .cityPage .cityBalloon--child {
    justify-content: flex-start;
  }

  .eriaPage .cityPage .cityBalloon--parent .balloon_shi-left,
  .eriaPage .cityPage .cityBalloon--child .balloon_shi-right {
    flex: 0 1 auto !important;
    max-width: calc(100% - 68px);
  }
}

@media screen and (max-width: 374px) {
  .eriaPage .cityPage .cityBalloon--parent .balloon_shi-left,
  .eriaPage .cityPage .cityBalloon--child .balloon_shi-right {
    max-width: calc(100% - 58px);
  }
}

/* City page: simpler mobile conversation cards */
@media screen and (max-width: 767px) {
  .eriaPage .cityPage .cityBalloon,
  .eriaPage .cityPage .cityBalloon.leftside {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: auto;
    margin: 16px 0 !important;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .eriaPage .cityPage .cityBalloon--parent {
    border: 2px solid #f5bed6;
  }

  .eriaPage .cityPage .cityBalloon--child {
    border: 2px solid #bfe7f8;
  }

  .eriaPage .cityPage .cityBalloon .ic,
  .eriaPage .cityPage .cityBalloon figure.ic,
  .eriaPage .cityPage .cityBalloon--parent .ic,
  .eriaPage .cityPage .cityBalloon--child .ic {
    grid-column: 1;
    position: static !important;
    float: none !important;
    order: initial;
    width: 52px;
    margin: 0 !important;
    padding: 0;
  }

  .eriaPage .cityPage .cityBalloon .ic img {
    width: 52px;
    height: auto;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left,
  .eriaPage .cityPage .cityBalloon .balloon_shi-right,
  .eriaPage .cityPage .cityBalloon--parent .balloon_shi-left,
  .eriaPage .cityPage .cityBalloon--child .balloon_shi-right {
    grid-column: 2;
    position: static !important;
    float: none !important;
    order: initial;
    width: auto !important;
    max-width: none;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 17px;
    line-height: 1.55;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left::before,
  .eriaPage .cityPage .cityBalloon .balloon_shi-left::after,
  .eriaPage .cityPage .cityBalloon .balloon_shi-right::before,
  .eriaPage .cityPage .cityBalloon .balloon_shi-right::after {
    display: none !important;
  }
}

@media screen and (max-width: 374px) {
  .eriaPage .cityPage .cityBalloon,
  .eriaPage .cityPage .cityBalloon.leftside {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .eriaPage .cityPage .cityBalloon .ic,
  .eriaPage .cityPage .cityBalloon figure.ic,
  .eriaPage .cityPage .cityBalloon .ic img {
    width: 46px;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left,
  .eriaPage .cityPage .cityBalloon .balloon_shi-right {
    font-size: 16px;
  }
}

/* City page: mobile speech layout, closer to the original design */
@media screen and (max-width: 767px) {
  .eriaPage .cityPage .cityBalloon,
  .eriaPage .cityPage .cityBalloon.leftside {
    display: grid !important;
    align-items: center;
    width: 100%;
    margin: 18px 0 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    clear: both;
  }

  .eriaPage .cityPage .cityBalloon--parent {
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 18px;
  }

  .eriaPage .cityPage .cityBalloon--child {
    grid-template-columns: minmax(0, 1fr) 72px;
    column-gap: 18px;
    margin-top: 26px !important;
  }

  .eriaPage .cityPage .cityBalloon .ic,
  .eriaPage .cityPage .cityBalloon figure.ic {
    position: static !important;
    float: none !important;
    width: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .eriaPage .cityPage .cityBalloon .ic img,
  .eriaPage .cityPage .cityBalloon figure.ic img {
    display: block;
    width: 72px !important;
    max-width: 72px !important;
    height: auto !important;
  }

  .eriaPage .cityPage .cityBalloon--parent .ic {
    grid-column: 1;
  }

  .eriaPage .cityPage .cityBalloon--parent .balloon_shi-left {
    grid-column: 2;
  }

  .eriaPage .cityPage .cityBalloon--child .balloon_shi-right {
    grid-column: 1;
  }

  .eriaPage .cityPage .cityBalloon--child .ic {
    grid-column: 2;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left,
  .eriaPage .cityPage .cityBalloon .balloon_shi-right {
    position: relative !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 0 !important;
    background: #fffdf0 !important;
    box-shadow: none !important;
    color: #444;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.5;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left {
    border: 3px solid #f5c4e8 !important;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-right {
    border: 3px solid #c7f6d4 !important;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left::before,
  .eriaPage .cityPage .cityBalloon .balloon_shi-right::before {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    background: #fffdf0;
    content: "";
    transform: translateY(-50%) rotate(45deg);
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left::before {
    left: -12px;
    border-left: 3px solid #f5c4e8;
    border-bottom: 3px solid #f5c4e8;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-right::before {
    right: -12px;
    border-top: 3px solid #c7f6d4;
    border-right: 3px solid #c7f6d4;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left::after,
  .eriaPage .cityPage .cityBalloon .balloon_shi-right::after {
    display: none !important;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left p,
  .eriaPage .cityPage .cityBalloon .balloon_shi-right p {
    margin: 0;
  }
}

@media screen and (max-width: 374px) {
  .eriaPage .cityPage .cityBalloon--parent {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 12px;
  }

  .eriaPage .cityPage .cityBalloon--child {
    grid-template-columns: minmax(0, 1fr) 58px;
    column-gap: 12px;
  }

  .eriaPage .cityPage .cityBalloon .ic,
  .eriaPage .cityPage .cityBalloon figure.ic,
  .eriaPage .cityPage .cityBalloon .ic img,
  .eriaPage .cityPage .cityBalloon figure.ic img {
    width: 58px !important;
    max-width: 58px !important;
  }

  .eriaPage .cityPage .cityBalloon .balloon_shi-left,
  .eriaPage .cityPage .cityBalloon .balloon_shi-right {
    padding: 10px 12px !important;
    font-size: 15px;
  }
}

/* City page: keep each speech icon and bubble on the same grid row */
@media screen and (max-width: 767px) {
  .eriaPage .cityPage .cityBalloon--parent .ic,
  .eriaPage .cityPage .cityBalloon--parent .balloon_shi-left,
  .eriaPage .cityPage .cityBalloon--child .ic,
  .eriaPage .cityPage .cityBalloon--child .balloon_shi-right {
    grid-row: 1 !important;
  }

  .eriaPage .cityPage .cityBalloon--parent .ic {
    grid-column: 1 !important;
  }

  .eriaPage .cityPage .cityBalloon--parent .balloon_shi-left {
    grid-column: 2 !important;
  }

  .eriaPage .cityPage .cityBalloon--child .balloon_shi-right {
    grid-column: 1 !important;
  }

  .eriaPage .cityPage .cityBalloon--child .ic {
    grid-column: 2 !important;
  }
}

/* City page: questionnaire staff/support comment */
.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireBlock,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .areaCityQuestionnaireBlock,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .questionnaireBlock {
  overflow: hidden;
  margin: 0 auto 0;
  border: 3px solid #77c9ef;
  border-radius: 0;
  background: #fff;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireText,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .areaCityQuestionnaireText,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .questionnaireText {
  margin: 14px 18px 22px;
  line-height: 1.8;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireComment,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .areaCityQuestionnaireComment,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .questionnaireComment,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .teacherComment,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .teacher_comment,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .staffComment,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .staff_comment,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .supportComment,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .support_comment {
  position: relative;
  margin: 0;
  padding: 58px 20px 24px;
  border-top: 3px solid #77c9ef;
  border-bottom: 3px solid #ef91bd;
  background: #fff;
  color: #444;
  font-size: 17px;
  line-height: 1.9;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireComment::before,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .areaCityQuestionnaireComment::before,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .questionnaireComment::before,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .teacherComment::before,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .teacher_comment::before,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .staffComment::before,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .staff_comment::before,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .supportComment::before,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .support_comment::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 10px 18px;
  background: #e990bc;
  color: #fff;
  content: "\f075  スタッフからの応援コメント";
  font-family: FontAwesome, Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireComment::after,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .areaCityQuestionnaireComment::after,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .questionnaireComment::after,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .teacherComment::after,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .teacher_comment::after,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .staffComment::after,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .staff_comment::after,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .supportComment::after,
.eriaPage .cityPage #areaCityQuestionnaireListViewport .support_comment::after {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 82px;
  height: 82px;
  background: url("/sp/img/eria/shi/shi_iconb.png") center bottom / contain no-repeat;
  content: "";
  opacity: 0.95;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireBlock,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .areaCityQuestionnaireBlock,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .questionnaireBlock {
    border-width: 2px;
  }

  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireComment,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .areaCityQuestionnaireComment,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .questionnaireComment,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .teacherComment,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .teacher_comment,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .staffComment,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .staff_comment,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .supportComment,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .support_comment {
    padding: 54px 14px 18px;
    font-size: 16px;
  }

  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireComment::before,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .areaCityQuestionnaireComment::before,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .questionnaireComment::before,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .teacherComment::before,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .teacher_comment::before,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .staffComment::before,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .staff_comment::before,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .supportComment::before,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .support_comment::before {
    padding: 9px 14px;
    font-size: 16px;
  }

  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireComment::after,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .areaCityQuestionnaireComment::after,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .questionnaireComment::after,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .teacherComment::after,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .teacher_comment::after,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .staffComment::after,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .staff_comment::after,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .supportComment::after,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .support_comment::after {
    display: none;
  }
}

/* City page: actual staff comment block from questionnaire module */
.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaStaffCommentBlock {
  overflow: hidden;
  position: relative;
  margin: 0 0 34px;
  border: 3px solid #ef91bd;
  background: #fff;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaStaffCommentBlock .ttl_staff_comment {
  margin: 0;
  padding: 11px 18px;
  background: #e990bc;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.45;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaStaffCommentBlock .ttl_staff_comment::before {
  margin-right: 6px;
  content: "\f075";
  font-family: FontAwesome;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaStaffCommentBlock:not(:has(.ttl_staff_comment))::before {
  display: block;
  padding: 11px 18px;
  background: #e990bc;
  color: #fff;
  content: "\f075  スタッフからの応援コメント";
  font-family: FontAwesome, Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.45;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireStaffCommentBody {
  position: relative;
  min-height: 92px;
  margin: 0;
  padding: 24px 112px 26px 20px;
  color: #444;
  font-size: 17px;
  line-height: 1.9;
  text-align: left;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireStaffCommentBody img {
  position: absolute;
  right: 14px;
  bottom: 0;
  width: 82px;
  height: auto;
  margin: 0;
}

.eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaStaffCommentBlock:not(:has(.eriaCityQuestionnaireStaffCommentBody img)) .eriaCityQuestionnaireStaffCommentBody::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  width: 82px;
  height: 82px;
  background: url("/img/teacher/teacher_avatar_female1.png") center bottom / contain no-repeat;
  content: "";
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaStaffCommentBlock {
    margin-bottom: 28px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }

  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaStaffCommentBlock .ttl_staff_comment,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaStaffCommentBlock:not(:has(.ttl_staff_comment))::before {
    padding: 9px 14px;
    font-size: 16px;
  }

  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireStaffCommentBody {
    min-height: 0;
    padding: 16px 14px;
    font-size: 16px;
    line-height: 1.85;
  }

  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaCityQuestionnaireStaffCommentBody img,
  .eriaPage .cityPage #areaCityQuestionnaireListViewport .eriaStaffCommentBlock:not(:has(.eriaCityQuestionnaireStaffCommentBody img)) .eriaCityQuestionnaireStaffCommentBody::after {
    display: none;
  }
}


/* City page: responsive school list modules */
.eriaPage .cityPage .ken_02:has(.eria_ken_hensachi),
.eriaPage .cityPage .ken_02:has(table.chuu),
.eriaPage .cityPage .ken_02:has(.entrance_dl) {
  max-width: 720px;
  margin: 0 auto 34px;
}

.eriaPage .cityPage .ken_h2_ttl,
.eriaPage .cityPage .ken_h2_ttl_03,
.eriaPage .cityPage .ken_h2_ttl_04 {
  margin: 0 0 18px !important;
  padding: 14px 16px;
  border-left: 8px solid var(--city-color);
  border-radius: 8px;
  background: #fffdf6;
}

.eriaPage .cityPage .ken_h2_ttl img,
.eriaPage .cityPage .ken_h2_ttl_03 img,
.eriaPage .cityPage .ken_h2_ttl_04 img {
  display: none !important;
}

.eriaPage .cityPage .ken_h2,
.eriaPage .cityPage .shi_h2,
.eriaPage .cityPage .shi_h2_02,
.eriaPage .cityPage .ken_h2.color_white {
  margin: 0;
  color: #444 !important;
  font-size: 24px;
  line-height: 1.45;
  text-align: left;
}

.eriaPage .cityPage .eria_ken_hensachi {
  overflow: hidden;
  margin-bottom: 28px !important;
  padding: 18px;
  border: 2px solid #f2d28a;
  border-radius: 10px;
  background: #fff;
}

.eriaPage .cityPage .eria_shi_hensachi,
.eriaPage .cityPage .eria_ken_jyuken {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 2px dotted #f2a91f;
  color: #444;
  font-size: 20px;
  line-height: 1.5;
  text-align: left;
}

.eriaPage .cityPage .eria_ken_hensachi > p.marginBottom10 {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 14px !important;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff7df;
  color: #555;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
}

.eriaPage .cityPage table.chuu {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #eadfc2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}

.eriaPage .cityPage table.chuu th,
.eriaPage .cityPage table.chuu td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0e8d5;
  text-align: left;
  vertical-align: middle;
}

.eriaPage .cityPage table.chuu th {
  background: #f2a91f;
  color: #fff;
  font-weight: bold;
}

.eriaPage .cityPage table.chuu tr:nth-child(even) td {
  background: #fffdf6;
}

.eriaPage .cityPage table.chuu tr:last-child td {
  border-bottom: 0;
}

.eriaPage .cityPage table.chuu .moveCenter,
.eriaPage .cityPage table.chuu td:last-child,
.eriaPage .cityPage table.chuu th:last-child {
  width: 76px;
  text-align: center;
  white-space: nowrap;
}

.eriaPage .cityPage table.chuu td:last-child {
  color: #2f9b48;
  font-size: 20px;
  font-weight: bold;
}

.eriaPage .cityPage table.chuu .wid {
  width: auto;
}

@media screen and (max-width: 767px) {
  .eriaPage .cityPage .ken_h2_ttl,
  .eriaPage .cityPage .ken_h2_ttl_03,
  .eriaPage .cityPage .ken_h2_ttl_04 {
    padding: 12px 13px;
    border-left-width: 6px;
  }

  .eriaPage .cityPage .ken_h2,
  .eriaPage .cityPage .shi_h2,
  .eriaPage .cityPage .shi_h2_02,
  .eriaPage .cityPage .ken_h2.color_white {
    font-size: 20px;
  }

  .eriaPage .cityPage .eria_ken_hensachi {
    padding: 13px;
    border-radius: 8px;
  }

  .eriaPage .cityPage .eria_shi_hensachi,
  .eriaPage .cityPage .eria_ken_jyuken {
    font-size: 17px;
  }

  .eriaPage .cityPage .eria_ken_hensachi > p.marginBottom10 {
    display: block;
    border-radius: 8px;
    font-size: 13px;
  }

  .eriaPage .cityPage table.chuu {
    font-size: 14px;
  }

  .eriaPage .cityPage table.chuu th,
  .eriaPage .cityPage table.chuu td {
    padding: 9px 8px;
  }

  .eriaPage .cityPage table.chuu th:first-child,
  .eriaPage .cityPage table.chuu td:first-child {
    width: 5.5em;
  }

  .eriaPage .cityPage table.chuu .moveCenter,
  .eriaPage .cityPage table.chuu td:last-child,
  .eriaPage .cityPage table.chuu th:last-child {
    width: 3.5em;
  }
}
/* City page: responsive school list modules */
.eriaPage .cityPage .ken_02:has(.eria_ken_hensachi),
.eriaPage .cityPage .ken_02:has(table.chuu),
.eriaPage .cityPage .ken_02:has(.entrance_dl) {
  max-width: 720px;
  margin: 0 auto 34px;
}

.eriaPage .cityPage .ken_h2_ttl,
.eriaPage .cityPage .ken_h2_ttl_03,
.eriaPage .cityPage .ken_h2_ttl_04 {
  margin: 0 0 18px !important;
  padding: 14px 16px;
  border-left: 8px solid var(--city-color);
  border-radius: 8px;
  background: #fffdf6;
}

.eriaPage .cityPage .ken_h2_ttl img,
.eriaPage .cityPage .ken_h2_ttl_03 img,
.eriaPage .cityPage .ken_h2_ttl_04 img {
  display: none !important;
}

.eriaPage .cityPage .ken_h2,
.eriaPage .cityPage .shi_h2,
.eriaPage .cityPage .shi_h2_02,
.eriaPage .cityPage .ken_h2.color_white {
  margin: 0;
  color: #444 !important;
  font-size: 24px;
  line-height: 1.45;
  text-align: left;
}

.eriaPage .cityPage .eria_ken_hensachi {
  overflow: hidden;
  margin-bottom: 28px !important;
  padding: 18px;
  border: 2px solid #f2d28a;
  border-radius: 10px;
  background: #fff;
}

.eriaPage .cityPage .eria_shi_hensachi,
.eriaPage .cityPage .eria_ken_jyuken {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 2px dotted #f2a91f;
  color: #444;
  font-size: 20px;
  line-height: 1.5;
  text-align: left;
}

.eriaPage .cityPage .eria_ken_hensachi > p.marginBottom10 {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 14px !important;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff7df;
  color: #555;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
}

.eriaPage .cityPage table.chuu {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #eadfc2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}

.eriaPage .cityPage table.chuu th,
.eriaPage .cityPage table.chuu td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0e8d5;
  text-align: left;
  vertical-align: middle;
}

.eriaPage .cityPage table.chuu th {
  background: #f2a91f;
  color: #fff;
  font-weight: bold;
}

.eriaPage .cityPage table.chuu tr:nth-child(even) td {
  background: #fffdf6;
}

.eriaPage .cityPage table.chuu tr:last-child td {
  border-bottom: 0;
}

.eriaPage .cityPage table.chuu .moveCenter,
.eriaPage .cityPage table.chuu td:last-child,
.eriaPage .cityPage table.chuu th:last-child {
  width: 76px;
  text-align: center;
  white-space: nowrap;
}

.eriaPage .cityPage table.chuu td:last-child {
  color: #2f9b48;
  font-size: 20px;
  font-weight: bold;
}

.eriaPage .cityPage table.chuu .wid {
  width: auto;
}

@media screen and (max-width: 767px) {
  .eriaPage .cityPage .ken_h2_ttl,
  .eriaPage .cityPage .ken_h2_ttl_03,
  .eriaPage .cityPage .ken_h2_ttl_04 {
    padding: 12px 13px;
    border-left-width: 6px;
  }

  .eriaPage .cityPage .ken_h2,
  .eriaPage .cityPage .shi_h2,
  .eriaPage .cityPage .shi_h2_02,
  .eriaPage .cityPage .ken_h2.color_white {
    font-size: 20px;
  }

  .eriaPage .cityPage .eria_ken_hensachi {
    padding: 13px;
    border-radius: 8px;
  }

  .eriaPage .cityPage .eria_shi_hensachi,
  .eriaPage .cityPage .eria_ken_jyuken {
    font-size: 17px;
  }

  .eriaPage .cityPage .eria_ken_hensachi > p.marginBottom10 {
    display: block;
    border-radius: 8px;
    font-size: 13px;
  }

  .eriaPage .cityPage table.chuu {
    font-size: 14px;
  }

  .eriaPage .cityPage table.chuu th,
  .eriaPage .cityPage table.chuu td {
    padding: 9px 8px;
  }

  .eriaPage .cityPage table.chuu th:first-child,
  .eriaPage .cityPage table.chuu td:first-child {
    width: 5.5em;
  }

  .eriaPage .cityPage table.chuu .moveCenter,
  .eriaPage .cityPage table.chuu td:last-child,
  .eriaPage .cityPage table.chuu th:last-child {
    width: 3.5em;
  }
}

/* City page: questionnaire more button */
.eriaPage .cityPage .eria_kuchikomi .all_mese.more {
  margin: 24px auto 30px;
  text-align: center;
}

.eriaPage .cityPage .eria_kuchikomi .all_mese.more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: min(100%, 360px);
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #35b8e6 0%, #069bd0 100%);
  color: #fff !important;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.45;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 4px 0 #087fa8, 0 8px 16px rgba(0, 162, 203, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.eriaPage .cityPage .eria_kuchikomi .all_mese.more a::before {
  content: "\f0e6";
  font-family: FontAwesome;
  font-size: 16px;
}

.eriaPage .cityPage .eria_kuchikomi .all_mese.more a::after {
  content: "\f078";
  font-family: FontAwesome;
  font-size: 15px;
}

.eriaPage .cityPage .eria_kuchikomi .all_mese.more a:hover,
.eriaPage .cityPage .eria_kuchikomi .all_mese.more a:focus {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #087fa8, 0 5px 12px rgba(0, 162, 203, 0.18);
}

.eriaPage .cityPage .eria_kuchikomi .all_mese.more img {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .eriaPage .cityPage .eria_kuchikomi .all_mese.more {
    margin: 20px auto 26px;
    padding: 0 10px;
  }

  .eriaPage .cityPage .eria_kuchikomi .all_mese.more a {
    display: flex;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
  }
}

