/*==========================================
トップページ
==========================================*/
.main__visual {
  position: relative;
  width: 100%;
  height: 990px;
  height: calc(100vh - 10rem);
  background: var(--mv-bg-pc, url("/wp-content/themes/imcgraduates/assets/img/key-visual.png")) no-repeat center/cover;
  overflow: hidden;
  background-color: #fff;
}
@media (max-width: 1366px) {
  .main__visual {
    height: calc(100vh - 7rem);
  }
}
@media (max-width: 768px) {
  .main__visual {
    position: relative;
    width: 100%;
    height: calc(100vh - 7rem);
    background-image: var(--mv-bg-sp, url("/wp-content/themes/imcgraduates/assets/img/key-visual4.png"));
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 0;

    max-height: 600px;
  }
}

/* ←上に重ねる画像（全要素の前に） */
.main__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mv-overlay-pc, url("/wp-content/themes/imcgraduates/assets/img/key-visual2.png")) no-repeat center/cover;
  z-index: 3;
  pointer-events: none;
}

/* スライダー用：2層でシームレス切り替え（重ね順: 背景 → beyondLine → オーバーレイ） */
.main__visual--layers::after {
  display: none;
}
.main__visual__layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--layer-bg-pc);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  transition: none;
}
.main__visual__layer--current {
  z-index: 1;
}
.main__visual__layer--next {
  z-index: 0;
  opacity: 0;
}
.beyondLine--mv {
  position: relative;
  z-index: 2;
}
.main__visual__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: var(--layer-ov-pc);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  transition: none;
}
.main__visual__overlay--current {
  z-index: 4;
}
.main__visual__overlay--next {
  z-index: 3;
  opacity: 0;
}
.main__visual--layers .main__messege {
  z-index: 5;
}
.main__visual--layers .main__buttonBox {
  z-index: 6;
}
@media (max-width: 768px) {
  .main__visual__layer {
    background-image: var(--layer-bg-sp);
  }
  .main__visual__overlay {
    background-image: var(--layer-ov-sp);
  }
}

.main__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 0;
  gap: clamp(0.5rem, 2vw, 2rem);
}

.main__title p {
  margin: 0;
}


.main__left,
.main__right {
  color: #fff;
  font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic Medium",
    "Meiryo",
    sans-serif;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.4;
  font-size: clamp(100px, 13vw, 190px);
  white-space: nowrap;
}

.main__left {
  text-align: left;
}

.main__right {
  text-align: right;
}

.main__center {
  font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic Medium",
    "Meiryo",
    sans-serif;
  font-weight: bold;
  display: inline-block;
  background: #dd1c16;
  color: #fff;
  border-radius: 0.6em;
  text-align: center;
  font-size: clamp(0.813rem, 0.358rem + 2.27vw, 2.063rem);
  white-space: nowrap;
  padding: 1.25rem;
}

.main__messege {
  position: absolute;
  top: 34%;
  left: 8%;
  z-index: 2;
  width: clamp(300px, 29vw, 55rem);
}

.main__messege-inner {
  display: block;
  /*overflow: hidden;*/
  overflow: visible;
}
@media (max-width: 1366px) {
  .main__messege {
    top: 30%;
  }
}
@media (max-width: 768px) {
  .main__messege {
    position: absolute;
    top: auto;
    bottom: 25rem;
    left: 2rem;
    z-index: 4;
    width: 60%;
    max-width: 50rem;
  }
}

.main__messege img,
.main__messege-inner svg {
  display: block;
  margin: 0;
  width: 100%;
  height: auto;
  transform: rotate(-6deg);
  transform-origin: center;
}

.beyondLine:not(.beyondLine--mv) {
  background-color: #fff;
}

/* ボタンをセクション下部に */
.main__buttonBox {
  position: absolute;
  bottom: 8%;
  left: 4%;
  padding: clamp(5px, 2.2vw, 20px);
  background: #fff;
  border-radius: clamp(12px, 2vw, 20px);
  display: flex;
  gap: clamp(8px, 2vw, 15px);
  justify-content: space-between;
  z-index: 2;
  font-size: clamp(16px, 1vw, 24px);
  width: min(95vw, 600px);
  z-index: 100;
}
@media (max-width: 768px) {
  .main__buttonBox {
    position: absolute;
    z-index: 4;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding-top: clamp(1.4rem,2vw,2rem);
    padding-right: clamp(1.2rem,2vw,2rem);
    padding-bottom: clamp(1.4rem,2vw,2rem);
    padding-left: clamp(1.8rem,1.4vw,2rem);
    border-radius: clamp(1rem, 1.4vw, 2rem);
    display: flex;
    justify-content: space-between;
    gap: clamp(8px, 2vw, 15px);
    font-size: clamp(16px, 1vw, 24px);
    width: calc(100% - 4rem);
  }
}

.main__button {
  display: block;
  color: #222;
  text-decoration: none;
  border-radius: 10px;
  text-align: left;
  padding: 1.25rem;
  font-weight: bold;
  line-height: 1.6;
  font-size: clamp(14px, 2.2vw, 16px);
}

.main__buttonTitle {
  display: inline-block;
  font-size: clamp(2.4rem, 2.2vw, 26px);
  margin-bottom: 1rem;
  font-weight: bold;
}
.main__buttonInfo {
  font-size: clamp(1.2rem, 1vw, 1.6rem);
  font-weight: normal;
}

.main__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 30px;
  color: #fff;
  text-decoration: none;
}

.main__arrow::after {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  margin: 8px;
  background: url("/wp-content/themes/imcgraduates/assets/img/header_IMC_arrow1.png") no-repeat center/contain;
}

@media (max-width: 768px) {
  .main__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--mv-overlay-sp, url("/wp-content/themes/imcgraduates/assets/img/key-visual5.png")) no-repeat center/cover;
    z-index: 2;
    pointer-events: none;
  }
  .main__title,
  .main__inner {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 2rem);
  }
}

/*section メインビジュアル ==========================================*/
#contents {
  width: 100%;
}

/*ニュース*/
#news {
  background: #fff;
  padding: 5rem 5rem 5rem;
}

.news-in {
  margin: auto;
}

.titEn {
  font-size: clamp(40px, 4vw, 60px);
  font-weight: bold;
  margin: 0;
}

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

.news__item {
  border-bottom: 1px solid #ddd;
}

.news__link {
  position: relative;
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: auto 1fr;
  grid-template-areas: "head text";
  align-items: center;
  gap: 0 clamp(0.5rem, 1vw, 2rem);
  text-decoration: none;
  color: inherit;
  padding-top: clamp(2rem, 2vw, 3rem);
  padding-bottom: clamp(2rem, 2vw, 3rem);
}


.news__link::after {
  content: "";
  position: absolute;
  inset-inline-end: clamp(0.25rem, 0.4vw, 1rem);
  inset-block-start: 50%;
  transform: translateY(-50%);
  inline-size: clamp(1rem, 0.8rem + 0.4vw, 1.25rem);
  block-size: clamp(1rem, 0.8rem + 0.4vw, 1.25rem);
  background: url("/wp-content/themes/imcgraduates/assets/img/top_IMC_news矢印.png") no-repeat center/contain;
  pointer-events: none;
}

@media (max-width: 768px) {
  .news__link::after {
    inline-size: 1.25rem;
    block-size: 2.2rem;
  }
}

.news__head {
  grid-area: head;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(2rem, 2vw, 3rem);
}
@media (max-width: 768px) {
  .news__head {
    padding-bottom: 2rem;
  }
}

.news__date {
  white-space: nowrap;
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.news__badge {
  display: inline-block;
  font-size: clamp(12px, 1vw, 1.4rem);
  color: #dd1c16;
  border: 1px solid #dd1c16;
  padding: 0.5rem 3rem;
  border-radius: 20px;
  font-weight: 400;
}

.news__text {
  grid-area: text;
  margin: 0;
  color: #333;
  min-width: 0;
  font-weight: medium;
  font-size: clamp(1.4rem, 1.4vw,1.8rem);
}
@media (max-width: 768px) {
  .news__text {
    padding-right: 6rem;
  }
}

@media (max-width: 768px) {
  #news {
    padding: 70px 20px;
  }

  .news__link {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "text";
  }
}

/*メッセージ ===============================*/
.message {
  position: relative;
  min-height: 80vh;
  padding: 20rem 5rem 26rem;
  overflow: hidden;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.message__bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.message__inner {
  position: relative;
  margin: 0 auto;
  text-align: left;
}

.message__title {
  font-size: clamp(2.4rem, 4vw, 8rem);
  color: #fff;
  margin-bottom: clamp(3rem, 2vw, 5rem);
  line-height: 1.4;
  font-weight: bold;
}

.message__subtitle {
  font-size: clamp(2.4rem, 4vw, 8rem);
  color: #fff;
  margin-bottom: clamp(3rem, 2.4vw, 6.7rem);
  line-height: 1.3;
  font-weight: bold;
}

.message__text {
  color: #fff;
  font-weight: bold;
  font-size: clamp(14px, 2vw, 24px);
  line-height: 3;
  margin-bottom: clamp(20px, 5vw, 70px);
  font-weight: bold;
}
@media (max-width: 768px) {
  .message__text {
    line-height: 2.1;
  }
}

/* ボタンアニメーション */
.message__wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0rem 0;
}
.infograhicas_wrop {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: clamp(20px, 2vw, 30px);
}
.message__label {
  color: rgba(255,255,255,1);
  font-weight: bold;
  font-size: clamp(2.4rem, 2vw, 3rem);
  margin: 0;
  z-index: 2;
  position: relative;
}
.message__label:before {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition: 0.4s;
  position: absolute;
  left: 0;
  bottom: -0.5rem;
}
.message__arrowBox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 2rem;
}
.message__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(4.8rem, 5vw,8rem);
  height: clamp(4.8rem, 5vw,8rem);
  border-radius: 50%;
  background-color: #E60012;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.message__arrow__icon {
  width: 55%;
  position: relative;
}
.message__arrowBox:hover {
  .message__arrow {
    background-color: #cc0010;
  }
  .message__arrow__icon {
    animation: arrow-flow-in-circle 1.0s linear infinite;
  }
  .message__label:before {
    width: 100%;
    color: rgba(255,255,255,0.8);
  }
}
.message__wrap--white {
  padding-top: clamp(3rem, -4vw + 7rem, 6rem);
  padding-right: var(--commonSpaceSide);
  padding-left: var(--commonSpaceSide);
  .message__arrow {
    background-color: #fff;
  }
  .message__arrowBox:hover {
    .message__arrow {
      background-color: #fdeae8;
    }
  }
}
.message__wrap--interview {
  padding-top: clamp(2rem, 4vw, 6rem);
  padding-right: var(--commonSpaceSide);
  padding-left: var(--commonSpaceSide);
  .message__label {
    color: rgba(0,0,0,1);
  }
  .message__label:before {
    background-color: #000;
  }
}
.message__wrap--interview:hover {
  .message__label {
    color: rgba(0,0,0,0.8);
  }
}
.message__arrowBox--support {
  display: inline-block;
}
.message__arrow--support {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 0 0;
}

@keyframes arrow-flow-in-circle {
  0% {
    right: 15px;
    opacity: 1;
  }
  49% {
    right: -5px;
    opacity: 1;
  }
  50% {
    right: -20px;
    opacity: 0;
  }
  51% {
    right: 40px;
    opacity: 0;
  }
  100% {
    right: 15px;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .message {
    padding: 100px 20px;
  }

  .support__arrow::before,
  .infographicas__arrow::before,
  .discussion__arrow::before {
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 1;
    animation: none;
  }

  .support__arrow:hover::before,
  .infographicas__arrow:hover::before,
  .discussion__arrow:hover::before {
    animation: none;
  }
}

/*3分でわかるIMC ==========================================*/
.infographicas {
  background: #dd1c16;
  padding-bottom:clamp(6rem, 5vw, 9rem)
}
.infograhicas__head {
  box-sizing: border-box;
  padding-top: clamp(4rem, 2vw, 7rem);
  padding-right: var(--commonSpaceSide);
  padding-left: var(--commonSpaceSide);
}
.infographicas-link {
  margin: 0 0 10px;
}
.infographicas-link img {
  width: 75%;
}

.info__text {
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: bold;
}

.infographicas_img {
  overflow: hidden;
  width: 100%;
}

.infographicas_img ul {
  display: flex;
  gap: 3rem;
  animation: slide 35s linear infinite;
  padding: 3rem 0 0;
}
@media (max-width: 768px) {
  .infographicas_img ul {
    gap: 1.5rem;
    animation: slide 15s linear infinite;
  }
}

.infographicas_img li {
  flex-shrink: 0;
  width: 26vw;
  list-style: none;
}
@media (max-width: 768px) {
  .infographicas_img li {
    width: 53vw;
  }
}

.minutes__listBox {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  color: #fff;
  border-top: solid 1px #fff;
  border-bottom: solid 1px #fff;
  position: relative;
  top: clamp(-7rem, -5vw, -2rem);
  margin-bottom: clamp(-2rem, -5vw, -2rem);
}
@media (max-width: 768px) {
  .minutes__listBox {
    display: block;
  }
}
.minutes__list {
  box-sizing: border-box;
  padding-top: 5rem;
  padding-left: clamp(2rem ,2.4vw ,4rem);
  padding-right: clamp(2rem ,2.4vw ,4rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: solid 1px #fff;
}
@media (max-width: 768px) {
  .minutes__list {
    padding: 2rem 2rem 2rem;
    border-right: none;
    border-bottom: solid 1px #fff;
    justify-content: left;
  }
}
.minutes__list:last-child {
  border-right: none;
}
.minutes__listInner {
  width: 100%;
}

.minutes__listTextBox {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.minutes__listText {
  font-size: clamp(2.4rem, 3vw, 4rem);
}
.minutes__listTextSub {
  font-size: clamp(1.6rem, 1.6vw, 2.4rem);
}
.minutes__listNumberBox {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.minutes__listNumber {
  font-size: clamp(9rem, 13vw, 24rem);
  line-height: clamp(9rem, 13vw, 24rem);
  font-family: Korolev;
  letter-spacing: clamp(-0.4rem, -0.1vw, -1.2rem);
}
.minutes__listNumberSub {
  font-size: clamp(4rem, 5vw, 8rem);
  line-height: clamp(4rem, 5vw, 8rem);
  position: relative;
  bottom: clamp(0.4rem, 1vw, 1.4rem);
}

.infographicas__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: background-color 0.3s ease;
}



.infographicas__arrow::before {
  content: '→';
  font-size: 24px;
  color: #dd1c16;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  transition: none;
}

@keyframes arrow-flow-in-circle {
  0% {
    right: 15px;
    opacity: 1;
  }

  49% {
    right: -5px;
    opacity: 1;
  }

  50% {
    right: -20px;
    opacity: 0;
  }

  51% {
    right: 40px;
    opacity: 0;
  }

  100% {
    right: 15px;
    opacity: 1;
  }
}

.infographicas__arrow:hover::before {
  animation: arrow-flow-in-circle 1.0s linear infinite;
}

/*3分わかるIMCアニメーション */
@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ▼SPで縦並び */
@media (max-width: 768px) {
  .infographicas_sub_img {
    margin: 0;
  }

  .infographicas_sub_img ul {
    grid-template-columns: 1fr;
  }

  .infographicas_sub_img img {
    height: 130px;
    width: 250px;
  }
  .infographicas_img img {
    width: 220px;
    height: auto;
    display: block;
  }

  .infographicas__arrow {
    margin: 0 20px;
  }
}

/*部門・事業紹介*/
.business {
  background-color: #fff;
  padding-top: clamp(10rem, 11vw, 20rem);
  padding-bottom: clamp(10rem, 8vw, 15rem);
  padding-right: var(--commonSpaceSide);
  padding-left: var(--commonSpaceSide);
}

.business__inner {
  display: flex;
  gap: clamp(8px, 6vw, 10rem);
  align-items: center;
}

.interview__title,
.business__title {
  font-size: clamp(3.6rem, 5vw, 6rem);
  font-weight: bold;
}

.business__subtitle {
  font-size: clamp(1.6rem, 2.4vw, 4rem);
  color: #dd1c16;
  text-align: left;
  font-weight: bold;
  position: relative;
  top: 2rem;
}
@media (max-width: 768px) {
  .business__subtitle {
    top: 0;
  }
}

.business__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin-top: clamp(5rem, 6vw, 10rem);
}
@media (max-width: 768px) {
  .business__list {
    gap: 5rem;
  }
}


.business__item {
  flex: 1;
}

.business__text {
  margin: 0;
  line-height: 2;
  color: #333333;
  font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic Medium",
    "Meiryo",
    sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1vw, 14px);
}

.business__item img {
  width: 100%;
  height: auto;
  display: block;
}

.business__text-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.business__button {
  display: inline-block;
  position: relative;
  text-decoration: none;
  width: 40px;
  height: 40px;
}

.business__button::after {
  content: "";
  position: absolute;
  top: clamp(30%, 40%, 50%);
  left: 50%;
  width: clamp(40px, 5vw, 50px);
  height: clamp(40px, 5vw, 50px);
  background: url("/wp-content/themes/imcgraduates/assets/img/header_IMC_arrow1.png") no-repeat center/contain;
  transform: translate(-50%, -50%);
}

.business__body {
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
}
@media (max-width: 768px) {
  .business__body {
    padding: 0;
  }
}

.business__name {
  font-weight: medium;
  font-size: clamp(2.4rem, 2vw, 3rem);
  line-height: clamp(2.4rem, 2vw, 3rem);
  margin: 2rem 0 1.3rem;
}
.business__link {
  border-radius: 2rem;
  overflow: hidden;
  display: block;
}
.business__link img {
  transition: 0.4s;
}
.business__link:hover img {
  transform: scale(1.1);
}

.business__button {
  margin-left: auto;
}

@media (max-width: 768px) {
  .business__title {
    margin: 0;
  }

  .business__list {
    flex-direction: column;
  }

  .business__inner {
    flex-direction: column;
    align-items: baseline;
    gap: 0;
    line-height: 2;
  }
  .business__text {
    max-width: 85%;
  }

  .business__text br {
    display: none;
  }
}

/*社員インタビュー */
.interview {
  background-color: #fff;
  max-width: 100%;
  padding-bottom: clamp(5rem, 9vw, 16rem) ;
}

.interview__inner {
  padding-right: var(--commonSpaceSide);
  padding-left: var(--commonSpaceSide);
  padding-bottom: clamp(3rem, 3vw, 5rem);
}
.interview__item img {
  background-color: #fff;
  width: 100%;
  height: auto;
  border-radius: 2rem;
}

.interview__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
}

.interview__item {
  border: 1px solid #d9d9d6;
  border-top: none;
  border-left: none;
  padding: 5rem 5rem 7rem;

  padding-top: clamp(3rem, 3vw, 5rem);
  padding-right: clamp(3rem, 3vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 7rem);
  padding-left: clamp(3rem, 3vw, 5rem);
}

.interview__item:nth-child(-n + 3) {
  border-top: 1px solid #d9d9d6;
}
@media (max-width: 768px) {
  .interview__item:nth-child(-n + 3) {
    border-top: none;
  }
  .interview__item:first-child {
    border-top: 1px solid #d9d9d6;
  }
}

.interview__item:nth-child(3n + 1) {
  border-left: 1px solid #d9d9d6;
}

.interview__arrow {
  display: inline-flex;
  align-items: center;
  gap: 1.875rem;
  text-decoration: none;
  color: #000;
  padding: 1.25rem;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  font-size: clamp(24px, 1vw, 30px);
}

.interview__arrow::after {
  content: "";
  display: inline-block;
  width: 3.125rem;
  height: 3.125rem;
  margin-left: 8px;
  background: url("/wp-content/themes/imcgraduates/assets/img/header_IMC_arrow1.png") no-repeat center/contain;
  padding-bottom: 50px;
}

.interview__figure {
  position: relative;
  display: block;
}

/* clip-path リビール用ラッパー（#topInterview .interview__figure 内で JS が挿入） */
.interview__figureImgWrap {
  position: relative;
  display: block;
  overflow: hidden;
}

.interview__img--sizer {
  visibility: hidden;
  display: block;
}

.interview__mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
}

.interview__mosaic--clip .interview__mosaicTile {
  background-repeat: no-repeat;
  background-color: transparent;
}

.interview__img {
  width: 100%;
  height: auto;
  display: block;
}

.interview__overlay {
  position: absolute;
  left: -2rem;
  bottom: 5%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 85%;
  pointer-events: none;
}

.interview__ribbon {
  display: inline-block;
  background: #dd1c16;
  color: #fff;
  line-height: 1.5;
  padding: 0.5em 0.9em;
  word-break: break-word;
  text-align: left;
  font-weight: 400;
  font-size: clamp(14px, 1vw, 24px);
  width: fit-content;
}

.interview__ribbon-text {
  display: inline-block;
}

.interview__dept {
  margin: 0;
  padding: 1rem 0 0;
}
.interview__deptPost {
  font-weight: medium;
  font-size: clamp(14px, 1vw, 16px);
}
.interview__deptName {
  padding: 1rem 0 0;
  font-weight: medium;
  font-size: clamp(14px, 2vw, 2.4rem);
}

.interview__name {
  margin: 1rem 0 0;
  color: #222;
  font-weight: 700;
  font-size: 2.4rem;
}

@media (max-width: 768px) {
  .interview__overlay {
    position: absolute;
    left: -2%;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 85%;
    pointer-events: none;
  }
  .interview__arrow {
    padding: 0 20px;
  }
  .interview__title {
    margin: 0;
  }
  .interview__list {
    grid-template-columns: 1fr;
  }
  .interview__item img {
    width: 100%;
  }
}

/*成長につながる環境 */
.support {
  background-color: #fff;
  padding-right: var(--commonSpaceSide);
  padding-left: var(--commonSpaceSide);
}
@media (max-width: 768px) {
  .support {
    padding-bottom: 0rem;
    padding-top: 4rem;
  }
}


.support__title {
  font-size: clamp(30px, 3vw, 60px);
  font-weight: bold;
  padding-bottom: clamp(3rem, 3vw, 5rem);
}

.support__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 1200px) {
  .support__list {
    grid-template-columns: 1fr;
  }
}

.support__item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr clamp(10rem , 16vw ,30rem);
  min-height: 260px;
  position: relative;
  align-items: stretch;
}

.support__content {
  padding-top: clamp(2rem, 2vw, 5rem);
  padding-right: var(--commonSpaceSide);
  padding-bottom: 5rem;
  padding-left: var(--commonSpaceSide);
}

.support__subtitle {
  color: #dd1c16;
  font-weight: bold;
  font-size: clamp(24px, 1vw, 30px);
  padding-bottom: clamp(2rem, 2vw, 3rem);
}

.support__text {
  line-height: 1.85;
  color: #333;
  padding-bottom: clamp(2rem, 6vw, 10rem);
  font-weight: 400;
  font-size: clamp(13px, 1vw, 16px);
}

.support__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  margin: 0 0 3rem;
}

.button {
  display: inline-block;
  padding: 15px 10px;
  text-align: center;
  border: 1px solid #d9d9d6;
  border-radius: 999px;
  color: #000;
  line-height: 1;
  text-decoration: none;
  background: #fff;
  transition: transform 0.06s ease, background 0.2s ease, border-color 0.2s ease;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 1vw, 14px);
}

.button:hover {
  background: #f2f2f2;
  border-color: #666;
  transform: translateY(-1px);
}

.support__arrow::after {
  content: "";
  display: inline-block;
  width: 3.125rem;
  height: 3.125rem;
  margin-left: 0.5rem;
  background: url("/wp-content/themes/imcgraduates/assets/img/header_IMC_arrow1.png") no-repeat center/contain;
  padding-bottom: 3.125rem;
}
.career__imgBox {
  max-width: 30rem;
}
@media (max-width: 768px) {
  .career__imgBox {
    grid-area: image;
    max-width: none;
  }
}

.career__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .support__item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "content";
    min-height: 0;
  }

  .career__img {
    height: auto;
    aspect-ratio: 16/9;
  }

  .support__text br {
    display: none;
  }
}

/* 座談会 - 1画面内に収まる配置 */
.discussion {
  background: #fff;
  min-height: 100vh;
  padding: 2rem var(--commonSpaceSide);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discussion__inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 80px);
  position: relative;
  width: min(calc(100vw - var(--commonSpaceSide) * 2 - 4rem), calc((100vh - 4rem) * 1820 / 1240));
  aspect-ratio: 1820/1240;
  max-height: calc(100vh - 4rem);
  justify-content: center;
  align-items: center;
}
@media (max-width: 1200px) {
  .discussion__inner {
    width: min(calc(100vw - var(--commonSpaceSide) * 2 - 4rem), calc((100vh - 4rem) * 1820 / 1240));
    max-height: calc(100vh - 4rem);
    aspect-ratio: 1820/1240;
  }
}
.discussion__photosList {
  position: absolute;
  z-index: 1;
  width: 17%;
  max-width: 300px;
}
.discussion__p-list1 {
  top: 11%;
  left: 3.1%;
}
.discussion__p-list2 {
  top: 0rem;
  left: 32.5%;
}
.discussion__p-list3 {
  top: 1.8%;
  right: 16.4%;
}
.discussion__p-list4 {
  top: 47.6%;
  left: 0rem;
}
.discussion__p-list5 {
  top: 42.4%;
  right: 0rem;
}
.discussion__p-list6 {
  bottom: 0rem;
  left: 15.8%;
}
.discussion__p-list7 {
  bottom: 4.6%;
  left: 42.1%;
}
.discussion__p-list8 {
  bottom: 3.8%;
  right: 16.7%;
}
@media (max-width: 1200px) {
  .discussion__p-list2 {
    top: 0rem;
    left: 25.5%;
  }
  .discussion__p-list3 {
    top: 1.8%;
    right: 28.4%;
  }
  .discussion__p-list4 {
    top: 7.6%;
    right: 0rem;
    left: auto;
  }
  .discussion__p-list5 {
    top: auto;
    right: 0rem;
    left: 0;
    bottom: 10%;
  }
  .discussion__p-list6 {
    bottom: 0rem;
    left: 24.8%;
  }
  .discussion__p-list7 {
    bottom: 4.6%;
    left: 50.1%;
  }
  .discussion__p-list8 {
    bottom: 3.8%;
    right: 3%;
  }
}



.discussion__row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  flex-wrap: nowrap;
}

.discussion__row--up img,
.discussion__row--down img {
  flex: 1 1 auto;
  max-width: clamp(240px, 20vw, 300px);
}

.discussion__row--center {
  justify-content: space-between;
  gap: clamp(40px, 8vw, 120px);
}

.discussion__center {
  text-align: center;
  margin: 0 auto;
  text-align: center;
  margin: auto;
  position: relative;
  top: -6rem;
}

.discussion__img {
  width: clamp(240px, 20vw, 300px);
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.discussion__img {
  width: clamp(240px, 20vw, 300px);
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.discussion__title {
  display: block;
  font-size: clamp(70px, 5vw, 10.6rem);
  line-height: clamp(70px, 5vw, 10.6rem);
  font-weight: bold;
  padding-bottom: clamp(1rem, 2vw, 3rem);
  text-align: center;
}

.discussion__text {
  display: block;
  font-size: clamp(16px, 1.2vw, 21px);
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
  padding-bottom: clamp(2rem, 3vw, 5rem);
  padding-top: clamp(0.6rem, 1vw, 1rem);
}

.discussion__text1 {
  display: block;
  font-size: clamp(16px, 1.2vw, 21px);
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

/* 矢印 */
.discussion__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #E60012;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.discussion__arrow:hover {
  background-color: #cc0010;
}

.discussion__arrow::before {
  content: '→';
  font-size: 24px;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  transition: none;
}

@keyframes arrow-flow-in-circle {
  0% {
    right: 15px;
    opacity: 1;
  }

  49% {
    right: -5px;
    opacity: 1;
  }

  50% {
    right: -20px;
    opacity: 0;
  }

  51% {
    right: 40px;
    opacity: 0;
  }

  100% {
    right: 15px;
    opacity: 1;
  }
}

.discussion__arrow:hover::before {
  animation: arrow-flow-in-circle 1.0s linear infinite;
}


/* 座談会*/
/*sp - 1画面内に収まる配置 */
@media (max-width: 768px) {
  .discussion-sp {
    --discussion-sp-header: 8rem;
    background: #fff;
    padding: var(--discussion-sp-header) 2rem 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
    box-sizing: border-box;
  }

  .discussion-sp__inner {
    width: 100%;
    overflow: visible;
  }

  .discussion-sp__grid {
    overflow: visible;
    transform-origin: top center;
  }

  .discussion-sp__photos {
    display: flex;
    gap: clamp(32px, 10vw, 90px);
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    flex-wrap: nowrap;
  }

  .discussion-sp__photos>div {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
  }

  .discussion-sp__photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .discussion-sp__arrow {
    position: relative;
    display: inline-block;
  }

  .discussion-sp__arrow::after {
    content: "";
    width: 4.8rem;
    height: 4.8rem;
    display: inline-block;
    background: url("/wp-content/themes/imcgraduates/assets/img/header_IMC_arrow1.png") no-repeat center/contain;
    transition: transform 0.2s ease-out;
  }

  .discussion-sp__center {
    grid-area: center;
    text-align: center;
    padding: 4.5rem 2rem 2rem;
  }

  .discussion-sp__title {
    font-size: 6rem;
    line-height: 6rem;
    font-weight: bold;
    margin-bottom: 3rem;
  }

  .discussion-sp__text {
    font-size: 14px;
    line-height: 2.1;
    margin: 0 auto;
    font-weight: bold;
    padding-bottom: 2.5rem;
  }
}

/*非表示 */
.discussion {
  display: block;
}

.discussion-sp {
  display: none;
}

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

  .discussion-sp {
    display: block;
    background: #fff;
    /* ピン時の位置。変更するときはここだけ編集 */
    --discussion-sp-pin-top: 0;
  }

  .pin-spacer:has(.discussion-sp) {
    background: #fff;
    height: 120vh !important;
  }

  /* ピン中は position / top / transform を固定してガクつき防止（ScrollTrigger の上書きを打ち消す） */
  .pin-spacer:has(.discussion-sp) .discussion-sp {
    position: sticky !important;
    top: var(--discussion-sp-pin-top) !important;
    transform: translate(0, 0) !important;
  }
}

/* ===== ストーカーマウス ===== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background: #DADDE0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  opacity: 0.9;
}

.cursor__text {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.cursor.active {
  width: 50px;
  height: 50px;
}

.cursor.active .cursor__text {
  opacity: 1;
  transform: scale(1);
}

.cursor.click {
background: rgba(221, 28, 22, 0.12);
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/*ホワイト企業に認定 ===================================*/
.whiteList {
  background-color: #fff;
  padding-bottom: clamp(5rem, 6vw, 10rem);
}
.whiteList__inner {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}
.whiteList__imageBox {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.whiteList__img {
  width: 100%;
  height: auto;
  display: block;
}
.whiteList__textBox {
  font-weight: normal;
  padding-top: clamp(2rem, 2vw, 3rem);
  padding-bottom: clamp(2rem, 2vw, 3rem);
  margin-top: clamp(3rem, 3vw, 4rem);
  border-top: solid 1px #dedede;/*#8fc88f*/
  border-bottom: solid 1px #dedede;
}
.whiteList__text--email a {
  color: #dd1c16;
  font-weight: bold;
  margin-left: 4rem;
}
@media (max-width: 768px) {
  .whiteList__textBox {
  }
}
.whiteList__text {
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.8;
}
.whiteList__textBox--inner {
  margin: 1rem auto;
}