@font-face {
  font-family: "Senobi Gothic";
  src: url("fonts/Senobi-Gothic-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Senobi Gothic";
  src: url("fonts/Senobi-Gothic-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Senobi Gothic";
  src: url("fonts/Senobi-Gothic-Regular.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "CodeNext";
  src: url("fonts/CodeNext-Trial-BoldItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "SmartFontUI";
  src: url("fonts/SmartFontUI.otf") format("truetype");
}

@font-face {
  font-family: "GenEiGothicN";
  src: url("fonts/GenEiGothicN-Heavy.otf") format("truetype");
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  overflow-x: hidden;

  width: 100%;
}

h2 {
  font-size: 40px;
}

h1 {
  font-size: 78px;
}

.letter-spacing022 {
  letter-spacing: -0.22em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.senobi {
  font-family: "Senobi Gothic", sans-serif;
}

.ruika {
  font-family: "ruika", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.smartfontui {
  font-family: "SmartFontUI", sans-serif;
}

.regular {
  font-weight: 300;
}

.h2-big {
  font-size: 54px;
}

.green {
  color: #019018;
}

.blue {
  color: #2556a6;
}

.relative {
  position: relative;
}

/* nav */

.header {
  background-color: #3a3a3a;
  padding: 24px 0;
}

.nav-link {
  color: white !important;
}

.brand-img {
  width: 180px;
}

.btn-blue {
  color: #fff;
  background-color: #2458be;
  border-color: #2458be;
  padding: 10px 30px;
  border-radius: 30px;
}

.navbar-nav .nav-item {
  margin: 0 10px; /* 上下のマージンを0に、左右のマージンを10pxに設定 */
}

.bold {
  font-weight: bold;
}

.genei {
  font-family: "GenEiGothicN", sans-serif;
}

/* hero */

#hero {
  position: relative;
}

#pattern1 {
  position: absolute;
  top: 360px;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  height: 100%;
  z-index: -1;
}

/* experience */

#experience {
  margin-top: 120px;
}

.fs-66 {
  font-size: 66px;
}

.letter-spacing60 {
  letter-spacing: 0.06em;
}

.letter-spacing-60 {
  letter-spacing: -0.06em;
}

.underline-text {
  position: relative;
  display: inline-block;
}

.underline-text:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 14px;
  background-image: radial-gradient(circle, #2556a6 4px, transparent 4px);
  background-size: 20px 14px;
  background-repeat: repeat-x;
}

.step {
  border-radius: 120px;
  background-color: #2556a6;
  color: white;
  padding: 24px 0px;
}

.step-text {
  font-size: 74px;
  font-family: "CodeNext", sans-serif;
  line-height: 74px;
}

.step-description {
  font-size: 24px;
  font-family: "SmartFontUI", sans-serif;
}

.image-container {
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 1;
}

.step-image {
  width: 200px;
  height: auto;
  margin: 0 10px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, margin 0.3s ease;
}

.step-image.selected {
  transform: scale(1.2);
  margin: 0 30px;
}

.image-wrapper {
  position: relative;
  margin: 0 10px;
}

.checkmark {
  position: absolute;
  top: 0px;
  right: 0px;
  color: green;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-image.selected + .checkmark {
  opacity: 1;
}

#step2 {
  margin-top: 120px;
}

.btn-green {
  color: #fff;
  background-color: #019018;
  border-color: #019018;
  padding: 10px 30px;
  border-radius: 100px;
  font-size: 24px;
  font-family: "Senobi Gothic", sans-serif;
}

.generated-text {
  position: relative;
  width: 680px;
  padding: 10px;
  font-size: 16px;
  border-radius: 4px;
  resize: none;
  margin: auto;
  display: flex;
  align-items: center;
  resize: none;
}

.generated-text.loading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#pattern2 {
  position: absolute;
  top: 1500px;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;

  z-index: -1;
}

.step2-text {
  font-size: 44px;
  color: white;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
}

#step3 {
  margin-top: 220px;
}

.social-icon {
  margin-right: 88px; /* 右側に10pxのマージンを追加 */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#step3Text {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#step3Text.show {
  opacity: 1;
  transform: translateY(0);
}

.social-icon.show {
  opacity: 1;
  transform: translateY(0);
}

/* 最後の画像に右マージンが適用されないように調整 */
.social-icon:last-child {
  margin-right: 0;
}

.step3-text {
  font-size: 40px;
  font-family: "GenEiGothicN", sans-serif;
  font-weight: 900;
  color: #212529;
}

.fs-56 {
  font-size: 56px;
}

.fs-32 {
  font-size: 32px;
}

.dot-text {
  position: relative;
  display: inline-block;
}

.dots {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 12px;
  background-image: radial-gradient(circle, #2556a6 4px, transparent 4px);
  background-size: 24px 12px;
  background-position: 0 center;
  background-repeat: repeat-x;
}

/* whatisit */

#pattern3 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;

  z-index: -1;
}

.whatisit-description {
  padding-top: 220px;
}

.whatisit-description-texts {
  margin-top: 140px;
}

.robot {
  width: 400px;
}

.fs-24 {
  font-size: 24px;
}

.fs-38 {
  font-size: 38px !important;
}

.description {
  line-height: 1.9;
}

.splide {
  margin-top: 48px;
}

.splide__slide img {
  width: 320px;
  height: auto;
}

#pattern4 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  z-index: -1;
}

#customer-container {
  padding-top: 400px;
}

#customer-container div p {
  font-size: 24px;
}

#flow {
  margin-top: 120px;
}

#flow img {
  width: 100%;
}

#contact {
  margin-top: 80px;
}

.submit-button {
  padding: 20px 30px;
  font-size: 24px !important;
  border-radius: 100px;
  font-family: "genEiGothicN", sans-serif;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.badge-required {
  background-color: red;
  color: white;
  margin-right: 5px;
}
.badge-optional {
  background-color: #2556a6;
  color: white;
  margin-right: 5px;
}
input[type="text"] {
  padding: 14px;
}

.form {
  width: 780px;
  margin: auto;
  margin-top: 80px !important;
}

#question {
  margin-top: 120px;
}

.accordion-button:not(.collapsed) {
  color: inherit;
  background-color: inherit;
}

.accordion-button:focus {
  box-shadow: none;
}
.accordion-item {
  margin-bottom: 1rem; /* スペースを調整したい値に変更できます */
}
.accordion-button {
  background-color: #2556a6;
  color: white;
}

.accordion-button:not(.collapsed) {
  color: white !important;
  background-color: #2556a6 !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
  color: white !important;
}

#footer {
  background-color: #3a3a3a;
  padding: 24px 0;
  margin-top: 120px;
}

.footer-logo {
  width: 180px;
}

.desktop {
  display: block;
}

.mobile {
  display: none !important;
}

@media screen and (max-height: 780px) {
  img.mobile-min-height {
    display: block !important;
  }

  img.mobile-max-height {
    display: none !important;
  }
}

@media screen and (min-width: 769px) {
  div img.mobile {
    display: none !important;
  }

  div img.mobile-min-height {
    display: none !important;
  }

  div img.mobile-max-height {
    display: none !important;
  }
}

@media screen and (min-height: 781px) {
  img.mobile-min-height {
    display: none !important;
  }

  img.mobile-max-height {
    display: block !important;
  }
}

@media screen and (max-width: 768px) {
  .mobile {
    display: block !important;
  }
  img#pattern1mob {
    display: block !important;
  }

  .desktop {
    display: none;
  }
  .h2-big {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .text-center-sm {
    text-align: center;
  }

  .letter-spacing022 {
    letter-spacing: -0.22em;
  }
  .mt-5-sm {
    margin-top: 3rem !important;
  }

  h1 {
    font-size: 48px;
  }

  .section1-logo {
    width: 240px;
  }

  .text-align-center-sm {
    text-align: center;
  }

  .fs-48 {
    font-size: 40px;
  }

  #pattern1mob {
    position: absolute;
    top: 240px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80%;
    z-index: -1;
  }

  #experience {
    margin-top: 48px;
  }

  .fs-66 {
    font-size: 32px;
  }

  .step {
    padding: 12px 0;
  }

  .step-text {
    font-size: 32px;
    line-height: 32px;
  }

  .step-description {
    font-size: 16px;
  }

  .step-image {
    width: 100px;
  }

  .image-wrapper {
    margin: 0;
  }

  .checkmark {
    width: 48px;
  }

  .generated-text {
    width: 100%;
  }

  #pattern2 {
    position: absolute;
    top: 1290px;
    left: 50%;
    height: 320px;
    transform: translateX(-50%);
    width: 1920px;

    z-index: -1;
  }

  .step2-text {
    margin-top: 2rem !important;
    font-size: 24px;
  }

  #step3 {
    margin-top: 80px;
  }

  .social-icon {
    margin-top: 1rem;
    width: 110px;
  }

  .step3-text {
    font-size: 24px;
  }

  .fs-56 {
    font-size: 40px;
  }
  .fs-32 {
    font-size: 18px;
    line-height: 12px;
  }

  #pattern3 {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 1920px;
    height: 360px;
    z-index: -1;
  }

  .whatisit-description {
    padding-top: 80px;
  }
  .whatisit-img {
    width: 320px;
  }
  .whatisit-description-texts {
    text-align: center;
  }
  .whatisit-description-texts h2 {
    margin-top: 1rem;
  }

  .fs-24 {
    font-size: 18px;
  }
  .fs-38 {
    font-size: 24px !important;
  }

  .robot-contianer {
    margin-top: 1rem !important;
  }

  .robot {
    width: 240px;
  }

  .function-logo {
    width: 320px !important;
  }

  #functions div div img {
    width: 90%;
  }

  .function-wrapper {
    margin-top: 3rem !important;
  }

  .function-img {
    text-align: center !important;
    margin-right: 20px;
  }

  .function-img-small {
    text-align: center !important;
  }

  .margin-right-22 {
    margin-right: 22px;
  }

  .mt-2-sm {
    margin-top: 1rem !important;
  }

  #pattern4 {
    top: 0;
    left: 50%;
    transform: translateX(-51%);
    width: 1180px;
    z-index: -1;
  }

  #customer-container {
    padding-top: 240px;
  }
  #customer-container div p {
    font-size: 18px;
    line-height: 1.6;
    font-family: "smartfontui", sans-serif;
  }

  .splide__slide img {
    width: 240px;
  }

  #contact div img {
    width: 220px;
  }
  .text-start-sm {
    text-align: start;
  }
  .contact-mobile-text {
    font-size: 16px;
    width: 320px;
    margin: auto;
  }

  .form {
    width: 100%;
    margin-top: 2rem !important;
  }
}
