:root {
}

html {
  scroll-behavior: smooth;
}

body.light {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  letter-spacing: 0.02rem;
  transition: all 0.5s ease;
}

a {
  text-decoration: none;
  color: black;
}

p {
  margin: 0;
  font-size: 15px;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

.md {
  display: none;
}

.fas {
  font-size: 50px;
  color: rgb(241, 241, 241);
  margin-left: -20px;
}

.title {
  text-align: center;
  font-size: 30px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 25px;
  padding: 18px 25px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgb(255, 255, 255, 0.8);
  border-radius: 40px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.5s ease;
}

.header .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-weight: 500;
}

.header .menu a {
  transition: transform 0.5s ease-in-out;
}

.header .menu a:hover {
  transform: translateY(-4px);
}

.header .menu .contact-us {
  background-color: darkcyan;
  color: white;
  padding: 6px 20px;
  border-radius: 25px;
  transition: transform 0.5s ease-in-out;
}

.header .menu .contact-us:hover {
  transform: scale(1.05);
}

.header .logo {
  width: 120px;
  min-height: 24px;
}

/* landing */

.landing {
  position: relative;
}

.landing picture {
  display: flex;
  min-height: 573px;
}

.landing img {
  width: 100%;
  object-fit: cover;
}

.landing .description {
  position: absolute;
  background-color: rgba(47, 79, 79, 0.7);
  padding: 20px 40px 40px;
  width: 40%;
  bottom: 25%;
  border-radius: 12px;
  left: 50px;
  color: white;
}

/* about-us */

#about-us {
  padding: 100px 0;
  margin: 0px auto;
  width: 75%;
  padding-bottom: 0;
}

#about-us .profile {
  display: flex;
  gap: 100px;
  justify-content: space-between;
  margin: 100px auto;
  margin-top: 0;
}

#about-us .profile h1 {
  margin: 0;
  font-size: 22px;
}

#about-us .profile .head {
  font-weight: bold;
  font-size: 18px;
}

#about-us .profile .profile-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  grid-template-rows: auto;
  gap: 20px;
}

#about-us .ceo {
  display: flex;
  margin: 100px auto;
  align-items: center;
  gap: 60px;
}

#about-us .ceo img {
  width: 350px;
  background-color: rgb(207 207 207 / 60%);
  border-top-right-radius: 100px;
}

#about-us .ceo p {
  line-height: 1.7;
}

#about-us .vmv .title {
  text-align: right;
}

#about-us .vmv .detail {
  display: flex;
  gap: 40px;
  flex-direction: column;
  margin-top: 60px;
}

#about-us .vmv .detail .detail-wrap {
  display: flex;
  gap: 40px;
  width: 100%;
  align-items: center;
}

#about-us .vmv .detail .detail-wrap h1 {
  font-family: "Pacifico", cursive;
  font-weight: 300;
  font-style: normal;
  min-width: 100px;
}

#about-us .vmv .detail .category {
  background-color: #e5f6ff;
  padding: 20px 40px;
  border-radius: 8px;
  width: 100%;
}

#about-us .vmv .detail .category-last {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

#about-us .vmv .detail .category-last div {
  background-color: #e5f6ff;
  padding: 20px 40px;
  flex: 1;
  border-radius: 8px;
}

/* team */

.culture-wrap {
  display: flex;
  flex-direction: column;
  width: 75%;
  margin: 0 auto;
  gap: 60px;
  padding: 100px 0;
  position: relative;
}

.culture-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(255, 144, 132);
  border-radius: 50%;
  aspect-ratio: 1/1;
  padding: 80px;
  outline: 1px solid rgb(255, 199, 193);
  outline-offset: 10px;
}

.culture-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 1px solid rgb(255, 224, 221);
  border-radius: 50%;
}

.category-list {
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.category-card {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 12px;
  width: 400px;
}

.category-card p {
  font-size: 14px;
}

.culture-title1 {
  border: 1px solid rgb(255, 166, 156);
  border-radius: 50%;
  aspect-ratio: 1/1;
  padding: 66px;
  outline: 1px solid rgb(255, 199, 193);
  outline-offset: 10px;
  position: relative;
  display: flex;
  align-items: center;
}

.culture-title1:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 1px solid rgb(255, 224, 221);
  border-radius: 50%;
}

#team {
  padding: 100px 0;
  padding-bottom: 0;
}

#team .culture {
  display: flex;
  gap: 60px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  padding: 100px 50px;
  transition: all 0.5s ease;
}

#team .culture .category {
  padding: 0px 40px;
  max-width: 350px;
  font-size: 14px;
}
#team .culture .category h3 {
  font-size: 18px !important;
  margin-top: 0;
  text-align: center;
}

#team .culture .category-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

#team .culture .category-middle img {
  width: 300px;
}

#team .culture .category-middle .category {
  padding: 0;
}

.about-title {
  font-size: 7.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
  background: linear-gradient(
    to bottom,
    rgb(8 42 123 / 35%) 30%,
    rgb(255 255 255 / 0%) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.carousel-container {
  width: 100%;
  max-width: 1200px;
  height: 450px;
  position: relative;
  perspective: 1000px;
  margin: 0 auto;
  margin-top: 40px;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
  position: absolute;
  width: 250px;
  height: 350px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
  z-index: 10;
  transform: scale(1.1) translateZ(0);
}

.card.center img {
  filter: none;
}

.card.left-2 {
  z-index: 1;
  transform: translateX(-425px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.left-1 {
  z-index: 5;
  transform: translateX(-225px) scale(0.9) translateZ(-100px);
}

.card.right-1 {
  z-index: 5;
  transform: translateX(225px) scale(0.9) translateZ(-100px);
}

.card.right-2 {
  z-index: 1;
  transform: translateX(425px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.hidden {
  opacity: 0;
  pointer-events: none;
}

.member-info {
  text-align: center;
  margin: 0 auto;
  width: 50%;
  margin-bottom: 100px;
}

.member-name {
  color: rgb(12 104 120);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  transition: opacity 0.4s ease-in-out;
}

.member-role {
  color: #848696;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 0;
  margin-top: -15px;
  position: relative;
  transition: opacity 0.4s ease-in-out;
}
.comment {
  transition: opacity 0.4s ease-in-out;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(8, 42, 123, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: rgb(8, 42, 123);
  transform: scale(1.2);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(207 207 207 / 60%);
  color: black;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  border: none;
  outline: none;
  padding-bottom: 4px;
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
  color: white;
}

.nav-arrow.left {
  left: 20px;
}

.nav-arrow.right {
  right: 20px;
}

@media (max-width: 1030px) {
  .md {
    display: block;
  }

  .header .menu {
    display: none;
  }

  .header {
    justify-content: center;
  }

  .switch {
    position: absolute !important;
    top: 22%;
    right: 4px;
  }

  #about-us {
    width: 90%;
  }

  #about-us .vmv .detail .category-last {
    flex-direction: column;
  }

  #business .business {
    margin: 0 !important;
  }

  .timeline-entry {
    width: 100% !important;
  }

  .culture-title1 {
    padding: 44px;
  }
}

@media (max-width: 768px) {
  .about-title {
    font-size: 4.5rem;
  }

  .card {
    width: min(160px, 90vw);
    height: 220px;
  }

  .card.left-2 {
    transform: translateX(-34vw) scale(0.7) translateZ(-200px);
  }

  .card.left-1 {
    transform: translateX(-16vw) scale(0.8) translateZ(-50px);
  }

  .card.right-1 {
    transform: translateX(16vw) scale(0.8) translateZ(-50px);
  }

  .card.right-2 {
    transform: translateX(34vw) scale(0.7) translateZ(-200px);
  }
}

/* business */

#business {
  padding: 60px;
}

#business .title {
  text-align: center;
}

#business .business {
  display: flex;
  flex-direction: column;
  margin: 0 60px;
  gap: 60px;
}

#business .business .intro {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

#business .business .intro .service-div {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

#business .business .intro img {
  width: 50%;
}

#business .business .intro .service-wrap {
  position: relative;
}

#business .business .intro .service-no {
  position: absolute;
  top: -24px;
  left: -16px;
  font-family: "Pacifico", cursive;
  font-weight: 300;
  font-style: normal;
  font-size: 30px;
}

#business .business .intro .service {
  padding: 20px 40px;
  min-width: 200px;
  background-color: #ffdfb4;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
}

#business .service-detail {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: baseline;
  margin-bottom: 60px;
}

#business .service-detail p {
  flex: 1;
}

#business .service-detail .category {
  display: flex;
  flex-direction: column;
  flex: 2;
  gap: 40px;
}

#business .subtitle {
  display: flex;
  position: relative;
  gap: 60px;
  flex-direction: row !important;
}

#business .subtitle div {
  flex: 1;
  font-size: 15px;
  max-width: 390px;
}

#business .subtitle img {
  width: 40%;
}

#business .subtitle-no {
  font-family: "Pacifico", cursive;
  font-weight: 300;
  font-style: normal;
  font-size: 60px;
  background-color: antiquewhite;
}

#business .right {
  left: auto;
  right: 0;
}

#business .technologies-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

#business .technologies-wrap img {
  width: 45%;
}

#business .technologies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 60px 15%;
  gap: 40px;
}

#business .technologies img {
  width: calc((100% - 160px) / 5);
}

/* recruitment */
#recruitment {
  margin: 0 50px;
}

.recruitment {
  display: flex;
  justify-content: center;
  gap: 100px;
  align-items: center;
  padding: 100px 0;
}

.recruitment div {
  text-align: center;
}

.recruitment .board {
  position: relative;
  width: 45%;
  min-width: 500px;
}

.recruitment .board img {
  width: 100%;
  opacity: 0.8;
}

.recruitment .board .inform {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  min-width: 500px;
}

.recruitment .board .inform h3 {
  margin-bottom: 0px;
}

.recruitment .board .inform a {
  border-radius: 25px;
  transition: transform 0.5s ease-in-out;
  width: fit-content;
  font-size: 14px;
  font-weight: bold;
}

.recruitment .board .inform div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recruitment .board .inform .position {
  font-size: 16px;
  font-weight: bold;
}

.btn-wobble-container {
  display: inline-block;
}

.btn-wobble {
  background-color: #ffdfb4;
  color: black;
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  transition: transform 0.1s ease;
}

.btn-wobble-container:hover .btn-wobble {
  animation: wobble 1.5s;
}

@keyframes wobble {
  0%,
  100% {
    transform: translateX(0%);
  }
  15% {
    transform: translateX(-25%) rotate(-5deg);
  }
  30% {
    transform: translateX(20%) rotate(3deg);
  }
  45% {
    transform: translateX(-15%) rotate(-3deg);
  }
  60% {
    transform: translateX(10%) rotate(2deg);
  }
  75% {
    transform: translateX(-5%) rotate(-1deg);
  }
}
/* event */

#events {
  padding: 100px 50px;
  background-color: #f4f4f4;
  padding-top: 80px;
  transition: all 0.5s ease;
}

#events h1.title {
  margin-bottom: 80px;
  margin-top: 0;
}

#timeline {
  position: relative;
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-entry {
  min-height: 350px;
  display: flex;
  gap: 60px;
  box-sizing: border-box;
  padding: 30px;
  background: white;
  align-self: flex-end;
  border-radius: 12px;
  width: 80%;
  margin: 0 auto;
}

.timeline-entry img {
  width: 40%;
  object-fit: cover;
  height: auto;
  border-radius: 8px;
  min-height: 280px;
}

.timeline-title {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse;
  margin-bottom: 20px;
}

.timeline-title.reverse {
  flex-direction: row;
}

.date-time {
  background-color: #e5e5e5;
  width: fit-content;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-bottom: 4px;
}

.date-time .day {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgb(178, 178, 178);
  font-weight: 700;
}

.date-time .month {
  background-color: darkcyan;
  padding: 4px 14px;
  color: white;
}

.date-time .year {
  font-size: 12px;
}

.timeline-entry h1 {
  text-align: right;
}

/* footer */

footer {
  padding: 40px 100px;
  padding-bottom: 10px;
  background-color: white;
  transition: all 0.5s ease;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.footer h3 {
  margin-top: 0;
}

.footer .info img {
  width: 130px;
}

.footer .info .contact-us {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.footer .info .contact-us p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.footer .info .contact-us a {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer .route .subroute {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer .route .subroute a {
  color: gray;
  transition: opacity 0.5s ease, color 0.5s ease;
}

.footer .route .subroute a:hover {
  color: black;
}

.footer .map p {
  font-size: 12px;
  margin-top: 20px;
  text-align: center;
}

.footer .map iframe {
  border-radius: 12px;
}

.loadable-image {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.loadable-image.loaded {
  opacity: 1;
}

/* scroll */

.scroll__top {
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  bottom: 80px;
  z-index: 100;
  border-radius: 100%;
  background: darkcyan;
  color: #ffffff;
  box-shadow: 0 0 6px darkcyan;
  transition: 0.4s ease;
  border: 1px solid;
  cursor: pointer;
}

.scroll__top.pos-left {
  left: 20px;
  transform: translateX(-170%);
}

.scroll__top.pos-right {
  right: 20px;
  transform: translateX(170%);
}

.scroll__top.pos-center {
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: translateY(200%);
}

.scroll__top.pos-center.show {
  transform: translateY(0%);
}

.scroll__top.pos-left.show,
.scroll__top.pos-right.show {
  transform: translateX(0%);
}

.scroll__top-text svg {
  vertical-align: middle;
  margin-bottom: 2px;
  height: auto;
}

@media (max-width: 768px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  p {
    font-size: 14px;
  }

  .title {
    font-size: 22px;
  }

  .header {
    justify-content: center;
    margin: 6px 10px;
    padding: 14px 10px;
  }

  .header .logo {
    width: 100px;
  }

  .header .menu {
    display: none;
  }

  .landing picture {
    display: flex;
    min-height: 573px;
  }

  .landing img {
    border-radius: 0;
  }

  .landing .description {
    left: 10px;
    width: 70%;
    padding: 16px;
    bottom: 20%;
    padding-top: 0;
  }

  .landing .description h1 {
    font-size: 20px;
  }

  .landing .description p {
    font-size: 14px;
  }

  #about-us {
    padding: 60px 0px;
    width: auto;
    margin: 0 20px;
    padding-bottom: 0;
  }

  #about-us .profile {
    flex-direction: column;
    gap: 40px;
    margin: 0;
    margin-bottom: 60px;
  }

  #about-us .profile .head {
    font-size: 15px;
  }

  #about-us .profile .profile-detail {
    grid-template-columns: 2fr 1fr;
  }

  #about-us .ceo {
    margin: 60px 0;
    flex-direction: column;
  }

  #about-us .ceo img {
    width: 80%;
    border-top-right-radius: 40px;
    min-height: 300px;
  }

  #about-us .ceo .ceo-title {
    text-align: right;
  }

  .fas {
    font-size: 38px;
    margin-left: 0;
  }

  .msg {
    margin: 0 20px;
  }

  #about-us .vmv .title {
    text-align: center;
  }

  #about-us .vmv .detail {
    gap: 20px;
    margin-top: 20px;
  }

  #about-us .vmv .detail .detail-wrap {
    flex-direction: column;
    gap: 10px;
  }

  #about-us .vmv .detail .detail-wrap h1 {
    font-size: 18px;
    min-width: auto;
  }

  #about-us .vmv .detail .category-last {
    flex-direction: column;
  }

  #about-us .vmv .detail .category-last h3,
  #about-us .vmv .detail .category h3 {
    font-size: 16px;
  }

  #about-us .vmv .detail .category {
    padding: 20px;
    width: auto;
  }

  #about-us .vmv .detail .category-last div {
    width: auto;
    padding: 20px;
  }

  #team {
    padding: 60px 0;
    padding-bottom: 0;
  }

  .member-name {
    font-size: 20px;
  }

  .member-info {
    width: 80%;
    margin-bottom: 60px;
  }

  .member-role {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .comment {
    font-size: 14px;
  }

  .carousel-container {
    height: 320px;
  }

  #business {
    padding: 60px 20px;
  }

  #business .business {
    margin: 0;
    gap: 40px;
  }

  #business .title {
    margin-bottom: 40px;
  }

  #business .business .intro {
    flex-direction: column;
    gap: 40px;
  }

  #business .business .intro img {
    width: 100%;
  }

  #business .business .intro .service-no {
    font-size: 24px;
    top: -18px;
    left: -10px;
  }

  #business .business .intro .service {
    padding: 20px 50px;
  }

  #business .subtitle {
    flex-direction: column !important;
    gap: 20px;
  }

  #business h3 {
    font-size: 16px;
  }

  #business .subtitle div {
    max-width: unset;
  }

  #business .service-detail p {
    font-size: 14px;
  }

  #business .service-detail .category {
    gap: 20px;
  }

  #business .technologies-wrap {
    flex-direction: column;
    gap: 0;
  }

  #business .technologies-wrap img {
    width: 90%;
  }

  .nav-arrow:hover {
    background: rgb(207 207 207 / 60%);
    transform: translateY(-50%) scale(1);
    color: black;
  }

  #team .culture {
    padding: 60px 20px;
    gap: 20px;
  }

  #team .culture .title {
    margin-top: 0;
  }

  #team .culture .category {
    padding: 0;
    max-width: unset;
  }

  #team .culture .category p {
    background: white;
    padding: 12px;
    border-radius: 10px;
    color: #000;
  }

  #team .culture .category-middle {
    flex-direction: column;
    gap: 20px;
  }

  #team .culture .category h3 {
    text-align: left;
    font-size: 16px !important;
  }

  #recruitment {
    margin: 0 20px;
  }

  .recruitment {
    flex-direction: column;
    padding: 60px 0;
    gap: 0;
  }

  .recruitment .board {
    width: 100%;
    min-width: auto;
  }

  .recruitment .board .inform {
    top: 50%;
    min-width: auto;
    gap: 40px;
  }

  .recruitment .board .inform h3 {
    margin: 0;
  }

  .recruitment .board .inform p {
    font-size: 14px;
  }

  .recruitment .board img {
    width: 90%;
    margin-top: 20px;
  }

  #events {
    padding: 60px 0;
  }

  #events h1.title {
    margin-bottom: 40px;
  }

  .timeline-list {
    margin: 0 10px;
    min-height: auto;
  }

  .timeline-entry {
    align-self: flex-start;
    width: 100%;
    flex-direction: column;
    gap: 24px;
    padding: 18px;
    transition: all 0.5s ease;
  }

  .timeline-entry h1 {
    font-size: 16px;
    margin: 0;
    margin-right: 50px;
  }

  .timeline-entry img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 0;
    min-height: 155px;
  }

  .date-time {
    gap: 0;
    position: absolute;
    top: 0;
    right: 0;
  }

  .date-time .month,
  .date-time .day p {
    font-size: 12px;
  }

  .timeline-title {
    gap: 20px;
    align-items: end;
  }

  footer {
    padding: 40px;
  }

  .footer {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .footer .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer .info .contact-us {
    flex-direction: row;
  }

  .footer h3 {
    font-size: 16px;
  }

  .footer .route .subroute {
    font-size: 15px;
  }

  .footer .info img {
    width: 110px;
  }

  .menu-sp .fa-facebook {
    font-size: 24px;
  }

  .scroll__top {
    bottom: 50px;
  }

  .switch {
    position: absolute !important;
    top: 16%;
    right: 4px;
  }
}

/* burger */

.hamburger-lines {
  height: 16px;
  width: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
  padding-right: 10px;
}

.hamburger-lines .line {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 10px;
  background: darkcyan;
}

.hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.hamburger-lines .line2 {
  width: 70% !important;
  transition: transform 0.2s ease-in-out;
}

.hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

body:has(input.checkbox[type="checkbox"]:checked) .menu-sp {
  transform: translateX(0);
}

input.checkbox[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

input.checkbox[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

input.checkbox[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.menu-sp {
  position: fixed;
  top: 63px;
  left: 0;
  background-color: rgb(255, 255, 255, 0.8);
  box-shadow: inset 0 0 2000px rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  transform: translateX(-120%);
  transition: transform 0.5s ease-in-out;
  z-index: 999;
  gap: 20px;
  margin: 0 16px;
  width: -webkit-fill-available;
  width: stretch;
}

.menu-sp a {
  font-weight: 500;
  text-decoration: none;
  color: black;
  text-align: center;
  font-size: 16px;
  width: 80%;
}

.menu-sp .contact-us {
  background-color: darkcyan;
  color: white;
  padding: 6px 20px;
  border-radius: 25px;
  transition: transform 0.5s ease-in-out;
  width: 30%;
  text-align: center;
}

.checkbox {
  position: absolute;
  display: block;
  height: 30px;
  width: 35px;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

/* dark mode */

body.night {
  background-color: #2a2a2a;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  letter-spacing: 0.02rem;
  transition: all 0.5s ease;
  color: white;
}

body.night {
  .header {
    background-color: rgb(75 75 75 / 64%);
    transition: all 0.5s ease;
  }

  .header .menu a {
    color: white;
  }
  a {
    color: white !important;
  }
  .header .logo {
    filter: brightness(150%);
  }

  #about-us .vmv .detail .category,
  #about-us .vmv .detail .category-last {
    color: #d8d8d8;
  }

  #about-us .vmv .detail .category-second {
    background-color: rgb(56 99 99 / 70%) !important;
  }

  #about-us .vmv .detail .category,
  #about-us .vmv .detail .category-last div {
    background-color: #22485c91;
  }

  #about-us .vmv .detail .detail-wrap h1 {
    color: wheat;
  }

  .nav-arrow {
    background: rgb(207 207 207);
  }

  .member-name {
    color: rgb(43 183 207);
  }

  .member-role {
    color: #b8c8b9;
  }

  .culture-title1 {
    border: 1px solid rgb(255 102 85);
    outline: 1px solid rgb(255 146 134);
  }

  .culture-title1:after {
    border: 1px solid rgb(136 85 80);
  }

  #business .business .intro .service {
    background-color: #dd8e23c7;
  }

  #team .culture,
  #events {
    background-color: #252525;
    transition: all 0.5s ease;
  }

  .recruitment .board .inform {
    color: black;
  }

  .timeline-entry {
    background: #323232bd;
    transition: all 0.5s ease;
  }

  .date-time .day,
  .date-time .year {
    color: black;
  }

  .btn-wobble {
    background-color: #dd8e23c7;
    color: black;
  }

  footer {
    background-color: #1d1d1d;
    transition: all 0.5s ease;
  }

  .footer .info .contact-us p,
  .footer .info .contact-us a {
    color: white;
  }

  .footer .info img {
    filter: brightness(130%);
  }

  .hamburger-lines .line {
    background: wheat;
  }

  #team .culture .category h3,
  #business h3 {
    color: wheat;
  }

  .menu-sp {
    background-color: rgba(75, 75, 75, 0.64);
    box-shadow: unset;
    border: none;
    transition: all 0.5s ease;
  }

  .menu-sp a {
    color: white;
  }

  .switch {
    background-color: #4c4c4cbd;
  }

  .footer .route .subroute a:hover {
    color: white;
  }

  @media (max-width: 768px) {
    #team .culture .category p {
      background-color: #323232bd;
      color: white;
    }

    .nav-arrow {
      background: rgb(207 207 207 / 70%);
    }
  }
}

.switch {
  background-color: #dadada;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  position: relative;
  height: 26px;
  width: 50px;
  transform: scale(0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}

.switch .ball {
  background-color: rgb(119 119 119);
  border-radius: 50%;
  position: absolute;
  height: 26px;
  width: 26px;
  left: 5px;
  transform: translateX(0px);
  transition: transform 0.2s linear;
}

/* .switch:hover {
  .ball {
    background-color: #e2e5e9;
  }
} */

.switch .fas {
  font-size: 16px;
}

.checkbox-mode:checked + .switch .ball {
  transform: translateX(34px);
}

.fa-moon {
  color: white;
  margin-left: 4px;
}

.ri-sun-fill {
  color: darkcyan;
  margin-right: 4px;
}

.checkbox-mode {
  display: none;
}