#fv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  display: block !important;
  visibility: visible !important;
}

#hero-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  -webkit-media-controls: none !important;
  -webkit-media-controls-panel: none !important;
  -webkit-media-controls-play-button: none !important;
  -webkit-media-controls-start-playback-button: none !important;
  -webkit-media-controls-timeline: none !important;
  -webkit-media-controls-current-time-display: none !important;
  -webkit-media-controls-time-remaining-display: none !important;
  -webkit-media-controls-mute-button: none !important;
  -webkit-media-controls-volume-slider: none !important;
  -webkit-media-controls-fullscreen-button: none !important;
  -webkit-media-controls-rewind-button: none !important;
  -webkit-media-controls-return-to-realtime-button: none !important;
  -webkit-media-controls-seek-back-button: none !important;
  -webkit-media-controls-seek-forward-button: none !important;
  -webkit-media-controls-toggle-closed-captions-button: none !important;
}

#hero-video,
#hero-video source {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(0px);
  z-index: 2;
  will-change: backdrop-filter, background-color;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backdrop-filter: blur(0px);
  -webkit-transform: translateZ(0);
}

.content-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.text-content {
  text-align: center;
  color: white;
  padding: 0 20px;
  position: relative;
}

.first-scene {
  opacity: 1;
  overflow: hidden;
}

.second-scene {
  position: absolute;
  opacity: 0;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.second-scene .scene-title {
  opacity: 0;
  transform: translateY(30px);
}

.second-scene .scene-description {
  opacity: 0;
  transform: translateY(30px);
}

.hero-title {
  position: relative;
  overflow: hidden;
}

.hero-title {
  position: relative;
}

.title-line {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.title-line:first-of-type {
  padding: 0.41vw 1.38vw 0.41vw 0.41vw;
  margin-bottom: 2.22vw;
}

.title-line:last-of-type {
  padding: 0.41vw 0.69vw 0.41vw 0.53vw;
}

.title-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 120, 247, 1);
  transform: translateX(-100%);
  z-index: 1;
}

.title-text {
  position: relative;
  opacity: 1;
  height: 4.4vw;
  z-index: 2;
  clip-path: inset(0 100% 0 0);
}

.text-reveal {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 3;
}

.text-content.first-scene {
  position: absolute;
  left: 3vw;
  top: 55%;
  transform: translateY(-50%);
}

.scene-title {
  width: 13vw;
  margin-bottom: 2vw;
}

.scene-title:nth-of-type(2) {
  margin-bottom: 1vw;
}

.scene-title:last-of-type {
  margin-bottom: 2vw;
}

.scene-description {
  font-size: 1.5vw;
  line-height: 2.4;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scene-button {
  font-size: 16px;
  color: #004f94;
  background-color: #fff;
  margin-top: 2.5vw;
  padding: 17px 54px;
  border-radius: 27px;
  line-height: 1.5;
}

@media screen and (max-width: 1365px) and (min-width: 768px) {
  .text-content.first-scene {
    left: 40px;
  }
  .title-text {
    height: 60px;
  }
  .title-line {
    margin-bottom: 29.6px;
    padding: 5.5px 18.5px 5.5px 5.5px;
  }
  .scene-title {
    width: 200px;
  }
  .scene-description {
    font-size: 18px;
  }
}

.figtree {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.figtree::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 34px;
  width: 7px;
  height: 7px;
  border: 1px solid #004f94;
  border-left: none;
  border-top: none;
  transform: translateY(-50%) rotate(-45deg);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .scene-button:hover {
    background-color: #004f94;
    color: #fff;
  }
  .scene-button:hover::after {
    border-color: #fff;
  }
}

@media (max-width: 767px) {
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 2;
    will-change: backdrop-filter;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: backdrop-filter 0.1s ease-out, -webkit-backdrop-filter 0.1s ease-out;
  }

  .video-overlay.blur-effect {
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    transition: backdrop-filter 0.1s ease-out, -webkit-backdrop-filter 0.1s ease-out;
  }

  .video-overlay.mobile-blur {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: backdrop-filter 0.1s ease-out, -webkit-backdrop-filter 0.1s ease-out;
  }

  @supports (-webkit-backdrop-filter: none) {
    .video-overlay {
      -webkit-backdrop-filter: blur(0px);
    }
    .video-overlay.blur-effect {
      -webkit-backdrop-filter: blur(10px) !important;
    }
  }

  @supports (backdrop-filter: none) {
    .video-overlay {
      backdrop-filter: blur(0px);
    }
    .video-overlay.blur-effect {
      backdrop-filter: blur(10px) !important;
    }
  }
}

@media (max-width: 767px) {
  .text-content.first-scene {
    left: 4vw;
    padding: 0;
  }
  .title-text {
    height: 8vw;
  }
  .title-line:first-of-type {
    padding: 1.2vw 4vw 1.2vw 1.5vw;
    margin-bottom: 4vw;
  }
  .title-line:last-of-type {
    padding: 1.2vw 2vw 1.2vw 1.5vw;
  }
  .scene-title {
    width: 36vw;
    margin-bottom: 5vw;
  }
  .scene-title:nth-of-type(2) {
    margin-bottom: 3vw;
  }
  .scene-title:last-of-type {
    margin-bottom: 5vw;
  }
  .scene-description {
    font-size: 4.2vw;
    line-height: 1.8;
    margin-bottom: 15vw;
  }
  .scene-button.figtree {
    padding: 3.5vw 15vw;
    font-size: 4vw;
    border-radius: 10vw;
    margin-top: 12.8vw;
  }
  .scene-button.figtree::after {
    width: 2.5vw;
    height: 2.5vw;
    right: 10vw;
    border-width: 0.3vw;
  }
}

#about {
  position: relative;
  min-height: 547px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-background-pc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/top/about-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-background-sp {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/top/about-bg-sp.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

.about-container {
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-content {
  flex: 1;
  padding-bottom: 15px;
}

.about-title {
  font-size: 30px;
  font-weight: bold;
  color: #000;
}

.about-title span {
  color: #004f94;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 16px;
  display: block;
  margin-bottom: 40px;
  margin-top: 10px;
  letter-spacing: 0.1em;
}

.about-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 60px;
  font-weight: 500;
}

.about-button.figtree {
  font-size: 16px;
  color: #fff;
  background-color: #004f94;
  margin-top: 40px;
  padding: 17px 54px;
  border: 1px solid #004f94;
  border-radius: 27px;
}

.about-button.figtree::after {
  border-color: #fff;
  border-width: 1px;
  right: 34px;
  width: 7px;
  height: 7px;
}

.about-button.figtree:hover {
  background-color: #fff;
  color: #004f94;
}

.about-button.figtree:hover::after {
  border-color: #004f94;
}

.about-gallery {
  width: 600px;
  display: flex;
  gap: 20px;
  height: 547px;
  transform: translateX(130px);
}

.gallery-column {
  flex: 1;
  display: flex;
  gap: 20px;
  position: relative;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.gallery-item {
  flex-shrink: 0;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) and (max-width: 1366px) {
  .about-gallery {
    transform: translateX(calc(130px - ((1366px - 100vw) / 2)));
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-container {
    max-width: 100vw;
    padding: 0 12px;
  }
  .about-gallery {
    width: 280px;
    transform: translateX(0);
  }
  .about-gallery .left-column {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #about {
    min-height: 126vw;
    padding-bottom: 15vw;
  }

  .about-container {
    flex-direction: column;
    gap: 40px;
    padding: 60px 20px;
  }

  .about-content {
    max-width: 100%;
    order: 1;
  }

  .about-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .about-title {
    font-size: 6vw;
    text-align: center;
  }

  .about-title span {
    font-size: 3.6vw;
    margin-bottom: 8vw;
    margin-top: 3vw;
  }

  .about-description {
    font-size: 4.2vw;
    margin-bottom: 7vw;
    line-height: 1.6;
  }

  .about-gallery {
    order: 2;
    height: unset;
    width: 100%;
    transform: unset;
    position: absolute;
    left: 0;
    bottom: 0;
  }

  .gallery-column {
    flex-direction: row;
    gap: 3.2vw;
  }

  .gallery-item {
    width: 40.8vw;
    flex-shrink: 0;
    aspect-ratio: 153/115;
    height: calc(40.8vw * 115 / 153);
    overflow: hidden;
    min-height: calc(40.8vw * 115 / 153);
    max-height: calc(40.8vw * 115 / 153);
  }

  .about-background-sp {
    height: calc(100% - 15vw);
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
  }

  .right-column {
    display: none;
  }

  .about-background-pc {
    display: none;
  }

  .about-background-sp {
    display: block;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }
  .about-button.figtree {
    padding: 3.5vw 15vw;
    font-size: 4vw;
    border-radius: 10vw;
  }
  .about-button.figtree::after {
    width: 2.5vw;
    height: 2.5vw;
    right: 10vw;
    border-width: 0.3vw;
  }
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }

  .sp-only {
    display: none;
  }

  .right-column {
    display: flex !important;
  }
}

#news {
  padding: 95px 0;
  background-color: #fff;
}

.news-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .news-container {
    max-width: 100vw;
    padding: 0 12px;
  }
  .news-item::after {
    width: 173px !important;
  }
}

.news-left {
  display: flex;
  flex-direction: column;
  padding-top: 15px;
  margin-right: 11%;
}

.news-title {
  font-size: 30px;
  font-weight: bold;
  color: #333;
}

.news-title span {
  font-size: 16px;
  color: #004f94;
  font-weight: 500;
  display: block;
  margin-top: 10px;
  letter-spacing: 0.1em;
  font-family: "Jost", sans-serif;
}

.news-button.figtree {
  font-size: 16px;
  color: #004f94;
  background-color: #fff;
  margin-top: 45px;
  padding: 17px 54px;
  border: 1px solid #004f94;
  border-radius: 27px;
  white-space: nowrap;
  line-height: 1.2;
}

.news-button.figtree::after {
  border-color: #004f94;
  border-width: 1px;
  right: 34px;
  width: 7px;
  height: 7px;
}

.news-button.figtree:hover {
  background-color: #004f94;
  color: #fff;
}

.news-button.figtree:hover::after {
  border-color: #fff;
}

.news-right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 16px 40px;
  border-bottom: 2px solid #c5c5c5;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.news-item::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 25%;
  height: 2px;
  background-color: #004f94;
}

.news-item:hover {
  background-color: rgba(248, 248, 248, 1);
}

.news-date {
  font-size: 16px;
  color: #004f94;
  font-weight: 500;
  margin-right: 90px;
  font-family: "Jost", sans-serif;
}

.news-item-title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  line-height: 2;
}

@media (max-width: 767px) {
  #news {
    padding: 21vw 0;
  }

  .news-container {
    flex-direction: column;
    gap: 40px;
  }

  .news-left {
    flex: none;
    width: 100%;
    text-align: center;
    gap: 20px;
    margin-right: 0;
  }

  .news-title {
    font-size: 6.2vw;
  }

  .news-title span {
    font-size: 3.6vw;
    margin-top: 3.5vw;
  }

  .news-button {
    align-self: center;
  }

  .news-right {
    flex: none;
    width: 100%;
    padding: 0 4vw;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 4vw 0;
    border-width: 0.4vw;
  }

  .news-item::after {
    width: 50%;
    height: 0.4vw;
    bottom: -0.4vw;
  }

  .news-date {
    min-width: auto;
    font-size: 3.6vw;
    margin-bottom: 2vw;
  }

  .news-item-title {
    font-size: 3.6vw;
  }
  .news-button.figtree {
    padding: 3.5vw 15vw;
    font-size: 4vw;
    border-radius: 10vw;
    margin-top: 10vw;
  }
  .news-button.figtree::after {
    width: 2.5vw;
    height: 2.5vw;
    right: 10vw;
    border-width: 0.3vw;
  }
}

#services {
  min-height: 453px;
  display: flex;
  align-items: stretch;
}

.services-container {
  width: 100%;
  display: flex;
}

.service-left {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.service-left .service-content {
  margin-right: 49%;
}

@media (min-width: 768px) and (max-width: 1000px) {
  .service-left .service-content {
    margin-right: calc(245px - ((1000px - 100vw) / 2));
  }
}

.service-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.service-right .service-content {
  margin-left: 16%;
}

.service-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.service-left .service-background {
  background-image: url("../images/top/service-left-bg.webp");
}

.service-right .service-background {
  background-image: url("../images/top/service-right-bg.webp");
  background-color: rgba(251, 251, 251, 1);
  background-size: auto 100%;
}

.service-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: white;
  padding: 40px 20px 50px;
}

.service-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 65px;
  color: #000;
}

.service-title span {
  font-size: 16px;
  color: #004f94;
  font-weight: 500;
  display: block;
  margin-top: 10px;
  letter-spacing: 0.1em;
  font-family: "Jost", sans-serif;
}

.service-button {
  font-size: 16px;
  color: #004f94;
  background-color: #fff;
  margin-top: 45px;
  padding: 17px 54px;
  border: 1px solid #004f94;
  border-radius: 27px;
  white-space: nowrap;
  line-height: 1.2;
}

.service-left .service-button.figtree {
  padding: 17px 64px 17px 44px;
}

.service-left .service-button.figtree::after {
  border: none;
  background-image: url("../images/icon-window-navy.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 12px;
  height: 12px;
  transform: translateY(-50%) !important;
  right: 42px;
}

.service-left .service-button.figtree:hover::after {
  filter: brightness(0) invert(1);
}

.service-button.figtree::after {
  border-color: #004f94;
  border-width: 1px;
  right: 34px;
  width: 7px;
  height: 7px;
}

.service-button.figtree:hover::after {
  border-color: #fff;
}

.service-button:hover {
  background-color: #004f94;
  color: #fff;
}

@media (max-width: 767px) {
  #services {
    min-height: auto;
  }

  .services-container {
    flex-direction: column;
  }

  .service-left,
  .service-right {
    min-height: 84vw;
  }

  .service-title {
    font-size: 6.2vw;
    margin-bottom: 17vw;
  }

  .service-title span {
    font-size: 3.6vw;
    margin-top: 3.5vw;
  }

  .service-left .service-background {
    background-image: url("../images/top/service-left-bg-sp.webp");
  }

  .service-right .service-background {
    background-image: url("../images/top/service-right-bg-sp.webp");
  }

  .service-left .service-content {
    margin-right: 0;
  }

  .service-left,
  .service-right {
    justify-content: center;
  }

  .service-button.figtree {
    padding: 3.5vw 15vw !important;
    font-size: 4vw;
    border-radius: 10vw;
    margin-top: 10vw;
  }
  .service-button.figtree::after {
    width: 2.5vw;
    height: 2.5vw;
    right: 10vw;
    border-width: 0.3vw;
  }

  .service-left .service-button.figtree {
    padding: 3.5vw 18vw 3.5vw 12vw !important;
  }

  .service-left .service-button.figtree::after {
    right: 11vw !important;
    width: 3.5vw !important;
    height: 3.5vw !important;
  }

  .service-right .service-content {
    margin-left: 0;
  }
}

#company {
  min-height: 398px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.company-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.company-left {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  padding-left: 80px;
  padding-top: 10px;
}

.company-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #fff;
  line-height: 1.2;
}

.company-title span {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  font-family: "Jost", sans-serif;
  letter-spacing: 0.1em;
}

.company-description {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 60px;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.company-button {
  text-decoration: none;
  border: 1px solid #0078ff;
  border-radius: 27px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 16px;
  color: #0078ff;
  background-color: #fff;
  margin-top: 45px;
  padding: 17px 54px;
  border-radius: 27px;
  white-space: nowrap;
  line-height: 1.2;
}

.company-button.figtree::after {
  border-color: #0078ff !important;
  border-width: 1px;
  right: 34px;
  width: 7px;
  height: 7px;
}

.company-button:hover {
  background: #0078ff;
  color: #fff;
  border-color: #fff;
}

.company-button:hover::after {
  border-color: #fff !important;
}

#company::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/top/company-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

@media (max-width: 767px) {
  #company {
    min-height: 110vw;
  }

  .company-left {
    text-align: center;
    max-width: 100%;
  }

  .company-title {
    font-size: 6.2vw;
    margin-bottom: 7vw;
  }

  .company-title span {
    font-size: 3.6vw;
    margin-top: 3.5vw;
  }

  .company-button {
    padding: 3.5vw 15vw;
    font-size: 4vw;
    border-radius: 10vw;
    margin-top: 10vw;
  }

  .company-button.figtree::after {
    width: 2.5vw;
    height: 2.5vw;
    right: 10vw;
    border-width: 0.3vw;
  }

  #company::before {
    background-image: url("../images/top/company-bg-sp.webp");
  }

  .company-left {
    padding-left: 0;
  }

  .company-description {
    font-size: 4.2vw;
    margin-bottom: 14vw;
    text-align: left;
  }

  .company-container {
    padding: 0 4vw;
  }
}

@keyframes backgroundSlideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

@keyframes backgroundSlideOut {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes textReveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0% 0 0);
  }
}

.title-background.slide-in {
  animation: backgroundSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-background.slide-out {
  animation: backgroundSlideOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-text.reveal {
  animation: textReveal 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
