@charset "UTF-8";
/* New Graduates Page Styles - 新卒採用TOPページ */
/* ====================================
   Variables - 変数
   ==================================== */
:root {
  --newgrads-color-primary-blue: #165ea3;
  --newgrads-color-light-blue: #4a9fff;
  --newgrads-color-sky-blue: #e8f4fc;
  --newgrads-color-dark-blue: #003d7a;
  --newgrads-color-text-dark: #333;
  --newgrads-color-text-gray: #666;
  --newgrads-color-bg-light: #f8f9fa;
  --newgrads-color-bg-wave: #e6f3fa;
}

/* ====================================
リボン
   ==================================== */
.newgrads-ribbons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  filter: blur(5px);
}
.newgrads-ribbons .newgrads-ribbons__ribbon__01 {
  position: absolute;
  display: block;
  width: 100vw;
  height: auto;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.5;
  animation: newgrads-ribbons-animation 10s linear infinite;
}

.newgrads-ribbons02 {
  position: absolute;
  top: calc(100vh + 200px);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.newgrads-ribbons02 .newgrads-ribbons__ribbon__02 {
  position: absolute;
  width: 100vw;
  height: auto;
  top: 0;
  left: 0;
  aspect-ratio: 1601/2076;
  object-fit: contain;
  object-position: center;
}

/* ====================================
   Hero Section - ヒーローセクション
   ==================================== */
.newgrads-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: var(--header-height);
  padding-top: 60px;
  aspect-ratio: 1280/720;
  max-height: 765px;
}

/* 背景スライダー（フェード） */
.newgrads-hero__bg-swiper {
  position: absolute;
  inset: 0;
  z-index: 1;
  max-width: 1280px;
}
.newgrads-hero__bg-swiper .swiper-slide {
  opacity: 0 !important;
  transition: opacity 1s ease;
}
.newgrads-hero__bg-swiper .swiper-slide-active {
  opacity: 1 !important;
}

.newgrads-hero__background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 人物スライダー */
.newgrads-hero__person-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 7 !important;
}

.newgrads-hero__person-swiper {
  height: auto;
}
.newgrads-hero__person-swiper .swiper-wrapper {
  align-items: flex-end;
}
.newgrads-hero__person-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.newgrads-hero__person-swiper .swiper-slide.swiper-slide-active {
  opacity: 1;
}

.newgrads-hero__person-image {
  width: clamp(300px, 45vw, 680px);
  max-height: 765px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  margin-right: 50%;
}

/* リボンスライダー（人物スライダーと連動） */
.newgrads-hero__ribbon-swiper {
  position: absolute !important;
  top: 72%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  z-index: 6 !important;
  pointer-events: none;
  overflow: visible;
}
.newgrads-hero__ribbon-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.newgrads-hero__ribbon-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.newgrads-hero__ribbon-image {
  display: block;
  width: 100vw;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* コピー画像 */
.newgrads-hero__copy {
  pointer-events: none;
}

.newgrads-hero__copy-svg {
  position: absolute;
  top: 5%;
  left: 5%;
  display: block;
  width: 90%;
  max-width: 1280px;
  height: auto;
  margin: 0 auto 20px;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 5 !important;
}

.newgrads-hero__copy-text {
  position: absolute;
  right: 15%;
  bottom: 20%;
  display: block;
  width: 85%;
  max-width: 650px;
  height: auto;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.8s ease 0.2s;
  z-index: 10;
}

.newgrads-hero__copy.is-visible .newgrads-hero__copy-svg,
.newgrads-hero__copy.is-visible .newgrads-hero__copy-text {
  opacity: 1;
}

.newgrads-hero__title {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  text-align: center;
}

.newgrads-hero__title-handwritten {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--newgrads-color-text-dark);
  letter-spacing: 0.1em;
}

.newgrads-hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 24px;
  height: 40px;
  border: 2px solid var(--newgrads-color-primary-blue);
  border-radius: 12px;
}
.newgrads-hero__scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--newgrads-color-primary-blue);
  border-radius: 2px;
  animation: scroll-indicator 1.5s ease-in-out infinite;
}

@keyframes scroll-indicator {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}
/* ====================================
   Lead Section - リードセクション
   ==================================== */
.newgrads-lead {
  position: relative;
  z-index: 2;
  padding: 120px 20px 200px;
  background-image: url("../images/newgrads/line_art_illustration_01.jpg");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 60%;
  mix-blend-mode: multiply;
}

.newgrads-lead__container {
  max-width: 1200px;
  margin: 0 auto;
}

.newgrads-lead__title {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--newgrads-color-text-dark);
  line-height: 1.6;
  margin-bottom: 50px;
}
.newgrads-lead__title span {
  display: block;
}

.newgrads-lead__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 2.2;
  color: var(--newgrads-color-text-dark);
}
.newgrads-lead__text p {
  margin-bottom: 24px;
}
.newgrads-lead__text p:last-child {
  margin-bottom: 0;
}

.newgrads-lead__emphasis {
  font-weight: 500;
  margin-top: 30px;
}

/* ====================================
   Vision Section - ビジョンセクション
   ==================================== */
.newgrads-vision {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.newgrads-vision__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.newgrads-vision__card {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 60px 60px 0;
  min-height: 600px;
}
.newgrads-vision__card:hover .newgrads-vision__image {
  transform: scale(1.03);
}

.newgrads-vision__card:nth-child(2) {
  margin-top: 100px;
}
@media screen and (max-width: 640px) {
  .newgrads-vision__card:nth-child(2) {
    margin-top: 0;
  }
}

.newgrads-vision__title {
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 42px;
  font-weight: 500;
  color: var(--newgrads-color-text-dark);
  line-height: 1.5;
  margin-bottom: -30px;
  margin-left: -30px;
  z-index: 1;
}
.newgrads-vision__title span {
  display: block;
}

.newgrads-vision__image-wrapper {
  position: relative;
  overflow: hidden;
}

.newgrads-vision__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.newgrads-vision__button {
  position: absolute;
  top: 400px;
  left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 40px;
  width: 280px;
  background-color: rgb(0, 0, 0);
  color: var(--color-white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.newgrads-vision__button:hover {
  background-color: var(--newgrads-color-primary-blue);
  color: var(--color-white);
}
.newgrads-vision__button:active {
  color: var(--color-white);
}

/* ====================================
   INSIDE CN Section
   ==================================== */
.newgrads-inside-cn {
  padding: 100px 200px 100px;
  text-align: center;
}

.newgrads-inside-cn__title {
  text-align: center;
  position: relative;
  margin-bottom: 1rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 55px;
}
@media screen and (max-width: 640px) {
  .newgrads-inside-cn__title {
    font-size: 6vw;
  }
}
.newgrads-inside-cn__title img {
  display: block;
  margin: 0 auto;
}

.newgrads-inside-cn__subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--newgrads-color-text-dark);
  line-height: 1.8;
  margin: 0;
  text-align: center;
}

/* ====================================
   3 Column Cards Section - 3カラムカード
   ==================================== */
.newgrads-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background-color: #fff;
  margin-bottom: 100px;
}

.newgrads-card {
  display: flex;
  flex-direction: column;
  background: white;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.newgrads-card:hover {
  opacity: 0.85;
}

.newgrads-card__thumbnail {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}
.newgrads-card__thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.newgrads-card__thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.newgrads-card:hover .newgrads-card__thumbnail-image {
  transform: scale(1.05);
}

.newgrads-card__title-area {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 0 80px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.newgrads-card__title-svg {
  height: 80px;
  width: 100%;
  object-fit: contain;
  display: block;
  max-width: none;
}

.newgrads-card__content {
  padding: 25px 30px 35px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.newgrads-card__description {
  display: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin: 0 0 25px 0;
  text-align: left;
}

.newgrads-card__arrow {
  margin-top: auto;
  text-align: center;
}
.newgrads-card__arrow svg {
  width: 39px;
  height: 14px;
}

/* ====================================
   Workstyle Section - はたらき方を知る (Legacy - kept for reference)
   ==================================== */
.newgrads-workstyle {
  padding: 100px 20px;
  background: linear-gradient(180deg, var(--newgrads-color-sky-blue) 0%, var(--color-white) 100%);
}

.newgrads-workstyle__container {
  max-width: 1200px;
  margin: 0 auto;
}

.newgrads-workstyle__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--newgrads-color-text-dark);
  text-align: center;
  margin-bottom: 20px;
}

.newgrads-workstyle__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: var(--newgrads-color-text-gray);
  text-align: center;
  margin-bottom: 60px;
}

.newgrads-workstyle__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.newgrads-workstyle__card {
  background: var(--color-white);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.newgrads-workstyle__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.newgrads-workstyle__card-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.newgrads-workstyle__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.newgrads-workstyle__card:hover .newgrads-workstyle__card-image img {
  transform: scale(1.05);
}

.newgrads-workstyle__card-content {
  padding: 24px;
}

.newgrads-workstyle__card-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--newgrads-color-primary-blue);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.newgrads-workstyle__card-subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: var(--newgrads-color-text-gray);
  margin-bottom: 16px;
}

.newgrads-workstyle__card-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: var(--newgrads-color-text-dark);
  margin: 0;
}

/* ====================================
   Talk Contents Section - トークコンテンツ
   ==================================== */
.newgrads-talk-contents {
  position: relative;
  padding: 0 0 100px;
  overflow: hidden;
}

.newgrads-talk-contents__clip-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.newgrads-talk-contents__background {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: url(#talk-bg-clip-desktop);
}

.newgrads-talk-contents__background-image {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center top;
  transform: translateY(0);
  will-change: transform;
}

.newgrads-talk-contents__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.newgrads-talk-contents__wave--mobile {
  display: none;
}

.newgrads-talk-contents__header {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 180px 40px 80px;
}

.newgrads-talk-contents__title {
  margin: 0 0 20px;
}

.newgrads-talk-contents__title-svg {
  max-width: 590px;
  height: auto;
  margin-inline: auto;
}

.newgrads-talk-contents__subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-white);
  margin: 0;
}

.newgrads-talk-contents__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.newgrads-talk-contents__card {
  display: flex;
  flex-direction: column;
  background: white;
  cursor: pointer;
}
.newgrads-talk-contents__card:hover .newgrads-talk-contents__card-image img {
  transform: scale(1.05);
}

.newgrads-talk-contents__card-image {
  width: 100%;
  aspect-ratio: 120/56;
  overflow: hidden;
}
.newgrads-talk-contents__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.newgrads-talk-contents__card-content {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 10%, rgb(255, 255, 255) 100%);
  padding: 30px 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -5em;
  position: relative;
  z-index: 2;
}

.newgrads-talk-contents__card-title {
  height: 48px;
  width: 100%;
  object-fit: contain;
  display: block;
  max-width: none;
  margin-bottom: 15px;
}

.newgrads-talk-contents__card-subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  margin: 0 0 20px;
}

.newgrads-talk-contents__card-arrow svg {
  width: 39px;
  height: 14px;
}

section.newgrads-talk-contents {
  margin-bottom: 120px;
}

/* ====================================
   Recruit CTA Section - 新卒募集要項
   ==================================== */
.newgrads-recruit-cta {
  position: relative;
  z-index: 0;
  padding: 80px 20px;
}

.newgrads-recruit-cta__container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto 50px;
  text-align: center;
}

.newgrads-recruit-cta__button {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 24px 40px;
  border: 1px solid #333;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.newgrads-recruit-cta__button:hover {
  background-color: var(--newgrads-color-primary-blue);
  color: var(--color-white);
}

.newgrads-wave-bg-container {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 361px;
  z-index: 1;
}

.newgrads-recruit-cta__arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.newgrads-recruit-cta__button:hover .newgrads-recruit-cta__arrow {
  transform: translateX(4px);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1024px) {
  .newgrads-vision__container {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .newgrads-vision__card {
    padding: 40px 40px 0;
    min-height: 500px;
  }
  .newgrads-vision__title {
    font-size: 32px;
  }
  .newgrads-workstyle__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .newgrads-inside-cn {
    padding: 80px 40px;
  }
  .newgrads-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .newgrads-hero {
    aspect-ratio: auto;
    height: auto;
    min-height: 100vw;
  }
  /* 背景スライダー：正方形100vw x 100vw、左右トリミング */
  .newgrads-hero__bg-swiper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vw;
    max-width: none;
    overflow: hidden;
  }
  .newgrads-hero__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  /* 人物サイズ：vwベース可変、少し上にはみ出す（120%拡大） */
  .newgrads-hero__person-image {
    width: clamp(288px, 84vw, 600px);
    max-height: 120%;
    margin-right: 0;
  }
  .newgrads-hero__person-container {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
  }
  .newgrads-hero__person-swiper {
    width: 100%;
  }
  .newgrads-hero__person-swiper .swiper-slide {
    justify-content: center;
  }
  .newgrads-hero__copy-svg {
    max-width: 90%;
  }
  .newgrads-hero__copy-text {
    max-width: 80%;
  }
  .newgrads-hero__title {
    bottom: 100px;
  }
  .newgrads-hero__title-handwritten {
    font-size: 20px;
  }
  .newgrads-lead {
    padding: 80px 20px;
  }
  .newgrads-lead__title {
    font-size: 26px;
  }
  .newgrads-lead__text {
    font-size: 14px;
    text-align: left;
  }
  .newgrads-vision__card {
    padding: 30px 20px 0;
    min-height: 400px;
  }
  .newgrads-vision__title {
    font-size: 5vw;
    margin-bottom: 1em;
    margin-left: 0;
  }
  .newgrads-vision__button {
    top: auto;
    bottom: 2.5em;
    padding: 0.75em 1em;
    font-size: 3vw;
  }
  .newgrads-workstyle {
    padding: 80px 20px;
  }
  .newgrads-workstyle__title {
    font-size: 26px;
  }
  .newgrads-workstyle__cards {
    grid-template-columns: 1fr;
  }
  .newgrads-inside-cn {
    padding: 60px 20px;
  }
  .newgrads-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }
  .newgrads-card__thumbnail {
    height: auto;
  }
  .newgrads-card__title-area {
    padding: 0 0 40px;
  }
  .newgrads-card__title-svg {
    height: 60px;
  }
  .newgrads-card__content {
    padding: 20px;
  }
  .newgrads-talk-contents {
    padding: 0 20px 60px;
  }
  .newgrads-talk-contents__background {
    clip-path: url(#talk-bg-clip-mobile);
  }
  .newgrads-talk-contents__wave--desktop {
    display: none;
  }
  .newgrads-talk-contents__wave--mobile {
    display: block;
  }
  .newgrads-talk-contents__header {
    padding: 120px 20px 60px;
  }
  .newgrads-talk-contents__title-svg {
    max-width: 80%;
  }
  .newgrads-talk-contents__cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 500px;
  }
  .newgrads-talk-contents__card-content {
    padding: 30px 40px 20px;
    margin-top: -5em;
  }
  .newgrads-recruit-cta {
    padding: 60px 20px;
  }
  .newgrads-recruit-cta__button {
    font-size: 16px;
    padding: 20px 30px;
  }
}