*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-size: 14px;
  color: #525252;
  background: rgba(228,242,254,.4);
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* header */
.header {
  height: 64px;
  padding: 0 16px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
}
.logo_container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  width: auto;
}
.logo_container .logo_title {
  margin-top: 30px;
  font-size: 13px;
}
@media screen and (max-width: 768px) {
  .logo_container .logo_title {
    display: block;
  }
}
.logo_container .logo_title {
  margin-top: 13px;
  margin-bottom: 2px;
  font-size: 11px;
  color: #333;
}
.logo_logo_img {
  height: 40px;
}

.header .header_sp {
  display: none;
}
.header .header_pc {
  display: block;
}
@media screen and (max-width: 768px) {
  .header .header_sp {
    display: block;
  }
  .header .header_pc {
    display: none;
  }
  .logo_logo_img {
    height: 26px;
  }
  .logo_container {
    max-width: 200px;
  }
}


/* footer */
.footer {
  padding: 32px 16px 38.5px 16px;
  background-color: #165476;
  color: #ffffff;
  font-weight: 300;
}
.footer a {
  color: #ffffff;
  text-decoration: none;
}
.footer .logo {
    height: 40px;
    width: auto;
  }
.footer .logo_img {
  height: 100%;
  width: auto;
}
@media screen and (min-width: 768px) {
  .footer {
    padding: 32px 32px 38.5px 32px;
  }
}
@media screen and (min-width: 1280px) {
  .footer {
    padding: 32px 0 46.5px 0;
  }
}

@media screen and (min-width: 1280px) {
  .footer_main {
    width: 1080px;
    margin: 0 auto;
  }
}

.footer_main_column {
  margin-top: 24px;
  display: inline-block;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  font-weight: 300;
}
.footer_second_column {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: 0 40px;
}
@media screen and (min-width: 768px) {
  .footer_second_column {
    gap: 0 24px;
  }
}
.footer_second_column > div {
  flex-basis: 50%;
}
.footer_second_column div > a {
  display: inline-flex;
  align-items: center;
  gap: 0 4px;
}

.footer_second_column_inner {
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  margin-top: 40px;
}
.footer_second_column_inner:first-child {
  margin-top: 0;
}

.footer_other_column {
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  font-size: 13px;
}
.footer .footer_inner a:hover {
  text-decoration: underline;
}

.footer hr {
  border: 0;
  border-top: 1px solid #184662;
  margin: 24px 0 24px 0;
  width: 100%;
}
.footer .open_icon {
  width: 16px;
  height: 16px;
}

.footer .footer_title {
  font-size: 13px;
  font-weight: 600;
  color: #8ccded;
}
.copyright {
  background-color: #165476;
  color: #8ccded;
  font-size: 11px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 124.5px;
}
@media screen and (min-width: 1280px) {
  .copyright {
    padding-bottom: 140.5px;
  }
}

/* ================================================
   CTA: ピッタリ仕事診断
   ================================================ */
.cta_diagnosis {
  margin: 40px 0;
  padding: 28px 20px;
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 100%);
  border: 2px solid #b8ddf0;
  border-radius: 12px;
  text-align: center;
}
.cta_diagnosis_img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto 16px;
  border-radius: 8px;
}
.cta_diagnosis_label {
  display: inline-block;
  background-color: #0071bc;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.cta_diagnosis_heading {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 8px;
}
.cta_diagnosis_sub {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 20px;
}
.cta_diagnosis_btn {
  display: inline-block;
  background-color: #ff6a00;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 3px 8px rgba(255, 106, 0, 0.25);
}
.cta_diagnosis_btn:hover {
  background-color: #e85d00;
  transform: translateY(-1px);
}
.cta_diagnosis_btn:active {
  transform: translateY(0);
}
.cta_diagnosis_note {
  font-size: 11px;
  color: #888;
  margin-top: 10px;
}
@media screen and (max-width: 768px) {
  .cta_diagnosis {
    padding: 24px 16px;
    margin: 32px 0;
  }
  .cta_diagnosis_heading {
    font-size: 16px;
  }
  .cta_diagnosis_btn {
    display: block;
    font-size: 15px;
    padding: 14px 20px;
  }
}

/* ================================================
   CTA: 求人検索導線（おすすめ求人特集）
   ================================================ */
.cta_search_links {
  margin: 40px 0;
  padding: 24px 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
}
.cta_search_links_heading {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0071bc;
}
.cta_search_links_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cta_search_link_item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s;
  line-height: 1.4;
}
.cta_search_link_item:hover {
  background-color: #e8f4fd;
  border-color: #0071bc;
  color: #0071bc;
}
.cta_search_link_item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #ff6a00;
  border-bottom: 2px solid #ff6a00;
  transform: rotate(-45deg);
  margin-right: 6px;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .cta_search_links {
    padding: 20px 16px;
    margin: 32px 0;
  }
  .cta_search_links_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .cta_search_link_item {
    padding: 10px 6px;
    font-size: 12px;
  }
}
