@charset "UTF-8";

/*!
 * ress.css • v1.2.2
 * MIT License
 * github.com/filipelinhares/ress
 */
html {
  box-sizing: border-box;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
}
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

*, :after, :before {
  background-repeat: no-repeat;
  box-sizing: inherit;
}

:after, :before {
  text-decoration: inherit;
  vertical-align: inherit;
}

* {
  padding: 0;
  margin: 0;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

hr {
  overflow: visible;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
  display: block;
}

summary {
  display: list-item;
}

small {
  font-size: 80%;
}

[hidden], template {
  display: none;
}

abbr[title] {
  border-bottom: 1px dotted;
  text-decoration: none;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:active, a:hover {
  outline-width: 0;
}

code, kbd, pre, samp {
  font-family: monospace, monospace;
}

b, strong {
  font-weight: bolder;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

input {
  border-radius: 0;
}

[role=button], [type=button], [type=reset], [type=submit], button {
  cursor: pointer;
}

[disabled] {
  cursor: default;
}

[type=number] {
  width: auto;
}

[type=search] {
  -webkit-appearance: textfield;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  resize: vertical;
}

button, input, optgroup, select, textarea {
  font: inherit;
}

optgroup {
  font-weight: 700;
}

button {
  overflow: visible;
}

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
  border-style: 0;
  padding: 0;
}

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

[type=reset], [type=submit], button, html [type=button] {
  -webkit-appearance: button;
}

button, select {
  text-transform: none;
}

button, input, select, textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

select::-ms-value {
  color: currentColor;
}

legend {
  border: 0;
  color: inherit;
  display: table;
  max-width: 100%;
  white-space: normal;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

img {
  border-style: none;
}

progress {
  vertical-align: baseline;
}

svg:not(:root) {
  overflow: hidden;
}

audio, canvas, progress, video {
  display: inline-block;
}

@media screen {
  [hidden~=screen] {
    display: inherit;
  }
  [hidden~=screen]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
  }
}
[aria-busy=true] {
  cursor: progress;
}

[aria-controls] {
  cursor: pointer;
}

[aria-disabled] {
  cursor: default;
}

::-moz-selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

/*clear fix*/
.l-main:after {
  display: block;
  visibility: hidden;
  clear: both;
  height: 0;
  content: "";
}
html,
body {
  scroll-behavior: smooth;
}
html.is-noScroll,
body.is-noScroll {
  overflow-y: hidden;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  background: #FFF;
  color: #131313;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 85px;
  font-weight: 700;
  font-style: normal;
}
body.is-noScroll {
  overflow-y: hidden;
}
.pc {
  display: none!important;
}
.sp {
  display: block;
}
@media screen and (min-width: 992px) {
  body {
    margin-bottom: 0px;
  }
  .pc {
    display: block!important;
  }
  .sp {
    display: none;
  }
}

html {
  font-size: 62.5%;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333333;
}

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

h1, h2, h3, h4, h5 {
  color: #333333;
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

span {
  word-break: break-word;
}

th, td {
  word-break: break-all;
}

input,
textarea {
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
input:-moz-placeholder-shown, textarea:-moz-placeholder-shown {
  color: #BABABA !important;
}
input:placeholder-shown,
textarea:placeholder-shown {
  color: #BABABA !important;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #BABABA !important;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #BABABA !important;
  opacity: 1;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #BABABA !important;
  opacity: 1;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #BABABA !important;
}
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: #BABABA !important;
}

#wpadminbar {
  display: none;
}

html {
  margin-top: 0 !important;
}
/*ここまでリセット*/

/*==========================================
共通設定
==========================================*/
@media (max-width: 768px) {
  .l-wrap {
    padding-top: 7rem;/*スマホヘッダー用*/
  }
}
.is-sp {
  display: none !important;
}
@media (max-width: 768px) {
  .is-sp {
    display: block !important;
  }
}
.is-pc {
  display: block !important;
}
@media (max-width: 768px) {
  .is-pc {
    display: none !important;
  }
}

/*==========================================
header
==========================================*/
.header {
  background: #fff;
  /*border-bottom: 1px solid #eee;*/
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  height: 10rem;
  box-sizing: border-box;
}
@media (max-width: 1366px) {
  .header {
    height: 7rem;
    padding: 1rem 1rem 1rem;
    align-items: center;
  }
}
@media (max-width: 1000px) {
  .header {
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 7rem;
    padding: 1rem 1rem 1rem;
    align-items: center;
  }
}

.header__logo {
  margin: 0;
  padding: 0;
  line-height: 1;
  width: fit-content;
  /*width: clamp(6.25rem, 5.114rem + 5.68vw, 9.375rem);*/
  height: auto;
  display: block;
  height: 100%;
  max-height: 100%;
}

.header__logo img {
  width: auto;
  max-width: 15rem;
  max-height: 100%;
}
@media (max-width: 1366px) {
  .header__logo img {
    max-width: 10rem;
  }
}

.global__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__item {
  position: relative;
}

.header__item>a,
.header__item>span {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 0.5rem 0;
  display: block;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  font-size: clamp(14px, 1vw, 16px);
}
@media (max-width: 768px) {
  .header__item>a,
  .header__item>span {
    padding: 0.9rem 0.5rem;
    font-size: 1.25rem;
  }
}

.header__item:last-child .sub-menu {
  left: auto;
  right: 0;
}

.header__item:hover .sub-menu {
  display: block;
}

/* サブメニュー */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 24rem;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.sub-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

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

.sub-menu li:last-child a {
  border-bottom: none;
}

.header__entry {
  display: flex;
  gap: 0.5px;
}

.header__entry a {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  color: #fff;
  border: none;
  transition: background 0.2s;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  font-size: clamp(14px, 1vw, 16px);
}

.btn-newentry {
  background: #ed2446;
  border-radius: 10px 0 0 10px;
}

.btn-careerentry {
  background: #fd452d;
  border-radius: 0 10px 10px 0;
}

@media (min-width: 1000px) {
  .header__toggle {
    display: none;
  }

  .nav-close {
    display: none;
  }
}

/*SP header*/
@media (max-width: 1000px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
    gap: 11.125rem;
  }

  .header__toggle img {
    height: 1.875rem;
  }

  .header__toggle {
    display: inline-flex;
    background: #fff;
    border: 1px solid #fff;
    padding: 6px;
    margin-left: auto;
  }

  .global__nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    background: #fff;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s ease-out, opacity 0.35s ease-out;
    padding: 80px 20px 24px;
    overflow-y: auto;
    z-index: 1000;
    display: block;
  }

  body.nav-open .global__nav {
    transform: translateX(0);
    opacity: 1;
  }

  body.nav-open {
    opacity: 1;
    pointer-events: auto;
  }

  .global__nav .header__list>li {
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  body.nav-open .global__nav .header__list>li {
    opacity: 1;
    transform: none;
  }

  body.nav-open .global__nav .header__list>li:nth-child(1) {
    transition-delay: 0.35s;
  }

  body.nav-open .global__nav .header__list>li:nth-child(2) {
    transition-delay: 0.5s;
  }

  body.nav-open .global__nav .header__list>li:nth-child(3) {
    transition-delay: 0.65s;
  }

  body.nav-open .global__nav .header__list>li:nth-child(4) {
    transition-delay: 0.8s;
  }

  body.nav-open .global__nav .header__list>li:nth-child(5) {
    transition-delay: 0.95s;
  }

  body.nav-open .global__nav .header__list>li:nth-child(6) {
    transition-delay: 0.11s;
  }

  body.nav-open .global__nav .header__list>li:nth-child(7) {
    transition-delay: 0.125s;
  }

  .header__list {
    display: grid;
    gap: 0.25rem;
    padding-bottom: 1.5625rem;
  }

  .sub-menu {
    position: static;
    display: grid;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0.5rem 0;
    gap: 0;
  }

  .sub-menu li a::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    background: url("/wp-content/themes/imcgraduates/assets/img/top_IMC_news矢印.png") no-repeat center/contain;
  }

  .header__entry {
    flex-direction: column;
    gap: 1.25rem;
  }

  .header__entry a {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    border: none;
    transition: background 0.2s;
    width: 30%;
    text-align: center;
  }

  .btn-newentry {
    background: #ed2446;
    border-radius: 10px;
  }

  .btn-careerentry {
    background: #fd452d;
    border-radius: 10px;
  }

  .nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 2rem;
    height: 2rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-close::before,
  .nav-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2px;
    background: #333;
    transform-origin: center;
  }

  .nav-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .nav-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

/*==========================================
footer
==========================================*/
/* セクションを基準にする */
.lastmessage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .lastmessage {
    aspect-ratio: unset;
  }
}

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

/* 読みやすさ向けの薄いオーバーレイ（任意） */
.lastmessage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .35));
  z-index: 1;
}

.footer {
  width: 100%;
  background: #222;
  padding-top: clamp(5rem , 6vw ,10rem);
  padding-bottom: clamp(3rem , 6vw ,10rem);
  padding-right: var(--commonSpaceSide);
  padding-left: var(--commonSpaceSide);
  overflow: hidden;
}


.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto;
  gap: 24px;
}
@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
}

.footer__copyright {
  color: #fff;
  font-size: 1.2rem;
  font-weight: normal;
  padding: 2rem 0 0;
}
@media (max-width: 768px) {
.footer__copyright {
    display: none;
  }
}
.footer__copyright--sp {
  display: none;
}
@media (max-width: 768px) {
  .footer__copyright--sp {
    display: block;
    padding: 4rem 0 0;
    font-size: 1.2rem;
    font-weight: medium;
    color: #fff;
    text-align: center;
  }
}

.footer__nav {
  max-width: 1200px;
  margin-left: auto;
  width: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 40px;
}
@media (max-width: 1200px) {
  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .footer__nav {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
}
.footer__col {
  position: relative;
  padding-top: 0.6rem;
}
@media (max-width: 768px) {
  .footer__col:not(:nth-child(n + 7)) {
    min-height: 12rem;
  }
}

.footer__sns {
  position: relative;
  padding-top: 12px;
  min-width: 160px;
  margin: 15px;
}
@media (max-width: 1200px) {
  .footer__sns {
    margin: 0;
  }
}
@media (max-width: 768px) {
  .footer__sns {
    position: relative;
    padding-top: 12px;
  }
}

.footer__link {
  display: inline-block;
  color: #fff;
  margin: 0 0 1rem;
  position: relative;
  font-size: clamp(1.1rem, 1vw, 1.8rem);
  font-weight: bold;
}
@media (max-width: 768px) {
.footer__link {
    text-decoration: none;
    margin-bottom: 0.5rem;
    padding-top: 8px;
    font-size: 1.3rem;
  }
}
.footer__link:before {
  content: "・";
  display: inline-block;
}
.footer__link--corp {
  font-size: clamp(1.1rem, 1vw, 1.6rem);
  font-weight: medium;
}
@media (max-width: 768px) {
  .footer__link--corp {
    font-size: 0.9rem;
  }
}
.footer__subLinkList {
  margin-left: 2rem;
  margin-bottom: 1rem;
}
.footer__subLink {
  font-size: clamp(1.1rem, 1vw, 1.6rem);
  font-weight: medium;
  color: #fff;
}
@media (max-width: 768px) {
  .footer__subLink {
    font-size: 1.1rem;
    font-weight: medium;
  }
}
.footer__subLink:before {
  content: "-";
  padding-right: 0.4rem;
}

.footer__logo img {
  height: 20px;
  display: block;
}

.footer__list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.footer__item a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer__item a:hover {
  text-decoration: underline;
}

.footer__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #fff;
}

.footer__sns::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #fff;
}
.footer__snsListBox {
  padding-top: 0.6rem;
  display: flex;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .footerLogo {
    margin-bottom: 5rem;
  }
}

/* ===== SP: ～768px ===== */
@media (max-width: 768px) {
  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-left: 0;
  }

  .footerLogo img {
    height: auto;
  }
  .footer__col::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #fff;
  }

  .footer__sns::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #fff;
  }
  .footer__sub {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .footer__sub li {
    margin-bottom: 4px;
  }
  .footer__link:hover {
    text-decoration: underline;
  }
}


/*==========================================
プレフッターの募集概要セクション
==========================================*/
.entry {
  padding-bottom: clamp(5rem , 6vw ,10rem);
  background-color: #fff;
}

.entry__content {
  display: contents;
}

.entry__inner {
  background-color: #dd1c16;
  color: #fff;
  padding-top: 6rem;
  padding-bottom: 5rem;
  padding-right: var(--commonSpaceSide);
  padding-left: var(--commonSpaceSide);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1.2fr) 24px;
  grid-template-areas:
    "title    title    title    ."
    "subtitle .        buttons  ."
    "text     .        buttons  .";
  column-gap: 4.0625rem;
}
@media (max-width: 768px) {
  .entry__inner {
    padding-top: 4rem;
    padding-bottom: 6rem;
    width: auto;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "subtitle"
      "text"
      "buttons";
    row-gap: 12px;
  }
}

.entry__title {
  grid-area: title;
  color: #fff;
  font-size: clamp(6rem, 10vw, 19rem);
  line-height: clamp(6rem, 10vw, 19rem);
  margin: 0;
  font-weight: bold;
  font-family: "Korolev","Noto Sans JP", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
}

.entry__subtitle {
  grid-area: subtitle;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 6rem);
  line-height: clamp(2.4rem, 4vw, 6rem);
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;  font-weight: bold;
  padding-top: clamp(1rem, 3vw, 5rem);
  padding-bottom: 3rem;
}

.entry__text {
  grid-area: text;
  line-height: 1.85;
  font-size: clamp(14px, 2vw, 16px);
  margin: 0;
  font-weight: 400;
}
@media (max-width: 768px) {
  .entry__text {
    padding-bottom: 5rem;
  }
}

.entry__buttons {
  grid-area: buttons;
  align-self: start;
  justify-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 1200px) {
  .entry__buttons {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .entry__buttons {
    justify-self: stretch;
    padding-bottom: 16px;
  }
}

.btn {
  display: flex;
  justify-content: space-between;
  background: #fff;
  color: #222;
  text-decoration: none;
  border-radius: 10px;
  text-align: left;
  padding: 20px;
  font-size: clamp(14px, 1vw, 24px);
  align-items: center;
font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;  font-weight: bold;
}

.btn::after {
  content: "";
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  background: url("/wp-content/themes/imcgraduates/assets/img/header_IMC_arrow1.png") no-repeat center/contain;
}



/*==========================================
エンドメッセージ
==========================================*/
/*TOP動画*/
.lastmessage__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.lastmessage__inner {
  z-index: 2;
  color: #fff;
  position: absolute;
  margin: 0 auto;
  bottom: 17rem;
  left: 10rem;
}
@media (max-width: 768px) {
  .lastmessage__inner {
    top: 50%;
    transform: translateY(-50%);
    left: 2rem;
    bottom: auto;
  }
}


.lastmessage__title {
  font-size: clamp(24px, 5vw, 100px);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.7;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
  font-weight: bold;
}

.lastmessage__subtitle {
  font-size: clamp(10px, 4vw, 25px);
  line-height: clamp(10px, 4vw, 25px);
  color: #fff;
  margin-bottom: clamp(0.625rem, -0.739rem + 6.82vw, 4.375rem);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
}
@media (max-width: 768px) {
  .lastmessage__subtitle {
    margin-bottom: 0;
  }
}


/* ===== ストーカーマウス ===== */
.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; }
}


/*==========================================
サイト内共通パーツ
==========================================*/
.pageHead {
	position: relative;
  padding-top: 2rem;
  padding-bottom: 1rem;
  padding-right: var(--commonSpaceSide);
  padding-left: var(--commonSpaceSide);
  color: #fff;
  isolation: isolate;
  margin-top: clamp(3rem, 5vw, 8rem);;
  margin-bottom: clamp(3rem, 6vw, 10rem);
}
.pageHead:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wp-content/themes/imcgraduates/assets/img/interview.png") no-repeat center/cover;
  z-index: -1;
  opacity: 0.8;
}
/* スクロール背景（JSで--tile-widthをセット後、アニメーション開始） */
.pageHead--scrollBg {
  --pagehead-height: 138px;
}
@media (max-width: 768px) {
  .pageHead--scrollBg {
    --pagehead-height: 104px;
  }
}
.pageHead--scrollBg:before {
  background-image: url("/wp-content/themes/imcgraduates/assets/img/pageHead_company.svg");
  background-repeat: repeat-x;
  background-position: left center;
  background-size: var(--tile-width) var(--pagehead-height);
  height: var(--pagehead-height);
  width: 100%;
  animation: pageHeadScroll 20s linear infinite;
  animation-play-state: paused;
}
.pageHead--scrollBg.is-ready:before {
  animation-play-state: running;
}
@keyframes pageHeadScroll {
  0% { background-position: 0 center; }
  100% { background-position: calc(var(--tile-width) * -1) center; }
}
.pageHead__title {
	font-size: clamp(28px, 5vw, 60px);
  line-height: clamp(28px, 5vw, 60px);
  color: #000;
  text-align: left;
  margin: 0 0 0.5rem;
}
.pageHead__mainImage {
	padding: 0 5rem 0;
}
.breadcrumb {
  margin: 0;
  padding: 2rem 0 0;
}
.breadcrumb__item {
  color: #111;
  display: flex;
  align-items: center;
}
.breadcrumb__item a {
  font-size: clamp(1.2rem, 1vw, 1.4rem);
  font-weight: Medium;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  list-style: none;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  background-image: url("/wp-content/themes/imcgraduates/assets/img/breadcrumb.png");
  background-size: 1.4rem;
  background-position: left center;
  padding-left: 2rem;
}
.breadcrumb__item+.breadcrumb__item::before {
  content: "";
  margin: 0 1rem;
  background-color: #111;
  display: block;
  width: 2rem;
  height: 1px;
}

/*共通ラベル「GO A STEP BEYOND」
==========================================*/
.beyondLine {
  overflow: hidden;
  padding: 12rem 0 12rem;
}
.beyondLine__wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5rem;
  margin-right: 5rem;
}
.beyondLine__base {
  font-size: 19rem;
  line-height: 19rem;
  font-family: var(--Korolev);
  white-space: nowrap;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
}
.beyondLine__walker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40rem;
  height: 14.6rem;
  background-color: #DD1C16;
  border-radius: 2rem;
  line-height: 1.38;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
}
.beyondLine__walkerInner {
}
.beyondLine__walkerText {
  font-size: 3.6rem;
  font-weight: bold;
  color: #fff;
}
/*無限ループ指定*/
.beyondLine {
  overflow: hidden;
}

.beyondLine__track {
  display: flex;
  width: max-content;
  animation: beyondLine-marquee 40s linear infinite;
}
@keyframes beyondLine-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*MV用調整*/
.beyondLine--mv {
  padding-top: 8rem;
  padding-bottom: 0;
  .beyondLine__base {
    color: #fff;
  }
  .beyondLine__track {
    animation: beyondLine-marquee 40s linear infinite;
  }
}
@media (max-width: 1366px) {
  .beyondLine--mv {
    padding-top: clamp(3rem, 3vw, 5rem);
    .beyondLine__base {
      font-size: clamp(8rem, 8vw, 12rem);
      line-height: clamp(8rem, 8vw, 12rem);
    }
    .beyondLine__wrap {
      gap: clamp(2rem, 3vw, 4rem);
    }
    .beyondLine__walker {
      width: clamp(18rem, 20vw, 30rem);
      height: clamp(6.5rem, 8vw, 12rem);
      border-radius: clamp(1rem, 2vw, 2rem);
    }
    .beyondLine__walkerText {
      font-size: clamp(1.8rem, 3vw, 2.4rem);
    }
  }
}
@media (max-width: 768px) {
  .beyondLine--mv {
    padding-top: clamp(3rem, 3vw, 5rem);
    .beyondLine__base {
      font-size: clamp(8rem, 8vw, 12rem);
      line-height: clamp(8rem, 8vw, 12rem);
    }
    .beyondLine__wrap {
      gap: clamp(2rem, 3vw, 4rem);
    }
    .beyondLine__walker {
      width: clamp(18rem, 20vw, 30rem);
      height: clamp(6.5rem, 8vw, 12rem);
      border-radius: clamp(1rem, 2vw, 2rem);
    }
    .beyondLine__walkerText {
      font-size: clamp(1.8rem, 3vw, 2.4rem);
    }
  }
}

/*モーダル「ENTRY」
==========================================*/
.c-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.c-modal[aria-hidden="false"] {
  display: block;
}

.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

.c-modal__content {
  position: relative;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}
.c-modal__close {
  color: #fff;
  border: solid 1px #fff;
  font-size: 1.6rem;
  line-height: 1.6rem;
  font-weight: normal;
  border-radius: 2.2rem;
  margin-left: auto;
  margin-bottom: 1rem;
  display: block;
  padding-top: 1rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  transition: 0.4s;
}
.c-modal__close:hover {
  background-color: #fff;
  color: #DD1C16;
}
.c-modal__body {
  background: #DD1C16;
  border-radius: 2rem;
  padding-top: 4rem;
  padding-right: clamp(5rem, 6vw, 9rem);
  padding-bottom: 5rem;
  padding-left: clamp(5rem, 6vw, 9rem);
}
@media (max-width: 768px) {
  .c-modal__body {
    padding-top: 4rem;
    padding-right: clamp(3rem, 6vw, 9rem);
    padding-bottom: 2rem;
    padding-left: clamp(3rem, 6vw, 9rem);
  }
}
.c-modal__titleArea {
  text-align: center;
  padding-bottom: 3rem;
  color: #fff;
}
.c-modal__title {
  font-size: 6rem;
  line-height: 6rem;
  font-weight: bold;
  font-family: "Korolev","Noto Sans JP", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
  padding-bottom: 1rem;
}
@media (max-width: 768px) {
  .c-modal__title {
    font-size: 4rem;
    line-height: 4rem;
    padding-bottom: 0.4rem;
  }
}
.c-modal__titleSub {
  font-size: 2.4rem;
  line-height: 2.4rem;
}
@media (max-width: 768px) {
  .c-modal__titleSub {
    font-size: 1.8rem;
    line-height: 1.8rem;
  }
}
.c-modal__desc {
  padding-bottom: 4rem;
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .c-modal__desc {
    padding-bottom: 2rem;
  }
}
.c-modal__descInner {
  font-size: 1.4rem;
  font-weight: normal;
  color: #fff;
}
@media (max-width: 768px) {
  .c-modal__descInner {
    font-size: 1.2rem;
  }
}
.c-modal__buttonArea {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .c-modal__buttonArea {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .c-modal__button.btn {
    padding: 10px 20px;
    font-size: 12px;
  }
  .c-modal__button.btn:after {
    width: 24px;
    height: 24px;
  }
}

/* ===========================================
   js-mosaic-reveal（共通モザイクリビール）
   クラス付与で同じ動きをする共通版
   =========================================== */
/* トップ #topInterview の interview__figure と同じ構造・動き */
.js-mosaic-reveal {
  position: relative;
  margin: 0;
  width: 100%;
}

.js-mosaic-reveal img {
  width: 100%;
  height: auto;
  display: block;
}

.js-mosaic-reveal__wrap {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.js-mosaic-reveal__wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.js-mosaic-reveal__img--sizer {
  visibility: hidden;
  display: block;
}

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

.js-mosaic-reveal__mosaic .js-mosaic-reveal__tile {
  background-repeat: no-repeat;
  background-color: transparent;
}

.js-mosaic-reveal__ribbon-text {
  display: inline-block;
}

/* ===========================================
   js-ribbon-reveal（共通リボン表示）
   トップの interview__ribbon と同じ動き
   =========================================== */
.js-ribbon-reveal__item {
  display: inline-block;
  transform-origin: left center;
}

.js-ribbon-reveal__text {
  display: inline-block;
}







