.top {
  position: relative;
  overflow: hidden;
}

.top_inner {
  width: 100%;
  max-width: 1324px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 16px;
}

.top_main {
  padding-top: 24px;
  padding-bottom: 24px;
}

.top_main_catches {
  background-image: url('/assets/icon/browser.svg');
  background-repeat: no-repeat;
  max-width: 100%;
  background-size: 100%;
  height: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-position: top;
  background-position-y: 160px;
}
.main_catch {
  font-family: 'Noto Sans';
  font-size: 16px;
  font-weight: bold;
  background: #98cbff;
  display: inline-block;
  background-color: #cee6ff;
}
.sub_catch {
  padding-top: 4px;
  font-size: 18px;
  font-weight: bold;
  background: #98cbff;
  display: inline-block;
  background-color: #cee6ff;
}

.main_text {
  padding-top: 16px;
  white-space: wrap;
  background-color: #cee6ff;
  max-width: 700px;
}

@media (min-width: 350px) {
  .top_main_catches {
    background-position-y: 160px;
  }
}
@media (min-width: 500px) {
  .top_main_catches {
    background-position-y: 160px;
  }
  .main_catch {
    font-size: 24px;
  }
  .sub_catch {
    font-size: 24px;
  }
  .main_text {
    font-size: 16px;
  }
}
@media (min-width: 768px) {
  .top_main_catches {
    background-position: right top;
    background-size: 500px;
  }
}
@media (min-width: 960px) {
  .top_main_catches {
    background-position-y: 0;
  }
}

.main_img {
  text-align: center;
}

.main_img img {
  padding-top: 16px;
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.section_title {
  font-size: 32px;
}

.sub_section_title {
  font-size: 20px;
}

.company_overview {
  padding-top: 24px;
  padding-bottom: 24px;
}

.section_contents {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 64px;
  justify-content: center;
  align-items: center;
}

.service_detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.service_detail img {
  padding-top: 16px;
  width: 100%;
  max-width: 200px;
  max-height: 150px;
  height: auto;
}

.service_detail a {
  color: #358ae1;
  text-decoration: none;
}

.service_title {
  font-size: 16px;
  font-weight: 600;
}

.service_explain {
  padding-top: 16px;
}

.yoshina {
  color: #358ae1;
  word-break: keep-all;
}

.competitive_advantages {
  position: relative;
  z-index: 1;
  width: 100%;
}

@keyframes explain_blob_move {
  0%,
  100% {
    border-radius: 61% 39% 41% 59%/53% 60% 40% 47%;
  }
  20% {
    border-radius: 42% 58% 55% 45%/49% 52% 48% 51%;
  }
  40% {
    border-radius: 31% 69% 70% 30%/33% 67% 53% 47%;
  }
  60% {
    border-radius: 50% 50% 33% 67%/55% 30% 70% 45%;
  }
  80% {
    border-radius: 69% 31% 28% 72%/40% 63% 37% 60%;
  }
}
.explain_blob {
  width: 660px;
  height: 400px;
  background: linear-gradient(135deg, rgba(255, 248, 184, 1) 0%, rgba(255, 248, 184, 1) 100%);
  top: 40%;
  left: 30%;
  transform: translate(-50%, -50%);
  animation: explain_blob_move 30s infinite;
  position: absolute;
  z-index: -1; /* Place it behind the inner elements */
}

.competitive_advantages_inner {
  padding-top: 80px;
}

.competitive_advantages_detail {
  font-size: 20px;
  font-weight: 600;
}

.explain_yoshinani {
  padding-top: 32px;
}

.develop_img {
  max-width: 156px;
}

.web_design_img {
  max-width: 162px;
}

.our_service_img {
  max-width: 120px;
}

.suggestion {
  padding-top: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-end;
}

.suggestion_bubble {
  position: relative;
  display: flex;
}

.text_bubble {
  line-height: 14px;
  width: 150px;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  position: absolute;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.guide_detail {
  border: 1px solid #dfdfdf;
  padding-top: 32px;
  padding-bottom: 32px;
  padding-right: 80px;
  padding-left: 80px;
}

.guide_detail_title {
  font-size: 16px;
  font-weight: 600;
}

.guide_detail_img {
  padding-top: 16px;
}

.company_news {
  padding-top: 30px;
  padding-bottom: 80px;
}

.news_detail {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  max-height: 300px;
  overflow-y: scroll;
}
.news_detail li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.5rem;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 16px;
  padding-top: 16px;
}
.news_detail li time {
  font-weight: bold;
}

@media (min-width: 768px) {
  .top {
    padding-top: 0px;
  }

  .top_inner {
    padding: 0 32px;
  }

  .top_main {
    display: flex;
    justify-content: space-between;
  }

  .main_catch {
    font-size: 32px;
    font-weight: bold;
    white-space: nowrap;
  }

  .main_img {
    flex-grow: 1;
    text-align: right;
  }

  .sub_catch {
    padding-top: 8px;
    font-size: 36px;
  }

  .main_img img {
    width: 100%;
    padding-top: 0px;
    max-width: 550px;
  }

  .services {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    gap: 64px;
    padding: 32px 0;
    /* justify-content: space-between; */
  }

  .service_detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 320px;
    max-width: 30%;
  }

  .company_overview {
    padding-top: 80px;
  }

  .section_title {
    font-size: 40px;
  }

  .sub_section_title {
    font-size: 24px;
  }

  .service_title {
    font-size: 24px;
    font-weight: 600;
  }

  .develop_img {
    max-width: 234px;
  }

  .web_design_img {
    max-width: 242px;
  }

  .our_service_img {
    max-width: 180px;
  }

  .news_detail {
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  .suggestion_bubble img {
    width: 280px;
  }
  .text_bubble {
    line-height: 18px;
    width: 200px;
    font-size: 15px;
  }
  .explain_img img {
    /* width:160px; */
    /* width: 100%; */
    width: 100px;
  }
}

@media (min-width: 1000px) {
  .competitive_advantages {
    display: flex;
    padding-top: 80px;
  }

  .competitive_advantages_inner {
    width: 800px;
    padding-top: 0;
  }

  .competitive_advantages_detail {
    font-size: 32px;
    font-weight: 600;
    width: 100%;
    line-height: 40px;
  }

  .br_for_pc {
    display: inline-block;
    padding-top: 4px;
  }

  .explain_yoshinani {
    max-width: 500px;
    width: 100%;
  }

  .suggestion_bubble {
    margin-right: -40px;
    width: 100%;
  }

  .suggestion_bubble img {
    width: 380px;
    /* min-width: 380px; */
  }

  .explain_img {
    padding-top: 100px;
    width: 100%;
  }

  .explain_img img {
    /* width:160px; */
    width: 100%;
    min-width: 160px;
  }

  .explain_blob {
    width: 1000px;
    height: 600px;
  }

  .text_bubble {
    line-height: 20px;
    width: 300px;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

.js-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s, transform 1s;
}
.js-fade.active {
  opacity: 1;
  transform: translateY(0px);
}
