/* ==========================================================================
   児童発達支援・放課後等デイサービス にじいろリーフ（デザインサンプル）
   レイアウト・余白・タイポスケール・配色・モーションの再現。
   元CSS(331KB)の丸ごとコピーはせず、トップページに必要な分だけ書き起こしている。
   ========================================================================== */

:root {
  /* ベース: 水色。彩度は全段 100% に振り、色相を 198°（青緑ではなく空の水色）へ寄せた。
     明度は白文字が乗る上限で止めてある。--base 4.59:1 ／ --base-dark 6.52:1 ／
     --base-deep 12.3:1（対白）。--base-light2 はグラデ端で大文字が乗るので 3.04:1 */
  --base: #007db2;
  --base-dark: #00648f;
  --base-deep: #003952;
  --base-light: #0092d1;
  --base-light2: #009de0;
  --base-soft: #5cc5f2;
  --base-pale: #b2e8ff;
  --base-pale2: #e3f7ff;
  --base-pale3: #f2fbff;
  /* アクセント: 橙。水色の補色なので CTA が最も立つ。対白 4.67:1 */
  --accent: #bd560a;
  --accent-dark: #9c4707;
  --accent-light: #e8761c;
  --accent-pale: #ffeedd;
  /* サブアクセント: 黄 */
  --yellow: #ffd75e;
  --yellow2: #ffe89b;
  /* 虹: 装飾線用。園名「にじいろリーフ」に合わせて緑を葉の色に寄せている */
  --rb1: #e8503a;
  --rb2: #f5893a;
  --rb3: #ffc93f;
  --rb4: #5fb84a;
  --rb5: #2ea8d5;
  --rb6: #7a6ad4;
  --gray: #d9d9d9;
  --gray2: #cecece;
  --white: #fff;
  --ink: #4b4b4b;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-96: 96px;
  --sp-120: 120px;
  --radius: 12px;
  --page-max: 1200px;
  --type-caption: 13px;
  --type-nav-label: 15px;
  --type-body-sm: 16px;
  --type-body: 17px;
  --type-subheading: 19px;
  --type-heading-sm: 32px;
  --type-heading: 48px;
  --type-display: 64px;
  /* 本文の字送り。和文は詰めると潰れるので正の値にする */
  --tracking-body: 0.04em;
  /* 白地の上でも白い pill の輪郭が見えるように敷く影 */
  --shadow-pill: 0 2px 12px rgba(0, 57, 82, 0.14);
  /* タップ標的の下限（Apple HIG） */
  --tap-min: 44px;
  /* 写真に乗る白文字の下敷き。青パネルの外にはみ出しても読めるように */
  --shadow-on-photo: 0 2px 16px rgba(0, 57, 82, 0.35);
}

/* ---------- reset / base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink);
  background-color: #fff;
}
body.is-menu-open {
  overflow: hidden;
  height: 100%;
}
#wrapper {
  width: 100%;
  overflow: hidden;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
small {
  font-size: inherit;
}

/* ---------- utilities ---------- */
.c-font-outfit {
  font-family: "Outfit", sans-serif;
}
.c-inner {
  width: var(--page-max);
  max-width: 90%;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 767px) {
  .c-inner {
    width: calc(100% - 40px);
  }
}
@media screen and (max-width: 767px) {
  .c-pc {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  .c-sp {
    display: none !important;
  }
}

.c-icon-arrow-white {
  width: 72px;
  height: 72px;
}
.c-icon-arrow-white div {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--base-dark) url("../images/common/ico_arrow_white.svg") center/18px no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}
@media screen and (max-width: 767px) {
  .c-icon-arrow-white div {
    width: 49px;
    height: 49px;
  }
}

.c-link-blank {
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.02em;
}
.c-link-blank::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin-left: var(--sp-8);
  background: url("../images/common/ico_link.svg") center/contain no-repeat;
  color: currentColor;
}

.c-hover-line a {
  position: relative;
}
.c-hover-line a::before {
  content: "";
  display: block;
  height: 2px;
  background-color: var(--accent);
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10%;
  transition: right 0.4s ease;
}
@media screen and (min-width: 768px) {
  .c-hover-line a:hover::before {
    right: 0;
  }
}

.c-button a {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: var(--type-body);
  font-weight: 900;
  letter-spacing: -0.08em;
  width: 293px;
  min-height: 64px;
  padding: var(--sp-16) var(--sp-24);
  border: 0;
  border-radius: var(--radius);
  background-color: var(--accent);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}
@media screen and (max-width: 767px) {
  .c-button a {
    font-size: var(--type-nav-label);
    width: fit-content;
    min-width: 206px;
    max-width: 86vw;
    min-height: 48px;
    padding-right: calc(48px + var(--sp-16));
  }
}
.c-button a::before,
.c-button a::after {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: calc(100% - 32px);
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 767px) {
  .c-button a::before,
  .c-button a::after {
    width: 40px;
    height: 40px;
    left: calc(100% - 24px);
  }
}
.c-button a::before {
  background: url("../images/common/ico_arrow_white.svg") center/16px no-repeat;
  z-index: 0;
}
.c-button a::after {
  background: var(--accent-dark);
  z-index: -1;
  transition: all 0.4s ease;
}
@media screen and (min-width: 768px) {
  .c-button a:hover {
    color: #fff;
  }
  .c-button a:hover::after {
    width: 260px;
    border-radius: var(--radius);
  }
}
.c-button.--border a {
  color: var(--base);
  border: 2px solid var(--base);
  background-color: transparent;
}

.c-heading {
  color: #fff;
  line-height: 1;
  padding-left: 60px;
  position: relative;
}
@media screen and (max-width: 767px) {
  .c-heading {
    padding-left: 20px;
  }
}
.c-heading .__small {
  display: inline-block;
  font-size: min(48px, 4vw);
  font-weight: 900;
  margin-bottom: 0.3em;
}
@media screen and (max-width: 767px) {
  .c-heading .__small {
    font-size: 24px;
  }
}
.c-heading .__ja {
  display: block;
  font-size: min(64px, 5.3333vw);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.1em;
  margin-left: 0.2em;
}
@media screen and (max-width: 767px) {
  .c-heading .__ja {
    font-size: 40px;
    letter-spacing: -0.06em;
    margin-left: 0;
  }
}
.c-heading .__ja small {
  font-size: 0.75em;
  letter-spacing: 0;
  margin-left: 0.16em;
}
.c-heading .__ja small.__min {
  font-size: 0.6em;
}
.c-heading .__ja > span {
  font-size: 0.85em;
}
.c-heading .__en {
  display: flex;
  align-items: center;
  font-family: "Outfit", sans-serif;
  font-size: clamp(15px, 1.5833vw, 19px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 100%;
  transform: rotate(90deg);
}
@media screen and (max-width: 767px) {
  .c-heading .__en {
    font-size: var(--type-caption);
  }
}
.c-heading .__en::before {
  content: "";
  display: block;
  width: 26px;
  height: 12px;
  margin-right: var(--sp-8);
  background: url("../images/common/ico_heading_white.svg") center/contain no-repeat;
}
.c-heading.--right {
  padding-right: 65px;
  padding-left: 0;
}
@media screen and (max-width: 767px) {
  .c-heading.--right {
    padding-right: 20px;
  }
}
.c-heading.--base {
  color: var(--base);
}
.c-heading.--base .__en::before {
  background-image: url("../images/common/ico_heading_orange.svg");
}
.c-heading.--vertical {
  writing-mode: vertical-rl;
}
.c-heading.--vertical .__ja {
  font-size: min(64px, 5.3333vw);
  line-height: 1.1;
  letter-spacing: 0;
  margin: 1.2em 0 0;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .c-heading.--vertical .__ja {
    font-size: 40px;
  }
}
.c-heading.--vertical .__en {
  writing-mode: horizontal-tb;
  right: 0;
  left: auto;
  transform: rotate(90deg) translateX(100%);
  transform-origin: 100% 0;
}

.c-text-black {
  font-size: var(--type-subheading);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--tracking-body);
}
@media screen and (max-width: 767px) {
  .c-text-black {
    font-size: var(--type-body);
    line-height: 1.8;
  }
}
.c-text-black + .c-text-black {
  margin-top: 2em;
}
.c-text-black.--base {
  color: var(--ink);
}

.c-wbr {
  display: inline-block;
}
.c-wbr.--block {
  display: block;
}

/* ---------- 斜めラインアニメーション ---------- */
.c-line_anime {
  pointer-events: none;
}
.c-line_anime .__lines {
  position: absolute;
  left: 50%;
  z-index: 5;
}
.c-line_anime .__line {
  width: 237px;
  height: 14px;
  position: absolute;
}
.c-line_anime .__line div {
  width: 0;
  height: 100%;
}
.c-line_anime .__line.--rb1 div {
  background-color: var(--rb1);
}
.c-line_anime .__line.--rb2 div {
  background-color: var(--rb2);
}
.c-line_anime .__line.--rb3 div {
  background-color: var(--rb3);
}
.c-line_anime .__line.--rb4 div {
  background-color: var(--rb4);
}
.c-line_anime .__line.--rb5 div {
  background-color: var(--rb5);
}
.c-line_anime .__line.--rb6 div {
  background-color: var(--rb6);
}
.c-line_anime .__line.--white div {
  background-color: #fff;
}
.c-line_anime .--right .__line {
  transform: rotate(-6deg);
}
.c-line_anime .--right .__line div {
  margin: 0 0 0 auto;
}
.c-line_anime .--right .__line:nth-child(2n) div {
  animation-delay: 0.3s !important;
}
.c-line_anime .--right .__line:nth-child(3n) div {
  animation-delay: 0.6s !important;
}
.c-line_anime .--left .__line {
  transform: rotate(6deg);
}
.c-line_anime .is-animated.--right .__line div {
  animation: toLeft 0.8s ease forwards;
}
.c-line_anime .is-animated.--left .__line div {
  animation: toRight 0.8s ease forwards;
}
@keyframes toLeft {
  0% {
    width: 0%;
    transform: translateX(200px);
  }
  100% {
    width: 100%;
    transform: translateX(0);
  }
}
@keyframes toRight {
  0% {
    width: 0%;
    transform: translateX(-200px);
  }
  100% {
    width: 100%;
    transform: translateX(0);
  }
}

/* ---------- カーソル追従サークル ---------- */
.l-cursor-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 120px;
  aspect-ratio: 1/1;
  border: 1px solid #fff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-60%, -60%);
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
@media screen and (max-width: 767px) {
  .l-cursor-circle {
    display: none;
  }
}
.l-cursor-circle .__text {
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
.l-header::after {
  content: "";
  display: block;
  background-color: rgba(255, 255, 255, 0.49);
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.is-menu-open .l-header::after {
  opacity: 1;
  pointer-events: auto;
}
.l-header .__inner {
  padding: var(--sp-40) var(--sp-64) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
@media screen and (max-width: 767px) {
  .l-header .__inner {
    padding: var(--sp-12) var(--sp-16);
  }
}
/* ロゴは白い角丸プレートに載せる。白地・青地・写真のどこに重なっても読めるように（右の CTA pill と対） */
.l-header .__logo {
  display: block;
  width: calc(163px + var(--sp-16) * 2);
  padding: 10px var(--sp-16);
  border-radius: var(--radius);
  background-color: #fff;
  box-shadow: var(--shadow-pill);
}
.l-header .__logo img {
  display: block;
}
@media screen and (max-width: 767px) {
  .l-header .__logo {
    width: calc(128px + var(--sp-12) * 2);
    padding: var(--sp-8) var(--sp-12);
  }
}
.l-header .__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  height: calc(var(--tap-min) + 8px);
  padding-right: 4px;
  border: 4px solid #fff;
  border-radius: var(--radius);
  background-color: #fff;
  box-shadow: var(--shadow-pill);
  position: relative;
  z-index: 20;
}
@media screen and (max-width: 767px) {
  .l-header .__button {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 30;
  }
}
.l-header .__button > a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--type-nav-label);
  font-weight: bold;
  width: 150px;
  height: 100%;
  border-radius: var(--radius);
  background: var(--accent);
}
.l-header .__button > div {
  width: var(--tap-min);
  height: var(--tap-min);
  position: relative;
  cursor: pointer;
}
.l-header .__button > div div,
.l-header .__button > div::before,
.l-header .__button > div::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: var(--radius);
  background-color: var(--base);
  position: absolute;
  left: 50%;
  transition: all 0.4s ease;
}
.l-header .__button > div div {
  top: calc(50% - 6px);
  transform: translate(-50%, -50%);
}
.l-header .__button > div::before {
  top: 50%;
  transform: translate(-50%, -50%);
}
.l-header .__button > div::after {
  top: calc(50% + 6px);
  transform: translate(-50%, -50%);
}
.is-menu-open .l-header .__button > div div {
  top: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
}
.is-menu-open .l-header .__button > div::before {
  opacity: 0;
}
.is-menu-open .l-header .__button > div::after {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
}

.l-header .__nav {
  width: min(100%, 1102px);
  padding: var(--sp-120) 0 var(--sp-96);
  background: var(--base);
  position: fixed;
  overflow-y: auto;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateX(100%);
}
@media screen and (min-width: 768px) {
  .l-header .__nav {
    display: block !important;
  }
}
@media screen and (max-width: 767px) {
  .l-header .__nav {
    display: none;
    width: 100%;
    padding: var(--sp-96) 0 var(--sp-40);
    background: var(--base-deep);
    transform: translateX(0);
    transition: none;
    opacity: 1;
  }
}
.l-header .__nav::before {
  content: "Recruitment";
  color: rgba(255, 255, 255, 0.08);
  font-family: "Outfit", sans-serif;
  font-size: 139px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.05em;
  position: fixed;
  top: -0.17em;
  left: 7px;
  transform: rotate(90deg) translateY(-100%);
  transform-origin: 0 0;
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .l-header .__nav::before {
    font-size: 40px;
    top: 60px;
    right: 0;
    left: auto;
    transform: rotate(-90deg) translateY(-100%);
    transform-origin: 100% 0;
  }
}
.l-header .__nav a {
  color: #fff;
}
.l-header .__nav .__main {
  display: grid;
  grid-template-columns: 200px 180px 140px;
  gap: 0 var(--sp-64);
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--sp-64);
}
@media screen and (max-width: 767px) {
  .l-header .__nav .__main {
    display: block;
    padding: 0 var(--sp-24);
  }
}
.l-header .__nav .__main > ul:nth-child(1) {
  grid-row: 1/3;
}
.l-header .__nav .__main > ul:nth-child(3) {
  grid-column: 2/3;
  margin-top: var(--sp-32);
}
@media screen and (max-width: 767px) {
  .l-header .__nav .__main > ul:nth-child(3) {
    margin-top: 0;
  }
}
@media screen and (max-width: 767px) {
  .l-header .__nav .__main > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}
.l-header .__nav .__main > ul > li + li {
  margin-top: 0;
}
@media screen and (max-width: 767px) {
  .l-header .__nav .__main > ul > li + li {
    margin-top: 0;
  }
}
.l-header .__nav .__main > ul .__parent {
  position: relative;
}
.l-header .__nav .__main > ul .__parent span {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
}
@media screen and (max-width: 767px) {
  .l-header .__nav .__main > ul .__parent span::before,
  .l-header .__nav .__main > ul .__parent span::after {
    content: "";
    display: block;
    width: 16px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .l-header .__nav .__main > ul .__parent span::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.4s ease;
  }
  .l-header .__nav .__main > ul .__parent span.is-close::after {
    transform: translate(-50%, -50%) rotate(0);
  }
}
.l-header .__nav .__main a {
  display: inline-flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  font-size: var(--type-body);
  font-weight: bold;
  letter-spacing: -0.02em;
}
@media screen and (max-width: 767px) {
  .l-header .__nav .__main a {
    display: block;
    font-size: var(--type-body);
    padding: var(--sp-16) 0;
  }
}
.l-header .__nav .__main .__children {
  margin-top: 0;
}
@media screen and (max-width: 767px) {
  .l-header .__nav .__main .__children {
    display: none;
    margin-top: 0;
    padding-bottom: var(--sp-24);
  }
}
.l-header .__nav .__main .__children > li + li {
  margin-top: 0;
}
.l-header .__nav .__main .__children a {
  font-size: var(--type-nav-label);
  font-weight: 400;
}
.l-header .__nav .__entry {
  max-width: var(--page-max);
  margin: var(--sp-40) auto 0;
}
@media screen and (max-width: 767px) {
  .l-header .__nav .__entry {
    display: none;
  }
}
.l-header .__nav .__entry_link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  color: #fff;
  font-size: var(--type-subheading);
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  background: var(--base);
  transition: filter 0.3s ease;
}
.l-header .__nav .__entry_link:hover {
  filter: brightness(1.1);
}
.l-header .__sub {
  max-width: var(--page-max);
  margin: var(--sp-32) auto 0;
  padding: 0 var(--sp-64);
  display: flex;
  gap: 24px;
}
@media screen and (max-width: 767px) {
  .l-header .__sub {
    flex-direction: column;
    gap: 0;
    padding: 0 var(--sp-24);
    margin-top: var(--sp-32);
  }
}
.l-header .__sub a {
  min-height: var(--tap-min);
  color: #fff;
  font-size: var(--type-nav-label);
}
.l-header .__copyright {
  max-width: var(--page-max);
  margin: var(--sp-32) auto 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--type-caption);
  text-align: center;
}
@media screen and (min-width: 768px) {
  .l-header .__copyright {
    display: none;
  }
}

/* ==========================================================================
   top-mv：ファーストビュー
   ========================================================================== */
.top-mv {
  width: 100%;
  padding: 0 var(--sp-40) var(--sp-120);
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 767px) {
  .top-mv {
    padding: 0 0 var(--sp-64);
  }
}
.top-mv .c-inner {
  max-width: var(--page-max);
  z-index: 2;
  position: relative;
}
@media screen and (max-width: 767px) {
  .top-mv .c-inner {
    padding-top: var(--sp-96);
  }
}
.top-mv .__info {
  display: flex;
  align-items: center;
  font-weight: 900;
  line-height: 1;
  position: fixed;
  bottom: 27%;
  right: 40px;
  transform: rotate(90deg) translateX(50%);
  transform-origin: 100% 0;
  color: #fff;
  z-index: 3;
}
@media screen and (max-width: 767px) {
  .top-mv .__info {
    display: none;
  }
}
.top-mv .__info .__sitename {
  font-size: var(--type-nav-label);
  margin: 0 20px 0 0;
}
.top-mv .__info .__copyright {
  font-size: var(--type-caption);
  opacity: 0.7;
}
.top-mv h1 {
  color: #fff;
  text-shadow: var(--shadow-on-photo);
  transition: all 0.4s ease;
  padding: 300px 0 623px;
}
@media screen and (max-width: 767px) {
  .top-mv h1 {
    padding: 140px 0 260px;
  }
}
.top-mv h1 .__copy_main {
  display: block;
  font-size: min(64px, 5.3333vw);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.06em;
}
@media screen and (max-width: 767px) {
  .top-mv h1 .__copy_main {
    font-size: 40px;
  }
}
.top-mv h1 .__copy_sub {
  display: block;
  font-size: clamp(15px, 1.5833vw, 19px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: var(--sp-16);
}
@media screen and (max-width: 767px) {
  .top-mv h1 .__copy_sub {
    font-size: var(--type-nav-label);
    margin-top: var(--sp-8);
  }
}
.top-mv p {
  color: #fff;
  text-shadow: var(--shadow-on-photo);
  font-size: min(64px, 5.3333vw);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.06em;
  white-space: nowrap;
  margin-top: var(--sp-80);
}
@media screen and (max-width: 767px) {
  .top-mv p {
    font-size: var(--type-heading-sm);
    margin-top: var(--sp-24);
    white-space: normal;
  }
}
.top-mv p + p {
  margin-top: 200px;
}
@media screen and (max-width: 767px) {
  .top-mv p + p {
    margin-top: var(--sp-80);
  }
}
.top-mv p .__pc1 {
  margin-left: 1.4em;
}
.top-mv p .__pc2 {
  display: block;
  padding-left: 1em;
}
.top-mv p .__pc3 {
  margin-left: 3em;
}
.top-mv p small {
  font-size: 0.7em;
  letter-spacing: -0.04em;
}
.top-mv .top-mv-fade {
  transition: opacity 0.4s ease;
}
.top-mv .c-button {
  margin-top: var(--sp-96);
  transition: opacity 0.4s ease;
}
@media screen and (max-width: 767px) {
  .top-mv .c-button {
    margin-top: var(--sp-40);
  }
}
.top-mv .__bg {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
}
.top-mv .__bg_img,
.top-mv .__staff {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}
.top-mv .__bg_img img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 0.3s ease;
  transform: scale(1.6, 1.6);
}
/* FAIL2対応：背景写真だけだとコピーが読みにくいため、
   自社CSSの既存グラデーション配色（--base-dark→--base-light2）を
   流用した斜めの濃色ブロックを敷いてコントラストを確保する。
   参照元CSSにこの要素はなく、可読性確保のための自作追加。 */
.top-mv .__scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(115deg, var(--base-dark) 0%, var(--base) 55%, var(--base-light2) 100%);
  clip-path: polygon(0 0, 64% 0, 40% 100%, 0 100%);
  opacity: 0.92;
}
@media screen and (max-width: 767px) {
  .top-mv .__scrim {
    width: 100%;
    /* SPはコピーが縦に伸びるので、下の2ブロックまで水色を届かせる。
       斜めに抜いて写真の見せ場（手元）は残す */
    clip-path: polygon(0 0, 100% 0, 100% 72%, 0 94%);
    height: 82%;
  }
}
.top-mv .__staff {
  z-index: 2;
  right: 0;
  left: auto;
  width: 55%;
}
@media screen and (max-width: 767px) {
  .top-mv .__staff {
    width: 100%;
    /* SPでは人物写真が全幅になり、z-index 2 のままだと scrim(1) を丸ごと覆ってしまう。
       水色のかぶりが消えて白文字が生写真の上に乗るので、scrim の下へ落とす */
    z-index: 0;
  }
}
.top-mv .__staff img {
  width: auto;
  max-width: none;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.4s ease;
}
.top-mv .__staff img.__01 {
  opacity: 1;
}
.top-mv .__staff img.__02 {
  opacity: 0;
}
.top-mv .c-line_anime .__lines {
  top: 0;
  width: 100%;
  height: 100%;
}
.top-mv .c-line_anime .__lines:nth-child(1) .__line {
  transform: rotate(-41deg);
}
.top-mv .c-line_anime .__lines:nth-child(1) .__line div {
  animation-play-state: paused;
}
.is-mv-animated .top-mv .c-line_anime .__lines .__line div {
  animation-play-state: running;
}
.top-mv .c-line_anime .__lines:nth-child(1) .__line:nth-child(1) {
  width: 16vw;
  height: 1.2vw;
  top: 22%;
  margin-left: 30vw;
}
.top-mv .c-line_anime .__lines:nth-child(1) .__line:nth-child(2) {
  width: 10vw;
  height: 2vw;
  top: 55%;
  margin-left: -10vw;
}
.top-mv .c-line_anime .__lines:nth-child(1) .__line:nth-child(3) {
  width: 8vw;
  height: 0.8vw;
  top: 70%;
  margin-left: 5vw;
}
.top-mv .c-line_anime .__lines:nth-child(2) .__line:nth-child(1) {
  width: 14vw;
  height: 1vw;
  top: 30%;
  margin-left: -35vw;
}
.top-mv .c-line_anime .__lines:nth-child(2) .__line:nth-child(2) {
  width: 6vw;
  height: 1.5vw;
  top: 45%;
  margin-left: -22vw;
}
.top-mv .c-line_anime .__lines:nth-child(2) .__line:nth-child(3) {
  width: 9vw;
  height: 0.6vw;
  top: 60%;
  margin-left: -30vw;
}
.top-mv .c-line_anime .__lines:nth-child(2) .__line:nth-child(4) {
  width: 5vw;
  height: 1vw;
  top: 75%;
  margin-left: -18vw;
}
.top-mv .c-line_anime .__lines:nth-child(3) .__line:nth-child(1) {
  width: 10vw;
  height: 1vw;
  top: 15%;
  margin-left: 20vw;
}
.top-mv .c-line_anime .__lines:nth-child(3) .__line:nth-child(2) {
  width: 6vw;
  height: 0.6vw;
  top: 40%;
  margin-left: 15vw;
}
.top-mv .c-line_anime .__lines:nth-child(3) .__line:nth-child(3) {
  width: 8vw;
  height: 1.2vw;
  top: 85%;
  margin-left: 10vw;
}
.top-mv .__anime {
  position: absolute;
  z-index: 1;
  transition: transform 0.3s ease;
}
.top-mv .__anime img {
  width: 100%;
}
.top-mv .__anime.__anime1 {
  width: 90%;
  top: 15%;
  left: -20%;
  opacity: 0.7;
}
.top-mv .__anime.__anime2 {
  width: 60%;
  bottom: -10%;
  right: -15%;
  opacity: 0.6;
}
@media screen and (max-width: 767px) {
  .top-mv .__anime.__anime1 {
    width: 130%;
    top: auto;
    bottom: 5%;
    left: -30%;
  }
  .top-mv .__anime.__anime2 {
    width: 90%;
    bottom: -20%;
  }
}

/* ==========================================================================
   top-session：トップ対談（斜めスプリット + 背景固定文字）
   ========================================================================== */
.top-session {
  padding: var(--sp-120) 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .top-session {
    padding: var(--sp-120) 0;
    background-color: #fff;
  }
}
@media screen and (max-width: 767px) {
  .top-session {
    display: flex;
    flex-direction: column-reverse;
    padding: var(--sp-64) 0;
  }
}
.top-session .c-inner {
  position: relative;
  z-index: 3;
}
.top-session::before {
  content: "";
  display: block;
  width: 780px;
  height: 71px;
  background: url("../images/illust/strip_icons.png") center center/contain no-repeat;
  transform: skewY(4deg) rotate(6deg);
  position: absolute;
  top: 640px;
  left: 52%;
  z-index: 2;
  transition: left 0.5s ease;
}
.top-session.is-bg-anime::before {
  top: 600px;
  left: 40%;
}
@media screen and (max-width: 767px) {
  .top-session::before,
  .top-session.is-bg-anime::before {
    width: 68vw;
    max-width: 280px;
    height: 26px;
    top: auto;
    bottom: var(--sp-32);
    left: 8%;
    transform: skewY(3deg) rotate(4deg);
  }
  .top-session.is-bg-anime::before {
    bottom: 46px;
    left: 14%;
  }
}
.top-session .__bg {
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transform: skewY(-6deg);
  transform-origin: top left;
  overflow: hidden;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .top-session .__bg {
    transform: none;
    position: relative;
    height: auto;
    aspect-ratio: 4/3;
  }
}
.top-session .__body {
  margin-left: auto;
  padding-right: 100px;
  width: 50%;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 1024px) {
  .top-session .__body {
    padding-right: 50px;
  }
}
@media screen and (max-width: 767px) {
  .top-session .__body {
    width: 100%;
    padding-right: 0;
  }
}
.top-session .__text {
  color: var(--ink);
}
/* 本文が装飾イラスト（.top-session::before）に重なるので、1文ずつ角丸の白プレートを敷く。
   .c-wbr は inline-block のまま（inline にすると GSAP の transform が効かなくなる）。
   1文が2行に割れるとプレートが箱になるので、長い文は HTML 側で分けてある */
.top-session .__text {
  margin-left: -0.5em;
}
.top-session .__text .c-wbr {
  line-height: 1.26;
  padding: var(--sp-8) var(--sp-12);
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.top-session .c-heading,
.top-session .c-heading .__ja,
.top-session .c-heading .__en {
  color: var(--base-deep);
}
.top-session .c-heading .__en::before {
  background-image: url("../images/common/ico_heading_orange.svg");
}
/* 地が白になったので、見出しを写真に重ねない。写真は左38%、見出しと本文は右カラムへ揃える */
@media screen and (min-width: 768px) {
  .top-session .c-heading {
    width: 50%;
    margin-left: auto;
  }
  .top-session .c-heading .__ja {
    font-size: min(64px, 5.3333vw);
  }
}
.top-session .c-button {
  margin-top: var(--sp-48);
}
.top-session .__img {
  width: 38%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: skewY(-6deg) scale(1.15);
  transform-origin: top left;
}
@media screen and (max-width: 767px) {
  .top-session .__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    position: static;
    transform: none;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
  }
}
.top-session .__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.top-session .__bg_text {
  color: var(--base-deep);
  font-size: min(64px, 5.3333vw);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  position: absolute;
  top: 45%;
  left: -8%;
  transform-origin: left top;
  transform: rotate(90deg) translate(-30%, 0) skewX(-6deg);
  opacity: 0.9;
  z-index: 0;
  transition: transform 0.6s ease, left 0.6s ease;
}
@media screen and (max-width: 767px) {
  .top-session .__bg_text {
    display: none;
  }
}
.top-session.is-bg-anime .__bg_text {
  left: -3%;
  transform: rotate(90deg) translate(-15%, 0) skewX(-6deg);
}
.top-session .c-line_anime .__lines:nth-child(1) .__line:nth-child(1) {
  width: 12vw;
  height: 0.8vw;
  top: 10%;
  margin-left: 12vw;
}
.top-session .c-line_anime .__lines:nth-child(1) .__line:nth-child(2) {
  width: 9vw;
  height: 1.4vw;
  top: 35%;
  margin-left: -5vw;
}
.top-session .c-line_anime .__lines:nth-child(1) .__line:nth-child(3) {
  width: 15vw;
  height: 0.6vw;
  top: 55%;
  margin-left: 22vw;
}
.top-session .c-line_anime .__lines:nth-child(2) .__line:nth-child(1) {
  width: 14vw;
  height: 0.8vw;
  bottom: 15%;
  margin-left: 28vw;
}
.top-session .c-line_anime .__lines:nth-child(2) .__line:nth-child(2) {
  width: 8vw;
  height: 0.8vw;
  bottom: 5%;
  margin-left: 2vw;
}

/* ==========================================================================
   top-about
   ========================================================================== */
.top-about {
  padding: var(--sp-120) 0;
  background-color: #fff;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .top-about {
    padding: var(--sp-64) 0 calc(min(44vw, 200px) * 0.541 + var(--sp-48));
  }
}
.top-about .c-inner {
  display: flex;
  justify-content: center;
  flex-direction: row;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 1024px) {
  .top-about .c-inner {
    justify-content: space-between;
  }
}
.top-about .__decor_leaf {
  display: block;
  position: absolute;
  width: 46vw;
  max-width: 620px;
  right: -4%;
  bottom: -12%;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.top-about .__decor_items {
  display: block;
  position: absolute;
  width: 340px;
  max-width: 26vw;
  left: 3%;
  bottom: -20px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
@media screen and (max-width: 1024px) {
  .top-about .__decor_items {
    bottom: -30px;
    width: 260px;
  }
}
@media screen and (max-width: 767px) {
  .top-about .__decor_leaf {
    width: 76vw;
    max-width: none;
    right: -12%;
    bottom: -2%;
    opacity: 0.09;
  }
  .top-about .__decor_items {
    width: 44vw;
    max-width: 200px;
    left: 4%;
    bottom: 8px;
  }
}
@media screen and (max-width: 767px) {
  .top-about .c-inner {
    display: block;
  }
}
.top-about .c-heading {
  margin-right: 20px;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .top-about .c-heading {
    width: 158px;
    margin: 0 0 0 auto;
  }
}
.top-about .__body {
  margin-top: 12%;
  padding-left: 100px;
}
@media screen and (max-width: 1024px) {
  .top-about .__body {
    margin-top: 0;
    padding-left: 50px;
  }
}
@media screen and (max-width: 767px) {
  .top-about .__body {
    margin-top: var(--sp-64);
    padding-left: 0;
  }
}
.top-about .c-text-black {
  font-size: var(--type-body);
}
@media screen and (max-width: 767px) {
  .top-about .c-text-black {
    font-size: var(--type-body);
    line-height: 1.5;
  }
}
.top-about .c-button {
  margin-top: var(--sp-48);
}
@media screen and (max-width: 767px) {
  .top-about .c-button {
    margin-top: var(--sp-64);
  }
}
.top-about .c-line_anime .__lines:nth-child(1) .__line:nth-child(1) {
  width: 16vw;
  height: 0.8vw;
  top: 15%;
  margin-left: -32vw;
}
.top-about .c-line_anime .__lines:nth-child(2) .__line:nth-child(1) {
  width: 9vw;
  height: 0.6vw;
  bottom: 20%;
  margin-left: 25vw;
}
.top-about .c-line_anime .__lines:nth-child(2) .__line:nth-child(2) {
  width: 5vw;
  height: 0.6vw;
  bottom: 8%;
  margin-left: 18vw;
}

/* ==========================================================================
   top-slider（社員スナップ・流れ続けるスライダー）
   ========================================================================== */
.top-slider {
  margin-top: -4%;
  position: relative;
  z-index: 4;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .top-slider {
    margin-top: 0;
  }
}
.top-slider-wrapper {
  display: flex;
}
.top-slider .__item {
  flex: 0 0 auto;
  width: 22%;
  margin-right: var(--sp-8);
}
@media screen and (max-width: 767px) {
  .top-slider .__item {
    width: 55%;
  }
}
.top-slider .__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* slick未初期化時のフォールバック表示 */
.top-slider .js-top-slider:not(.slick-initialized) {
  overflow: hidden;
}
.top-slider .js-top-slider:not(.slick-initialized) .__item {
  width: 22%;
}

/* ==========================================================================
   top-talk / l-crosstalk
   ========================================================================== */
.top-talk {
  padding: var(--sp-80) 0 var(--sp-120);
  background-color: #fff;
  position: relative;
  z-index: 3;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .top-talk {
    padding: var(--sp-48) 0 var(--sp-64);
  }
}
.top-talk .__heading {
  color: #fff;
  font-weight: 900;
  text-align: left;
  width: 90%;
  max-width: var(--page-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.top-talk .__heading::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: -160px;
  bottom: -35px;
  background-color: var(--base);
  z-index: -1;
}
.top-talk .__heading .__ja {
  display: block;
  font-size: var(--type-heading-sm);
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-32);
}
@media screen and (max-width: 767px) {
  .top-talk .__heading .__ja {
    font-size: var(--type-nav-label);
    margin-bottom: var(--sp-16);
  }
}
.top-talk .__heading .__lead {
  display: block;
  font-size: min(80px, 6.6667vw);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-feature-settings: "palt" 1;
  width: auto;
  margin: 0;
  transform: rotate(-3deg);
}
@media screen and (max-width: 767px) {
  .top-talk .__heading::before {
    top: -88px;
    bottom: -50px;
  }
  .top-talk .__heading .__lead {
    font-size: 40px;
    width: 100%;
  }
}
.top-talk .__heading .__lead span {
  display: inline;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .top-talk .__heading .__lead span {
    display: block;
    margin-bottom: -0.24em;
  }
  .top-talk .__heading .__lead span:nth-child(2) {
    padding-left: 1.2em;
  }
}

.l-crosstalk {
  color: var(--ink);
  margin: var(--sp-64) 0;
}
.l-crosstalk li {
  position: relative;
}
.l-crosstalk li + li {
  border-top: 1px solid #cbe9f8;
}
.l-crosstalk a {
  display: flex;
  align-items: center;
  height: 400px;
  border-bottom: 0;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .l-crosstalk a {
    align-items: flex-end;
    height: auto;
    min-height: 260px;
    padding: var(--sp-32) 0;
  }
}
.l-crosstalk li:first-child a {
  border-top: 1px solid #cbe9f8;
}
.l-crosstalk .__row {
  display: flex;
  align-items: flex-end;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .l-crosstalk .__row {
    display: block;
  }
}
.l-crosstalk .__left {
  width: 50%;
  padding-bottom: var(--sp-40);
}
@media screen and (max-width: 767px) {
  .l-crosstalk .__left {
    width: 100%;
    padding-bottom: 0;
  }
}
.l-crosstalk .__right {
  max-width: 50%;
  padding-left: 5%;
}
@media screen and (max-width: 767px) {
  .l-crosstalk .__right {
    max-width: 100%;
    padding-left: 0;
    padding-top: 4px;
  }
}
.l-crosstalk .__illust {
  display: block;
  height: 190px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 0 var(--sp-16);
  pointer-events: none;
  user-select: none;
}
@media screen and (max-width: 1024px) {
  .l-crosstalk .__illust {
    height: 140px;
    margin: 0 0 var(--sp-12);
  }
}
@media screen and (max-width: 767px) {
  .l-crosstalk .__illust {
    height: 104px;
    margin: 0 0 var(--sp-12);
  }
}
.l-crosstalk h3 {
  color: var(--base-deep);
  margin-bottom: var(--sp-24);
}
.l-crosstalk h3 > span {
  display: block;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.l-crosstalk h3 > span.__l {
  font-size: min(48px, 4vw);
}
@media screen and (max-width: 767px) {
  .l-crosstalk h3 > span.__l {
    font-size: 24px;
  }
}
.l-crosstalk h3 > span.__m {
  font-size: min(32px, 2.6667vw);
}
@media screen and (max-width: 767px) {
  .l-crosstalk h3 > span.__m {
    font-size: var(--type-body);
  }
}
.l-crosstalk .__part {
  color: var(--base-dark);
  font-size: var(--type-subheading);
  font-weight: 900;
}
@media screen and (max-width: 767px) {
  .l-crosstalk .__part {
    font-size: var(--type-body);
    text-align: right;
    margin-top: var(--sp-8);
  }
}
.l-crosstalk .__part span {
  display: inline-block;
  font-size: var(--type-nav-label);
  margin-right: 10px;
  padding-left: var(--sp-24);
  background: url("../images/common/ico_heading_orange.svg") left center/20px no-repeat;
}
.l-crosstalk .__num {
  color: var(--base-dark);
  font-size: var(--type-body);
  margin-bottom: 5px;
}
.l-crosstalk .__desc {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: var(--tracking-body);
  font-size: var(--type-body-sm);
}
.l-crosstalk .__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
.l-crosstalk .__bg::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--base-pale3);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.l-crosstalk .__bg::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .l-crosstalk a.is-hover ~ .__bg::before {
    opacity: 0.9;
  }
  .l-crosstalk a.is-hover ~ .__bg::after {
    opacity: 1;
  }
}
.l-crosstalk li:nth-child(1) .__bg::after {
  background-image: url("../images/page/crosstalk_bg01.jpg");
}
.l-crosstalk li:nth-child(2) .__bg::after {
  background-image: url("../images/page/crosstalk_bg02.jpg");
}
.l-crosstalk li:nth-child(3) .__bg::after {
  background-image: url("../images/page/crosstalk_bg03.jpg");
}
.l-crosstalk li:nth-child(4) .__bg::after {
  background-image: url("../images/page/crosstalk_bg04.jpg");
}
.top-talk .__button {
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 767px) {
  .top-talk .__button {
    justify-content: center;
  }
}

/* ==========================================================================
   top-interview
   ========================================================================== */
.top-interview {
  background-color: var(--base);
  position: relative;
  z-index: 3;
  padding-top: var(--sp-120);
  padding-bottom: var(--sp-120);
}
@media screen and (max-width: 767px) {
  .top-interview {
    padding-top: var(--sp-64);
    padding-bottom: var(--sp-64);
  }
}
.top-interview .c-inner {
  display: flex;
  gap: 40px;
}
@media screen and (max-width: 1024px) {
  .top-interview .c-inner {
    flex-direction: column;
  }
}
.top-interview .__body {
  width: 320px;
  flex: 0 0 auto;
}
@media screen and (max-width: 1024px) {
  .top-interview .__body {
    width: 100%;
  }
}
.top-interview .c-heading {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: var(--sp-40);
  padding-left: 0;
}
.top-interview .c-heading .__ja {
  font-size: min(56px, 4.6667vw);
  margin-left: 0;
}
@media screen and (max-width: 767px) {
  .top-interview .c-heading .__ja {
    font-size: 40px;
  }
}
.top-interview .c-heading .__en {
  margin-bottom: var(--sp-24);
  position: static;
  transform: none;
}
.top-interview .c-text-black {
  color: #fff;
  font-size: var(--type-body-sm);
  font-weight: 500;
  line-height: 1.9;
  max-width: 320px;
  margin-bottom: var(--sp-40);
}
.top-interview .__cards {
  display: flex;
  gap: 16px;
  flex: 1;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .top-interview .__cards {
    flex-wrap: wrap;
  }
}
.top-interview .__cards .__card {
  width: 260px;
  flex: 1 1 260px;
  max-width: 340px;
  aspect-ratio: 456/630;
  background-color: rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .top-interview .__cards .__card {
    display: none;
    width: 100%;
    aspect-ratio: 335/374;
  }
  .top-interview .__cards .__card:has(a) {
    display: block;
  }
}
.top-interview .__cards a {
  display: block;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.top-interview .__cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
@media screen and (min-width: 768px) {
  .top-interview .__cards a:hover img {
    transform: scale(1.05);
  }
}
.top-interview .__cards .__content {
  padding: var(--sp-24);
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
}
.top-interview .__cards .__num {
  font-size: var(--type-nav-label);
  margin-bottom: 4px;
}
.top-interview .__cards .__title {
  font-size: min(32px, 2.6667vw);
  font-weight: 900;
  line-height: 1.3;
}
@media screen and (max-width: 767px) {
  .top-interview .__cards .__title {
    font-size: var(--type-subheading);
  }
}
.top-interview .__cards .__text {
  font-size: var(--type-nav-label);
  font-weight: 700;
  line-height: 1.5;
  margin-top: var(--sp-8);
}

/* ==========================================================================
   フッター
   ========================================================================== */
.l-footer {
  margin-top: var(--sp-80);
  padding-bottom: var(--sp-64);
  position: relative;
  z-index: 10;
  background: var(--base-dark);
}
@media screen and (max-width: 767px) {
  .l-footer {
    margin-top: var(--sp-48);
  }
}
.l-footer .c-inner {
  position: relative;
  z-index: 2;
  padding-top: var(--sp-64);
}
.l-footer .__decor_blob {
  display: block;
  position: absolute;
  width: 220px;
  max-width: 18vw;
  bottom: var(--sp-24);
  right: 6%;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
@media screen and (max-width: 767px) {
  .l-footer .__decor_blob {
    width: 42vw;
    max-width: 180px;
    top: 560px;
    right: -10%;
    opacity: 0.16;
  }
}
.l-footer .__bnrs {
  display: flex;
  gap: 4px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .l-footer .__bnrs {
    display: block;
  }
}
.l-footer .__bnrs a {
  display: block;
  width: 50%;
  aspect-ratio: 700/475;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .l-footer .__bnrs a {
    width: 100%;
  }
}
.l-footer .__bnrs a::before,
.l-footer .__bnrs a::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
}
/* 全面に 55% のこげ茶をかけると写真が泥になって「ただの色板」に見える。
   文字が乗る下端だけ濃く、上に向かって抜くグラデーションにする。
   下端 0.85 / 中腹 0.5 で、白 28px 太字の文字は最悪ケースでも 5.3:1 を確保している */
.l-footer .__bnrs a::before {
  background-color: rgba(0, 57, 82, 0.55);
  z-index: 1;
}
/* 背景は CSS 側に直書きする。インラインの style 属性で --bnr-bg に url() を渡すと、
   Chrome は var() を使っている側（このファイル）を基準に相対パスを解くので
   /assets/css/assets/images/... を取りに行って 404 になる。
   .l-crosstalk と同じ、動いている書き方に揃えた */
.l-footer .__bnrs a:nth-child(1)::after {
  background-image: url("../images/common/footer_bnr_about_bg.jpg");
}
.l-footer .__bnrs a:nth-child(2)::after {
  background-image: url("../images/common/footer_bnr_job_bg.jpg");
}
.l-footer .__bnrs a::after {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .l-footer .__bnrs a:hover::after {
    transform: scale(1.05);
    filter: brightness(0.82);
  }
}
.l-footer .__bnr_text {
  position: absolute;
  left: 24px;
  bottom: 40px;
  color: #fff;
  font-size: min(32px, 2.6667vw);
  font-weight: 800;
  line-height: 1.3;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .l-footer .__bnr_text {
    font-size: var(--type-subheading);
    bottom: 16px;
    left: 12px;
  }
}
.l-footer .__bnrs .c-icon-arrow-white {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
}
.l-footer .__links {
  margin-top: var(--sp-80);
}
.l-footer .__copy {
  color: #fff;
  font-size: var(--type-subheading);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: var(--sp-40);
}
@media screen and (max-width: 767px) {
  .l-footer .__copy {
    font-size: var(--type-body);
  }
}
.l-footer .__main,
.l-footer .__sub {
  color: #fff;
}
.l-footer .__main > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-16) var(--sp-24);
}
@media screen and (max-width: 767px) {
  .l-footer .__main > ul {
    display: block;
    columns: 2;
    column-gap: var(--sp-16);
  }
  .l-footer .__main > ul > li {
    break-inside: avoid;
  }
}
.l-footer .__main a {
  display: inline-flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  font-size: var(--type-nav-label);
}
.l-footer .__main .__children a {
  opacity: 0.88;
}
@media screen and (max-width: 767px) {
  .l-footer .__main .__children {
    padding-left: var(--sp-12);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }
}
.l-footer .__logo {
  margin-top: var(--sp-48);
  width: 240px;
  max-width: 60%;
}
.l-footer .__sub {
  display: flex;
  gap: var(--sp-24);
  margin-top: var(--sp-24);
  font-size: var(--type-nav-label);
}
@media screen and (max-width: 767px) {
  .l-footer .__sub {
    flex-direction: column;
    gap: 0;
  }
}
.l-footer .__sub a {
  min-height: var(--tap-min);
}
.l-footer .__copyright {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--type-caption);
  margin-top: var(--sp-32);
}
.l-footer .__disclaimer {
  color: var(--base-pale);
  font-size: var(--type-caption);
  margin-top: var(--sp-8);
}

/* ==========================================================================
   共通フェード：ScrollTrigger等で is-inview を付与する対象
   ========================================================================== */
.js-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-fade-in.is-inview {
  opacity: 1;
  transform: translateY(0);
}
