@charset "utf-8";

/*
 * style.css
 *
 *  version --- 1.0
 *  updated --- 2017/11/30
 */

:root {
  --vw: 1512;
  --vh: 982;

  --black: #000;
  --blue: #2e78ee;
  --gray: #dcdcdc;
  --white: #fff;

  --linear: linear-gradient(90deg, #27e58e 0%, #0fc4f2 25.96%, #1b34b2 100%);

  --font:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
  --poppins: "Poppins", sans-serif;
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  :root {
    --vw: 375;
    --vh: 667;
  }
}

/* !HTML5 elements
---------------------------------------------------------- */
header,
footer,
nav,
section,
aside,
article {
  display: block;
}

/* !Reseting
---------------------------------------------------------- */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

fieldset {
  border: none;
}

ul,
ol,
li {
  list-style: none;
}

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

table {
  border-collapse: collapse;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

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

input[type="radio"]::-ms-check,
input[type="checkbox"]::-ms-check {
  display: none;
}

select,
input[type="radio"],
input[type="checkbox"],
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="reset"],
input[type="button"],
input[type="submit"],
textarea {
  appearance: none;
  border-radius: 0;
  font-family: var(--font);
  color: var(--black);
}

input[type="text"]::-ms-clear,
input[type="tel"]::-ms-clear,
input[type="number"]::-ms-clear {
  display: none;
}

input[type="reset"],
input[type="button"],
input[type="submit"] {
  font-family: var(--font);
  cursor: pointer;
}

*,
*:before,
*::after {
  box-sizing: border-box;
}
/* !Clearfix
---------------------------------------------------------- */
.clearfix {
  display: block;
  min-height: 1%;
}

.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

* html .clearfix {
  height: 1%;
}

/* !Layout
---------------------------------------------------------- */
html {
  overflow-y: scroll;
  font-size: 62.5%;
}

body {
  isolation: isolate;
}

/*** タブレット 768x ~ 1200px***/
@media screen and (min-width: 769px) and (max-width: 1200px) {
  html {
    font-size: calc(100vw / 120);
  }
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  html {
    font-size: 62.5%;
  }
}

body {
  font-family: var(--font);
  font-size: 1.6rem;
  -webkit-text-size-adjust: none;
  line-height: 1.5;
  font-weight: normal;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.unload,
.no-move {
  overflow: hidden;
}

/* !Base Fonts -------------------------------------------------------------- */
a {
  color: var(--black);
  text-decoration: none;
}

/*** hover ***/
@media screen and (min-width: 769px) {
  a {
    transition: all 0.5s;
  }

  a:hover {
    text-decoration: none;
    color: var(--blue);
  }

  .op {
    transition: opacity 0.5s ease-out;
  }

  .op:hover {
    opacity: 0.7;
    text-decoration: none;
  }

  a[href^="tel:"] {
    cursor: default;
    pointer-events: none;
  }
}

.is-hide {
  display: none;
}

@media screen and (min-width: 769px) {
  .is-sp {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .is-pc {
    display: none;
  }
}

.color-blue {
  color: var(--blue);
}

.font-poppins {
  font-family: var(--poppins);
}

/* !wrapper
---------------------------------------------------------- */
#wrapper {
  width: 100%;
  /* background: var(--white); */
}

/* !header
---------------------------------------------------------- */

#header {
  width: 100%;
}

._header_hide .header-logo .logo,
._header_hide .header-logo .enlogo {
  opacity: 0;
  transform: translateY(-10rem);
}

.header-logo .logo {
  position: fixed;
  left: 2.4rem;
  top: 3.65rem;
  z-index: 999;
  width: 2.55rem;
  opacity: 1;
  transform: translateY(0);
  transition: 0.6s ease;
}

.header-logo .logo img {
  width: 100%;
}

.header-logo .enlogo {
  position: fixed;
  left: 5.35rem;
  top: 4.45rem;
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  transition: 0.2s ease;
}

.header-logo .enlogo img {
  filter: brightness(0);
}

.header-logo .enlogo img,
.header-logo .enlogo a,
.header-logo .enlogo a span {
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    filter 0.25s ease;
}

.header-logo .enlogo a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  color: var(--black);
}

.header-logo .enlogo a img {
  width: 19.691rem;
}

.header-logo .enlogo a span {
  border: 0.1rem solid var(--black);
  width: 9.2rem;
  height: 2.6rem;
  border-radius: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  line-height: 1;
  font-family: var(--poppins);
}

#header.is-logo-light .header-logo .enlogo img {
  filter: brightness(0) invert(1);
}

#header.is-logo-light .header-logo .enlogo a {
  color: var(--white);
}

#header.is-logo-light .header-logo .enlogo a span {
  border-color: var(--white);
}

.btn-menu {
  display: none;
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  ._header_hide .header-logo .logo,
  ._header_hide .header-logo .enlogo {
    transform: translateY(-5rem);
  }
  .header-logo .logo {
    left: 1.6rem;
    top: 1.6rem;
    width: 2.064rem;
  }

  .header-logo .enlogo {
    top: 2.459rem;
    left: 3.988rem;
  }

  .header-logo .enlogo a {
    gap: 1.295rem;
  }

  .header-logo .enlogo a img {
    width: 15.94rem;
  }

  .header-logo .enlogo a span {
    width: 7.8rem;
    height: 2.1rem;
    border-radius: 2.6rem;
    font-size: 1.2rem;
  }

  ._header_hide .btn-menu {
    opacity: 0;
    transform: translateY(-5rem);
  }

  .btn-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.4rem;
    width: 3.2rem;
    height: 3.2rem;
    border: 0.1rem solid var(--black);
    border-radius: 100%;
    position: fixed;
    z-index: 999;
    right: 1.6rem;
    top: 1.6rem;
    opacity: 1;
    transform: translateY(0);
    transition:
      border-color 0.25s ease,
      opacity 0.6s ease,
      transform 0.6s ease;
  }
  #header.is-logo-light .btn-menu,
  #header.is-menu-light .btn-menu,
  #header.is-open .btn-menu {
    border-color: var(--white);
  }

  .btn-menu .btn-menu__line {
    width: 1.6rem;
    height: 0.1rem;
    background: var(--black);
    content: "";
    border-radius: 0.1rem;
    transition:
      background-color 0.25s ease,
      opacity 0.5s,
      transform 0.5s;
  }

  #header.is-logo-light .btn-menu .btn-menu__line,
  #header.is-menu-light .btn-menu .btn-menu__line,
  #header.is-open .btn-menu .btn-menu__line {
    background: var(--white);
  }

  #header.is-open .btn-menu .btn-menu__line:nth-child(1) {
    transform: translateY(0.5rem) rotate(30deg);
  }

  #header.is-open .btn-menu .btn-menu__line:nth-child(2) {
    opacity: 0;
  }

  #header.is-open .btn-menu .btn-menu__line:nth-child(3) {
    transform: translateY(-0.5rem) rotate(-30deg);
  }
}

/* !global navigation
---------------------------------------------------------- */

._header_hide #g-navi {
  opacity: 0;
  transform: translateY(-10rem);
}

#g-navi {
  position: fixed;
  z-index: 998;
  right: 2.4rem;
  top: 2.4rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1.6rem;
  padding: 0 2.4rem;
  display: flex;
  align-items: center;
  gap: 3.2rem;
  opacity: 1;
  transform: translateY(0);
  transition: 0.6s ease;
}

#g-navi .main-menu {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

#g-navi .main-menu > li {
  position: relative;
  padding: 1.6rem 0;
}

#g-navi .main-menu > li > a {
  display: flex;
  height: 3.5rem;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.5;
}

#g-navi .main-menu > li > a.parent:after {
  width: 0.8rem;
  height: 100%;
  background: url(../img/common/icon_arrow_down.svg) center center no-repeat;
  background-size: 100% auto;
  content: "";
}

#g-navi .sub-menu li a {
  padding: 0.7rem 1rem 0.7rem 0;
  display: block;
  background: url(../img/common/icon_arrow_right.svg) right center no-repeat;
  background-size: 0.5rem auto;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: bold;
}

#g-navi .navi-entry a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 9.7rem;
  height: 3.5rem;
  border: 0.1rem solid var(--blue);
  background: var(--blue);
  font-size: 1.6rem;
  font-weight: 1.5;
  font-weight: 500;
  color: var(--white);
  border-radius: 6rem;
}

@media screen and (max-width: 1239px) {
  #g-navi .main-menu {
    gap: 2.4rem;
  }
}

/*** hover ***/
@media screen and (min-width: 769px) {
  /* 親〜サブメニュー間の透明ヒットエリア（HTML の .sub-menu-bridge）でホバーを継続 */
  #g-navi .sub-menu-bridge {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 24rem;
    height: 1.6rem;
    z-index: 1;
    pointer-events: none;
    background: transparent;
  }

  #g-navi .main-menu > li:hover .sub-menu-bridge {
    pointer-events: auto;
  }

  #g-navi .main-menu > li:hover > a {
    color: var(--blue);
  }

  #g-navi .sub-menu {
    position: absolute;
    left: -2.4rem;
    top: calc(100% + 1.6rem);
    /* transform: translateX(-50%); */
    width: 24rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1.6rem;
    padding: 1.2rem 2.4rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.5s,
      visibility 0.5s;
    display: block !important;
  }

  #g-navi .main-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #g-navi .navi-entry a:hover {
    background: var(--white);
    color: var(--blue);
  }
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  ._header_hide #g-navi {
    opacity: 0;
    transform: translateY(0);
  }
  #g-navi {
    right: 0;
    top: 0;
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    display: block;
    background: url(../img/common/noise_blue.webp) center center repeat;
    background-size: 10rem auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.5s,
      visibility 0.5s;
    padding: 9.2rem 2.4rem 8rem;
  }

  #header.is-open #g-navi {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #g-navi .main-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  #g-navi .main-menu > li {
    padding: 0;
    border-bottom: 0.1rem solid #5585d1;
    width: 100%;
  }

  #g-navi .main-menu > li > a {
    height: auto;
    justify-content: space-between;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 3.75;
    padding: 0;
    color: var(--white);
  }

  #g-navi .main-menu > li > a.parent:after {
    height: 0.5rem;
    background-image: url(../img/common/icon_arrow_down_white.svg);
    transition: transform 0.5s;
  }

  #g-navi .main-menu > li > a.parent.is-active:after {
    transform: scale(-1);
  }

  #g-navi .sub-menu-bridge {
    display: none;
  }

  #g-navi .sub-menu {
    display: none;
    padding-bottom: 1.5rem;
  }

  #g-navi .sub-menu li + li {
    margin-top: 0.6rem;
  }

  #g-navi .sub-menu li a {
    padding: 0 0.8rem;
    background: none;
    color: var(--white);
    line-height: 1.5;
    font-weight: normal;
  }

  #g-navi .navi-entry {
    margin-top: 4.8rem;
    text-align: center;
  }

  #g-navi .navi-entry a {
    width: 100%;
    height: 4rem;
    border-radius: 6rem;
    background: var(--white);
    color: var(--blue);
    line-height: 1.8rem;
    font-weight: 500;
  }
}

/* !breadcrumb
---------------------------------------------------------- */
#breadcrumb {
}

/*** hover ***/
@media screen and (min-width: 769px) {
}

/* !teaser
---------------------------------------------------------- */
#teaser {
}

/*** hover ***/
@media screen and (min-width: 769px) {
}

/* !contents
---------------------------------------------------------- */
#contents {
}

.inner {
}

/*** hover ***/
@media screen and (min-width: 769px) {
}

/* !common entry
---------------------------------------------------------- */
.common-entry {
  width: 100%;
  background: url(../img/common/bg_entry.webp) center center no-repeat;
  background-size: cover;
  height: 98.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.common-entry__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 4;
}

.common-entry__text {
  width: 62.6rem;
}

.common-entry__text img {
  width: 100%;
}

.common-entry__links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 31.2rem;
  height: 7.3rem;
  border-radius: 6rem;
  background: var(--white);
  font-size: 3.6rem;
  line-height: 1.5;
  font-weight: 700;
  font-family: var(--poppins);
  color: var(--blue);
  box-shadow: 2rem 2rem 2rem 0 rgba(0, 0, 0, 0.2);
}

.common-entry__line {
  width: 190rem;
  height: 120rem;
  position: absolute;
  top: -12.3rem;
  left: 50%;
  transform: translateX(-50%);
  margin-left: -10.8rem;
  z-index: 2;
  filter: blur(15px);
}

.common-entry__line svg {
  width: 100%;
  height: 100%;
}

.common-entry__line svg path {
  stroke-dasharray: 10000;
  stroke-dashoffset: 10000;
  pointer-events: none;
}

._inview .common-entry__line svg path {
  animation: animateDash 2s linear forwards;
}

@keyframes animateDash {
  to {
    stroke-dashoffset: 0;
  }
}

.common-entry__image--row {
  position: absolute;
  z-index: 3;
}

.common-entry__image--row img {
  width: 100%;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.common-entry__inner:has(.common-entry__links:hover)
  ~ .common-entry__image
  .common-entry__image--row._image01
  img {
  transform: translateY(-10%);
}

.common-entry__image--row._image01 {
  width: 13.4rem;
  top: 4.6rem;
  right: 50%;
  transform: translateX(-24.2rem);
}

.common-entry__image--row._image02 {
  width: 17.9rem;
  top: 11.1rem;
  left: 50%;
  transform: translateX(54.1rem);
}

.common-entry__inner:has(.common-entry__links:hover)
  ~ .common-entry__image
  .common-entry__image--row._image02
  img {
  transform: translateY(-10%);
}

.common-entry__image--row._image03 {
  width: 24.1rem;
  top: 21.7rem;
  right: 50%;
  transform: translateX(-43.1rem);
}

.common-entry__inner:has(.common-entry__links:hover)
  ~ .common-entry__image
  .common-entry__image--row._image03
  img {
  transform: translateY(10%);
}

.common-entry__image--row._image04 {
  width: 24.3rem;
  bottom: 2.563rem;
  right: 50%;
  transform: translateX(-22.2rem);
}

.common-entry__inner:has(.common-entry__links:hover)
  ~ .common-entry__image
  .common-entry__image--row._image04
  img {
  transform: translateY(-10%);
}

.common-entry__image--row._image05 {
  width: 25.35rem;
  bottom: 19rem;
  left: 50%;
  transform: translateX(44.7rem);
  z-index: 1;
}

.common-entry__inner:has(.common-entry__links:hover)
  ~ .common-entry__image
  .common-entry__image--row._image05
  img {
  transform: translateY(10%);
}

/*** hover ***/
@media screen and (min-width: 769px) {
  .common-entry__links a:hover {
    color: var(--white);
    background: var(--blue);
    box-shadow: 2rem 2rem 2rem 0 rgba(0, 0, 0, 0);
  }
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  .common-entry {
    height: 84.4rem;
  }

  .common-entry__text {
    padding: 0 1.6rem;
    width: 100%;
    text-align: center;
  }

  .common-entry__text img {
    width: 100%;
    max-width: 34.2rem;
  }

  .common-entry__links a {
    width: 18rem;
    height: 4rem;
    border-radius: 3.3rem;
    font-size: 2rem;
    box-shadow: 1.1rem 1.1rem 1.1rem 0 rgba(0, 0, 0, 0.2);
  }

  .common-entry__line {
    width: 118.72rem;
    height: auto;
    aspect-ratio: 19 / 12;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    filter: blur(9px);
  }

  ._inview .common-entry__line svg path {
    animation: animateDash 1.4s linear forwards;
  }

  .common-entry__image--row._image01 {
    width: 8.85rem;
    transform: translateX(50%);
    top: 3.5rem;
  }

  .common-entry__image--row._image02 {
    width: 7.2rem;
    top: 16.7rem;
    transform: translateX(9.3rem);
  }

  .common-entry__image--row._image03 {
    width: 12rem;
    top: 14.3rem;
    transform: translateX(-4.2rem);
  }

  .common-entry__image--row._image04 {
    width: 10.65rem;
    bottom: 4rem;
    transform: translateX(-2rem);
  }

  .common-entry__image--row._image05 {
    width: 14.05rem;
    bottom: 10.3rem;
    transform: translateX(3.9rem);
    /* z-index: 3; */
  }
}

/* !page Top
---------------------------------------------------------- */
.page-top {
}

/*** hover ***/
@media screen and (min-width: 769px) {
}

/* !footer
---------------------------------------------------------- */
#footer {
  background: url(../img/common/noise_blue.webp) center center repeat;
  background-size: 10rem auto;
  padding: 6rem 2rem;
}

.footer-inner {
  width: 100%;
  max-width: 94.8rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 41rem;
  gap: 4rem;
}

.footer-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-logo {
  margin-bottom: 2.4rem;
}

.footer-logo a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-logo .logo img {
  width: 2.55rem;
}

.footer-logo .enlogo {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.footer-logo .enlogo img {
  width: 19.691rem;
  filter: brightness(0) invert(1);
}

.footer-logo .enlogo span {
  border: 0.1rem solid var(--white);
  width: 9.2rem;
  height: 2.6rem;
  border-radius: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  line-height: 1;
  font-family: var(--poppins);
  color: var(--white);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.footer-links a {
  font-size: 1.4rem;
  line-height: 1.6rem;
  color: var(--white);
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--white);
  font-family: var(--poppins);
}

.footer-menu {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-menu > ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
}

.footer-menu > ul > li {
  line-height: 1;
}

.footer-menu > ul > li > a {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--white);
  font-weight: bold;
}

.footer-menu > ul ul li {
  margin-top: 0.5rem;
}

.footer-menu > ul ul li a {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--white);
}

/*** hover ***/
@media screen and (min-width: 769px) {
  .footer-menu > ul ul {
    display: block !important;
  }

  #footer .footer-links a,
  #footer .footer-menu a,
  #footer .footer-logo a {
    transition: opacity 0.25s ease;
  }

  #footer .footer-links a:hover,
  #footer .footer-menu a:hover {
    opacity: 0.7;
    color: var(--white);
  }

  #footer .footer-logo a:hover {
    opacity: 0.8;
    color: var(--white);
  }
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  #footer {
    padding: 6.4rem 2.4rem;
  }

  .footer-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 3.8rem;
  }

  .footer-box {
    align-items: center;
    gap: 2.4rem;
  }

  .footer-logo {
    margin-bottom: 0;
  }

  .footer-logo a {
    width: 100%;
    justify-content: center;
    gap: 0.4rem;
  }

  .footer-logo .enlogo {
    gap: 1.6rem;
  }

  .footer-logo .enlogo img {
    width: 19.691rem;
  }

  .footer-logo .enlogo span {
    width: 9.2rem;
    height: 2.6rem;
    border-radius: 3.2rem;
    font-size: 1.4rem;
  }

  .footer-links {
    display: flex;
    align-items: center;
    gap: 3.2rem;
  }

  .footer-links a {
    font-size: 1.3rem;
  }

  .footer-menu > ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-menu > ul > li > a {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--white);
    font-weight: bold;
  }

  .footer-menu > ul ul li {
    margin-top: 0.5rem;
  }

  .footer-menu > ul ul li a {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--white);
  }
}

/* !links
---------------------------------------------------------- */
.btn-links {
  border: 0.1rem solid var(--blue);
  border-radius: 6.4rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  line-height: 1.5;
  font-weight: 700;
  gap: 1.6rem;
  padding: 0.8rem 2.4rem;
  color: var(--blue);
}

.btn-links:after {
  width: 3.5rem;
  height: 2.6rem;
  content: "";
  background: url(../img/common/icon_arrow_right_blue.svg) center center
    no-repeat;
  background-size: 0.5rem auto;
  transition:
    background-image 0.5s,
    transform 0.5s;
}

.icon-blank {
  display: inline-block;
  padding-right: 2.4rem;
  background: url(../img/common/icon_blank.svg) right center no-repeat;
  background-size: 1.6rem auto;
}

/*** hover ***/
@media screen and (min-width: 769px) {
  .btn-links:hover {
    background: var(--blue);
    color: var(--white);
  }

  .btn-links:hover:after {
    background-image: url(../img/common/icon_arrow_right_white.svg);
    transform: translateX(1.6rem);
  }
}
/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  .btn-links:after {
    transform: translateX(1.6rem);
  }
}

/* !main Visual
---------------------------------------------------------- */
#main-visual {
  width: 100%;
  height: 100vh;
}

.main-visual__image {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  will-change: transform;
}
.main-visual__opening--image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  will-change: transform;
}
.main-visual__opening--image__item {
  width: calc((974 / var(--vw)) * 100vw);
  height: calc((632 / var(--vw)) * 100vw);
  background-color: var(--white);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center center;
  z-index: 2;
  will-change: transform;
  opacity: 0;
  overflow: hidden;
}
._loaded .main-visual__opening--image__item {
  animation: mv-clip 0.3s cubic-bezier(0.025, 0.64, 0.415, 0.975) forwards;
}
.main-visual__opening--image__item:nth-of-type(2) {
  animation-delay: 0.78s;
}
.main-visual__opening--image__item:nth-of-type(3) {
  animation-delay: 1.22s;
}
.main-visual__opening--image__item:nth-of-type(4) {
  animation-delay: 1.58s;
}
.main-visual__opening--image__item:nth-of-type(5) {
  animation-delay: 1.86s;
}
.main-visual__opening--image__item:nth-of-type(6) {
  animation-delay: 2.11s;
}
.main-visual__opening--image__item:nth-of-type(7) {
  animation-delay: 2.34s;
}
.main-visual__opening--image__item:nth-of-type(8) {
  animation-delay: 2.56s;
}
@keyframes mv-clip {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.main-visual__opening--image__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.main-visual__image--item {
  width: calc((974 / var(--vw)) * 100vw);
  height: calc((632 / var(--vw)) * 100vw);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center center;
  z-index: 3;
  will-change: transform;
  opacity: 0;
  overflow: hidden;
  border-radius: 0;
}
._step01.main-visual__image--item {
  animation: mv-clip-full 0.3s cubic-bezier(0.025, 0.64, 0.415, 0.975) forwards;
}
@keyframes mv-clip-full {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes mv-unload {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
._step02.main-visual__image--item {
  transition: 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  width: 100%;
  height: 100vh;
}

._skip-opening.main-visual__image--item {
  width: 100%;
  height: 100vh;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: none;
  transition: none;
}

.main-visual__image--item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

#main-visual .mv-copy {
  width: 104.4rem;
  position: absolute;
  right: 2.1rem;
  bottom: 6.4rem;
  z-index: 2;
  mix-blend-mode: difference;
  opacity: 0;
  transform: translate3d(0, 100%, 0);
  transition:
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#main-visual .mv-copy._step03 {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#main-visual .mv-copy img {
  width: 100%;
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
  .main-visual__opening--image__item,
  .main-visual__image--item {
    width: calc(294 / 390 * 100vw);
    height: calc(480 / 844 * 100vh);
    transform: translate(-50%, -50%) scale(0);
  }

  #main-visual .mv-copy {
    width: 100%;
    padding: 0 1.6rem;
    right: 0;
    bottom: 2.4rem;
  }

  @keyframes mv-clip {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0);
    }
    80% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(0);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }
}

.top-head {
  width: 100%;
  overflow: hidden;
}

.top-about {
  width: 100%;
  position: relative;
  z-index: 2;
}

.top-about__inner {
  width: 100%;
  height: auto;
  padding: 10vh 0 0;
  position: relative;
  z-index: 1;
}

.top-about__slider--container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.top-about__slider {
  display: flex;
  flex-direction: column;
  gap: calc((16 / var(--vw)) * 100vw);
  width: calc((334 / var(--vw)) * 100vw);
  height: 100%;
  border-radius: calc((16 / var(--vw)) * 100vw);
  position: absolute;
  top: 0;
  overflow: hidden;
}
.top-about__slider._left {
  left: 0;
}
.top-about__slider._right {
  right: 0;
}
.top-about__slider--wrap {
  display: flex;
  flex-direction: column;
  gap: calc((16 / var(--vw)) * 100vw);
  width: 100%;
  height: auto;
  will-change: transform;
}
.top-about__slider--list {
  display: flex;
  flex-direction: column;
  gap: calc((16 / var(--vw)) * 100vw);
  width: 100%;
  height: auto;
}
.top-about__slider--item {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.top-about__content {
  width: calc((844 / var(--vw)) * 100vw);
  padding: calc((480 / var(--vw)) * 100vw) 0;
  margin: 0 auto;
}

.top-about__content--inner {
  padding: 0 calc((72 / var(--vw)) * 100vw);
}

.top-about__text {
  font-size: calc((26 / var(--vw)) * 100vw);
  font-weight: 700;
  line-height: 2;
  width: 100%;
}

.top-about__text--row {
  display: block;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  transition: 2.4s cubic-bezier(0.19, 1, 0.22, 1);
}

._inview .top-about__text--row {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.top-about__links {
  margin-top: calc((72 / var(--vw)) * 100vw);
  width: 100%;
}

.top-about__links--row {
  position: relative;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  transition: 2.4s cubic-bezier(0.19, 1, 0.22, 1);
}

._inview .top-about__links--row {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.top-about__links--row a {
  width: 100%;
  height: calc((110 / var(--vw)) * 100vw);
  display: flex;
  align-items: center;
  font-size: calc((18 / var(--vw)) * 100vw);
  font-weight: 700;
  line-height: 1.5;
  padding: 0 calc((51 / var(--vw)) * 10vw) 0 calc((24 / var(--vw)) * 100vw);
  background: url(../img/common/icon_arrow_right_blue.svg) right
    calc((23 / var(--vw)) * 100vw) center no-repeat;
  background-size: calc((5 / var(--vw)) * 100vw) auto;
  position: relative;
}

.top-about__links--row a:before,
.top-about__links--row a:after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  height: 0.1rem;
  border-radius: 0.1rem;
}

.top-about__links--row a:before {
  z-index: 1;
  width: 100%;
  background: var(--gray);
}

.top-about__links--row a:after {
  z-index: 2;
  background: var(--blue);
  width: calc((32 / var(--vw)) * 100vw);
  transition: width 0.5s ease;
}

@media all and (min-width: 769px) {
  .top-about__links--row a:hover:after {
    width: 100%;
  }

  /* about */
  .top-about__object {
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
  }
  .top-about__object--inner {
    width: 200vw;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    clip-path: circle(0% at 50% 50%);
    will-change: transform;
    overflow: hidden;
    pointer-events: none;
  }
  .top-about__object--bg {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    pointer-events: auto;
    background-image: url(../img/common/noise_blue.webp);
    background-size: 10rem 10rem;
    background-repeat: repeat;
    background-position: center;
  }
  .top-about__object--text__wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    will-change: transform;
  }
  .top-about__object--text {
    font-size: calc((32 / var(--vw)) * 100vw);
    font-weight: 700;
    line-height: 2;
    text-align: center;
    color: var(--white);
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    will-change: transform;
    transform: translateY(-10vh);
  }
  .top-about__object--text__row {
    overflow: hidden;
    display: block;
  }
  .top-about__object--text__row--item {
    display: block;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(100%);
  }
  ._inview .top-about__object--text__row--item {
    transform: translateY(0%);
  }

  .top-about__slider {
    transform: translateY(50%);
  }
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  .top-about__object {
    width: 100%;
    height: 80vh;
    position: relative;
    z-index: 2;
  }
  .top-about__object--inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
  }
  .top-about__object--bg {
    width: 100vh;
    height: 100vh;
    border-radius: 50%;
    clip-path: ellipse(5% 5% at 50% 50%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    opacity: 0;
    background-image: url(../img/common/noise_blue.webp);
    background-size: 10rem 10rem;
    background-repeat: repeat;
    background-position: center;
  }
  .top-about__object--text__wrap {
    display: flex;
    flex-direction: column;
    gap: calc((5 / var(--vw)) * 100vw);
    position: relative;
    transform: translateY(-20vh);
    z-index: 2;
  }
  .top-about__object--text {
    font-size: calc((24 / var(--vw)) * 100vw);
    font-weight: 700;
    line-height: 2;
    text-align: center;
    color: var(--white);
    white-space: nowrap;
    pointer-events: none;
    will-change: transform;
  }
  .top-about__object--text__row {
    overflow: hidden;
    display: block;
  }
  .top-about__object--text__row--item {
    display: block;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(100%);
  }
  ._inview .top-about__object--text__row--item {
    transform: translateY(0%);
  }

  .top-about__inner {
    padding: calc((184 / var(--vw)) * 100vw) 0;
  }
  .top-about__inner > .pin-spacer {
    height: 100%;
  }
  .top-about__slider--container {
    height: 100% !important;
    z-index: 2;
    overflow: hidden;
    will-change: transform;
  }
  .top-about__slider {
    flex-direction: row;
    gap: calc((8 / var(--vw)) * 100vw);
    width: 100%;
    height: auto;
    border-radius: calc((16 / var(--vw)) * 100vw);
    background-color: var(--color--white);
    position: absolute;
    left: 0 !important;
    overflow: initial;
  }
  .top-about__slider._left {
    top: 0 !important;
  }
  .top-about__slider._right {
    top: initial !important;
    bottom: 0px;
    right: auto;
  }
  .top-about__slider::after {
    content: "";
    display: block;
    width: 100%;
    height: calc((47 / var(--vw)) * 100vw);
    position: absolute;
    left: 0;
    z-index: 1;
  }
  .top-about__slider._left::after {
    top: 100%;
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 75%
    );
  }
  .top-about__slider._right::after {
    bottom: 100%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 75%
    );
  }
  .top-about__slider--wrap {
    flex-direction: row;
    gap: calc((8 / var(--vw)) * 100vw);
    width: auto;
    height: calc((120 / var(--vw)) * 100vw);
  }
  .top-about__slider--list {
    flex-direction: row;
    gap: calc((8 / var(--vw)) * 100vw);
    width: auto;
    height: 100%;
  }
  .top-about__slider--item {
    width: auto;
    height: 100%;
  }
  .top-about__slider--item img {
    border-radius: 1.6rem;
  }

  .top-about__content {
    width: 100%;
    padding: 0;
  }
  .top-about__content--inner {
    padding: 0 2.4rem;
  }
  .top-about__text {
    font-size: 1.8rem;
  }

  .top-about__links {
    margin-top: 4.8rem;
  }
  .top-about__links--row:after {
    width: 3.2rem;
  }

  .top-about__links--row a {
    width: 100%;
    height: 7.6rem;
    font-size: 1.6rem;
    padding: 0 4rem 0 2.4rem;
    background-position: right 2.4rem center;
    background-size: 0.5rem auto;
  }
}

.top-body {
  position: relative;
  width: 100%;
}

.top-mainimage {
  width: 100%;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-mainimage__image {
  width: calc((1416 / var(--vw)) * 100vw);
  height: calc((662 / var(--vh)) * 100vh);
  overflow: hidden;
  transition:
    width 1.5s cubic-bezier(0.77, 0, 0.175, 1),
    height 1.5s cubic-bezier(0.77, 0, 0.175, 1);
  position: relative;
}

._start .top-mainimage__image {
  width: 100%;
  height: 100vh;
}

.top-mainimage__image:before {
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--blue);
  opacity: 0;
  content: "";
  transition: opacity 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

._start .top-mainimage__image:before {
  opacity: 0.8;
}

.top-mainimage__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45%;
}

.top-mainimage__box {
  height: 600vh;
  position: relative;
}

.top-mainimage__box .top-mainimage__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.top-mainimage__box .top-mainimage__item {
  width: 100%;
  height: 200vh;
}

.top-mainitem {
  margin-top: 100vh;
  width: 100%;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-mainitem__inner {
  width: 100%;
  padding: 0 8rem;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.top-mainimage__box._arrived1 .top-mainitem:nth-child(1) .top-mainitem__inner,
.top-mainimage__box._arrived2 .top-mainitem:nth-child(2) .top-mainitem__inner {
  transform: translateY(-5%) scale(0.95);
}

.top-mainimage__box._arrived2 .top-mainitem:nth-child(1) .top-mainitem__inner {
  transform: translateY(-10%) scale(0.9);
}

.top-mainitem__wrap {
  background: var(--white);
  padding: 4.8rem;
  border-radius: 1.6rem;
  display: grid;
  grid-template-columns: auto 56rem;
  gap: 6.4rem;
  position: relative;
}

.top-mainitem__wrap:before {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
  content: "";
}

.top-mainimage__box._arrived1
  .top-mainitem:nth-child(1)
  .top-mainitem__wrap:before,
.top-mainimage__box._arrived2
  .top-mainitem:nth-child(2)
  .top-mainitem__wrap:before {
  opacity: 0.3;
}

.top-mainimage__box._arrived2
  .top-mainitem:nth-child(1)
  .top-mainitem__wrap:before {
  opacity: 0.6;
}

.top-mainitem__box {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 6.6rem;
  gap: 2rem;
}

.top-mainitem__box--head {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.75;
}

.top-mainitem__box--head__title {
  margin-bottom: 2.4rem;
}

.top-mainitem__box--head__title--eng {
  font-family: var(--poppins);
  font-weight: 500;
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 0.2rem;
  display: block;
}

.top-mainitem__box--head__title--jap {
  font-size: 4.2rem;
  line-height: 1.5;
  font-weight: 700;
  display: block;
}

.top-mainitem__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.8rem;
}

.top-mainitem__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-mainitem__links {
  width: 100%;
}

.top-mainitem__links--row a {
  width: 100%;
  height: 11rem;
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 5.1rem 0 2.4rem;
  background: url(../img/common/icon_arrow_right_blue.svg) right 2.3rem center
    no-repeat;
  background-size: 0.5rem auto;
  position: relative;
}

.top-mainitem__links--row a:before,
.top-mainitem__links--row a:after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  height: 0.1rem;
  border-radius: 0.1rem;
}

.top-mainitem__links--row a:before {
  z-index: 1;
  width: 100%;
  background: var(--gray);
}

.top-mainitem__links--row a:after {
  z-index: 2;
  background: var(--blue);
  width: 3.2rem;
  transition: width 0.5s ease;
}

@media all and (min-width: 769px) {
  .top-mainitem__links--row a:hover:after {
    width: 100%;
  }
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  .top-mainimage__image {
    width: calc(100% - 3.2rem);
    height: calc(100vh - 3.2rem);
  }

  .top-mainitem__inner {
    padding: 0 1.6rem;
  }

  .top-mainitem__wrap {
    padding: 1.6rem 1.6rem 3.2rem;
    border-radius: 1.6rem;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 2.7rem;
    /* height: calc(100vh - 16rem); */
    height: calc(100vh - 4rem);
    max-height: 67rem;
  }

  .top-mainitem__image {
    aspect-ratio: 163 / 120;
    border-radius: 0.8rem;
  }

  .top-mainitem__box {
    padding-top: 0;
    gap: 1rem;
    justify-content: space-between;
    height: auto;
    flex-grow: 1;
  }

  .top-mainitem__box--head {
    font-size: 1.4rem;
    line-height: 1.75;
  }

  .top-mainitem__box--head__title {
    margin-bottom: 1.5rem;
  }

  .top-mainitem__box--head__title--eng {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .top-mainitem__box--head__title--jap {
    font-size: 2.8rem;
    line-height: 1.5;
  }

  .top-mainitem__links--row:after {
    width: 3.2rem;
  }

  .top-mainitem__links--row a {
    height: 7.6rem;
    font-size: 1.6rem;
    padding: 0 4rem 0 2.4;
    background-position: right 2.4rem center;
  }
}

.top-interview {
  background: #eef1f6;
  position: relative;
  z-index: 10;
  padding: 15.4rem 0 16rem;
  overflow: hidden;
}

.top-interview__heading {
  position: absolute;
  left: -1.9rem;
  top: -1.4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.3rem;
  line-height: 1;
}

.top-interview__heading--main {
  font-size: 14.8rem;
  color: var(--blue);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

.top-interview__heading--note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--blue);
}

.top-interview__heading--note img {
  width: 10.287rem;
}

.top-interview__inner {
  width: 100%;
  max-width: 94.8rem;
  margin: 0 auto;
}

.top-interview__list .swiper {
  overflow: visible;
}

.top-interview__list--item {
  display: grid;
  grid-template-columns: 24.8rem auto;
  gap: 4.8rem;
  width: 100%;
  padding-left: 3.5rem;
  position: relative;
  transform: scale(0.5);
  transform-origin: left center;
  transition: transform 0.5s;
}

.top-interview__subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  font-family: var(--poppins);
  line-height: 1;
  color: var(--blue);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  word-break: keep-all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.8rem;
  opacity: 0;
  transition: opacity 0.5s;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.top-interview__subtitle:after {
  flex-grow: 1;
  width: 0.1rem;
  background: var(--blue);
  content: "";
}

.top-interview__image {
  width: 100%;
  aspect-ratio: 248 / 398;
  overflow: hidden;
}

.top-interview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-interview__box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  clip-path: inset(-5% 105% -5% -5%);
  transition: clip-path 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
}

.top-interview__title {
  font-size: 3.2rem;
  line-height: 1.5;
  font-weight: 700;
  width: 100%;
  color: var(--black);
}

.top-interview__info {
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 500;
  width: 100%;
  color: var(--black);
}

.top-interview__info--join,
.top-interview__info--post {
  display: block;
}

.top-interview__name {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.top-interview__name--jap {
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.5;
}

.top-interview__name--eng {
  font-family: var(--poppins);
}

.top-interview__links {
  position: relative;
  width: 100%;
  height: 6.8rem;
  display: flex;
  align-items: flex-start;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 5.1rem 0 2.4rem;
  background: url(../img/common/icon_arrow_right_blue.svg) right 2.3rem top
    0.95rem no-repeat;
  background-size: 0.5rem auto;
  transition: color 0.5s ease;
}

.top-interview__links:before,
.top-interview__links:after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  height: 0.1rem;
  border-radius: 0.1rem;
}

.top-interview__links:before {
  z-index: 1;
  width: 100%;
  background: var(--gray);
}

.top-interview__links:after {
  z-index: 2;
  background: var(--blue);
  width: 3.2rem;
  transition: width 0.5s ease;
}

.swiper-slide-active .top-interview__list--item {
  transform: scale(1);
}

.swiper-slide-active .top-interview__subtitle {
  opacity: 1;
}

.swiper-slide-active .top-interview__box {
  clip-path: inset(-5% -5% -5% -5%);
}

/* アクティブ以外のカードはリンク無効（右に見える次スライド含む） */
.top-interview__list
  .swiper-slide:not(.swiper-slide-active)
  .top-interview__list--item {
  pointer-events: none;
  cursor: default;
}

.top-interview__list
  .swiper-slide.swiper-slide-active
  .top-interview__list--item {
  pointer-events: auto;
  cursor: pointer;
}

@media screen and (min-width: 769px) {
  .top-interview__heading--main {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }

  .top-interview__list--item:hover .top-interview__links:after {
    width: 100%;
  }
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  .top-interview {
    padding: 0 2.4rem 4.8rem;
  }

  .top-interview__heading {
    position: relative;
    left: 0;
    top: 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.3rem;
    width: calc(100% + 4.8rem);
    margin: 0 -2.4rem 4.8rem;
    padding: 0 1.6rem 0 0;
  }

  .top-interview__heading--main {
    font-size: 6.4rem;
    line-height: 1.1;
    margin: -1.3rem 0 0 -1.2rem;
  }

  .top-interview__heading--note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    line-height: 1.4;
  }

  .top-interview__heading--note img {
    width: 7rem;
  }

  .top-interview__list {
    width: 100%;
  }

  /*.top-interview__list .swiper {
        overflow: hidden;
    }*/

  .top-interview__list--item {
    display: block;
    padding-left: 0;
    transform: scale(1);
  }

  .top-interview__head {
    position: relative;
    width: 100%;
    padding: 0 5.8rem 0 3.5rem;
    display: block;
    transform: scale(0.2);
    transform-origin: left center;
    display: block;
    transition: transform 0.5s;
    margin-left: -14rem;
  }

  .swiper-slide-active .top-interview__head {
    transform: scale(1);
    margin-left: 0;
  }

  .top-interview__box {
    margin-top: 2.3rem;
    gap: 3.5rem;
  }

  .top-interview__title {
    font-size: 2.4rem;
  }

  .top-interview__info {
    font-size: 1.4rem;
  }

  .top-interview__name {
    margin-bottom: 2rem;
  }

  .top-interview__name--jap {
    font-size: 2.1rem;
  }

  .top-interview__links {
    height: 5rem;
    font-size: 1.6rem;
    padding: 0 4rem 0 2.4rem;
    background-position: right 0.5rem top 0.65rem;
  }

  .top-interview__links:after {
    width: 3.2rem;
  }
}

.top-crosstalk {
  margin-top: 16rem;
}

.top-crosstalk__inner {
  display: grid;
  grid-template-columns: auto 36rem;
  gap: 3.2rem;
  padding: 3.2rem;
  background: url(../img/common/noise_blue.webp) center center repeat;
  background-size: 10rem auto;
  border-radius: 0.8rem;
  color: var(--white);
  position: relative;
}

.top-crosstalk__heading {
  font-size: calc((105 / var(--vw)) * 100vw);
  font-weight: 100;
  font-family: var(--poppins);
  line-height: 0.7;
  position: absolute;
  left: 2.4rem;
  top: 2.4rem;
  z-index: 2;
  color: var(--white);
  opacity: 0.3;
}

.top-crosstalk__image {
  width: 100%;
  aspect-ratio: 360 / 284;
  clip-path: polygon(0 2.4rem, 100% 0, 100% 100%, 0 calc(100% - 2.4rem));
}

.top-crosstalk__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-crosstalk__box {
  padding-top: 9.6rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}

.top-crosstalk__title {
  align-self: center;
  color: var(--white);
  font-size: 2.8rem;
  line-height: 1.5;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.top-crosstalk__links {
  position: relative;
  width: 100%;
  height: 6.8rem;
  display: flex;
  align-items: flex-start;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 5.1rem 0 2.4rem;
  background: url(../img/common/icon_arrow_right_white.svg) right 2.3rem top
    0.95rem no-repeat;
  background-size: 0.5rem auto;
  color: var(--white);
}

.top-crosstalk__links:before,
.top-crosstalk__links:after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  height: 0.1rem;
  border-radius: 0.1rem;
}

.top-crosstalk__links:before {
  z-index: 1;
  width: 100%;
  background: #6aa3ff;
}

.top-crosstalk__links:after {
  z-index: 2;
  background: var(--white);
  width: 3.2rem;
  transition: width 0.5s ease;
}

.top-interview__button {
  text-align: center;
  margin-top: 8rem;
}

@media all and (min-width: 769px) {
  .top-crosstalk {
    margin-top: 8rem;
  }

  .top-crosstalk__inner:hover {
    background-image: url(../img/common/noise_drakblue.webp);
    box-shadow: 2rem 2rem 2rem 0 #cadeff;
  }

  .top-crosstalk__inner:hover .top-crosstalk__links:after {
    width: 100%;
  }
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 768px) {
  .top-crosstalk {
    margin-top: 8rem;
  }

  .top-crosstalk__inner {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 2rem 1.6rem 1.6rem;
  }

  .top-crosstalk__heading {
    font-size: 5.72rem;
    line-height: 0.6993;
    position: relative;
    left: 0;
    top: 0;
    text-align: center;
    width: calc(100% + 3.2rem);
    margin: 0 -1.6rem 1.6rem;
  }
  .top-crosstalk__box {
    padding-top: 0;
    width: 100%;
  }

  .top-crosstalk__title {
    font-size: 1.8rem;
    display: block;
    margin-top: 1rem;
    align-self: auto;
  }

  .top-crosstalk__links {
    margin-top: 1.6rem;
    height: 7.6rem;
    font-size: 1.6rem;
    align-items: center;
    padding: 0 4rem 0 2.4rem;
    background-position: right 0.5rem center;
  }

  .top-crosstalk__links:after {
    width: 3.2rem;
  }

  .top-interview__button {
    margin-top: 4.8rem;
  }
}
