.u-new-graduate-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(0 0 99.9% 99.9%);
  white-space: nowrap;
  border: 0;
}

.u-new-graduate-heading-level2 {
  font-size: 3rem;
  align-items: center;
  color: var(--COLOR_BRAND_SECONDARY);
  display: flex;
  font-family: var(--FONT_FAMILY_HEADING_EN);
  font-weight: var(--FONT_WEIGHT_LIGHT);
  gap: 0 8px;
  letter-spacing: -2.4px;
  line-height: 1.25;
  position: relative;
  text-transform: uppercase;
  word-break: break-all;
}
.u-new-graduate-heading-level2::before {
  background: var(--COLOR_BRAND_PRIMARY);
  content: "";
  flex-shrink: 0;
  height: 2px;
  margin-right: 8px;
  width: 50px;
}
.u-new-graduate-heading-level2::after {
  aspect-ratio: 1/1;
  background-color: var(--COLOR_BRAND_PRIMARY);
  border-radius: 50%;
  content: "";
  height: 16px;
  left: 50px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
}
.u-new-graduate-heading-level2--white {
  color: var(--COLOR_BASE_LIGHT);
}
.u-new-graduate-heading-level2--white::before {
  background: var(--COLOR_BASE_LIGHT);
  height: 2px;
}
.u-new-graduate-heading-level2--white::after {
  background-color: var(--COLOR_BASE_LIGHT);
}

.u-new-graduate-training .u-new-graduate-heading-level2,
.u-new-graduate-layout .u-new-graduate-heading-level2 {
  font-size: 2.5rem;
}

/* PC Viewport */
.u-new-graduate-main-visual__inner {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: min-content auto auto;
  position: relative;
}

.u-new-graduate-main-visual__content {
  grid-column: 1/-1;
  grid-row: 1/2;
  padding: 40px 16px 32px;
  z-index: var(--Z_INDEX_FOREGROUND);
}

.u-new-graduate-main-visual__title {
  font-size: 1.125rem;
  color: var(--COLOR_BASE_LIGHT);
}

.u-new-graduate-main-visual__catchphrase {
  color: var(--COLOR_BASE_LIGHT);
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}

.u-new-graduate-main-visual__catchphrase-sub {
  font-size: 1.5rem;
  font-family: var(--FONT_FAMILY_HEADING_EN);
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin-top: 8px;
}

.u-new-graduate-main-visual__catchphrase-text {
  font-family: var(--FONT_FAMILY_HEADING_JA);
  line-height: 1.4;
}

.u-new-graduate-main-visual__background {
  background: linear-gradient(to top right, var(--COLOR_BRAND_SECONDARY) 50%, #ff9a5b 100%);
  border-radius: 20px;
  grid-column: 1/-1;
  grid-row: 1/3;
  height: 100%;
  object-fit: contain;
  object-position: right;
  position: absolute;
  width: 100%;
  z-index: var(--Z_INDEX_BACKGROUND);
}

.u-new-graduate-main-visual__picture {
  grid-column: 2/-1;
  grid-row: 2/-1;
}

.u-new-graduate-main-visual__image {
  border-radius: 20px 0 0 20px;
  height: 100%;
  width: 100%;
}

/* PC Viewport */
.u-new-graduate-message {
  margin-top: 48px;
}

.u-new-graduate-message__inner {
  padding: 0 16px;
}

.u-new-graduate-message__heading {
  font-size: 3rem;
  color: var(--COLOR_BRAND_SECONDARY);
  font-family: var(--FONT_FAMILY_HEADING_EN);
  font-weight: var(--FONT_WEIGHT_LIGHT);
  letter-spacing: -2.4px;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.u-new-graduate-message__message--pc {
  display: none;
}

.u-new-graduate-message__message {
  font-size: 1rem;
  margin-top: 40px;
}
.u-new-graduate-message__message--sp + .u-new-graduate-message__message--sp {
  margin-top: 16px;
}

.u-new-graduate-message__tagline {
  font-size: 2rem;
  font-family: var(--FONT_FAMILY_HEADING_JA);
  font-weight: var(--FONT_WEIGHT_BOLD);
  margin: 28px auto 0;
  text-align: center;
  width: fit-content;
}

.u-new-graduate-message__tagline-accent {
  color: var(--COLOR_BRAND_SECONDARY);
  position: relative;
}
.u-new-graduate-message__tagline-accent::before {
  aspect-ratio: 1/1;
  background-color: #ff9a5b;
  content: "";
  display: block;
  left: -30px;
  position: absolute;
  top: 0;
  width: 20px;
}

.u-new-graduate-message__tagline-mark {
  background-color: var(--COLOR_BRAND_SECONDARY);
  color: var(--COLOR_BASE_LIGHT);
  letter-spacing: 2.5px;
  padding: 2px 0 5px 8px;
  position: relative;
}
.u-new-graduate-message__tagline-mark::before {
  background-color: #fee6e6;
  right: -34px;
  top: -28px;
  width: 40px;
}
.u-new-graduate-message__tagline-mark::before,.u-new-graduate-message__tagline-mark::after {
  aspect-ratio: 1/1;
  content: "";
  display: block;
  position: absolute;
  z-index: var(--Z_INDEX_BACKGROUND);
}
.u-new-graduate-message__tagline-mark::after {
  background: linear-gradient(to right, #ff9a5b 10%, var(--COLOR_BRAND_PRIMARY) 100%);
  right: -40px;
  top: -40px;
  width: 20px;
}

.u-new-graduate-message__gallery {
  margin-top: 48px;
  position: relative;
}
.u-new-graduate-message__gallery::before {
  background-color: #ff9a5b;
  bottom: 0;
  left: 10px;
  width: 40px;
}
.u-new-graduate-message__gallery::before,.u-new-graduate-message__gallery::after {
  aspect-ratio: 1/1;
  content: "";
  display: block;
  position: absolute;
  z-index: var(--Z_INDEX_FOREGROUND);
}
.u-new-graduate-message__gallery::after {
  background-color: var(--COLOR_BRAND_PRIMARY);
  bottom: 28px;
  left: 40px;
  width: 20px;
}

.u-new-graduate-message__gallery-outer {
  position: relative;
}
.u-new-graduate-message__gallery-outer::before {
  background-color: #ff9a5b;
  bottom: 70px;
  right: 80px;
  width: 15px;
}
.u-new-graduate-message__gallery-outer::before,.u-new-graduate-message__gallery-outer::after {
  aspect-ratio: 1/1;
  content: "";
  display: block;
  position: absolute;
  z-index: var(--Z_INDEX_FOREGROUND);
}
.u-new-graduate-message__gallery-outer::after {
  background: #fbb3b3;
  bottom: 100px;
  right: 20px;
  width: 10px;
}

.u-new-graduate-message__gallery-inner {
  height: 90vw;
  position: relative;
}
.u-new-graduate-message__gallery-inner::before {
  background-color: #fccccc;
  bottom: 10px;
  left: 80px;
  width: 10px;
}
.u-new-graduate-message__gallery-inner::before,.u-new-graduate-message__gallery-inner::after {
  aspect-ratio: 1/1;
  content: "";
  display: block;
  position: absolute;
  z-index: var(--Z_INDEX_FOREGROUND);
}
.u-new-graduate-message__gallery-inner::after {
  background: linear-gradient(to right, #ff9a5b 10%, var(--COLOR_BRAND_PRIMARY) 100%);
  bottom: 30px;
  right: 40px;
  width: 30px;
}

.u-new-graduate-message__gallery-image {
  box-shadow: 10px 10px 60px 0 rgba(240, 0, 0, 0.1);
  position: absolute;
}
.u-new-graduate-message__gallery-image:nth-child(1) {
  left: 10%;
  top: 0;
  width: 30%;
}
.u-new-graduate-message__gallery-image:nth-child(2) {
  right: 10%;
  top: 12%;
  width: 42%;
}
.u-new-graduate-message__gallery-image:nth-child(3) {
  bottom: 28%;
  left: 10%;
  width: 44%;
}

.u-new-graduate-message__gallery-svg {
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: var(--Z_INDEX_BACKGROUND);
}

.u-new-graduate-message__gallery-svg-pc {
  display: none;
}

/* PC Viewport */
.u-new-graduate-about {
  background-color: var(--COLOR_BACKGROUND_CONTENT);
  margin-top: 80px;
  padding: 80px 16px 0;
  position: relative;
  z-index: 0;
}
.u-new-graduate-about::before {
  background-image: url("/assets/img/recruit/newgraduate/index-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 75%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: var(--Z_INDEX_BACKGROUND);
}

.u-new-graduate-about__inner {
  background-color: var(--COLOR_BASE_LIGHT);
  border-radius: 20px;
  padding: 40px 16px;
}

.u-new-graduate-about__panel {
  margin-top: 32px;
}

.u-new-graduate-about__panel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.u-new-graduate-about__panel-link {
  font-size: 1.25rem;
  --panel-link-icon-size: 40px;
  --panel-link-icon-arrow: 16px;
  --icon-position-right: 16px;
  --icon-position-bottom: 16px;
  border-radius: 20px;
  color: var(--COLOR_BASE_LIGHT);
  display: block;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.u-new-graduate-about__panel-link::before, .u-new-graduate-about__panel-link::after {
  aspect-ratio: 1/1;
  content: "";
  position: absolute;
  transition: background-color var(--TRANSITION);
}
.u-new-graduate-about__panel-link::before {
  background-color: var(--COLOR_BASE_LIGHT);
  border-radius: 50%;
  bottom: var(--icon-position-bottom);
  right: var(--icon-position-right);
  width: var(--panel-link-icon-size);
  z-index: var(--Z_INDEX_FOREGROUND);
}
.u-new-graduate-about__panel-link::after {
  background-color: var(--COLOR_BRAND_PRIMARY);
  bottom: calc(var(--icon-position-bottom) + (var(--panel-link-icon-size) - var(--panel-link-icon-arrow)) / 2);
  mask-image: url("/assets/img/common/icon-arrow.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  right: calc(var(--icon-position-right) + (var(--panel-link-icon-size) - var(--panel-link-icon-arrow)) / 2);
  transform: rotate(90deg);
  width: var(--panel-link-icon-arrow);
  z-index: calc(var(--Z_INDEX_FOREGROUND) + 1);
}

.u-new-graduate-about__panel-link > picture {
  border-radius: 20px;
  display: block;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.u-new-graduate-about__panel-link > picture::after {
  background-color: rgba(5, 6, 71, 0.3);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.u-new-graduate-about__panel-link-text {
  align-items: center;
  bottom: var(--icon-position-bottom);
  display: flex;
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
  min-height: var(--panel-link-icon-size);
  padding-left: 16px;
  position: absolute;
  right: calc(var(--icon-position-right) + var(--panel-link-icon-size) + 16px);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  z-index: var(--Z_INDEX_FOREGROUND);
}

.u-new-graduate-about__panel-image {
  aspect-ratio: 3/2;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  position: relative;
  transition: transform var(--TRANSITION);
  width: 100%;
  z-index: 0;
}

/* PC Viewport */
.u-new-graduate-job {
  background-color: var(--COLOR_BACKGROUND_CONTENT);
  padding: 80px 16px;
}

.u-new-graduate-job__outer {
  margin: 0 auto;
  max-width: 1280px;
}

.u-new-graduate-job__description {
  font-size: 1.125rem;
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
  margin-top: 32px;
}

.u-new-graduate-job__image {
  margin-top: 32px;
  width: 100%;
}

/* PC Viewport */
.u-new-graduate-person {
  background-color: var(--COLOR_BACKGROUND_CONTENT);
  padding: 40px 16px 0;
  position: relative;
  z-index: 0;
}
.u-new-graduate-person::before {
  background: linear-gradient(to top right, var(--COLOR_BRAND_SECONDARY) 50%, #ff9a5b 100%);
  border-radius: 20px 20px 0 0;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: var(--Z_INDEX_BACKGROUND);
}
.u-new-graduate-person .m-button {
  border: 1px solid var(--COLOR_BRAND_SECONDARY);
  transition: background-color var(--TRANSITION), color var(--TRANSITION), border-color var(--TRANSITION);
}

.u-new-graduate-person__outer {
  margin: 0 auto;
  max-width: 1280px;
}

.u-new-graduate-person__description {
  font-size: 1.125rem;
  color: var(--COLOR_BASE_LIGHT);
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
  margin-top: 32px;
}

.u-new-graduate-person__image-wrapper {
  margin: 32px 0 0;
  position: relative;
}

.u-new-graduate-person__image {
  width: 100%;
}

.u-new-graduate-person__coming-soon {
  font-size: 2.5rem;
  align-items: center;
  color: var(--COLOR_BASE_GRAY);
  display: flex;
  font-family: var(--FONT_FAMILY_HEADING_EN);
  font-weight: var(--FONT_WEIGHT_LIGHT);
  inset: 0;
  justify-content: center;
  letter-spacing: 0.04em;
  line-height: 1.2;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  word-break: break-all;
}

/* PC Viewport */
.u-new-graduate-training {
  background-image: url("/assets/img/recruit/newgraduate/index-bg-2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 104px 16px 64px;
  position: relative;
  z-index: 0;
}
.u-new-graduate-training::before {
  background-color: var(--COLOR_BRAND_SECONDARY);
  border-radius: 0 0 20px 20px;
  content: "";
  height: 40px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: var(--Z_INDEX_BACKGROUND);
}

.u-new-graduate-training__outer {
  margin: 0 auto;
  max-width: 1280px;
}

.u-new-graduate-training__inner {
  background-color: var(--COLOR_BASE_LIGHT);
  border-radius: 20px;
  max-width: 720px;
  padding: 40px 16px;
  position: relative;
  z-index: var(--Z_INDEX_FOREGROUND);
}

.u-new-graduate-training__description {
  font-size: 1.125rem;
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
  margin-top: 32px;
}

/* PC Viewport */
.u-new-graduate-layout {
  background-color: var(--COLOR_BASE_LIGHT);
  padding: 64px 16px 0;
}

.u-new-graduate-layout__outer {
  margin: 0 auto;
  max-width: 1280px;
}

.u-new-graduate-layout__inner {
  gap: 64px;
}

.u-new-graduate-layout__inner,.u-new-graduate-layout__item {
  display: flex;
  flex-direction: column;
}

.u-new-graduate-layout__image {
  display: block;
  margin-top: 32px;
  width: 100%;
}

.u-new-graduate-layout__description {
  font-size: 1.125rem;
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
  margin-top: 32px;
}

/* PC Viewport */

@media (min-width: 768px) {
  .u-new-graduate-training .u-new-graduate-heading-level2,
  .u-new-graduate-layout .u-new-graduate-heading-level2 {
    font-size: 4rem;
  }
  .u-new-graduate-heading-level2 {
    font-size: 4rem;
    gap: 0 24px;
  }
  .u-new-graduate-heading-level2::before {
    height: 2px;
    width: 80px;
  }
  .u-new-graduate-heading-level2::after {
    left: 80px;
  }
  .u-new-graduate-main-visual__inner {
    grid-template-columns: 144px 1fr;
  }
  .u-new-graduate-main-visual__content {
    padding: 80px 80px 48px;
  }
  .u-new-graduate-main-visual__title {
    font-size: 2rem;
  }
  .u-new-graduate-main-visual__catchphrase-sub {
    font-size: clamp(1.75rem, 4.5vw, 3.75rem);
    letter-spacing: -3px;
  }
  .u-new-graduate-main-visual__catchphrase-text {
    font-size: clamp(1.375rem, 3vw, 2.5rem);
    font-weight: var(--FONT_WEIGHT_MEDIUM);
    line-height: var(--LINE_HEIGHT);
    margin-top: calc((1em - 1lh) / 2);
  }
  .u-new-graduate-main-visual__background {
    border-radius: 40px;
  }
  .u-new-graduate-main-visual__image {
    border-radius: 40px 0 0 40px;
  }
  .u-new-graduate-message {
    margin-top: 80px;
  }
  .u-new-graduate-message__inner {
    padding: 0 80px;
  }
  .u-new-graduate-message__heading {
    font-size: 4rem;
    letter-spacing: -3.2px;
  }
  .u-new-graduate-message__message {
    font-size: 1.5rem;
    line-height: 2.4;
    margin-top: 40px;
    text-align: center;
  }
  .u-new-graduate-message__message--pc {
    display: block;
  }
  .u-new-graduate-message__message--sp {
    display: none;
  }
  .u-new-graduate-message__tagline {
    font-size: 3rem;
    margin-top: 48px;
  }
  .u-new-graduate-message__tagline-accent::before {
    left: -40%;
    top: -10px;
    width: 40px;
  }
  .u-new-graduate-message__tagline-mark::before {
    right: -64px;
    top: -50px;
    width: 80px;
  }
  .u-new-graduate-message__tagline-mark::after {
    right: -84px;
    top: -72px;
    width: 40px;
  }
  .u-new-graduate-message__tagline-mark-tight-01 {
    margin-right: 0.1em;
  }
  .u-new-graduate-message__tagline-mark-tight-02 {
    margin-right: 0.15em;
  }
  .u-new-graduate-message__tagline-mark-tight-03 {
    margin-right: -0.05em;
  }
  .u-new-graduate-message__tagline-mark-tight-04 {
    margin-right: -0.16em;
  }
  .u-new-graduate-message__gallery {
    margin-top: 64px;
  }
  .u-new-graduate-message__gallery::before {
    left: 100px;
    width: 80px;
  }
  .u-new-graduate-message__gallery::after {
    bottom: 60px;
    left: 160px;
    width: 40px;
  }
  .u-new-graduate-message__gallery-outer::before {
    bottom: 150px;
    right: 22%;
    width: 30px;
  }
  .u-new-graduate-message__gallery-outer::after {
    bottom: 200px;
    right: 8%;
    width: 20px;
  }
  .u-new-graduate-message__gallery-inner {
    height: 50vw;
  }
  .u-new-graduate-message__gallery-inner::before {
    bottom: 160px;
    left: 20%;
    width: 30px;
  }
  .u-new-graduate-message__gallery-inner::after {
    bottom: 40px;
    right: 15%;
    width: 60px;
  }
  .u-new-graduate-message__gallery-svg {
    display: none;
  }
  .u-new-graduate-message__gallery-svg-pc {
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: var(--Z_INDEX_BACKGROUND);
    display: block;
  }
  .u-new-graduate-message__gallery-image:nth-child(1) {
    left: 80px;
    top: 5%;
    width: 26%;
    z-index: var(--Z_INDEX_OVERLAY);
  }
  .u-new-graduate-message__gallery-image:nth-child(2) {
    right: 10%;
    top: 0;
    width: 30%;
    z-index: var(--Z_INDEX_FOREGROUND);
  }
  .u-new-graduate-message__gallery-image:nth-child(3) {
    right: 50%;
    top: 30%;
    transform: translateX(50%);
    width: 38%;
    z-index: var(--Z_INDEX_STRUCTURE);
  }
  .u-new-graduate-about {
    padding: 120px 80px 0;
  }
  .u-new-graduate-about__inner {
    border-radius: 40px;
    margin: 0 auto;
    max-width: 1280px;
    padding: 80px 48px;
  }
  .u-new-graduate-about__panel {
    margin-top: 48px;
  }
  .u-new-graduate-job {
    padding: 120px 80px;
  }
  .u-new-graduate-job__inner {
    align-items: center;
    display: flex;
    gap: 0 56px;
  }
  .u-new-graduate-job__container {
    flex: 1 1 45%;
  }
  .u-new-graduate-job__image {
    flex: 1 1 55%;
    margin-top: 0;
    overflow: hidden;
  }
  .u-new-graduate-person {
    padding: 80px 80px 0;
  }
  .u-new-graduate-person::before {
    border-radius: 40px 40px 0 0;
  }
  .u-new-graduate-person__container {
    align-items: center;
    display: flex;
    gap: 0 40px;
  }
  .u-new-graduate-person__description {
    margin-top: 0;
  }
  .u-new-graduate-person__coming-soon {
    font-size: 4rem;
  }
  .u-new-graduate-training {
    padding: 144px 64px 64px;
  }
  .u-new-graduate-training::before {
    border-radius: 0 0 40px 40px;
    height: 80px;
  }
  .u-new-graduate-training__inner {
    border-radius: 40px;
    padding: 64px;
  }
  .u-new-graduate-layout {
    padding: 120px 80px 0;
  }
  .u-new-graduate-layout__inner {
    display: grid;
    gap: 0 72px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .u-new-graduate-layout__image {
    margin-top: 48px;
  }
}

@media (min-width: 1024px) {
  .u-new-graduate-about__panel-list {
    flex-direction: row;
    gap: 40px;
  }
  .u-new-graduate-about__panel-image {
    aspect-ratio: 3/4;
    height: 100%;
  }
}

@media (hover: hover) {
  .u-new-graduate-about__panel-link:hover::before, .u-new-graduate-about__panel-link:focus-visible::before {
    background-color: var(--COLOR_BRAND_PRIMARY);
  }
  .u-new-graduate-about__panel-link:hover::after, .u-new-graduate-about__panel-link:focus-visible::after {
    background-color: var(--COLOR_BASE_LIGHT);
  }
  .u-new-graduate-about__panel-link:hover .u-new-graduate-about__panel-image, .u-new-graduate-about__panel-link:focus-visible .u-new-graduate-about__panel-image {
    transform: scale(1.15);
  }
  .u-new-graduate-person .m-button:hover, .u-new-graduate-person .m-button:focus-visible {
    border: 1px solid var(--COLOR_BASE_LIGHT);
  }
}
