@charset "UTF-8";
[v-cloak] {
  display: none;
}
body {
  background-color: #f7f7f7;
  min-width: 360px;
}
/*ラッパー調整*/
div.wrapper {
  overflow: hidden;
  min-width: 320px;
}
/*共通ナビ*/
header.header {
  border-top: 5px solid #fff;
  background-color: #19448e;
  position: relative;
}
header.header.exam {
  padding: 8px 16px;
}
/*改行*/
.br::before {
  content: "\A";
  white-space: pre;
}
header.header::before {
  content: "";
  display: block;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: -5px;
  width: 30%;
  border-top: 5px solid #fff;
}
/* header.header::after {
  content: "";
  display: block;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 70%;
  border-bottom: 3px solid #870101;
} */
/*ナビゲーションバー*/
p.header_logo {
  margin-bottom: 0px;
  color: #ffffff;
}
/*文字デザイン*/
ul.nav li > a,
p.header_logo a {
  color: #ffffff;
}
ul.nav li.show a.dropdown-toggle {
  color: #19448e;
  background-color: #ffffff;
}
h2 {
  font-size: 1.25rem;
}
.text-center {
  text-align: center;
}
button.style {
  width: 13rem;
  margin: 1rem;
}
button.sample-style {
  width: 100%;
  margin-bottom: 0.5rem;
}
button.settle-style {
  width: 25rem;
}
button.apply-style {
  width: 18rem;
}
button.login-style {
  width: 17rem;
}
.settlement {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}
div.form-wrapper,
div.button-wrapper {
  display: flex;
  justify-content: center;
}
div.form-wrapper.card_change {
  flex-direction: column;
  align-items: center;
}
.apply-button-wrapper {
  width: 18rem;
}
.back-button {
  width: 15rem;
}
button.free::after {
  font-family: "Font Awesome 5 Free";
  content: "\f06b";
  font-weight: 900;
  color: #ffffff;
  position: relative;
  left: 0.3rem;
}
button.pay::after {
  font-family: "Font Awesome 5 Free";
  content: "\f07a";
  font-weight: 900;
  color: #ffffff;
  position: relative;
  left: 0.3rem;
}
a.back-button {
  display: inline-block;
}
/*メインコンテンツ*/
span#qnum::before {
  content: "/";
  padding-right: 15px;
}
div.main_lead_bg.top {
  background-image: url("../image/baby_certificate_hero.webp");
  background-repeat: no-repeat;
  background-size: cover;
}
div.main_lead_bg.method {
  background-image: url("../image/baby_certificate_method.webp");
}
div.main_lead_bg.contents {
  background-image: url("../image/content_main.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
#mainlead {
  margin-top: 1rem;
  text-align: center;
}
div.container.lead,
div.container.main {
  max-width: 720px;
}
.top-style {
  background-color: #ffffff;
}
div.exam_title {
  display: flex;
  justify-content: center;
}
div.exam_title h1::after,
h1:not(.contents):not(.top)::after {
  content: "";
  display: block;
  line-height: 0;
  overflow: hidden;
  position: relative;
  top: 3px;
  border-top: 5px solid #19448e;
}
div.exam_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 16px 0px;
  padding: 0px 12px;
}
div.container.main.top-common {
  display: flex;
  justify-content: center;
}
div.container.error {
  display: flex;
  flex-direction: column;
  align-items: center;
}
p#sub_lead {
  margin-top: 0.5rem;
}
#question-num {
  margin-bottom: 1rem;
}
div.content_bg {
  padding-top: 0.5rem;
}
p.lead_copy {
  padding: 0px 0px;
}
p.index-num {
  margin-top: 0.5rem;
  font-size: 1.25rem;
}
section.top_sec,
.agree_sec {
  margin: 2rem 0 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
h1.top {
  color: #19448e;
  text-shadow: 2px 1px 0px #fff;
  font-weight: 700;
}
h1.contents,
section.contents {
  position: relative;
  color: #ffffff;
}
h2.section_title {
  margin-top: 0.5rem;
  font-size: 1.25rem;
}
h2.top {
  margin: 3.5rem 0 2.5rem 0;
  font-size: 2.3rem;
}
h2.agree {
  margin: 1.5rem 0;
  font-size: 1.3rem;
}
p.top_text {
  font-size: 1.3rem;
}
h2.section_title.method_title {
  position: relative;
  top: 1rem;
  margin: 0 0 3rem 0;
}
h2.section_title.method_title::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  border-bottom: 2px solid #19448e;
}
.method_steps {
  margin: 0;
  padding-left: 1.5em;
}
.method_step {
  margin-bottom: 2rem;
}
.method_step_title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: bold;
}
h2.apply-lead {
  font-size: 1.5rem;
  margin: 1.5rem auto;
  text-align: center;
}
/*プライバシーポリシーstart*/
div.p-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
div.lead-title {
  margin-bottom: 3rem;
}
div.privacy-check {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0.5rem 0 0 0;
}
input.privacy {
  height: 1.5rem;
  width: 1.5rem;
  display: inline-block;
  margin: 0 1rem 0 0;
}
li.list-title {
  margin: 1rem 0 1rem 0;
  font-size: 1.5rem;
}
li.list-detail,
li.p-history {
  list-style: disc;
}
/*プライバシーポリシーend*/
/*footer start*/
footer {
  background-color: #19448e;
  padding: 2rem;
}
/*footerの上段・中段レイアウト調整start*/
section.inner-top,
section.inner-top.middle {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
}

section.inner-top.middle {
  margin: 1rem 0 0 0;
}

/* 1行目 */
section.inner-top > .top-info {
  flex: 0 0 34%;
  max-width: 34%;
}

section.inner-top > .top-apply {
  flex: 0 0 18%;
  max-width: 18%;
}

section.inner-top > .top-login {
  flex: 0 0 18%;
  max-width: 18%;
}

section.inner-top > .top-contents {
  flex: 1 1 auto;
  min-width: 0;
}

/* 2行目も左列と同じ幅にする */
section.inner-top.middle > .top-info {
  flex: 0 0 34%;
  max-width: 34%;
}
/*footerの上段・中段レイアウト調整end*/
section.inner-bottom {
  border-top: 1px #999999 solid;
  padding: 1rem 0 0 0;
}
ul.footer-list li {
  padding: 1rem 0 0 0;
}
ul.footer-list li a {
  color: #fff;
  display: inline-block;
  width: 100%;
  height: auto;
  cursor: pointer;
}
div.bottomo-rules ul {
  display: flex;
  justify-content: space-around;
}
li.copyright {
  margin: 1rem auto;
  text-align: center;
  color: #999999;
}
ul.footer-list li.list-heading {
  font-size: 1.1rem;
  color: #fff;
  border-bottom: 3px solid #fff;
  padding: 0 0 0.5rem 0;
}
ul.footer-list li.list-heading h3 {
  font-size: 1rem;
}
div.footer-logo {
  display: flex;
  justify-content: center;
}
div.footer-logo a {
  text-align: center;
  display: contents;
}
img.logo-data {
  width: 130px;
  height: 120px;
}
.dropdown-menu a.disabled-link:not([href]):not([tabindex]),
.footer-list a.disabled-link:not([href]):not([tabindex]) {
  display: block;
  color: #ffffff;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  white-space: nowrap;
}
/*footer end*/
/*ぱんくず start*/
.bread_crumb_wrap {
  background-color: #19448e;
  color: #fff;
}
.bread_crumb_wrap ul {
  margin: 0;
  list-style: none;
  display: flex;
}
.bread_crumb_wrap ul li a {
  color: #fff;
}
.bread_crumb_wrap li:after {
  /* ▶を表示*/
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  padding: 0 0.2em;
  color: #fff;
  font-weight: 900;
}
.bread_crumb_wrap li:last-child:after {
  content: "";
}
/*ぱんくず end*/
.lower-roman {
  list-style-type: lower-roman;
}
.none {
  list-style-type: none;
}
div.section_figure {
  max-width: 720px;
  width: 100%;
  height: auto;
  margin-top: 2rem;
}
.figure-image {
  max-width: 720px;
}
span.method_text_deco {
  font-weight: bold;
}
div.img {
  background-repeat: no-repeat;
  background-size: cover;
  height: 35rem;
}
div.img1 {
  background-image: url("../image/freetime.jpg");
}
div.img2 {
  background-image: url("../image/shiken.jpg");
}
div.img10 {
  background-image: url("../image/tech.jpg");
}
div.img11 {
  background-image: url("../image/confidence.webp");
}
div.img12 {
  background-image: url("../image/latest_requirements.webp");
}
div.img_bg {
  background-color: rgba(4, 110, 2, 0.1);
  padding: 2rem 0 2rem;
  display: flex;
  justify-content: center;
}
div._img_bg {
  padding: 2rem 0 2rem;
  display: flex;
}
div.img_common {
  height: 38rem;
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 19rem;
}
.flex_center {
  display: flex;
  justify-content: center;
}
.video_style {
  max-height: 550px;
}
div.img3 {
  background-image: url("../image/capture1.jpg");
  height: 35rem;
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 19rem;
}
div.img4 {
  background-image: url("../image/capture2.jpg");
  height: 35rem;
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 19rem;
}
div._img3 {
  background-image: url("../image/capture1.jpg");
}
div._img4 {
  background-image: url("../image/capture2.jpg");
}

div.img_bg2 {
  background-color: #f0f7b6a1;
  padding: 2rem 0 2rem;
  display: flex;
}
div._img_bg2 {
  padding: 2rem 0 2rem;
  display: flex;
}
div.img6 {
  background-image: url("../image/capture3.jpg");
  height: 35rem;
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 19rem;
}
div.img7 {
  background-image: url("../image/capture4.jpg");
  height: 35rem;
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 19rem;
}
div._img6 {
  background-image: url("../image/capture3.jpg");
}
div._img7 {
  background-image: url("../image/capture4.jpg");
}
div._img_chap2_1_q {
  background-image: url("../image/cap_chap2_1_q.jpg");
}
div._img_chap2_1_a {
  background-image: url("../image/cap_chap2_1_a.jpg");
}
div._img_chap2_2_q {
  background-image: url("../image/cap_chap2_2_q.jpg");
}
div._img_chap2_2_a {
  background-image: url("../image/cap_chap2_2_a.jpg");
}
div._img_chap3_1_q {
  background-image: url("../image/cap_chap3_1_q.jpg");
}
div._img_chap3_1_a {
  background-image: url("../image/cap_chap3_1_a.jpg");
}
div._img_chap3_2_q {
  background-image: url("../image/cap_chap3_2_q.jpg");
}
div._img_chap3_2_a {
  background-image: url("../image/cap_chap3_2_a.jpg");
}
div._img_chap4_1_q {
  background-image: url("../image/cap_chap4_1_q.jpg");
}
div._img_chap4_1_a {
  background-image: url("../image/cap_chap4_1_a.jpg");
}
div._img_chap4_2_q {
  background-image: url("../image/cap_chap4_2_q.jpg");
}
div._img_chap4_2_a {
  background-image: url("../image/cap_chap4_2_a.jpg");
}
div._img_chap5_1_q {
  background-image: url("../image/cap_chap5_1_q.jpg");
}
div._img_chap5_1_a {
  background-image: url("../image/cap_chap5_1_a.jpg");
}
div._img_chap5_2_q {
  background-image: url("../image/cap_chap5_2_q.jpg");
}
div._img_chap5_2_a {
  background-image: url("../image/cap_chap5_2_a.jpg");
}
div._img_chap6_1_q {
  background-image: url("../image/cap_chap6_1_q.jpg");
}
div._img_chap6_1_a {
  background-image: url("../image/cap_chap6_1_a.jpg");
}
div._img_chap6_2_q {
  background-image: url("../image/cap_chap6_2_q.jpg");
}
div._img_chap6_2_a {
  background-image: url("../image/cap_chap6_2_a.jpg");
}
div._img_chap7_1_q {
  background-image: url("../image/cap_chap7_1_q.jpg");
}
div._img_chap7_1_a {
  background-image: url("../image/cap_chap7_1_a.jpg");
}
div._img_chap7_2_q {
  background-image: url("../image/cap_chap7_2_q.jpg");
}
div._img_chap7_2_a {
  background-image: url("../image/cap_chap7_2_a.jpg");
}
div._img_chap8_1_q {
  background-image: url("../image/cap_chap8_1_q.jpg");
}
div._img_chap8_1_a {
  background-image: url("../image/cap_chap8_1_a.jpg");
}
div._img_chap8_2_q {
  background-image: url("../image/cap_chap8_2_q.jpg");
}
div._img_chap8_2_a {
  background-image: url("../image/cap_chap8_2_a.jpg");
}
div._img_chap9_1_q {
  background-image: url("../image/cap_chap9_1_q.jpg");
}
div._img_chap9_1_a {
  background-image: url("../image/cap_chap9_1_a.jpg");
}
div._img_chap9_2_q {
  background-image: url("../image/cap_chap9_2_q.jpg");
}
div._img_chap9_2_a {
  background-image: url("../image/cap_chap9_2_a.jpg");
}
div._img_chap10_1_q {
  background-image: url("../image/cap_chap10_1_q.jpg");
}
div._img_chap10_1_a {
  background-image: url("../image/cap_chap10_1_a.jpg");
}
div._img_chap10_2_q {
  background-image: url("../image/cap_chap10_2_q.jpg");
}
div._img_chap10_2_a {
  background-image: url("../image/cap_chap10_2_a.jpg");
}
div._img_chap11_1_q {
  background-image: url("../image/cap_chap11_1_q.jpg");
}
div._img_chap11_1_a {
  background-image: url("../image/cap_chap11_1_a.jpg");
}
div._img_chap11_2_q {
  background-image: url("../image/cap_chap11_2_q.jpg");
}
div._img_chap11_2_a {
  background-image: url("../image/cap_chap11_2_a.jpg");
}
div._img_chap12_1_q {
  background-image: url("../image/cap_chap12_1_q.jpg");
}
div._img_chap12_1_a {
  background-image: url("../image/cap_chap12_1_a.jpg");
}
div._img_chap12_2_q {
  background-image: url("../image/cap_chap12_2_q.jpg");
}
div._img_chap12_2_a {
  background-image: url("../image/cap_chap12_2_a.jpg");
}
.top_image_wrap {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}
.top_image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.top_image_wrap figcaption {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
}
/*解答ページ解答テーブル*/
tbody.ans_color {
  background-color: #fff;
}
#nav-drawer {
  position: relative;
}
table.contents_a th,
table.contents_a td {
  vertical-align: middle;
  width: calc(100% / 3);
}
table.contents_q th,
table.contents_q td {
  vertical-align: middle;
  width: calc(100% / 4);
}
table.contents_q_3 th,
table.contents_q_3 td {
  vertical-align: middle;
  width: calc(100% / 3);
}
table.contents_q_6 th,
table.contents_q_6 td {
  vertical-align: middle;
  width: calc(100% / 6);
}
table.contents_l th,
table.contents_l td {
  vertical-align: middle;
  width: calc(100% / 2);
}
th {
  text-align: center;
}
p.table-caption::before {
  content: "※";
}
/* figure table (no bootstrap) start */
.figure-wrap {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
}

.figure-table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

table.fig-table {
  border-collapse: collapse;
  width: max-content; /* 列が多いとき横に伸びる */
  min-width: 100%;
  background: #fff;
}

table.fig-table th,
table.fig-table td {
  border: 1px solid #ddd; /* table-bordered 相当 */
  padding: 10px 12px; /* table 相当の余白 */
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap; /* 折返しで崩れない */
  vertical-align: middle;
}

table.fig-table thead th {
  position: sticky; /* ヘッダ固定 */
  top: 0;
  z-index: 2;
  background: #19448e; /* 見出しっぽさ */
}

/* zebraが欲しければ（任意） */
table.fig-table tbody tr:nth-child(even) {
  background: #fcfcfc;
}
/* figure table (no bootstrap) end */

span.accuracy_rate {
  margin-left: 3.5rem;
}
span.accuracy_detail {
  margin-left: 1rem;
}
/*解答詳細ページモーダルトリガー詳細ボタン*/
button.p-modal-btn {
  display: inline-block;
  background-color: #155724; /*背景色*/
  color: #fff; /*文字色*/
  font-size: 1em; /*文字サイズ*/
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.05rem; /*字間*/
  padding: 0.3rem 1rem; /*ボタン内の余白*/
  border-radius: 3px; /*角の丸み*/
  cursor: pointer;
  box-shadow:
    0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2); /*影*/
  -webkit-tap-highlight-color: transparent;
  transition: 0.3s ease-out; /*変化を緩やかに*/
}
button.p-modal-btn.button_b {
  background-color: #721c24; /*背景色*/
}
button.p-modal-btn:hover {
  box-shadow:
    0 3px 3px 0 rgba(0, 0, 0, 0.14),
    0 1px 7px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -1px rgba(0, 0, 0, 0.2); /*浮き上がるように*/
}
/*解答詳細ページモーダル*/
.p-modal {
  /*visibility: hidden;(当初、visibilityプロパティを使っていたが、スマホの横スクロール問題があり使用停止)*/
  display: none;
}
.p-modal.is-open {
  position: fixed;
  top: 5px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  overflow-x: hidden;
  /*visibility: visible;(当初、visibilityプロパティを使っていたが、スマホの横スクロール問題があり使用停止)*/
  display: block;
  background-color: #fff;
  z-index: 15000;
  width: 80%;
  min-width: 288px;
  margin: 0 auto;
  height: 90%;
  opacity: 1;
}
div.overlay_modal {
  position: fixed;
  z-index: 10000;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.5;
  transition: 0.3s ease-in-out;
}
div.p-modal-report-wrapper {
  position: relative;
}
div.p-modal-report-wrapper::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  display: inline-block;
  width: 98%;
  height: 2px;
  background-color: #19448e;
  border-radius: 2px;
}
.fas.fa-times {
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  color: #19448e;
}
h2.p-modal-lead {
  display: inline-block;
  margin: 0.5rem;
  color: #19448e;
}
h2.p-modal-lead::before {
  font-family: "Font Awesome 5 Free";
  content: "\f044";
  font-weight: 900;
  color: #19448e;
  margin-right: 0.5rem;
}
p.p-modal-label {
  position: relative;
  left: 2rem;
  font-size: 1.6rem;
  color: #19448e;
}
p.p-modal-label::after {
  content: "\f005\f005";
  font-family: "Font Awesome 5 Free";
  color: #ffc107;
  font-weight: 900;
  position: relative;
  left: 1rem;
}
p.p-modal-label-high {
  color: #155724;
}
p.p-modal-label-high::after {
  content: "\f005\f005\f005";
  font-family: "Font Awesome 5 Free";
  color: #ffc107;
  font-weight: 900;
  position: relative;
  left: 1rem;
}
p.p-modal-label-row {
  color: #721c24;
}
p.p-modal-label-row::after {
  content: "\f005";
  font-family: "Font Awesome 5 Free";
  color: #ffc107;
  font-weight: 900;
  position: relative;
  left: 1rem;
}
div.p-modal-table {
  width: 90%;
  overflow-x: scroll;
  position: relative;
  left: 2rem;
}
table.p-modal-contents {
  white-space: nowrap;
  margin: 0 auto;
}
table.p-modal-contents th {
  background: rgba(33, 37, 41, 1);
  color: #fff;
}
table.p-modal-contents th,
table.p-modal-contents td {
  vertical-align: middle;
  text-align: center;
}
table.p-modal-contents td:nth-child(2) {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
table.p-modal-contents td:nth-child(3),
table.p-modal-contents td:nth-child(4),
table.p-modal-contents td:nth-child(5) {
  text-align: left;
}
table.p-modal-contents td:nth-child(6) {
  padding-left: 2rem;
  padding-right: 2rem;
}
/*レーダーチャート調整start*/
#radarWrap {
  max-width: 640px;
}
.radarComment {
  margin: 16px 0px;
}
.radar-legend {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.radar-legend li {
  width: calc(50% - 9px);
  display: flex;
  align-items: flex-start;
  line-height: 1.35;
  font-size: 14px;
}
.radar-legend .swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 4px 8px 0 0;
  flex: 0 0 auto;
}
#certificateRadarLegend {
  list-style: none;
  padding: 0;
}
/*レーダーチャート調整end*/
/*試験結果ページの生成AI導線start*/
.ai-advice-area,
.learn-area,
.sample-cta-area {
  margin: 10px 0px;
}
/*試験結果ページの生成AI導線end*/
/*サンプル模擬試験ページstart*/
.sample-exam-note {
  padding: 12px 16px;
  border: 1px solid #d9e7ff;
  background: #f5f9ff;
  border-radius: 6px;
  line-height: 1.7;
}

.sample-cta-area {
  margin: 24px 0 0;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
}

.sample-cta-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.sample-cta-text {
  margin: 0 0 16px;
  line-height: 1.8;
}
/*サンプル模擬試験ページend*/
/*模擬試験開始前のローディングスピナーstart*/
.exam-start-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.exam-start-loading-inner {
  text-align: center;
}

.exam-start-loading-inner p {
  margin-top: 16px;
}

.exam-start-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 4px solid #e5e5e5;
  border-top-color: #555;
  border-radius: 50%;
  animation: exam-start-spin 0.8s linear infinite;
}

@keyframes exam-start-spin {
  to {
    transform: rotate(360deg);
  }
}
/*模擬試験開始前のローディングスピナーend*/
/*模擬試験ページstart*/
.exam-timer {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  border: 2px solid #007bff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  z-index: 9999;
}
.exam-timer > span {
  color: #007bff;
  text-shadow: none;
}

.timer-label {
  margin-right: 8px;
  color: #19448e;
}

.timer-value {
  color: #007bff;
  font-size: 18px;
}
/* =========================================
   制限時間超過モーダル
   ========================================= */
.timeup-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
}

.timeup-content {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  padding: 32px 24px 24px;
  text-align: center;
}

.timeup-content h2 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.4;
  color: #19448e;
  font-weight: 700;
}

.timeup-content p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.8;
  color: #19448e;
}

.timeup-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.timeup-actions .btn {
  min-width: 180px;
  min-height: 52px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
}

.timeup-actions .btn-primary {
  box-shadow: none;
}
/*模擬試験ページend*/
/*ナビゲーションメニュー*/
nav {
  position: relative;
  background: transparent;
}
.navbar_toggle {
  z-index: 9999;
}
.navbar_toggle_icon {
  position: relative;
  display: block;
  height: 2px;
  width: 30px;
  background: #ffffff;
  -webkit-transition: ease 0.5s;
  transition: ease 0.5s;
}
.navbar_toggle_icon:nth-child(1) {
  top: 0;
}
.navbar_toggle_icon:nth-child(2) {
  margin: 8px 0;
}
.navbar_toggle_icon:nth-child(3) {
  top: 0;
}
.menu.open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
  top: -10px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.menu {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: ease 0.5s;
  transition: ease 0.5s;
  z-index: 1000;
}
/*aiアドバイスモーダルstart*/
.ai-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ai-modal {
  width: min(900px, 100%);
  max-height: 85vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ai-modal-head {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-modal-title,
.ai-cta-title {
  font-weight: 700;
  font-size: 20px;
}

.ai-modal-close {
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.ai-modal-body {
  padding: 16px;
  overflow: auto;
}

.ai-modal-foot {
  padding: 12px 16px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
}

.ai-advice-text {
  line-height: 1.7;
}
.ai-cta-title {
  padding: 8px;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.ai-cta-wrap {
  display: flex;
  justify-content: space-around;
}
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
.ai-error-box {
  background: #fff3f3;
  border: 1px solid #f0c2c2;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
}

.ai-error-detail {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #a94442;
}
/*aiアドバイスモーダルend*/
/*規約モーダル*/
.agree_lead {
  width: 75%;
  margin: auto;
}
h2.large {
  font-size: 2rem;
}
div.close-button {
  width: 15rem;
  margin: auto;
}
/*ハンバーガーメニューオープン時の背景色*/
div.overlay_black {
  position: fixed;
  z-index: 99;
  top: 90px;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.5;
  transition: 0.3s ease-in-out;
}
ul.contents_q_wrapper {
  margin: 1.5rem 0;
}
li.contents_q_element {
  margin-top: 0.5rem;
}
/*apply*/
div.flex-space {
  display: flex;
  justify-content: center;
}
div.plan {
  border: 2px solid #007bff;
  border-radius: 4px;
  margin-right: 1rem;
}
div.unselected {
  border: 1px solid #f0f0f0;
}
.pointer {
  cursor: pointer;
}
.plan-certificate,
.plan-month {
  width: 100%;
  height: 100%;
}
p.plan-checked {
  background-color: #007bff;
  padding: 0.375rem 0.75rem;
  color: #fff;
  text-align: center;
}
p.plan-checked::before {
  content: " \f058";
  position: relative;
  right: 7.5rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
p.unselected {
  background-color: #f0f0f0;
  color: #19448e;
}
p.plan-checked.unselected::before {
  content: " \f058";
  position: relative;
  right: 7.5rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #fff;
}
.hidden {
  display: none;
}
div.plan-container {
  padding: 1rem;
  display: flex;
  flex-flow: column;
  align-items: center;
}
span.plan-name {
  font-size: 1.5rem;
}
span.deal {
  font-size: 1rem;
  background-color: #f0f0f0;
  color: #4d4d4d;
}
span.price {
  font-size: 2.5rem;
  font-weight: bold;
  font-family: Roboto, sans-serif;
}
span.price::after {
  position: relative;
  content: "/月";
  font-size: 1rem;
}
.certificate-price > span.price::after {
  content: "/回";
}
.annotation {
  color: #d44950;
}
.green-style {
  color: #155724;
}
.cap_style {
  color: #666;
  font-size: 0.9rem;
}
span.annotation {
  font-size: 0.8rem;
}
.main-margin {
  margin: 0 0 2rem 0;
  display: inline-block;
}
p.annotation {
  font-size: 1rem;
}
li.check-mark {
  margin-top: 1rem;
  color: #155724;
  list-style-type: none;
}
li.check-mark::before {
  content: " \f00c";
  position: relative;
  right: 0.5rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #155724;
}
.caution {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  color: #495057;
}
.caution-lead {
  color: #d44950;
}
.terms-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}
.terms-list {
  list-style-type: none;
}
.inline {
  display: inline;
}
h2.apply-lead {
  font-size: 1.2rem;
}
div.apply {
  width: 32rem;
  margin: 0 auto;
}
/*form*/
div.form-container {
  width: 45%;
  margin: 0 auto;
}
p.form-text {
  margin: 0;
}
.label-group {
  width: 100%;
}
.msg-style {
  color: #d44950;
}
.greeen-style {
  color: #155724 !important;
}
/*マイページ*/
div.form-section {
  border: 1px solid #343a40;
  border-radius: 3px;
  padding: 1rem;
  min-width: 365px;
  margin-bottom: 0.5rem;
}
p.cancel-alert {
  color: #d44950;
}
/*2級直前対策バナー*/
.bnr_wrap {
  margin: 0 0 12px 0;
}
.bnr_wrap > a {
  display: flex;
  justify-content: center;
}
.bnr_wrap > a > img {
  width: 85%;
  height: auto;
}
/*マイページ内の試験履歴部分start*/
/* 模擬試験履歴：縦表示（ラベルと値を対応させる） */
.certificate-history,
.btn-ai-advice,
.learn {
  width: 100%;
}

/* 既存の見出し行は消す（ここが残ると「項目名だけ縦並び」になる） */
.certificate-history .certificate-history-head {
  display: none;
}

/* 1回分（1 attempt）をカードっぽく区切る */
.certificate-history .certificate-history-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  box-sizing: border-box;
  border-top: 1px solid #e5e5e5;
}

/* 先頭行の区切り線が不要なら */
.certificate-history .certificate-history-row:first-of-type {
  border-top: none;
}

.certificate-history .certificate-history-col {
  width: 100%;
}

/* 値の上にラベルを出す */
.certificate-history .certificate-history-col.dt::before {
  content: "実施日時";
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.certificate-history .certificate-history-col.time::before {
  content: "所要時間";
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.certificate-history .certificate-history-col.act::before {
  content: "結果";
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

/* ボタンは横幅いっぱい */
.certificate-history .certificate-history-col.act .btn {
  width: 100%;
  max-width: 100%;
}

/* 念のため：min-widthが残ってるとスマホで見切れやすい */
.resistered-form-section {
  min-width: 0;
}

/*マイページ内の試験履歴部分end*/
/*bootstrapの調整*/
input.form-control-lg::placeholder {
  color: #aab7c4;
  font-size: 1rem;
}
/* IE */
input.form-control-lg:-ms-input-placeholder {
  color: #aab7c4;
  font-size: 1rem;
}
/* Edge */
input.form-control-lg::-ms-input-placeholder {
  color: #aab7c4;
  font-size: 1rem;
}
/*stripe*/
/**
 * The CSS shown here will not be introduced in the Quickstart guide, but shows
 * how you can use CSS to style your Element's container.
 */
.StripeElement {
  box-sizing: border-box;
  height: 40px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}
.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}
.StripeElement--invalid {
  border-color: #fa755a;
}
.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}
.stripe-input {
  width: 95%;
  max-width: 25rem;
  min-width: 15rem;
  padding: 0.5rem;
  margin-bottom: 5px;
  border: 1px solid #ced4da;
  border-radius: 0.3rem;
}
#cancel-btn,
.cancel-btn-control label {
  cursor: pointer;
}
/*ログアウト*/
h2.logout-title {
  width: 40%;
  margin: 0 auto;
}
div.logout-page {
  width: 25%;
  margin: 0 auto;
}
/*パスワードリセット*/
div.code-msg {
  display: none;
  max-width: 25rem;
}
dl.code-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  justify-content: center;
  width: 100%;
  height: 5rem;
  background: #ced4da;
  border-radius: 10px;
}
dd.code-text {
  font-size: 1.5rem;
  color: #007bff;
  font-weight: 600;
}
/*フッター*/
#page_top {
  width: 3.2rem;
  height: 3.2rem;
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  background: #870101;
  opacity: 0.6;
  border-radius: 50%;
  transition-duration: 0.7s;
  display: none;
  z-index: 100;
}
#page_top:hover {
  opacity: 1;
}
#page_top a {
  position: relative;
  display: inline-block;
  width: 3.2rem;
  height: 3.2rem;
  text-decoration: none;
}
#page_top::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f106";
  font-size: 1.6rem;
  color: #fff;
  position: absolute;
  width: 1.6rem;
  bottom: 0.5rem;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/*FAQ start*/
tbody.legal th,
tbody.faq th {
  background: #19448e;
  color: #fff;
  border-color: #19448e !important;
  text-align: left;
}
tbody.faq th::before {
  content: "Q.";
  font-size: 1.6rem;
  font-weight: 600;
}
tbody.faq td::before {
  content: "A.";
  font-size: 1.6rem;
  font-weight: 600;
  color: #19448e;
}
.table-bordered.faq td,
.table-bordered.faq th,
.table-bordered.legal td,
.table-bordered.legal th {
  border: 1px solid #19448e;
}
h2.faq_title {
  font-size: 1.6rem;
  border-bottom: 3px solid #19448e;
  padding: 0 0 0.5rem 0;
  margin: 2rem 0 1.5rem 0;
}
ul.anc {
  display: flex;
  justify-content: space-around;
}
ul.anc li a {
  background: rgba(33, 37, 41, 0.7);
  color: #fff;
  display: inline-block;
  text-decoration: none;
  padding: 1.2rem;
  width: 13rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid;
  position: relative;
  transition: 0.3s ease-out;
}
ul.anc li a:hover {
  background: #fff;
  color: #19448e;
}
ul.anc li a::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 0px;
  border-bottom: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  bottom: 8px;
  left: 50%;
  transition: 0.3s ease-out;
}
ul.anc li a:hover:after {
  border-bottom: solid 2px #19448e;
  border-right: solid 2px #19448e;
}
.img_style_v1 {
  max-width: 300px;
}
.img_style_v2 {
  max-width: 500px;
}
/*FAQ end*/
/*table figure start*/
table.figure {
  width: auto;
  margin: 0;
}
table.figure th {
  background: rgba(33, 37, 41, 1);
  color: #fff;
}
/*table figure end*/
/*contact start*/
h1.contact {
  text-align: center !important;
  display: inline-block;
  width: 100%;
}
section.common {
  margin: 6rem 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
div.form-container.apply-form.contact {
  width: initial;
}
div.content {
  max-width: 600px;
  min-width: 300px;
  width: 80%;
}
label.label-group.contact {
  width: 100%;
  max-width: initial;
  min-width: initial;
}
p.form-text.contact {
  font-size: 1.2rem;
  font-weight: 600;
}
p.privacy-po {
  font-weight: 600;
}
p.contact-alert,
p.msg-style {
  color: #dc3545;
}
.required::after {
  content: "必須";
  background-color: rgb(220, 53, 69);
  color: rgb(255, 255, 255);
  position: relative;
  left: 1rem;
  font-size: 1rem;
  padding: 0.2rem;
  border-radius: 0.3rem;
}
textarea.form-control {
  max-height: 300px;
}
input.privacy {
  height: 1.5rem;
  width: 1.5rem;
  display: inline-block;
  margin: 0 1rem 0 0;
}
button.contact {
  width: 100%;
}
section.contact-contents {
  margin: 1rem 0 0 0;
}
p.contact-text {
  text-align: center;
  font-size: 1.2rem;
}
/*contact end*/
/*サンプル問題下部の参照先文言のスタイルstart*/
ul.chapter_link {
  padding: 0;
  margin: 1rem 0 1rem 0;
}
/*サンプル問題下部の参照先文言のスタイルend*/
/*chapterページのスタイルstart*/
blockquote {
  margin: 0 0 1rem;
  border-left: 4px solid #ccc;
  padding: 0px 0px 0px 16px;
  color: #666;
  font-style: italic;
}
cite {
  display: block;
  font-size: 0.9rem;
  color: #333;
}
.important-categories {
  margin: 20px 0;
  padding: 15px;
  background-color: #f0f0f5;
  border-left: 5px solid #007bff;
  border-radius: 5px;
}
.category-list {
  list-style-type: none;
  padding-left: 0;
}
.category-list li {
  padding: 10px;
  margin-bottom: 10px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-weight: bold;
  color: #007bff;
}
.category-gray {
  border-left: 5px solid #666;
}
.category-list-gray li {
  color: #666;
}
.flex_center {
  display: flex;
  justify-content: center;
}
/*chapterページのスタイルend*/
@media screen and (max-width: 767px) {
  h1 {
    font-size: 1.5rem;
  }
  #mainlead {
    font-size: 1.4rem;
  }
  h1.faq-lead {
    font-size: 2.2rem;
  }
  h2.top {
    margin: 1rem 0 2rem 0;
    font-size: 1.5rem;
  }
  div.main_lead_bg.contents {
    background-position: right;
    height: 10rem;
  }
  div.contents > .container {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
  }
  div.main_lead_bg.top {
    height: 12rem;
  }
  div.main_lead_bg.method {
    display: flex;
    align-items: center;
  }
  .top_image_wrap {
    padding: 0 10px;
  }
  .top_image {
    border-radius: 18px;
  }
  div.exam_title {
    padding: 0px 6px;
  }
  /*コンポーネント*/
  div.component_wrapper {
    margin: 0 auto;
    width: 15rem;
  }
  div.component_bottom {
    display: flex;
    justify-content: center;
  }
  button.settle-style {
    width: 18rem;
  }
  .settlement {
    width: 18rem;
    margin: auto;
    margin-top: 1rem;
  }
  .back-button {
    width: 15rem;
  }
  .textAdj {
    line-height: 3rem;
  }
  .indent::before {
    content: "\A";
    white-space: pre;
  }
  p#sub_lead {
    font-size: 0.8rem;
    margin: 0;
  }
  p.lead_copy {
    font-size: 1rem;
    font-weight: 300;
  }
  div.drawer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 70px;
    padding: 0 1em;
  }
  /*#navbarNavは、スマホ画面最適PC・タブレットは別に指定すること*/
  #navbarNav {
    position: absolute;
    left: 0;
    z-index: 9999;
    background-color: #fff;
    transition: 0.3s ease-in-out;
    width: 85%;
    top: 105%;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav {
    flex-direction: column;
  }
  #navbarNav .nav,
  #navbarNav .nav > li,
  #navbarNav .nav-item {
    display: block !important;
    width: 100%;
  }
  #navbarNav .dropdown-menu {
    position: static !important; /* ← absolute / fixed をやめる */
    transform: none !important; /* Bootstrapの translate を無効化 */
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent; /* 青い板の上にそのまま並べたい場合 */
  }
  #navbarNav .dropdown-menu > li > a {
    display: block;
    padding: 2rem 1.5rem;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
  }
  div.menu ul li {
    border-bottom: 1px solid #ccc;
    background-color: #19448e;
  }
  /*グロナビhover時の装飾*/
  ul.nav li > a {
    display: block;
    padding: 2rem 1.5rem;
    width: 100%;
  }
  ul.nav li > a:hover {
    text-decoration: none;
  }
  .dropdown-menu {
    background-color: transparent;
    width: 100%;
    padding: 0;
  }
  div.content_bg {
    padding-bottom: 10vw;
  }
  div.img {
    height: 15rem;
  }
  div._img_common {
    height: 38rem;
    background-repeat: no-repeat;
    margin: 0 auto;
    width: 18rem;
  }
  /*スマホの選択肢の文字列が長いときにはみ出ないように折り返す*/
  ul.contents_q_wrapper > li.contents_q_element > label.form-check-label {
    display: block;
    word-wrap: break-word;
  }
  /*スマホ解答詳細ページモーダル*/
  div.p-modal-table {
    width: 90%;
    overflow-x: scroll;
    position: absolute;
    left: 2rem;
  }
  table.p-modal-contents {
    white-space: nowrap;
  }
  .fas.fa-times {
    position: relative;
    right: 1rem;
    display: flex;
    justify-content: flex-end;
    top: -2.5rem;
  }
  /*スマホ詳細ボタン絡む落ち防止の調整*/
  span.accuracy_rate {
    margin-left: 1rem;
  }
  /*改行*/
  .br-sp::before {
    content: "\A";
    white-space: pre;
  }
  /*問題のテーブル*/
  div.figure-table-wrapper {
    width: 100%;
    overflow-x: scroll;
  }
  table.contents_q th,
  table.contents_q td,
  table.contents_q_3 th,
  table.contents_q_3 td,
  table.contents_q_6 th,
  table.contents_q_6 td {
    white-space: nowrap;
  }
  table.contents_l tr {
    white-space: wrap;
  }
  /*画像表示問題start*/
  .figure-image {
    max-width: 350px;
  }
  /*画像表示問題end*/
  /*レーダーチャート調整start*/
  .radar-legend li {
    width: 100%;
    font-size: 14px;
  }
  /*レーダーチャート調整end*/
  /*画像サイズ調整*/
  .img_style_v2 {
    max-width: 300px;
  }
  /*apply*/
  div.plans {
    width: 90%;
    margin: auto;
  }
  div.plan {
    background-color: #007bff;
    margin: 0 0 0.5rem 0;
  }
  div.unselected {
    background-color: #f0f0f0;
  }
  p.plan-checked {
    margin: 0;
    padding: 0.8rem;
    text-align: left;
  }
  p.plan-checked::before {
    right: 0.5rem;
  }
  p.plan-checked.unselected::before {
    right: 0.5rem;
  }
  p.certificate::after {
    content: "¥2,200/回";
    position: relative;
    left: 5rem;
  }
  p.month::after {
    content: "¥6,600/月";
    position: relative;
    left: 5rem;
  }
  label.sp {
    width: 100%;
    margin: 0;
  }
  /*form*/
  div.form-container {
    width: 70%;
    margin: 0 auto;
  }
  div.apply-form {
    width: 95%;
  }
  div.mail-form {
    width: 90%;
  }
  div.resistered-form {
    width: 85%;
  }
  div.resistered-form-section {
    min-width: 315px;
  }
  div.form-wrapper,
  div.button-wrapper {
    width: 92%;
    margin: 0 auto;
  }
  div.apply {
    width: 68%;
  }
  div.mail-button {
    width: 72%;
  }
  .label-input {
    width: 100%;
  }
  .mail-input {
    font-size: 1rem;
  }
  /*stripe*/
  .stripe-register {
    width: 100%;
  }
  /*ログアウト*/
  h2.logout-title {
    width: 60%;
  }
  div.logout-page {
    width: 65%;
    margin: 0 auto;
  }
  /*プライバシーポリシーstart*/
  section.policy {
    padding: 1rem;
    margin: 1rem 0 0 0;
  }
  ul.list-contain {
    position: relative;
    right: 1rem;
  }
  /*プライバシーポリシーend*/
  /*footer start*/
  section.inner-top,
  div.bottomo-rules ul {
    flex-direction: column;
  }
  ul.footer-list {
    padding: 0;
    margin: 0;
  }
  ul.footer-list li {
    padding: 1rem 0 0 0 !important;
    position: relative;
  }
  section.inner-top ul.footer-list :not(.list-heading, h3, a) {
    display: none;
  }
  section.inner-top ul.footer-list.open :not(.list-heading, h3, a) {
    display: block !important;
    background: #284d8c;
  }
  ul.footer-list li.list-heading {
    cursor: pointer;
    border-bottom: 2px solid #fff;
  }
  ul.footer-list li.list-heading h3 {
    font-size: 1rem;
  }
  ul.footer-list li.list-heading::after {
    position: absolute;
    color: #fff;
    right: 1rem;
    top: 1rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f067";
  }
  ul.footer-list li.list-heading.open::after {
    content: "\f068";
  }
  ul.footer-list li a::after {
    position: absolute;
    color: #fff;
    right: 1rem;
    top: 1rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
  }
  div.footer-logo {
    margin: 1rem 0 0 0;
  }
  section.inner-bottom {
    margin: 2.5rem 0 0 0;
  }
  li.size-change {
    font-size: 0.8rem;
  }
  /*footer end*/
  /*footerの上段・中段レイアウト調整start*/
  div.footer-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 16px;
  }

  /* inner-top 系だけ縦積みにする */
  section.inner-top,
  section.inner-top.middle {
    display: block;
    width: 100%;
    margin: 0;
  }

  /* PCの列幅指定を完全解除 */
  section.inner-top > div,
  section.inner-top.middle > div {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0 0 28px 0;
  }

  .footer-list {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .footer-list .list-heading {
    display: block;
    width: 100%;
    margin: 0 0 16px 0;
    padding: 0 40px 14px 0;
    border-bottom: 3px solid #d90429;
    position: relative;
  }

  .footer-list .list-heading h3 {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .footer-list .list-heading::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    transform: none;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 500;
    color: #fff;
  }

  .footer-list li:not(.list-heading) {
    width: 100%;
  }

  .footer-list li a {
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 1.7;
  }
  /*footerの上段・中段レイアウト調整end*/
  /*ぱんくず start*/
  .bread_crumb_wrap ul {
    font-size: 12px;
    display: block;
  }
  /*ぱんくず end*/
  /*FAQ start*/
  ul.anc {
    margin: 0;
    padding: 0;
  }
  ul.anc li a {
    padding: 1rem;
    width: 7rem;
    font-size: 0.8rem;
  }
  /*FAQ end*/
  /*模擬試験ページstart*/
  .certificate_title {
    font-size: 22px;
  }
  /* =========================================
   制限時間超過モーダル
   ========================================= */
  .timeup-modal {
    padding: 16px;
  }

  .timeup-content {
    max-width: none;
    padding: 24px 16px 20px;
    border-radius: 10px;
  }

  .timeup-content h2 {
    font-size: 26px;
  }

  .timeup-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .timeup-actions {
    flex-direction: column;
    gap: 10px;
  }

  .timeup-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    font-size: 17px;
  }
  /*模擬試験ページend*/
}
@media (min-width: 576px) {
  .container {
    max-width: 100% !important;
  }
}
@media screen and (min-width: 768px) {
  main.main_lead {
    min-height: 700px;
  }
  /*コンポーネント*/
  div.component_wrapper,
  .component_bottom {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  div.drawer {
    display: none;
  }
  div.main_lead_bg.top {
    height: 38rem;
  }
  div.container.lead.top > div {
    display: flex;
    flex-direction: column;
  }
  .container {
    max-width: 760px !important;
    width: inherit;
  }
  h1 {
    font-size: 2.3rem;
  }
  h1 > span.mainlead_title {
    font-size: 1.8rem;
  }
  h1.contents,
  section.contents {
    top: 8rem;
    text-shadow: 3px 3px 3px #000;
  }
  .textAdj {
    line-height: 4rem;
  }
  .indent::before {
    content: "\A";
    white-space: pre;
  }
  p.lead_copy {
    font-size: 1.25rem;
    font-weight: 300;
  }
  div.img.others,
  div.main_lead_bg.top.others {
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  div.main_lead_bg.contents {
    background-attachment: fixed;
    background-position: center;
    height: 22rem;
  }
  /*ハンバーガーメニューを非表示でグロナビを表示*/
  nav {
    display: flex;
    flex-direction: row;
  }
  div#nav-content {
    margin-right: -2.5rem;
  }
  .navbar_toggle {
    display: none;
  }
  .menu {
    width: 100%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    position: relative;
  }
  .menu ul {
    height: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
  }
  ul.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none !important;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #19448e;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
  }
  ul.dropdown-menu.show {
    display: block !important;
    width: 511px;
    height: 610px;
    line-height: 2rem;
    background-color: #19448e;
    overflow: scroll;
  }
  div.menu ul.dropdown-menu li {
    border-bottom: 1px solid #ccc;
  }
  /*グロナビhover時の装飾*/
  ul.nav li > a {
    display: block;
    padding: 1rem 1.45rem;
    width: 100%;
  }
  ul.nav li > a:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #19448e;
  }
  div.content_bg {
    padding-bottom: 5vw;
  }
  div.error-contents {
    width: 50%;
    margin: 0 auto;
  }
  /*PC解答詳細ページモーダル*/
  .fas.fa-times {
    display: flex;
    justify-content: flex-end;
    position: relative;
    top: -2.5rem;
    right: 1rem;
  }
  /*改行*/
  .br-pc::before {
    content: "\A";
    white-space: pre;
  }
  /*プライバシーポリシーstart*/
  section.privacy {
    max-width: 720px;
    min-width: 300px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  section.policy {
    margin: 2rem 0 0 0;
  }
  /*プライバシーポリシーend*/
  /*indexのカテゴリーなどの画像キャプションスタイル調整*/
  .cap_style_top {
    width: 45rem;
  }
  .faq,
  .cont_center {
    max-width: 720px;
    margin: 0 auto;
  }
  .agree_sec {
    min-width: 700px;
  }
}
@media screen and (min-width: 768px) and (max-width: 995px) {
  ul.nav li > a,
  p.header_logo a {
    font-size: 11px;
  }
}
@media (min-width: 992px) {
  #question-num {
    margin-top: 0.5rem !important;
  }
}
