@charset "utf-8";
@media screen and (max-width: 1200px) {
  #contents .main-nav__item {
    width: 25%;
  }
  #contents .main-nav__list {
    row-gap: 20px;
  }
}

@media screen and (max-width: 640px) {
  #contents .wrapper {
    padding: 0 10px;
  }
  #contents a.btn-detail:link {
    margin-top: 20px;
  }
  #contents .sp-block {
    display: block;
  }
  #contents .sp-none {
    display: none;
  }
  /* ======================================================
   mainvisual 
====================================================== */
  #contents .mainvisual {
    padding: 60px 0;
    background-image: url("../img/mainvisual-sp.webp");
  }
  #contents .mainvisual .wrapper {
    padding: 0 34px;
  }
  #contents .mainvisual__text {
    margin-top: 20px;
  }
  /* ======================================================
    Main Navigation
====================================================== */
  #contents .main-nav {
    padding: 20px 0;
  }
  #contents .main-nav .wrapper {
    padding: 0;
  }
  #contents .main-nav__title {
    margin-bottom: 0;
  }
  #contents .main-nav-list-wrap {
    padding: 0;
  }
  #contents .main-nav__list {
    margin-top: 30px;
    gap: 0;
    row-gap: 20px;
    justify-content: center;
    display: none;
  }
  #contents .main-nav__list-sp {
    display: flex;
    border-bottom: 1px solid #0f1ed2;
    margin-top: 18px;
  }

  #contents a.main-nav__item {
    width: 50%;
    border-top: 1px solid #0f1ed2;
    padding: 11px 10px;
    position: relative;
    height: 81px;
  }
  #contents a.main-nav__item:nth-child(odd) {
    border-right: 1px solid #0f1ed2;
  }
  #contents .main-nav__tag {
    padding: 5px 14px;
  }
  #contents .main-nav__link {
    color: #0f1ed2;
    padding-bottom: 0;
    position: static;
    margin-top: 6px;
    line-height: 1.5;
  }
  #contents a.main-nav__item::after {
    position: absolute;
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #0f1ed2;
    border-bottom: 2px solid #0f1ed2;
    bottom: 50%;
    left: auto;
    right: 12px;
    transform: translate(-50%, 50%) rotate(45deg);
  }
  #contents .mainvisual .btn-white {
    margin: 40px auto 0;
  }
  /* ======================================================
   About section
====================================================== */
  #contents .about {
    padding: 40px 0;
  }
  #contents .about__top {
    flex-direction: column;
    padding-left: 0;
    padding-bottom: 40px;
  }
  #contents .about__text {
    margin-top: 20px;
    width: 100%;
  }
  #contents .about__text p:nth-child(n + 2) {
    margin-top: 1em;
  }
  #contents .about__content {
    padding: 15px;
    border-radius: 20px;
  }
  /* .about__content-text {
    margin-top: 20px;
  } */
  #contents .about__flow {
    margin-top: 30px;
  }
  /* ----------------------------------
flow1
---------------------------------- */
  #contents .about__flow1 {
    height: auto;
  }
  /* ----------------------------------
flow2
---------------------------------- */
  #contents .about__flow2 {
    margin-top: 50px;
    border: 1px solid #0f1ed2;
    padding: 20px;
    border-radius: 20px;
  }
  #contents .about__flow2-flex {
    margin-top: 15px;
    flex-direction: column;
  }
  #contents .about__flow2-item {
    width: 100%;
    margin: 0 auto;
  }
  #contents .about__flow2-icon {
    display: flex;
    align-items: center;
    margin: 30px auto;
    width: 40px;
    position: relative;
    transform: translateY(0);
  }
  #contents .about__flow2-item-title {
    margin-bottom: 10px;
    border-radius: 999px;
  }
  #contents .about__flow2-item-subtitle {
    padding: 0 20px;
  }
  /* ----------------------------------
  flow3
  ---------------------------------- */
  #contents .about__flow3 {
    border-radius: 40px;
    margin: 50px auto 0;
    height: 60px;
  }
  /* ----------------------------------
  flow4
  ---------------------------------- */
  #contents .about__flow4 {
    margin-top: 40px;
  }
  #contents .about__flow4 h2 {
flex-direction: column;
  }
  #contents .about__flow4-content {
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
  }
  #contents .about__flow4-item {
    width: 45%;
    flex: auto;
  }
  /* ======================================================
  introduction section
====================================================== */
  #contents .introduction {
    padding: 40px 0;
  }
  #contents .introduction__img span {
    font-size: clamp(1.2rem, calc(100vw * 16 / 1206), 1.6rem);
    position: absolute;
    border-radius: 10px;
    padding: 6px 16px;
    left: 10px;
  }
  #contents .introduction_flex {
    flex-direction: column;
    margin-top: 30px;
  }
  #contents .introduction__texts {
    margin-top: 20px;
  }
  #contents .introduction__texts p:first-of-type {
    margin-top: 10px;
  }
  #contents .btn-detail {
    margin-top: 20px !important;
  }
  #contents .introduction__texts p:last-of-type {
    margin-top: 20px;
  }
  /* ======================================================
offering section
====================================================== */
  #contents .offering-section {
    padding: 40px 0;
  }
  #contents .offering-section__top-title {
    margin-bottom: 30px;
  }
  #contents .offering-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  #contents .offering-section__label {
    padding: 4px 8px;
    border-radius: 5px;
    flex-shrink: 0;
  }

  #contents .offering-section__items {
    margin-top: 30px;
    flex-direction: column;
    row-gap: 20px;
  }
  #contents a.offering-section__item:link {
    width: 100%;
  }
  #contents .service-card__img {
    flex-shrink: 0;
    width: auto;
  }
  #contents .service-card__img img {
    width: 80px;
  }
  #contents .offering-section__button-wrapper {
    margin-top: 40px;
  }
  #contents .offering-section__buttom {
    text-align: center;
    margin-bottom: 20px;
  }
  /* ======================================================
   contact
====================================================== */
  #contents .contact {
    padding: 50px 10px;
  }
  #contents .contact .sec-title__big {
    font-size: 2rem;
  }
  #contents .contact .btn-white {
    margin: 25px auto 0;
  }
}
