:root {
  color-scheme: light;
  --color-text-primary: #242533;
  --color-accent: #f47808;
  --color-border: #d8d8d8;
  --hiring-header-height-pc: 80px;
  --hiring-header-height-sp: 60px;
  --color-black-100: #111321;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Lato", sans-serif;
  color: var(--color-text-primary);
  background: #ffffff;
  line-height: 1.6;
  padding-top: var(--hiring-header-height-sp);

  @media (max-width: 768px) {
    padding-top: 42.4358px;
  }
}

@media (min-width: 769px) {
  body {
    padding-top: var(--hiring-header-height-pc);
  }
}

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

a:hover {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  overflow-x: hidden;
}

.orange_btn {
  background-color: #f47808;
	color: #ffffff;
  border: 1px solid #f47808;

  &:hover {
    background-color: #ffffff;
	  color: #f47808;
    transition: all 0.2s ease-out;
    opacity: 1;
  }
}

.white_btn {
  background-color: #ffffff;
	color: #f47806;
  border: 1px solid #ffffff;

  &:hover {
    background-color: #f47806;
	  color: #ffffff;
    transition: all 0.2s ease-out;
    opacity: 1;
  }
}

hgroup.heading-component {
  position: relative;
  padding-top: 120px;
  overflow: visible;
  width: 100%;

  @media (max-width: 768px) {
		width: 100%;
    overflow: hidden;
    padding-top: 50px;
	}

  @media (max-width: 472px) {
		overflow: initial;
	}

  .english {
    position: absolute;
    font-size: 120px;
    font-family: "futura-pt-bold", sans-serif;
    font-weight: bold;
    font-style: normal;
    line-height: 1.3;
    background: linear-gradient(268deg, rgba(154, 120, 10, 0.15) 1.68%, rgba(210, 180, 83, 0.15) 98.32%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: max-content;
    top: 20px;
    left: -100%;
    right: -100%;
    margin: auto;

    @media (max-width: 768px) {
      font-size: 64px;
      top: 6px;
    }
  }

  .heading {
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3em;
    text-align: center;
    
    &::after {
      content: '';
      display: block;
      background-color: #1a1a1a;
      width: 64px;
      height: 4px;
    }

    small {
      font-size: 20px;
    }

    &.application {
      color: #000000;
      font-size: 24px;
      line-height: 1.6em;

      &::after {
        content: '';
        display: block;
        background-color: #000000;
        width: 40px;
        height: 2px;
      }
    }
  }
}

.section-sub-title {
  font-size: 3.2rem;
  line-height: 1.6em;
  font-weight: bold;
  background: linear-gradient(90deg, #D43977 5.77%, #821742 94.23%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;

  @media (max-width: 768px) {
    /* font-size: 6.4vw; */
    font-size: 2.4rem;
  }

  .sp_only {
    display: none;

    @media (max-width: 768px) {
      display: block;
    }
  }

  .pc_only {
    @media (max-width: 768px) {
      display: none;
    }
  }
}

.section-description {
  font-size: 1.6rem;
  line-height: 1.6em;
  text-align: center;
  color: #1a1a1a;

  /* @media (max-width: 768px) {
    font-size: 4.26666667vw;
  } */

  .sp_only {
    display: none;
    
    @media (max-width: 768px) {
      display: block;
    }
  }

  .pc_only {
    @media (max-width: 768px) {
      display: none;
    }
  }
}

.inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;

  &.white {
    .english {
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.11) 100%);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .heading {
      color: #ffffff;

      &::after {
        background-color: #ffffff;
      }
    }

    .section-description {
      color: #ffffff;
    }
  }
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 40px;

  /* @media (max-width: 768px) {
    gap: 10.6666667vw;
  } */

  &.small {
    @media (max-width: 768px) {
      gap: 32px;
    }
  }
}