/* common.css */
:root {
  /* color */
  --color_blue: #0057af;
  --color_blue-pale: #F3FBFF;
  --color_sky: #00A0E9;
  --color_sky-pale: #ebfbff;
  --color_yellow: #FFEE7D;
  --color_yellow-deep: #FED600;
  --color_navy: #173f85;
  --color_white: #ffffff;
  --color_red: #e60012;
  --max_width: 1200px;
  --section_pad-y: clamp(3rem, 8vw, 5.5rem);
  /* font-weight */
  --font_sans: "Montserrat", "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  --font_display: "Noto Sans JP", var(--font_sans);
  --font_medium: 500;
  --font_semibold: 600;
  --font_bold: 700;
  /* font-size */
  --fs-14-18: clamp(0.875rem, 0.761rem + 0.48vw, 1.125rem);
  --fs-15-17: clamp(0.9375rem, 0.89rem + 0.2vw, 1.0625rem);
  --fs-16-18: clamp(1rem, 0.935rem + 0.25vw, 1.125rem);
  --fs-16-20: clamp(1rem, 0.87rem + 0.51vw, 1.25rem);
  --fs-18-20: clamp(1.125rem, 1.06rem + 0.25vw, 1.25rem);
  --fs-18-22: clamp(1.125rem, 0.995rem + 0.51vw, 1.375rem);
  --fs-18-24: clamp(1.125rem, 0.93rem + 0.76vw, 1.5rem);
  --fs-18-28: clamp(1.125rem, 0.801rem + 1.27vw, 1.75rem);
  --fs-18-32: clamp(1.125rem, 0.807rem + 1.59vw, 2rem);
  --fs-20-24: clamp(1.25rem, 1.12rem + 0.51vw, 1.5rem);
  --fs-20-28: clamp(1.25rem, 0.991rem + 1.01vw, 1.75rem);
  --fs-20-40: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
  --fs-20-48: clamp(1.25rem, 0.634rem + 2.63vw, 3rem);
  --fs-22-30: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
  --fs-22-32: clamp(1.375rem, 1.051rem + 1.27vw, 2rem);
  --fs-24-32: clamp(1.5rem, 1.241rem + 1.01vw, 2rem);
  --fs-24-40: clamp(1.5rem, 0.981rem + 2.03vw, 2.5rem);
  --fs-24-44: clamp(1.5rem, 4vw, 2.75rem);
  --fs-28-36: clamp(1.75rem, 1.491rem + 1.01vw, 2.25rem);
  --fs-28-40: clamp(1.75rem, 1.361rem + 1.52vw, 2.5rem);
  --fs-28-46: clamp(1.75rem, 1.166rem + 2.28vw, 2.875rem);
  --fs-28-48: clamp(1.75rem, 1.295rem + 2.27vw, 3rem);
  --fs-30-44: clamp(1.875rem, 1.421rem + 1.77vw, 2.75rem);
  --fs-30-50: clamp(1.875rem, 1.226rem + 2.53vw, 3.125rem);
  --fs-38-100: clamp(2.375rem, 0.966rem + 7.05vw, 6.25rem);
  --fs-40-52: clamp(2.5rem, 2rem + 2vw, 3.25rem);
  --fs-40-72: clamp(2.5rem, 1.773rem + 3.64vw, 4.5rem);
  --fs-48-72: clamp(3rem, 2.2rem + 2.5vw, 4.5rem);
  /* padding */
  --pad-inner-pc: 0 2rem;
  --pad-inner-sp: 0 1rem;
  /* margin */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font_sans);
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: var(--color_white);
  position: relative;
  font-feature-settings: "palt";
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main {
  flex: 1 0 auto;
}

@media (max-width: 1200px) {
  body.is_menu_open {
    overflow: hidden;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

.btn_area {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.top_btn_primary {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 384px;
  padding: 1.5rem .75rem 1.25rem 1.5rem;
  font-size: 1.5rem;
  color: var(--color_sky);
  background: var(--color_white);
  border-bottom: solid 6px var(--color_sky);
  cursor: pointer;
  transition: transform 0.2s;
  justify-content: space-between;
  line-height: 1;
  font-weight: var(--font_medium);
  margin: auto;
}

.top_btn_primary:hover {
  transform: translateY(-2px);
}

.top_btn_primary_arrow {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--color_sky);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section_curving {
  position: relative;
  margin-top: 3rem;
}

.section_curving::before {
  clip-path: ellipse(150% 100% at 50% 100%);
  -webkit-clip-path: ellipse(60% 100% at 50% 100%);
  overflow: hidden;
  content: "";
  background-color: var(--color_white);
  width: 100%;
  height: 6rem;
  position: absolute;
  top: 0;
  transform: translateY(-100%);
}

.section_inner_1440 {
  max-width: 1440px;
  margin: 0 auto;
}

/* ----- リクルート共通ヘッダー ----- */
.global_header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color_white);
}

.global_header_inner {
  display: flex;
  justify-content: space-between;
  min-height: 80px;
  position: relative;
  padding: 0;
  align-items: center;
}

@media (max-width: 1200px) {
  .global_header_inner {
    flex-wrap: nowrap;
    min-height: 80px;
    z-index: auto;
    padding-right: 1rem;
  }
}

.global_header_logo {
  display: flex;
  flex-direction: column;
  padding-left: 0.5rem;
  justify-content: center;
}

@media (max-width: 1200px) {
  .global_header_logo {
    flex: 0 0 auto;
    min-width: auto;
    padding-left: 0.5rem;
  }
}

.global_header_logo_link {
  position: relative;
  display: flex;
  align-items: center;
  color: #025da6;
}

.global_header_logo_text {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #025da6;
}

@media (max-width: 1200px) {
  .global_header_logo_text {
    font-size: 1rem;
  }
}

.global_header_nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: center;
  margin-right: 1rem;
}

@media (max-width: 1200px) {
  .global_header_nav {
    width: 100%;
    gap: 1rem;
    margin: 0;
  }
}

.global_header_nav--sp {
  display: none;
}

@media (max-width: 1200px) {
  .global_header_nav--sp {
    display: block;
    margin-right: 0;
  }
}

.global_header_menu {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  padding-left: 1rem;
  height: stretch;
}

@media (max-width: 1200px) {
  .global_header_menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(90vw, 360px);
    height: 100vh;
    background: var(--color_sky-pale);
    margin: 0;
    padding: 6rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 120;
  }

  .global_header.is_menu_open .global_header_menu {
    transform: translateX(0);
  }
}

@media (max-width: 425px) {
  .global_header_menu {
    width: 100%;
  }
}

.global_header_menu_toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 130;
}

@media (max-width: 1200px) {
  .global_header_menu_toggle {
    display: flex;
  }
}

.global_header_menu_toggle_line {
  display: block;
  width: 32px;
  height: 2px;
  margin: 0;
  background: var(--color_blue);
  transition: transform 0.25s ease;
}

.global_header.is_menu_open .global_header_menu_toggle_line:nth-child(1) {
  transform: translateY(4px) rotate(25deg);
}

.global_header.is_menu_open .global_header_menu_toggle_line:nth-child(2) {
  transform: translateY(-4px) rotate(-25deg);
}

.global_header_nav_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  font-weight: bold;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.global_header_nav_link:hover {
  opacity: 0.82;
}

@media (max-width: 1200px) {
  .global_header_nav--pc .global_header_nav_link {
    justify-content: flex-start;
    line-height: 1.5;
  }
}

.global_header_nav_list {
  display: flex;
  gap: .25rem 1rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 1200px) {
  .global_header_nav--pc .global_header_nav_list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 425px) {
  .global_header_nav_list:not(.global_header_nav_list--sp) {
    gap: 0.5rem 1rem;
  }
}

.global_header_nav_list.primary {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color_blue);
}

@media (max-width: 1200px) {
  .global_header_nav_list.primary {
    font-size: 1rem;
  }
}

.global_header_nav_list.secondary {
  font-size: 0.875rem;
  font-weight: 500;
  color: #00a0e9;
  grid-column: 1 / 2;
  grid-row: 2/3;
}

@media (max-width: 1200px) {
  .global_header_nav_list.secondary {
    font-size: 0.95rem;
  }
}

.global_header_nav_link.entry {
  width: auto;
  min-width: 10rem;
  height: stretch;
  font-weight: 700;
  color: var(--color_white);
  background: var(--color_red);
  transition: filter 0.2s;
  font-size: 1rem;
}

.global_header_nav_link.entry:hover {
  opacity: 1;
  filter: brightness(1.06);
}

.global_header_entry_pc {
  display: inline-flex;
}

@media (max-width: 1200px) {
  .global_header_nav--pc {
    display: none !important;
  }

  .global_header_entry_pc {
    display: none !important;
  }
}

.global_header_nav_link.entry::after {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.35em;
  margin-bottom: 0.05em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.global_header_nav_list > li:has(.entry) {
  grid-column: 1 / 3;
  justify-self: stretch;
  align-self: stretch;
  display: flex;
}

.global_header_nav_list > li:has(.entry) .global_header_nav_link.entry {
  flex: 1;
}

.global_header_nav_list > li:nth-child(10) .global_header_nav_link,
.global_header_nav_list > li:nth-child(11) .global_header_nav_link {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
}

/* ----- グローバルナビ（スマホ用・ハンバーガー内） ----- */
.global_header_nav_list--sp {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.global_header_nav_list--sp .global_header_nav_link {
  display: flex;
  width: 100%;
  padding: 0.5rem 0;
  justify-content: flex-start;
  white-space: normal;
  font-size: var(--fs-16-18);
  color: var(--color_blue);
}

.global_header_nav_details {
  padding: 0;
}

.global_header_nav_details_summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: var(--fs-16-18);
  font-weight: bold;
  color: var(--color_blue);
}

.global_header_nav_details_summary::-webkit-details-marker {
  display: none;
}

.global_header_nav_details_summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  border-right: 2px solid var(--color_blue);
  border-bottom: 2px solid var(--color_blue);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.global_header_nav_details[open] .global_header_nav_details_summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.global_header_nav_sublist {
  margin: 0;
  padding: 0 0 0.75rem 1rem;
  list-style: none;
}

.global_header_nav_sublist li {
  margin: 0;
}

.global_header_nav_sublink {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.9375rem;
  font-weight: var(--font_medium);
  color: #0066b4;
}

.global_header_nav_sublink::before {
  content: "・";
}

.global_header_nav_link--btn_entry_sp {
  margin-top: 0.35rem;
  padding: 0.95rem 1rem !important;
  justify-content: center !important;
  border-radius: 8px;
  font-weight: var(--font_bold);
  color: var(--color_white) !important;
  background: var(--color_red);
}

.global_header_nav_link--btn_entry_sp:hover {
  opacity: 1;
  filter: brightness(1.06);
}

.global_header_nav_link--btn_contact_sp {
  margin-top: 0.35rem;
  padding: 0.95rem 1rem !important;
  justify-content: center !important;
  border-radius: 8px;
  font-weight: var(--font_bold);
  color: #333 !important;
  background: var(--color_yellow-deep);
}

.global_header_nav_link--btn_contact_sp:hover {
  opacity: 1;
  filter: brightness(1.03);
}

@media (max-width: 425px) {

  .global_header_nav_link--btn_entry_sp,
  .global_header_nav_link--btn_contact_sp {
    min-height: 3.25rem;
    font-size: 1.05rem;
  }
}

/* リクルート 高校生向け注意 共通 */
.notice {
  position: relative;
  padding: 3rem 0 18rem;
  z-index: 1;
  background-image: linear-gradient(135deg, #EBFBFF 25%, transparent 25%, transparent 50%, #EBFBFF 50%, #EBFBFF 75%, transparent 75%, transparent);
  background-size: 100px 100px;
  background-color: #ffffff;
}

@media (max-width: 425px) {
  .notice {
    padding: 3rem 0 12rem;
  }
}

.notice.section_curving::before {
  background-image: linear-gradient(135deg, #EBFBFF 23%, transparent 22%, transparent 48%, #EBFBFF 44%, #EBFBFF 73%, transparent 73%, transparent);
  background-size: 100px 100px;
  background-color: #ffffff;
}

.notice_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--pad-inner-pc);
}

@media (max-width: 768px) {
  .notice_inner {
    padding: var(--pad-inner-sp);
  }
}

.notice_box {
  position: relative;
  width: 100%;
  max-width: 56rem;
  background-color: var(--color_blue-pale);
  border: 3px solid #555555;
  border-radius: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.notice_box_inner {
  position: relative;
  padding: 3.5rem 2rem;
}

.notice_box::before,
.notice_box::after,
.notice_box_inner::before,
.notice_box_inner::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color_yellow-deep);
  border: 3px solid #555555;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.notice_box::before {
  top: 14px;
  left: 14px;
}

.notice_box::after {
  top: 14px;
  right: 14px;
}

.notice_box_inner::before {
  bottom: 14px;
  left: 14px;
}

.notice_box_inner::after {
  bottom: 14px;
  right: 14px;
}

.notice_text {
  font-size: var(--fs-20-28);
  text-align: center;
  font-weight: var(--font_medium);
  word-break: auto-phrase;
}

@media (max-width: 768px) {
  .notice_text {
    text-align: left;

    & > br:first-of-type {
      display: none;
    }
  }
}

.notice_emphasis {
  text-align: center;
  font-size: var(--fs-28-40);
  color: var(--color_blue);
  font-weight: var(--font_bold);
  margin-top: 6rem;
}

/* ----- リクルート共通フッター ----- */
.global_footer {
  position: relative;
  z-index: 1;
}

.global_footer_illust_figure {
  width: min(384px, 50vw);
  position: absolute;
  z-index: 1;
  top: 0;
  transform: translateY(-100%);
}

.global_footer_illust_figure.left {
  left: 0;
}

.global_footer_illust_figure.right {
  right: 0;
}

.global_footer_inner {
  color: var(--color_white);
  background-color: var(--color_navy);
  width: 100%;
  margin: 0 auto;
  clip-path: ellipse(150% 100% at 50% 100%);
  -webkit-clip-path: ellipse(150% 100% at 50% 100%);
  padding: 6rem 2rem 1.5rem;
  position: relative;
}

@media (max-width: 425px) {
  .global_footer_inner {
    padding: 2rem 2rem;
  }
}

.global_footer.section_curving .global_footer_inner {
  clip-path: none;
  -webkit-clip-path: none;
}

.global_footer.section_curving::before {
  background-color: var(--color_navy);
}

.global_footer_header {
  display: block;
}

.global_footer_nav {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1200px) {
  .global_footer_nav {
    flex-wrap: nowrap;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .global_footer_nav {
    flex-direction: column;
    gap: 1rem;
  }
}

.global_footer_nav_column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .global_footer_nav_column {
    gap: 1rem;
  }
}

.global_footer_heading {
  font-size: 0.875rem;
}

.global_footer_nav_item {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.global_footer_sub {
  font-size: 0.875rem;
  margin-top: 5rem;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1200px) {
  .global_footer_sub {
    margin-top: 5rem;
    flex-wrap: nowrap;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .global_footer_sub {
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.global_footer_logo_image {
  padding: .5rem .75rem .5rem .5rem;
  background-color: var(--color_white);
  border-radius: .25rem;
}

.global_footer_sub_list {
  display: flex;
  gap: 1.5rem;
}

.global_footer_copyright {
  margin: 0;
  font-size: 0.7rem;
  opacity: 0.65;
}