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;
}

.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, 3.75rem);
  font-weight: 700;
  line-height: 1.4;
  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 {
  padding-right: 0;
  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;
  line-height: 1.6;
}



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

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

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

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

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

.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: 2.5rem;
}

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

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

h3 {
  padding-left: 3.25rem;
  font-size: 2rem;
  background: linear-gradient(135deg, #008bd5 0%, #003577 79%, #001655 100%);
  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;
  width: 2.5rem;
  height: 2.5rem;
  background: #007fc7;
  color: white;
  text-align: center;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

h3:nth-of-type(1)::before {
  content: "01";
}
h3:nth-of-type(2)::before {
  content: "02";
}
h3:nth-of-type(3)::before {
  content: "03";
}
h3:nth-of-type(4)::before {
  content: "04";
}
h3:nth-of-type(5)::before {
  content: "05";
}
.answer_flow h5 {
  margin-top: 2.5rem;
}

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;
}

.answer_flow h5 {
  margin-top: 2.5rem;
}

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

}

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

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

.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;
}

.copy_area {
    background-color: #8a8a8a;
    border-radius: 4px;
    color: white;
    padding: 0.625rem 1.25rem;
    word-break: break-word;
    line-height: 2;
    margin-top: 1.25rem;
}

.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;
}

.rankings table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  margin-top: 2.5rem;
}

.rankings th,.rankings td{
  text-align: center;
  padding: 0.53em 0.8em;
  line-height: 1.7;
}

.rankings th {
  border: 1px solid #bdd4ef;
  background-color: #f3f8ff;
  
}

.rankings td {
  border: 1px solid #bdd4ef;
  font-weight: bold;
}

@media screen and (max-width: 640px) {
  #rankings .frame {
    padding: 1.25rem;
  }

  .table_wrapper {
    margin-inline: -1.25rem;
  }

}