/* ----------------------------------------------------------
 home / index.html
---------------------------------------------------------- */

h2,h3 {
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.home {
  --firstview-title-size: clamp(3.5rem, 4.65vw, 5.35rem);
  --firstview-copy-size: clamp(1rem, 1.11vw, 1.25rem);
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・PC狭幅 */
  .home {
    --firstview-title-size: clamp(3rem, 4.7vw, 3.5rem);
  }
  .title-sub {
    text-align: center;
  }
  .bt {
    text-align: center;
  }
}
@media screen and (max-width: 743px) { /* SP */
  .home {
    --firstview-title-size: clamp(2.65rem, 13vw, 3.35rem);
  }
  .title-sub {
    text-align: center;
  }
  .bt {
    text-align: center;
  }
}

/* opening
-------------------------------------------- */
.opening {
  --opening-copy-size: var(--firstview-title-size);
  --opening-copy-skew: matrix(1, 0, -0.09, 1, 0, 0);
  --opening-leave-duration: .95s;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}
.opening-panel,
.opening-mat {
  position: absolute;
  inset: 0;
}
.opening-panel {
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: transform var(--opening-leave-duration) cubic-bezier(.78, 0, .22, 1);
  will-change: transform;
}
.opening-mat {
  z-index: 1;
  background: var(--blue);
  transition: transform var(--opening-leave-duration) cubic-bezier(.78, 0, .22, 1) .16s;
  will-change: transform;
}
.opening-logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 459px;
  height: 196px;
  background: url("../images/shape/bg-logo.svg") no-repeat left top / contain;
  opacity: 0;
  animation: openingLogoIn 1.2s cubic-bezier(.18, .86, .24, 1) .18s forwards;
  transition: opacity .72s ease;
}
.opening-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(181, 216, 231, .28);
  transition: opacity .72s ease;
  -webkit-mask: url("../images/shape/bg-logo.svg") no-repeat left top / contain;
  mask: url("../images/shape/bg-logo.svg") no-repeat left top / contain;
}
.opening-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/noise.svg");
  background-repeat: repeat;
  background-size: 50px 50px;
  opacity: .6;
  mix-blend-mode: multiply;
  transition: opacity .72s ease;
  -webkit-mask: url("../images/shape/bg-logo.svg") no-repeat left top / contain;
  mask: url("../images/shape/bg-logo.svg") no-repeat left top / contain;
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  .opening-logo {
    width: 80%;
    height: auto;
    aspect-ratio: 459 / 196;
  }
}
.opening-panel > .firstview-shape_right-bottom {
  right: 0;
  bottom: clamp(1.5rem, 8vw, 6rem);
  width: clamp(7rem, 12vw, 10rem);
  opacity: 0;
  transform: translate(1rem, 1.25rem);
  animation: openingShapeIn 1.2s cubic-bezier(.18, .86, .24, 1) .18s forwards;
}
.opening-panel > .firstview-shape_right-bottom_small {
  right: clamp(5.5rem, 10vw, 8rem);
  bottom: clamp(2.5rem, 7vw, 5.25rem);
  width: clamp(5rem, 9vw, 7.5rem);
  opacity: 0;
  transform: translate(.75rem, 1rem);
  animation: openingShapeSmallIn 1.2s cubic-bezier(.18, .86, .24, 1) .28s forwards;
}
.opening-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .35em;
  margin: 0;
  font-weight: 600;
  font-size: var(--opening-copy-size);
  line-height: 1.5;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateY(.35em);
  animation: openingCopyIn 1.15s cubic-bezier(.18, .86, .24, 1) .25s forwards;
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  .opening-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-left: 0.35em;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・PC狭幅 */
  .opening {
    --opening-copy-size: clamp(2.75rem, 5vw, 3.35rem);
  }
  .opening-copy {
    flex-direction: row;
    align-items: center;
    gap: .35em;
    padding-left: 0;
  }
}
.opening-copy_part {
  display: inline-block;
  font-weight: 600;
  font-size: var(--opening-copy-size);
  line-height: 1.5;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transform-origin: left top;
  transform: var(--opening-copy-skew);
}
.opening-copy_word {
  display: inline-flex;
  align-items: center;
  margin: 0.125em 0;
  padding: 0 0.25em;
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--grad-bl);
  overflow: hidden;
}
.opening.is-leaving .opening-panel,
.opening.is-leaving .opening-mat {
  transform: translateX(100%);
}
.opening.is-hidden {
  opacity: 0;
  transition: opacity .36s ease;
}
@keyframes openingCopyIn {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(.35em);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}
@keyframes openingLogoIn {
  0% {
    opacity: 0;
    transform: translate(-1rem, -1rem);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes openingShapeIn {
  0% {
    opacity: 0;
    transform: translate(1rem, 1.25rem);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes openingShapeSmallIn {
  0% {
    opacity: 0;
    transform: translate(.75rem, 1rem);
  }
  100% {
    opacity: .9;
    transform: translate(0, 0);
  }
}

/* firstview
-------------------------------------------- */
.firstview {
  display: grid;
  place-content: center;
  margin: 4rem auto 10rem auto;
}
.firstview .inner {
  display: flex;
  width: 100vw;
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  .firstview {
    display: block;
    min-height: auto;
    margin-bottom: 6rem;
  }
  .firstview .inner {
    flex-direction: column-reverse;
    width: 100%;
    gap: 34px;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  .firstview {
    margin: 4rem auto 8rem auto;
  }
  .firstview .inner {
    align-items: center;
    gap: 3rem;
  }
}

/* キャッチコピー・タイトル */
.firstview-detail_title {
  margin-bottom: 2rem;
}
.firstview-detail_title > span {
  display: block;
  font-weight: 600;
  font-size: var(--firstview-title-size);
  line-height: 1.5;
  letter-spacing: 0.05em;
  transform: matrix(1, 0, -0.09, 1, 0, 0);
}
.firstview-detail_title span.typing {
  --slot-step: 1.5em;
  display: inline-flex;
  align-items: center;
  margin: 0.125em 0;
  padding: 0 0.25em;
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--grad-bl);
  overflow: hidden;
  transition: filter .18s ease, transform .18s ease;
}
.word-slot {
  display: inline-block;
  height: var(--slot-step);
  overflow: hidden;
  vertical-align: top;
  transition: width .2s ease;
}
.slot-reel {
  display: block;
  transition: transform .78s cubic-bezier(.18, .86, .24, 1);
}
.slot-item {
  display: block;
  padding-left: 0.05em;
  height: var(--slot-step);
  line-height: 1.5;
  white-space: nowrap;
}
.slot-measure {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}
.typing.is-spinning {
  filter: brightness(1.08);
}
.typing.is-locked {
  filter: brightness(1.15);
}
.firstview-detail .copy {
  font-weight: 500;
  font-size: var(--firstview-copy-size);
}
@media print, screen and (min-width: 1061px) { /* PC */
  .firstview-detail {
    width: 45%;
    padding: 0 3rem 0 4rem;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  .firstview-detail {
    margin-inline: auto;
  }
  .firstview-detail_title {
    margin-bottom: 1rem;
  }
  .firstview-detail .copy {
    font-size: 1rem;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  .firstview-detail {
    width: 78%;
  }
  .firstview-detail_title > span {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
  }
  .firstview-detail_title > span:first-child {
    display: block;
  }
  .firstview-detail .copy {
    font-size: 1.125rem;
  }
}
@media screen and (max-width: 743px) { /* SP */
  .firstview-detail {
    width: 85%;
  }
}
@media screen and (max-width: 1241px) {
  .firstview-detail .copy br.pc {
    display: none;
  }
}
/* スライダー / swiper */
.firstview-slide {
  position: relative;
  overflow: visible;
  min-height: auto;
  border-radius: 0;
  background: none;
  transform: translateX(10px);
}
.firstview-swiper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  aspect-ratio: 1.52;
}
.firstview-slide.glass-image::before {
  border-radius: 1rem 0 0 1rem;
}
.firstview-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  border-radius: 1rem 0 0 1rem;
}
.firstview-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(225deg, rgba(101,192,249,0.5) 0%, rgba(101,192,249,0) 45%),
    linear-gradient(45deg, rgba(101,192,249,0.5) 0%, rgba(101,192,249,0) 45%);
  pointer-events: none;
  z-index: 1;
}
.firstview-swiper img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1.52;
  border-radius: 0;
  object-fit: cover;
}
@media print, screen and (min-width: 1061px) { /* PC */
  .firstview-slide {
    width: 55%;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  .firstview-slide {
    min-height: auto;
    margin: 0 0 0 2rem;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  .firstview-slide {
    width: 85%;
    margin-inline: auto;
    transform: none;
  }
}

/* スライダー / シェイプ */
.firstview-shape {
  position: absolute;
  z-index: 5;
  display: block;
  border-radius: 50%;
  background: linear-gradient(225deg, #B5D8E7 0%, rgba(255,255,255,0) 100%);
  overflow: hidden;
  pointer-events: none;
}
.firstview-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/noise.svg");
  background-repeat: repeat;
  background-size: 50px 50px;
  opacity: .8;
  mix-blend-mode: multiply;
}
.firstview-shape_right-top {
  z-index: 1;
  width: 8rem;
  aspect-ratio: 130 / 163;
  right: -1.75rem;
  top: -4.75rem;
  border-radius: 0;
  background: url(../images/shape/side-back.svg) center / contain no-repeat;
  overflow: visible;
}
.firstview-shape_right-top::after {
  content: none;
}
.firstview-shape_right-bottom {
  width: 10rem;
  aspect-ratio: 44 / 63;
  right: 0;
  bottom: -3.75rem;
  border-radius: 0;
  background: url(../images/shape/side-right.svg) center / contain no-repeat;
  overflow: visible;
  opacity: .85;
}
.firstview-shape_right-bottom::after {
  content: none;
}
.firstview-shape_right-bottom_small {
  width: 7.5rem;
  aspect-ratio: 1;
  right: 6rem;
  bottom: -2.25rem;
  opacity: .7;
  background: linear-gradient(225deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}
.firstview-shape_right-bottom_small::after {
  background-size: 24px 24px;
}
.firstview-shape_left-bottom {
  width: 7.5rem;
  aspect-ratio: 1;
  left: -8%;
  bottom: -2.25rem;
  opacity: .7;
}
.firstview-shape_left-bottom_small {
  width: 2rem;
  aspect-ratio: 1;
  left: 7%;
  bottom: -3rem;
  background: var(--bgnoise);
}
.firstview-shape_left-top_small {
  width: 3rem;
  aspect-ratio: 1;
  left: -2.25rem;
  top: -1.25rem;
  opacity: .7;
}
.firstview-shape_left-top_dot {
  width: .9rem;
  aspect-ratio: 1;
  left: -4.25rem;
  top: 1.25rem;
  background: var(--skyblue);
  opacity: .7;
}
.firstview-shape_left-top_dot-small {
  width: .42rem;
  aspect-ratio: 1;
  left: -5.5rem;
  top: .7rem;
  background: rgba(0, 146, 211, .5);
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  .firstview-shape_right-top {
    width: 6rem;
    top: -2.75rem;
  }
  .firstview-shape_right-bottom {
    width: 5rem;
    bottom: -2.75rem;
  }
  .firstview-shape_right-bottom_small {
    width: 3.5rem;
    bottom: -2.25rem;
  }
  .firstview-shape_left-bottom {
    width: 4.5rem;
    left: -9%;
    bottom: -1.25rem;
  }
  .firstview-shape_left-bottom_small {
    display: none;
  }
  .firstview-shape_left-top_small {
    width: 2rem;
    left: -1rem;
    top: -0.75rem;
  }
  .firstview-shape_left-top_dot {
    left: -1.5rem;
  }
  .firstview-shape_left-top_dot-small {
    left: -2rem;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  .firstview-shape_right-top,
  .firstview-shape_right-bottom {
    right: -7.5vw;
  }
  .firstview-shape_right-bottom_small {
    right: calc(6rem - 7.5vw);
  }
}

@media (prefers-reduced-motion: reduce) { /* 動きを減らす設定用 */
  .opening {
    display: none;
  }
}


/* our service
-------------------------------------------- */
@media print, screen and (min-width: 1061px) { /* PC */
  section.service .wrap {
    display: grid;
    grid-template-columns: 32rem max-content;
    justify-content: center;
    gap: 4rem;
    max-width: 1100px;
    margin-inline: auto;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  section.service {
    padding-bottom: 4rem;
  }
  section.service .wrap {
    display: flex;
    flex-direction: column-reverse;
  }
  section.service .wrap .image img {
    display: block;
    max-width: 40rem;
    margin: 0 auto;
  }
  section.service .detail {
    margin-bottom: 2rem;
  }
}


/* video
-------------------------------------------- */
section.video {
  position: relative;
  padding-top: 6rem;
}
section.video > .wrap::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  display: block;
  width: 200vw;
  height: auto;
  background-image: url("../images/tx-content.svg");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: 116.5vw auto;
  aspect-ratio: 1100 / 88;
  transform: translate(-50%, 50%);
  pointer-events: none;
  animation: videoTextMarquee 42s linear infinite;
}

.video-summary {
  position: relative;
  margin-bottom: 6rem;
  padding-top: 2rem;
}
@keyframes videoTextMarquee {
  0% {
    background-position-x: 116.5vw;
  }
  100% {
    background-position-x: 0;
  }
}

@media print, screen and (min-width: 1061px) { /* PC */
  section.video .wrap {
    max-width: 1100px;
    margin-inline: auto;
  }
}
@media print, screen and (min-width: 768px) { /* SP以外 */
  .video-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
  }
  .video-summary .detail {
    width: calc(100% - 25rem);
  }
  .video-summary figure {
    width: 25rem;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  section.video > .wrap::before{
    background-size: 110.7vw auto;
    animation-name: videoTextMarqueeTb;
  }
  @keyframes videoTextMarqueeTb {
    0% {
      background-position-x: 110.7vw;
    }
    100% {
      background-position-x: 0;
    }
  }
}
@media screen and (max-width: 767px) { /* SP */
  section.video {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  section.video > .wrap::before {
    background-size: 116.5vw auto;
    animation-name: videoTextMarqueeSp;
  }
  section.video .video-summary {
    margin-bottom: 3rem;
    padding-top: 4rem;
  }
  section.video .video-summary .copy {
    text-align: center;
  }
  section.video .video-summary figure {
    width: 90%;
    max-width: 25rem;
    margin: 2rem auto;
  }
  @keyframes videoTextMarqueeSp {
    0% {
      background-position-x: 116.5vw;
    }
    100% {
      background-position-x: 0;
    }
  }
}


/* lineup */
.video-lineup {
  margin-bottom: 2rem;
}
.video-lineup h3 {
  background: linear-gradient(90deg, #0073BC 0%, #0092D3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  border-bottom: 1px solid var(--blue);
  font-size: 1.625rem;
}
.video-lineup ol > li {
  padding: 1rem 1.5rem;
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  counter-increment: lineup-counter;
}
.video-lineup ol > li h4:before {
  content: counter(lineup-counter, decimal-leading-zero);
  counter-increment: count 1;
  color: var(--lightblue);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.25rem;
  line-height: 1.25;
  opacity: 0.7;
}
.video-lineup ol > li h4 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(131 185 228 / 0.7);
  color: var(--blue);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: 0.1em;
}
.video-lineup ol > li.ul-none h4 {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.video-lineup ol ul li {
  font-weight: 500;
  font-size: var(--ft-s);
}
.video-lineup figure {
  position: relative;
}
.video-lineup figure::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  background:
    linear-gradient(225deg, rgba(101,192,249,0.5) 0%, rgba(101,192,249,0) 40%),
    linear-gradient(40deg, rgba(101,192,249,0.5) 0%, rgba(101,192,249,0) 40%);
  pointer-events: none;
}

@media print, screen and (min-width: 768px) { /* SP以外 */
  .video-lineup .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .video-lineup img {
    height: 100%;
    object-fit: cover;
  }
  .video-lineup ol {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
  }
  .video-lineup ol > li.ul-none {
    align-self: start;
  }
}
@media screen and (max-width: 767px) { /* SP */
  .video-lineup figure {
    margin-bottom: 1.5rem;
  }
  .video-lineup ol > li {
    margin-bottom: 1rem;
    padding: 1rem;
  }
  .video-lineup ol ul.ul-check {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* works */
@media print, screen and (min-width: 1061px) { /* PC */
  body.home .video-works > .flex > .detail {
    position: relative;
  }
  body.home .video-works > .flex > .detail:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -8rem;
    left: 50%;
    display: block;
    width: 80vw;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    background: linear-gradient(to bottom, #fff 0%, transparent 100%);
    transform: translateX(-50%);
    opacity: 0.9;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  .video-works {
    padding: 3rem 0 0 0;
  }
  .video-works .copy {
    text-align: center;
  }
}

/* area */
.video-area {
  display: flex;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--skyblue);
  border-radius: 0.5rem;
  background-color: var(--white);
  box-shadow: var(--shadow);
}
.video-area h2 {
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  color: var(--white);
  background-color: var(--blue);
  font-size: 1.25rem;
}
.video-area .copy {
  padding: 0 0.5rem;
}
.video-area_item {
  position: relative;
  margin: 1.5rem 0 1rem 0;
  padding: 0.75rem 1rem 0.75rem 6rem;
  border-radius: 0.5rem;
  background-color: var(--bgblue);
}
.video-area_item:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.5rem;
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  background: url("../images/icon-abroad.svg") no-repeat center center / contain;
  transform: translateY(-50%);
}
.video-area_item:nth-of-type(2)::before {
  background: url("../images/icon-staff.svg") no-repeat center center / contain;
}
.video-area_item h3 {
  margin-bottom: 0.25rem;
  color: var(--blue);
  font-weight: 600;
}
.video-area_item p {
  font-size: var(--ft-s);
}

@media print, screen and (min-width: 1061px) { /* PC */
  .video-area {
    gap: 2rem;
  }
  .video-area .image {
    width: 45%;
  }
  .video-area .detail {
    width: 55%;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  .video-area {
    flex-direction: column-reverse;
    padding: 1.5rem;
  }
  .video-area h2 {
    text-align: center;
  }
  .video-area .image {
    margin-top: 1rem;
  }
}


/* Education
-------------------------------------------- */
section.education > .wrap {
  position: relative;
}
section.education > .wrap::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  display: block;
  width: 200vw;
  height: auto;
  background-image: url("../images/tx-education.svg");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: 110vw auto;
  aspect-ratio: 1100 / 115;
  transform: translate(-50%, 50%);
  pointer-events: none;
  animation: educationTextMarquee 42s linear infinite;
}
@keyframes educationTextMarquee {
  0% {
    background-position-x: 110vw;
  }
  100% {
    background-position-x: 0;
  }
}
@media print, screen and (min-width: 1061px) { /* PC */
  section.education .wrap {
    max-width: 1100px;
    margin-inline: auto;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  section.education {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }
  section.education > .wrap::before {
    background-size: 132vw auto;
    animation-name: educationTextMarqueeTb;
  }
  @keyframes educationTextMarqueeTb {
    0% {
      background-position-x: 132vw;
    }
    100% {
      background-position-x: 0;
    }
  }
}
@media screen and (max-width: 767px) { /* SP */
  section.education {
    padding-top: 4rem;
    padding-bottom: 1rem;
  }
  section.education > .wrap::before {
    background-size: 137.5vw auto;
    animation-name: educationTextMarqueeSp;
  }
  @keyframes educationTextMarqueeSp {
    0% {
      background-position-x: 137.5vw;
    }
    100% {
      background-position-x: 0;
    }
  }
}

.education-summary {
  display: flex;
  padding: 2rem 0;
}
.education-summary .title-sub .en {
  background: linear-gradient(90deg, #EC6C00 0%, #EC8600 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.education-summary .title-sub .ja {
  margin-top: 0.5em;
}
.education-summary .bt {
  margin-bottom: 3rem;
}
.education-summary .bt a {
  background: var(--grad-or);
}

@media print, screen and (min-width: 1061px) { /* PC */
  section.education {
    padding-top: 5rem;
  }
}
@media print, screen and (min-width: 768px) { /* SP以外 */
  .education-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
  }
  .education-summary .detail {
    width: calc(100% - 25rem);
  }
  .education-summary figure {
    width: 25rem;
  }
}
@media screen and (max-width: 767px) { /* SP */
  .education-summary {
    flex-direction: column-reverse;
    margin-bottom: 3rem;
    padding-top: 5rem;
  }
  .education-summary figure {
    width: 90%;
    max-width: 25rem;
    margin: 0 auto 2rem auto;
  }
  .education-summary .copy {
    text-align: center;
  }
}

/* lineup */
.education-lineup {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem auto;
}
.education-lineup h3 {
  width: 100%;
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
  font-size: 1.625rem;
}
.education-lineup ol > li {
  padding: 1rem 1.5rem;
  background-color: var(--white);
  border-radius: 0.5rem;
  border: 1px solid rgb(236 108 0 / 0.3);
  box-shadow: 0px 4px 12px rgba(236, 108, 0, 0.10);
  counter-increment: lineup-counter;
}
.education-lineup ol > li h4:before {
  content: counter(lineup-counter, decimal-leading-zero);
  counter-increment: count 1;
  color: #F0CF98;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.25rem;
  line-height: 1.25;
  opacity: 0.7;
}
.education-lineup ol > li h4 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(236 108 0 / 0.5);
  color: var(--orange);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: 0.1em;
}
.education-lineup ol > li.ul-none h4 {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.education-lineup ol ul li {
  font-weight: 500;
  font-size: var(--ft-s);
}
.education-lineup ul li:before {
  background: url("../images/icon-check_or.svg") no-repeat center center / contain;
}

@media print, screen and (min-width: 768px) { /* SP以外 */
  .education-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
  }
  .education-summary .detail {
    width: calc(100% - 25rem);
  }
  .education-summary figure {
    width: 25rem;
  }
  .education-summary .bt a::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-color: var(--orange);
    content: "";
    opacity: 0;
    transition: opacity .3s;
  }
  .education-summary .bt a:hover::before {
    opacity: 1;
  }
  .education-lineup {
    justify-content: space-between;
  }
  .education-lineup .image {
    width: 30%;
  }
  .education-lineup img {
    height: 100%;
    object-fit: cover;
  }
  .education-lineup ol {
    width: calc(70% - 1rem);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
  }
  .education-lineup ol li.ul-none {
    grid-column: 1 / 3;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  section.education {
    padding-top: 4rem;
  }
  .education-summary {
    padding: 4rem 0;
  }
}
@media screen and (max-width: 767px) { /* SP */
  .education-lineup h3 {
    order: 1;
  }
  .education-lineup .image {
    order: 2;
    margin-bottom: 1.5rem;
  }
  .education-lineup ol {
    order: 3;
    width: 100%;
  }
  .education-lineup ol > li {
    margin-bottom: 1rem;
  }
}


/* Mothers
-------------------------------------------- */
section.mothers {
  padding: 6rem 0;
}
section.mothers > .wrap {
  position: relative;
}
section.mothers > .wrap::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  display: block;
  width: 200vw;
  height: auto;
  background-image: url("../images/tx-mothers.svg");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: 104.167vw auto;
  aspect-ratio: 762 / 65;
  transform: translate(-50%, 50%);
  pointer-events: none;
  animation: mothersTextMarquee 42s linear infinite;
}
@keyframes mothersTextMarquee {
  0% {
    background-position-x: 104.167vw;
  }
  100% {
    background-position-x: 0;
  }
}

@media print, screen and (min-width: 1061px) { /* PC */
  section.mothers .wrap {
    max-width: 1100px;
    margin-inline: auto;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  section.mothers > .wrap::before {
    background-size: 110vw auto;
    animation-name: mothersTextMarqueeTb;
  }
  @keyframes mothersTextMarqueeTb {
    0% {
      background-position-x: 110vw;
    }
    100% {
      background-position-x: 0;
    }
  }
}
@media screen and (max-width: 767px) { /* SP */
  section.mothers > .wrap::before {
    background-size: 180vw auto;
    animation-name: mothersTextMarqueeSp;
  }
  @keyframes mothersTextMarqueeSp {
    0% {
      background-position-x: 180vw;
    }
    100% {
      background-position-x: 0;
    }
  }
}

.mothers-summary h2 {
  color: var(--blue);
  font-weight: 600;
  font-size: 1.375rem;
}
.mothers-summary h3 {
  color: var(--blue);
  font-weight: 600;
  font-size: 1.375rem;
}
.mothers-summary figure {
  position: relative;
}
.mothers-summary figure:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -7rem;
  left: 50%;
  display: block;
  width: 50vw;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  background: linear-gradient(to bottom, #fff 0%, transparent 100%);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.9;
}


@media print, screen and (min-width: 1061px) { /* PC */
  .mothers-summary {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-top: 6rem;
  }
  .mothers-summary .bt a {
    margin-right: 1rem;
  }
  .mothers-summary figure {
    width: 70rem;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  section.mothers {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .mothers-summary {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 4rem;
  }
  .mothers-summary figure {
    margin-bottom: 1.5rem;
    padding-top: 4rem;
  }
  .mothers-summary figure:before {
    width: 125vw;
    top: 0;
  }
  .mothers-summary figure img {
    width: 90%;
    margin: 0 5%;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  .mothers-summary figure img {
    display: block;
    max-width: 30rem;
    margin-inline: auto;
  }
  .mothers-summary .bt a {
    margin-inline: 0.5rem;
  }
}
@media screen and (max-width: 767px) { /* SP */
  .mothers-summary .bt {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
