h4 {
  position: relative;
  padding-left: 30px;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 2.5rem;
}

h5 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-top: 1.25rem;
}

h6 {
  font-size: 18px;
  font-weight: bold;
}

::placeholder {
  line-height: 2;
}

header {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: white;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid #bed2ea;
  box-sizing: border-box;
  width: 100%;
}

@media screen and (max-width: 880px) {
  .header_inner .title_name {
    display: none;
  }
}

html.modal_open header {
  position: fixed;
}

hr {
  margin: 2.5rem 0;
  height: 1px;
  background-color: #bed2ea;
  border: none;
}

p {
  margin-top: 1.25rem;
  line-height: 2;
}

input[type="text"],
textarea {
  resize: vertical;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid #89a3be;
  background-color: #f3f8ff;
  padding: 0.625rem 1.25rem;
  margin-top: 1.25rem;
  width: 100%;
}

.announcement {
  text-align: center;
  border: 1px solid #bed2ea;
  border-radius: 4px;
  background-color: #f3f8ff;
  padding: 0.625rem 1.25rem;
  font-size: 1.25rem;
  line-height: 2;
  margin-top: 3rem;
}

.txt_red {
  color: #ce3030;
}

.d_flex {
  display: flex;
}

.d_none {
  display: none;
}

.flex_between {
  justify-content: space-between;
}

.btn_copy {
  border-radius: 4px;
  border: 1px solid #bed2ea;
  background-color: #f3f8ff;
  font-size: 14px;
  font-weight: bold;
  color: #345a7f;
  padding: 4px 16px;
  margin-left: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.btn_copy::after {
  content: url("../images/copy.webp");
  margin-left: 4px;
  width: 17px;
  height: 17px;
}

.btn_copy:has(.copied:not(.d_none)) {
  background-color: #007fc7;
  color: #fff;
  border: 1px solid #007fc7;
}

.btn_copy:has(.copied:not(.d_none))::after {
  content: url("../images/copied.webp");
}

.btn_copy:has(.copied:not(.d_none)):hover {
  opacity: 1;
}

.question_main p {
  margin-top: 1.25rem;
}

.header_list li {
  position: relative;
}

.header_list li::after {
  position: absolute;
  left: 0;
  bottom: -12px;
  content: "";
  width: 100%;
  height: 6px;
  transform: scale(0, 1);
  /* background: #007fc7; */
  /* transform-origin: left top; */
  /* transition: transform 0.3s; */
}

.header_list li:hover::after {
  /* transform: scale(1,1); */
}

.header_list a:link,
.header_list a:active,
.header_list a:visited {
  color: #345a7f;
  text-decoration: none;
}

.header_list a:active {
  color: #007fc7;
}

.header_list li.current::after {
  background: #007fc7;
  transform: scale(1, 1);
}

.header_list li.current a {
  color: #007fc7;
  font-weight: bold;
}

footer {
  background-color: #ffffff;
  border-top: solid 2px #bed2ea;
  padding: 2.5rem clamp(1.25rem, 1vw, 7.5rem);
}

.footer_inner {
  max-width: 50rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #007fc7;
}

@media screen and (max-width: 768px) {
  header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .footer_inner {
    font-size: 12px;
    flex-direction: column;
    row-gap: 1.25rem;
    justify-content: center;
    font-size: 12px;
    text-align: center;
  }
}

ul.footer_links {
  display: flex;
  justify-content: center;
  flex-direction: row;
  column-gap: 1.25rem;
  padding-left: 0;
}

ul.footer_links li {
  list-style: none;
  white-space: nowrap;
}

.contents_inner {
  padding: 2.5rem;
}

.frame {
  box-sizing: border-box;
  max-width: 50rem;
  border-radius: 8px;
  border: 1px solid #007fc7;
  background-color: white;
  margin: 0 auto;
  padding: 3.75rem;
}

.page_title > h2 {
  display: block;
  font-size: clamp(2.5rem, 2.143rem + 1.79vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #008bd5 0%, #003577 79%, #001655 100%);
  color: transparent;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header_inner {
  box-sizing: border-box;
  max-width: 50rem;
  margin: 0 auto;
  display: flex;
  column-gap: 0.625rem;
  white-space: nowrap;
  height: 1.25rem;
  justify-content: space-between;
  align-items: center;
}

#menu_item {
  display: flex;
  align-items: center;
}

#menu_item li {
  width: fit-content;
}

#menu_item li a {
  display: inline-flex;
  padding: 0 clamp(0.625rem, -0.573rem + 4.17vw, 1.25rem);
  font-size: clamp(0.75rem, 0.271rem + 1.67vw, 1rem);
  border-right: 1px solid #bed2ea;
}

#menu_item li:last-child a {
  border-right: none;
}

.pc_decc_logo {
  width: 5rem;
  margin-top: 0;
}

.title {
  display: flex;
  align-items: center;
}

.sub_title {
  font-size: 1.25rem;
  font-weight: bold;
}

h4::before {
  position: absolute;
  content: "";
  top: 50%;
  width: 1.25rem;
  height: 4px;
  background-color: #345a7f;
  left: 0;
}

h4.heading_line {
  padding: 0;
}

h4.heading_line::before {
  content: none;
}

.ul {
  padding: 4px 0;
  position: relative;
  padding-left: 38px;
  margin-top: 0.625rem;
  margin-top: 1rem;
}

.ul li {
  position: relative;
  line-height: 2;
}

.ul li::before {
  position: absolute;
  content: "";
  background: #007fc7;
  left: -16px;
  top: 0.8rem;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

/* li.pink::before,
.ul.pink li::before {
  background: #c7004e;
} */

ul.pink li::before {
  background: #c7004e;
}



.ul.border_none::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: #bed2ea;
  width: 8px;
  border-radius: 4px;
  content: "";
}

.ul.border_none.pink::before {
  background-color: #eabecc;

}

.tag + .ul {
  margin-top: 1rem;
}

.page_title + .ul {
  margin-top: 3rem;
}

h4 + .ul {
  margin-top: 1rem;
}

.ol {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
  margin-top: 0.625rem;
}

.ol li {
  padding-left: 30px;
  position: relative;
  display: flex;
  align-items: center;
  column-gap: 8px;
  line-height: 2;
}

.ol li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: #007fc7;
  color: white;
  display: block;
  float: left;
  line-height: 17px;
  margin-left: -30px;
  text-align: center;
  height: 18px;
  width: 18px;
  border-radius: 50%;
}

.attention {
  box-sizing: border-box;
  border: 1px solid #ce3030;
  border-left: solid 7px #ce3030;
  border-radius: 4px;
  background-color: #fff6f6;
  padding: 1.25rem;
  color: #9e0a0a;
  margin-top: 1.25rem;
}

.attention h5 {
  color: #ce3030;
  margin-top: 0;
}

.attention p {
  margin-top: 0;
}

.attention h5:not(:first-child) {
  margin-top: 1rem;
}

.attention .ul {
  padding-left: 22px;
  margin-top: 0;
}

.attention .ul li::before {
  background: #ce3030;
}

h3 {
  padding-left: 7.5rem;
  font-size: 2rem;
  background: #008bd5;
  font-weight: 900;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  position: relative;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
}

h3::before {
  position: absolute;
  left: 0px;
  padding: 8px;
  background: #007fc7;
  color: white;
  text-align: center;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  content: "ステージ1";
}

.st_1 h3,
.st_2 h3,
.st_3 h3,
.st_4 h3
 {
  background-color: #345a7f;
}

.st_1 h3::before,
.st_2 h3::before,
.st_3 h3::before,
.st_4 h3::before
{
  background: #345a7f;
}

.st_2a {
  color: #842706;
}

.st_2a h3 {
  padding-left: 8.5rem;
  background-color: #c65836;
}

.st_2a h3::before{
  background: #c65836;
}

.st_2a .tag {
  background-color: #fff2e3;
  border-color: #fac8b9;
}

.st_2a .ul li::before {
  background: #c65836;
}

.st_2a .ul.border_none::before {
  background: #f4cda4;
}

.stage_1 h3::before {
  content: "ステージ1";
}

.stage_2 h3::before {
  content: "ステージ2";
}

.stage_2A h3 {
  background: unset;
  color: #c65836;
}

.stage_2A h3::before {
  content: "ステージ2A";
  background: #c65836;
}

.stage_3 h3::before {
  content: "ステージ3";
}

.stage_4 h3::before {
  content: "ステージ4";
}


.answer_flow section:nth-of-type(1) h3::before {
  content: "ステージ1";
}

.answer_flow section:nth-of-type(2) h3::before {
  content: "ステージ2";
}

.answer_flow section:nth-of-type(3) h3::before {
  content: "ステージ3";
}

.answer_flow section:nth-of-type(4) h3::before {
  content: "ステージ4";
}

.answer_flow section:nth-of-type(5) h3::before {
  content: "ステージ5";
}

.answer_flow section:nth-of-type(7) h3::before {
  content: "ステージ2A";
}

h3:nth-of-type(2)::before {
  content: "ステージ2";
}
h3:nth-of-type(3)::before {
  content: "03";
}
h3:nth-of-type(4)::before {
  content: "04";
}
h3:nth-of-type(5)::before {
  content: "05";
}


h3.q1::before {
  content: "Q1";
}
h3.q2::before {
  content: "Q2";
}
h3.q3::before {
  content: "Q3";
}
h3.q4::before {
  content: "Q4";
}

h3.number_none::before {
  display: none;
}


.tag,
.haiten {
  border: 1px solid #bed2ea;
  border-radius: 4px;
  background-color: #f3f8ff;
  padding: 0.3rem 0.7rem;
  width: fit-content;
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

.joken {
  border: 1px solid #bed2ea;
  border-radius: 4px;
  background-color: #f3f8ff;
  padding: 1rem;
  margin-top: 1.25rem;
  line-height: 1.5;
}

.joken_table {
  border: 1px solid #bed2ea;
  border-radius: 8px;
  background-color: #f3f8ff;
  padding: 0.5rem 1rem;
  width: 50%;
  margin-top: 1rem;
}

.joken_table li {
  border-top: 1px solid #bed2ea;
  line-height: 2.5;
  display: flex;
  justify-content: space-between;
}

.joken_table li:first-child{
  border:none;
}



.reidai {
  border-radius: 4px;
  border: solid #bbbbbb 1px;
  margin-top: 1rem;
}

.reidai_header {
  background-color: #dddddd;
  color: #555;
  padding: 1.25rem;
  border-radius: 4px 4px 0 0;
}

.reidai_content {
  background-color: #f2f2f2;
  border-radius: 0 0 4px 4px;
  padding: 1.25rem;
}

.reidai_ans {
  border-radius: 4px;
  border: solid #bbbbbb 1px;
  margin-top: 1.25rem;
}

.code_area,
.copy_area
{
  border-radius: 4px;
  color: white;
  padding: 0.625rem 1.25rem;
  word-break: break-word;
  line-height: 2;
  margin-top: 1.25rem;
  font-weight: normal !important;
}

.code_area {
  background-color: #3a3a3a;
}

.copy_area {
  background-color: #8a8a8a;

}

.data_area {
  border: 1px #345a7f solid;
  background-color: #345a7f;
}

.reidai_ans_header {
  background-color: #dddddd;
  padding: 1.25rem;
  border-radius: 4px 4px 0 0;
}

.reidan_ans_content {
  background-color: white;
  padding: 1.25rem;
  border-radius: 0 0 4px 4px;
}

.reidai_ans_num {
  font-weight: bold;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.reidan_ans_content hr {
  margin: 1.25rem 0;
  height: 1px;
  background-color: #bbb;
  border: none;
}

.answer_header {
  color: white;
  font-weight: bold;
  padding: 1.25rem;
  background-color: #007fc7;
  border-radius: 4px 4px 0 0;
}

.answer_content {
  border: 2px solid #007fc7;
  padding: 1.25rem;
  border-radius: 0 0 4px 4px;
}

.btn {
  border: none;
  border-radius: 30px;
  padding: 0.875rem 6.5rem;
  font-weight: bold;
  margin-top: 1.25rem;
  white-space: nowrap;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-sm {
  padding: 20.5px 56px 23px 56px;
  line-height: 1;
}

.btn-submit {
  background-color: #007fc7;
  color: white;
  box-shadow: 0px 4px 10px 0px #465e7c80;
}

.answer_form label {
  color: #007fc7;
  font-size: 18px;
  font-weight: bold;
}

.answer_form fieldset {
  display: grid;
  row-gap: 2.5rem;
}

h5 + p {
  margin-top: 0.625rem;
}

.career_schedule_content {
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
  margin-top: 1.25rem;
}

li.indent {
  text-indent: 1rem;
}

li.indent::before{
  left: 2px;
}

table {
  margin-top: 1rem;
}

th,
td {
  padding: 0.53em 0.8em;
  line-height: 1.7;
  border: 1px solid #bdd4ef;
  overflow-wrap: break-word;
}

th {
  background-color: #f3f8ff;
  width: 140px;
}

.caption_bottom {
  margin-top: 0.5rem;
  caption-side: bottom;
}

.light_blue {
  color: #00c4ff;
}

.pink {
  color: #ff007f !important;
  font-weight: bold;
}

.pink_300 {
  color: #ff7baf !important;
}

.pink_200 {
  color: #ff90bb  !important;
}

.dark_gray {
  color: #555;
}

.errorcode_table,
.tokuten_table {
  width: 100%;
}

.errorcode_table th,
.tokuten_table th {
  width: revert-layer;
}