#About, .hero, .hero-text, .lead-box-wrapper, .text-box {
  overflow: hidden
}
#About h2, .section-heading .en {
  color: #5f5fff;
  letter-spacing: .05em;
  font-weight: 700
}
.lead-box-wrapper::before, .more-button::before {
  inset: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) padding-box;
  z-index: 0;
  content: ""
}
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed
}
.section-heading {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  margin: 1rem 1rem 0
}
.section-heading .en {
  display: block;
  font-size: 3rem;
  line-height: 1;
  font-kerning: normal
}
.section-heading .jp {
  display: block;
  font-size: 1rem;
  line-height: 1;
  font-weight: 400;
  color: #333;
  letter-spacing: .15em;
  font-feature-settings: "palt";
  margin: .5em 0 0 .1em
}
main {
  background-color: #f5f9ff
}
.hero {
  width: 100%;
  max-height: 980px;
  height: 100vh;
  position: relative;
  background-image: url('../../images/home/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  }
.hero-visual {
  width: 100%;
  height: 100%;
  border: none;
  display: block
}
.hero-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 2;
  font-size: clamp(1.4rem, 5vw, 2rem);
  white-space: nowrap;
  border-right: 3px solid #fff;
  width: 30ch;
  animation: 3s steps(30, end) .5s forwards typing, .8s step-end infinite blink
}
@keyframes typing {
  from {
    width: 0
  }
  to {
    width: 30ch
  }
}
@keyframes blink {
  50% {
    border-color: transparent
  }
}
@property --ang1 {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg
}
@property --ang2 {
  syntax: "<angle>";
  inherits: true;
  initial-value: 180deg
}
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg
}
.lead-box-wrapper {
  --accent-1: #0078ff;
  --accent-2: #5f5fff;
  --accent-3: #88a8ff;
  --lead-bg: rgba(10, 26, 60, .55);
  --lead-blur: 8px;
  --r: 12px;
  --b: 6px;
  --ang1: 0deg;
  --ang2: 180deg;
  position: absolute;
  bottom: 15%;
  right: 15%;
  width: min(38vw, 380px);
  padding: var(--b);
  border-radius: var(--r);
  z-index: 3;
  background: 0 0;
  isolation: isolate
}
@keyframes spin1 {
  to {
    --ang1: 360deg
  }
}
@keyframes spin2 {
  to {
    --ang2: -360deg
  }
}
.lead-box-wrapper::before {
  position: absolute;
  border-radius: inherit;
  padding: var(--b);
  background: conic-gradient(from 0deg at 50% 50%, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1)), conic-gradient(from var(--ang1) at 25% 70%, transparent 0turn .055turn, var(--accent-1) .07turn .095turn, transparent .11turn 1turn), conic-gradient(from var(--ang2) at 78% 65%, transparent 0turn .04turn, var(--accent-2) .05turn .075turn, transparent .085turn 1turn);
  background-blend-mode: screen, screen, screen;
  animation: 6s linear infinite spin1, 8s linear infinite spin2;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  box-shadow: 0 0 12px rgba(0, 120, 255, .9), 0 0 26px rgba(95, 95, 255, .6), 0 0 46px rgba(95, 95, 255, .45);
  pointer-events: none
}
.lead-box {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 200px;
  background: var(--lead-bg);
  border-radius: calc(var(--r) - 4px);
  color: #fff;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  display: grid;
  place-items: center;
  text-align: left;
  backdrop-filter: blur(var(--lead-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--lead-blur)) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .28)
}
.lead-box .lead {
  font-size: 1.1rem;
  line-height: 1.7;
  text-wrap: balance
}
@supports not (mask-composite:exclude) {
  .lead-box-wrapper {
    background: linear-gradient(135deg, #101f3f, #0a1a3c 40%, #101f3f) padding-box, linear-gradient(135deg, #0078ff, #5f5fff) border-box;
    border: var(--b) solid transparent;
    box-shadow: 0 0 18px rgba(0, 120, 255, .35)
  }
}
@media (hover:hover) {
  .lead-box-wrapper:hover::before {
    animation: 4.8s linear infinite spin1, 6.4s linear infinite spin2
  }
}
.scroll-cue {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  letter-spacing: .4em;
  text-transform: uppercase;
  opacity: .9;
  transition: opacity .4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  pointer-events: auto
}
#About, #About h2, #Training .training-subtitle, .contact-image-wrapper, .contact-item, .grid-image-wrapper, .grid-item {
  position: relative
}
.scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none
}
.scroll-cue::before {
  content: "";
  width: 1px;
  height: 32px;
  background: #fff;
  animation: 1.4s ease-in-out infinite scroll-line;
  transform-origin: top
}
@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    opacity: 0
  }
  30% {
    opacity: 1
  }
  100% {
    transform: scaleY(1) translateY(8px);
    opacity: 0
  }
}
.main-contents {
  max-width: 1200px;
  margin: 0 auto
}
#About {
  transform: translate(0, -20px);
  background: #e3eaf6;
  max-width: 960px;
  margin: 0 auto 1.25rem;
  padding: 2rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(204, 204, 204, .45);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  z-index: 2000
}
#About h2 {
  margin: 0;
  color: #5f5fff;
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: .01em
}
.about-text {
  width: 100%;
  max-width: 68ch;
  margin: 0 auto
}
.about-text p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: 0
}
.about-text p:not(:last-child) {
  margin-bottom: .75em
}
#About .about-text > :last-child {
  margin-bottom: 0
}
#About .about-link-wrapper {
  margin-top: 1rem
}
#About .about-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  text-underline-offset: .18em;
  transition: .15s
}
#About .about-link::after {
  content: "";
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="%230a1a3c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="M13 5l7 7-7 7"/></svg>') center/contain no-repeat;
  transition: transform .12s
}
#About .about-link:hover::after {
  transform: translateX(2px)
}
@media (min-width:768px) {
  #About {
    grid-template-columns: 96px 1fr;
    gap: 2rem;
    padding: 2rem 1.75rem
  }
  #About h2 {
    writing-mode: sideways-rl;
    text-orientation: mixed;
    white-space: nowrap;
    align-self: start;
    justify-self: center
  }
  .about-text {
    padding-left: 1rem;
    margin: 0
  }
}
@media (min-width:1200px) {
  #About {
    padding-block: 4rem 3rem;
    padding-inline: 2rem
  }
}
#Training .training-contents {
  display: grid;
  grid-template-areas: "title""media""text";
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(20px, 3vw, 32px);
  text-align: center
}
#Training .training-subtitle {
  grid-area: title;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 700;
  color: #0078ff;
  line-height: 1.3;
  display: inline-block;
  letter-spacing: .02em
}
#Training .training-subtitle::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin: .4em auto 0;
  background: linear-gradient(90deg, #0078ff, #5f5fff);
  border-radius: 2px
}
#Training .training-image-wrapper {
  grid-area: media;
  position: relative;
  overflow: clip;
  box-shadow: 0 14px 36px rgba(10, 26, 60, .14)
}
#Training .training-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover
}
#Training .training-text {
  grid-area: text;
  text-align: left;
  margin-inline: auto;
  font-size: clamp(1rem, 1.05vw + .2rem, 1.125rem);
  line-height: 1.9;
  color: #223;
  max-width: 66ch
}
#Training .lead-text {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 700
}
#Training .training-text p {
  margin: 0 0 1.25rem
}
@media (min-width:798px) {
  #Training .training-contents {
    grid-template-columns: 5fr 6fr;
    grid-template-areas: "title title""media text";
    align-items: center;
    text-align: left;
    gap: clamp(24px, 3vw, 40px);
    padding: clamp(28px, 3.2vw, 40px)
  }
  #Training .training-subtitle {
    text-align: left
  }
  #Training .training-subtitle::after {
    margin-left: 0;
    margin-right: auto
  }
  #Training .training-text {
    padding-left: clamp(8px, 1.4vw, 20px)
  }
  #Training .training-contents.is-reverse, #Training .training-contents:nth-of-type(2) {
    grid-template-areas: "title title""text media";
    grid-template-columns: 6fr 5fr
  }
  #Training .training-contents.is-reverse .training-text, #Training .training-contents:nth-of-type(2) .training-text {
    padding-left: 0;
    padding-right: clamp(8px, 1.4vw, 20px)
  }
}
@media (min-width:1100px) {
  #Training .training-contents:not(.is-reverse):not(:nth-of-type(2)) .training-image-wrapper, #Training .training-contents:nth-of-type(2):not(.is-reverse) .training-image-wrapper {
    border-radius: 18px 24px 24px 18px
  }
  #Training .training-contents.is-reverse .training-image-wrapper, #Training .training-contents:nth-of-type(2) .training-image-wrapper {
    border-radius: 24px 18px 18px 24px
  }
}
.contact-item-wrapper, .grid-wrapper {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: clamp(20px, 3vw, 32px)
}
.contact-item, .grid-item {
  padding-top: 75px
}
.circle-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: -75px;
  left: 0;
  z-index: 5;
  border: 5px solid #fff;
  box-shadow: 0 2px 4px rgba(204, 204, 204, .5)
}
.text-box, .text-box h3, .text-box p {
  position: relative;
  z-index: 1
}
#slider a, .hover-link {
  display: block
}
.text-box {
  aspect-ratio: 4/3;
  padding: 5%;
  padding-top: calc(5% + 75px);
  box-shadow: 0 4px 6px rgba(204, 204, 204, .8);
  transition: filter .3s
}
.text-box h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem
}
.contact-description p, .text-box p {
  font-size: 1rem
}
.text-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/home/nn-bg.png") center/cover no-repeat;
  z-index: 0;
  transition: filter .3s
}
.text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: #fff;
  background-color: rgba(10, 26, 60, .6);
  text-shadow: 1px 1px 4px rgba(204, 204, 204, .9);
  opacity: 0;
  transition: opacity .4s;
  z-index: 2
}
.news-date, .news-tag {
  color: #0a1a3c;
  white-space: nowrap
}
.hover-link:hover .text-box::before {
  filter: blur(5px)
}
.hover-link:hover .text-overlay {
  opacity: 1
}
.text-link-wrapper {
  max-width: 600px;
  width: 90%;
  margin: 2rem auto 0;
  border-top: 1px solid rgba(0, 0, 0, .2);
  padding: 1rem;
  text-align: center;
  gap: 10px
}
.text-link-wrapper p {
  font-size: clamp(.95rem, .9vw + .2rem, 1.05rem);
  color: #3e3e3e
}
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-style: italic;
  transition: color .3s
}
.news-item, .news-list {
  display: grid;
  gap: 12px
}
.text-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s
}
.text-link:focus-visible::before, .text-link:hover::before {
  transform: scaleX(1);
  transform-origin: left
}
.text-link:focus-visible, .text-link:hover {
  color: #333
}
.text-link::after {
  content: "";
  inline-size: .9em;
  block-size: .9em;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  margin-left: .3em;
  transition: transform .25s
}
.news-list-wrapper {
  max-width: 720px;
  width: 90%;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px)
}
#slider, .news-list {
  margin: 0;
  padding: 0;
  list-style: none
}
.news-item {
  grid-template-columns: auto auto 1fr;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, .1)
}
.news-date {
  font-variant-numeric: tabular-nums;
  opacity: .75;
  font-size: .875rem
}
.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  padding: .25rem .6rem;
  line-height: 1;
  min-height: 1.6em;
  border-radius: 999px;
  background: rgba(0, 120, 255, .08);
  border: 1px solid rgba(0, 120, 255, .18);
  max-width: 100px
}
.news-text:hover {
  color: #004080;
  text-decoration-color: rgba(0, 64, 128, .4)
}
.news-item.is-hidden {
  display: none
}
@media (max-width:600px) {
  .news-item {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 6px 12px
  }
  .news-date {
    grid-column: 1;
    grid-row: 1
  }
  .news-tag {
    grid-column: 2;
    grid-row: 1
  }
  .news-text {
    grid-column: 1/-1;
    grid-row: 2
  }
}
.contact-image {
  width: 150px;
  height: auto;
  position: absolute;
  top: -75px;
  left: -3px;
  z-index: 5
}
.contact-description, .more-button, .slider-wrapper {
  position: relative;
  overflow: hidden
}
.contact-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(5% + 75px) 10% 10%;
  aspect-ratio: 4/3;
  z-index: 1;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #04a 0, #039 50%, #001f66 100%) border-box;
  border: 10px solid transparent
}
.contact-button {
  box-shadow: inset 0 1px #fff, 0 4px 6px rgba(0, 0, 0, .2);
  color: #fff;
  background-image: linear-gradient(#7d7dff, #4141ff);
  border-radius: 999px
}
#Contents {
  padding: 2rem 0
}
.contents-text {
  padding: 1.6rem 0 0 1rem
}
.slider-wrapper {
  width: 100%;
  padding-bottom: 1rem;
  margin: 1rem auto
}
#slider {
  display: flex;
  width: max-content;
  animation: 15s linear infinite scroll-left
}
#slider li {
  flex: 0 0 auto;
  width: clamp(300px, 50vw, 500px);
  margin-right: 20px;
  transition: transform .3s
}
#slider img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s, box-shadow .4s
}
#slider li:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
  cursor: pointer
}
@keyframes scroll-left {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-50%)
  }
}
.more-button {
  --angle: 0deg;
  display: block;
  width: 80%;
  max-width: 220px;
  padding: 12px;
  margin: 1rem auto;
  text-align: center;
  font-weight: 700;
  letter-spacing: .3em;
  color: inherit;
  background: 0 0;
  border-radius: 12px;
  isolation: isolate;
  box-shadow: 0 0 10px rgba(0, 120, 255, .2)
}
.more-button::before {
  position: absolute;
  border-radius: inherit;
  padding: 3px;
  background: conic-gradient(from var(--angle), #0078ff, #5f5fff, #88a8ff, #0078ff);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: 7s linear infinite rotate;
  box-shadow: none;
  transition: box-shadow .25s
}
.more-button:hover {
  box-shadow: 0 0 7px rgba(0, 120, 255, .12), 0 0 14px rgba(0, 120, 255, .1), 0 0 27px rgba(0, 120, 255, .09), 0 0 45px rgba(0, 120, 255, .07)
}
.more-button::after {
  content: "";
  position: absolute;
  inset: -40% -70% -40% -70%;
  transform: translateX(-80%) rotate(18deg);
  background: linear-gradient(to right, transparent 0, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 58%, transparent 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  animation: 2s ease-in-out infinite button-kiratto
}
@keyframes button-kiratto {
  0% {
    transform: translateX(-80%) rotate(18deg);
    opacity: 0
  }
  15%, 85% {
    opacity: 1
  }
  50% {
    opacity: .85
  }
  100% {
    transform: translateX(80%) rotate(18deg);
    opacity: 0
  }
}
[data-animate].is-inview {
  opacity: 1;
  transform: translateY(0) scale(1)
}
@media (prefers-reduced-motion:reduce) {
  .lead-box-wrapper::before {
    animation: none
  }
  html:focus-within {
    scroll-behavior: auto
  }
  *, ::after, ::before {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important
  }
}
@media screen and (max-width:768px) {
  .about-text p, .text-box h3 {
    font-size: 1rem
  }
  .hero {
    height: 70vh
  }
  .hero-text {
    top: 50%;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    padding: 0 1.5rem;
    max-width: 100vw;
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    animation: none;
    border-right: none;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #0078ff, 0 0 80px #0078ff;
    text-align: center
  }
  .circle-img, .contact-image {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%)
  }
  .hero-text span {
    display: inline-block
  }
  .lead-box-wrapper {
    display: none
  }
  #About {
    transform: none;
    border-radius: 0
  }
  .about-text p {
    line-height: 2
  }
  .contact-item-wrapper, .grid-wrapper {
    grid-template-columns: 1fr
  }
  .grid-item {
    padding-top: 50px
  }
  .circle-img {
    width: 100px;
    height: 100px
  }
  .text-box {
    max-width: 350px;
    margin: 0 auto;
    padding-top: calc(5% + 50px);
    aspect-ratio: 5/4
  }
  .text-box p {
    font-size: .9rem
  }
  .contact-item {
    padding-top: 60px
  }
  .contact-image {
    width: 120px;
    height: auto
  }
  .contact-description {
    max-width: 350px;
    margin: 0 auto;
    padding: calc(5% + 60px) 5% 5%
  }
  .contents-text {
    padding-left: 1rem
  }
}