#slider a, .more-button, a {
  text-decoration: none
}
.more-button, a {
  cursor: pointer
}
address, p {
  line-height: 1.6
}
*, ::after, ::before {
  box-sizing: border-box
}
body, dd, dl, dt, figure, h1, h2, h3, h4, img, p, ul {
  margin: 0;
  padding: 0
}
address ul, ul[role=list] {
  list-style: none
}
html {
  scroll-behavior: smooth
}
body {
  min-height: 100vh;
  font-family: "Noto Sans JP", sans-serif;
  text-rendering: optimizeSpeed
}
h1, h2, h3, h4 {
  font-family: "Funnel Sans", "Zen Kaku Gothic New", sans-serif
}
.section-heading {
  font-size: 16px;
  color: #333;
  text-align: left;
  letter-spacing: .15em;
  padding-left: 1rem
}
.section-heading::first-line {
  color: #5f5fff;
  font-size: 48px
}
@media (max-width:499px) {
  .section-heading::first-line {
    font-size: 36px
  }
}
a {
  color: #1a1a1a
}
a:not([class]) {
  text-decoration-skip-ink: auto
}
img {
  vertical-align: middle;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  user-select: none
}
.button {
  display: block;
  width: 80%;
  max-width: 200px;
  margin: 0 auto;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .3)
}
#slider, .navigation-menu {
  list-style: none;
  padding: 0
}
.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, .4);
  transition: .2s
}
.button:active {
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .2);
  filter: brightness(.9);
  transform: translateY(2px)
}
[data-animate] {
  opacity: 0;
  transform: translateY(30px) scale(.9);
  transition: opacity 1.2s ease-out var(--delay, 0s), transform 1.2s cubic-bezier(.22, 1, .36, 1) var(--delay, 0s)
}
[data-animate].is-inview {
  opacity: 1;
  transform: translateY(0) scale(1)
}
@media (prefers-reduced-motion:reduce) {
  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
  }
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 1rem;
  background: linear-gradient(to bottom, #e8effb 0, #cfd6de 100%);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, .4), 0 1px 4px rgba(0, 0, 0, .4)
}
.logo-wrapper {
  display: flex;
  align-items: center
}
.logo-mark, .logo-type {
  height: 28px;
  width: auto;
  margin-right: 10px
}
.navigation-menu {
  margin: 0;
  display: flex;
  align-items: center
}
.navigation-menu li a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
  padding: calc(10px + .8vw)
}
.navigation-menu li:hover a {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  text-decoration-color: #5f5fff
}
.menu-toggle {
  display: none
}
#About h2, #CEO .ceo-image-wrapper, .hero-text, .works-text h3 {
  text-align: center
}
main {
  background-color: #f5f9ff
}
.hero {
  width: 100%;
  max-height: 980px;
  height: 100vh;
  overflow: hidden;
  position: relative
}
.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-family: "M PLUS 1", sans-serif;
  font-size: clamp(1.4rem, 5vw, 2rem);
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #fff;
  width: 35ch;
  animation: 3s steps(30, end) .5s forwards typing, .8s step-end infinite blink
}
@keyframes typing {
  from {
    width: 0
  }
  to {
    width: 35ch
  }
}
@keyframes blink {
  50% {
    border-color: transparent
  }
}
.lead-box-wrapper {
  position: absolute;
  bottom: 15%;
  right: 15%;
  width: 335px;
  padding: 6px;
  border-radius: .75rem;
  background: linear-gradient(135deg, #28395c 5%, #16223c 20%, #0a1a3c 60%, #16223c 80%, #28395c 95%);
  box-shadow: 0 0 15px rgba(0, 188, 255, .9), 0 0 30px rgba(0, 188, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 0 4px rgba(0, 0, 0, .3), inset 0 0 8px rgba(0, 188, 255, .5);
  z-index: 3
}
.lead-box {
  width: 100%;
  height: 200px;
  background: rgba(10, 26, 60, .5);
  border-radius: calc(.75rem - 4px);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left
}
.lead-contact-button {
  padding: .75rem 1.5rem;
  border-radius: .5rem;
  background: #00bfff;
  color: #000;
  font-weight: 700
}
.scroll-cue, .text-overlay {
  font-family: "Funnel Sans", "Zen Kaku Gothic New", sans-serif;
  color: #fff
}
.scroll-cue {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  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 h2, .contact-image-wrapper, .grid-image-wrapper {
  position: relative
}
.scroll-cue.is-hidden, .text-overlay {
  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 {
  background-color: #e3eaf6;
  transform: translate(0, -20px);
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(204, 204, 204, .5);
  z-index: 2000
}
#About h2 {
  margin: 5% auto;
  padding-bottom: 10px;
  font-weight: 700
}
#About h2::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 1px;
  background-color: #5f5fff;
  left: 0;
  right: 0;
  bottom: -3px;
  margin: auto
}
.about-text {
  width: 90%;
  margin: 5% auto
}
.about-text p {
  line-height: 2.6;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.2rem
}
@media screen and (max-width:768px) {
  .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
  }
  .hero-text span {
    display: inline-block
  }
  .lead-box-wrapper {
    display: none
  }
  #About {
    transform: unset;
    border-radius: 0
  }
  .about-text p {
    line-height: 2;
    font-size: 1rem
  }
}
#Contact, #Contents, #Service {
  padding: 2rem 0
}
.grid-wrapper {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px
}
.contact-item, .grid-item {
  position: relative;
  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
}
.hover-link {
  display: block;
  pointer-events: none
}
.text-box {
  aspect-ratio: 4/3;
  padding: 5%;
  padding-top: calc(5% + 75px);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(204, 204, 204, .8);
  transition: filter .3s
}
.text-box h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem
}
.text-box p {
  font-size: 1rem
}
.text-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../images/nn-bg.png") center/cover no-repeat;
  z-index: 0;
  transition: filter .3s
}
.grid-item:nth-child(3) .text-box::before, .grid-item:nth-child(4) .text-box::before {
  background: url("../images/watercolor-bg.png") center/cover no-repeat
}
.hover-link:hover .text-box::before {
  filter: blur(2px)
}
.text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .2em;
  background-color: rgba(10, 26, 60, .6);
  text-shadow: 1px 1px 4px rgba(204, 204, 204, .8);
  transition: opacity .4s;
  z-index: 2
}
#Book, .works-text {
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(204, 204, 204, .5)
}
.hover-link:hover .text-overlay {
  opacity: 1
}
.works-row-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem
}
.works-row {
  display: flex;
  margin-bottom: 30px;
  flex-wrap: wrap
}
.media-wrapper {
  flex-grow: 5;
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 0;
  display: flex;
  flex-direction: column
}
.works-text {
  flex-grow: 3;
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 0;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center
}
.book-link-button, .contact-button {
  box-shadow: inset 0 1px #fff, 0 4px 6px rgba(0, 0, 0, .2);
  color: #fff
}
.works-text h3 {
  font-size: 1.6rem;
  color: #0078ff;
  padding-bottom: 1rem;
  letter-spacing: .1em
}
.works-media {
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden
}
.works-media iframe, .works-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0
}
#CEO {
  padding: 2rem 1rem;
  background: #f5f9ff
}
#CEO .ceo-profile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  row-gap: 2rem;
  column-gap: 1rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 2rem
}
#CEO .ceo-details {
  padding: 2rem
}
#CEO .ceo-name {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem
}
#CEO .ceo-name h3 {
  font-size: 1.8rem;
  color: #1a1a1a;
  letter-spacing: .02em;
  margin: 0
}
#CEO .ceo-name a img {
  width: 28px;
  height: 28px;
  transition: transform .3s, filter .3s
}
#CEO .ceo-name a:hover img {
  transform: scale(1.1);
  filter: brightness(1.2)
}
#CEO .bio {
  margin-bottom: 2rem
}
#CEO .bio div {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem
}
#CEO .bio dt {
  min-width: 80px;
  font-weight: 700
}
#CEO .bio dd {
  flex: 1;
  color: #4d4d4d;
  line-height: 1.5;
  margin: 0
}
#CEO .ceo-image-inner {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1/1;
  overflow: hidden;
  transform: rotate(0);
  transition: transform .4s;
  margin: 0 auto
}
#CEO .ceo-image-inner:hover {
  transform: rotate(1deg)
}
#CEO .ceo-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(5% 0%, 100% 0%, 100% 95%, 95% 100%, 0% 100%, 0% 5%)
}
.contact-item-wrapper {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 2rem 1rem
}
.contact-image {
  width: 150px;
  height: auto;
  position: absolute;
  top: -75px;
  left: -3px;
  z-index: 5
}
.contact-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(5% + 75px) 10% 10%;
  aspect-ratio: 3/2;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 10px solid transparent;
  background: linear-gradient(#fff, #fff) 0 0/cover border-box padding-box, url("../images/contact-bg.png") 0 0/cover border-box
}
.contact-description p {
  font-size: 1.2rem
}
.contact-button {
  background-image: linear-gradient(#7d7dff, #4141ff)
}
#Book {
  background-image: linear-gradient(to right, rgba(0, 0, 0, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, .05) 1px, transparent 1px);
  background-size: 20px 20px;
  font-family: "Funnel Sans", sans-serif;
  color: #333;
  margin: 0 1rem
}
.book-heading {
  position: relative;
  display: inline-block;
  background-color: #0078ff;
  color: #fff;
  padding: 10px 20px;
  font-size: 1.6rem;
  z-index: 1;
  font-weight: 500;
  letter-spacing: 5px
}
.book-meta, .more-button {
  font-weight: 700
}
.book-heading::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 90%;
  height: 90%;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  z-index: -1
}
.book-item {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  align-items: center;
  flex-wrap: wrap
}
.book-image {
  flex-shrink: 0
}
.book-image img {
  height: auto;
  max-width: 350px
}
.book-detail {
  flex: 1;
  min-width: 0
}
.book-detail h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem
}
.book-description {
  margin: 1rem 0
}
.book-link-button {
  margin: 0 auto;
  background-image: linear-gradient(#00bfff, #0078ff)
}
.more-button, .slider-wrapper {
  margin: 1rem auto;
  position: relative
}
.book-link-button img {
  width: 20px;
  height: 20px;
  margin-left: 10px
}
.contents-text {
  padding: 1.6rem 0 0 1rem
}
.slider-wrapper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 1rem
}
#slider {
  display: flex;
  width: max-content;
  animation: 15s linear infinite scroll-left;
  margin: 0
}
#slider li {
  flex: 0 0 auto;
  width: clamp(300px, 50vw, 500px);
  margin-right: 20px;
  transition: transform .3s
}
#slider a {
  display: block
}
#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.2);
  cursor: pointer
}
@keyframes scroll-left {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-50%)
  }
}
.slider-wrapper:hover #slider {
  animation-play-state: paused
}
@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg
}
.more-button {
  display: block;
  width: 80%;
  max-width: 200px;
  padding: 10px;
  text-align: center;
  border: 3px solid transparent;
  background-color: transparent;
  z-index: 0;
  --angle: 0deg;
  border-image: conic-gradient(from var(--angle), #0078ff, #00f7ff, #5f5fff, #ff00d4, #ffffff, #0078ff) 1;
  border-image-slice: 1;
  animation: 6s linear infinite rotate;
  transition: background-color .4s, color .4s, box-shadow .4s;
  letter-spacing: .3em
}
@keyframes rotate {
  to {
    --angle: 360deg
  }
}
.more-button:hover {
  box-shadow: 0 0 6px rgba(0, 120, 255, .4), 0 0 12px rgba(95, 95, 255, .3), 0 0 15px rgba(0, 247, 255, .2), 0 0 20px rgba(95, 95, 255, .2)
}
footer {
  background-color: #0a1a3c;
  color: #fff;
  padding: 1rem 0
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem
}
.company-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1
}
.company-wrapper p {
  display: inline-block;
  font-size: 1.2rem
}
.company-wrapper img {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: .6rem
}
address {
  flex: 1;
  font-size: .9rem
}
address img {
  width: 16px;
  height: 16px;
  margin-right: .6rem
}
address ul li a {
  color: #fff
}
address ul li a:hover {
  text-decoration: underline
}
.footer-bottom {
  border-top: 1px solid #555;
  padding: 1rem
}
.footer-bottom p {
  text-align: center;
  font-size: .9rem
}
@media (max-width:768px) {
  .logo-mark, .logo-type {
    height: 24px
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    border: none;
    border-radius: 4px;
    z-index: 1000;
    position: fixed;
    top: 0;
    right: 1rem
  }
  .menu-button {
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px
  }
  .line {
    transition: transform .3s, opacity .3s;
    transform-origin: center;
    stroke-linecap: round
  }
  .menu-button .line1, .menu-button .line3 {
    transform: translateY(0) rotate(0)
  }
  .menu-button .line2 {
    opacity: 1
  }
  .menu-button.active .line1 {
    transform: translateY(7px) rotate(45deg)
  }
  .menu-button.active .line2 {
    opacity: 0
  }
  .menu-button.active .line3 {
    transform: translateY(-7px) rotate(-45deg)
  }
  .navigation-menu {
    flex-direction: column;
    box-shadow: inset 0 1px 4px rgba(255, 255, 255, .4);
    position: fixed;
    top: 60px;
    right: -250px;
    width: 250px;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
    transition: right .4s ease-in-out;
    background: #e8effb;
    box-shadow: inset 0 1px 4px rgba(255, 255, 255, .4), 0 1px 4px rgba(0, 0, 0, .4);
    z-index: 999
  }
  .navigation-menu.active {
    right: 0
  }
  .navigation-menu li {
    text-align: left
  }
  nav {
    display: flex;
    align-items: center
  }
  .contact-item-wrapper, .grid-wrapper {
    grid-template-columns: 1fr
  }
  .grid-item {
    padding-top: 50px
  }
  .circle-img {
    width: 100px;
    height: 100px;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%)
  }
  .text-box {
    max-width: 350px;
    margin: 0 auto;
    padding-top: calc(5% + 50px);
    aspect-ratio: 5/4
  }
  .text-box h3 {
    font-size: 1rem
  }
  .text-box p {
    font-size: .9rem
  }
  .works-row {
    flex-direction: column
  }
  .media-wrapper, .works-text {
    flex-basis: auto;
    flex-grow: 0;
    flex-shrink: 0;
    width: 100%
  }
  .works-media {
    position: relative;
    aspect-ratio: 3/2;
    padding-top: 0
  }
  .works-media iframe, .works-media img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover
  }
  #CEO {
    padding-top: 2rem
  }
  #CEO .ceo-details {
    padding: 1rem
  }
  #CEO .ceo-profile {
    display: flex;
    flex-direction: column;
    align-items: center
  }
  #CEO .ceo-image-wrapper {
    order: -1;
    margin-top: 2rem
  }
  #CEO .bio div {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1rem
  }
  #CEO .bio dt {
    min-width: auto;
    margin-bottom: .25rem
  }
  #CEO .bio dd {
    margin: 0
  }
  .contact-item {
    padding-top: 60px
  }
  .contact-image {
    width: 120px;
    height: auto;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%)
  }
  .contact-description {
    max-width: 350px;
    margin: 0 auto;
    aspect-ratio: unset;
    padding: calc(3%% + 60px) 3% 3%;
  }
  .contact-description p {
    font-size: 1rem;
    margin-bottom: 1rem
  }
  .book-heading {
    font-size: 1.2rem
  }
  .book-item {
    flex-direction: column;
    align-items: center;
    text-align: center
  }
  .book-image img {
    width: 80%;
    max-width: 300px
  }
  .book-detail {
    text-align: left;
    padding-top: 1rem
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: .6rem;
  }
}