@charset "utf-8";

.p-top-concept .c-main-title{
    position: relative;
    z-index: 1;
}
.p-mv__banner{
    z-index: 9998;
}
.p-drawer-content{
    overflow-y: scroll;
}
.p-qa__content-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    margin-top: 20px;
}
.p-qa__content-grid__item-youtube{
    width: 100%;
    aspect-ratio: 16 / 9;
}
.p-qa__content-grid__item-youtube iframe{
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}

/* 20250807 add */
.inline-block {
  display: inline-block;
}
.p-top-service__text-flex-content {
  margin-top: 1em;
}
.p-top-service__text-flex {
  display: flex;
  align-items: center;
  gap: 1em;
  &:not(:last-child) {
    margin-bottom: 1em;
  }

  & .img {
    max-width: 120px;
  }
  & p {
    font-size: 1.125rem;
  }
  & p span.bold {
    font-weight: 700;
  }
}

/* 20250910 add */
/* @media screen and (min-width: 768px) {
  .p-problem--about .p-problem__list-title {
      font-size: 1.45rem;
  }
} */

@media screen and (min-width: 992px) {
    .p-top-concept{
        padding-top: 4vw;
    }
}
@media screen and (max-width: 991px) {
    .p-qa__content-grid{
        grid-template-columns: repeat(2,1fr);
    }

    /* 20250807 add */
    .p-top-service__text-flex {
      & .img {
        max-width: 100px;
      }
    }
}

@media screen and (max-width: 767px) {
    /* DRAWER */
    .p-drawer-content__lists-sub{
        margin-top: 0.5rem;
    }
    .p-drawer-content__lists-sub li:not(:last-child){
        margin-bottom: 0.3rem;
    }
    .p-drawer-content__lists-sub a{
        font-size: 0.8rem;
        color: #999;
    }

    /* TOP */
    .c-main-title__ja{
        line-height: 1.3;
    }
    .c-main-title__en{
        padding: 0 20px;
        font-size: 1rem;
    }
    .c-main-title__en::before,
    .c-main-title__en::after{
        width: 0.5rem;
    }
    .p-qa__content-grid{
        grid-template-columns: repeat(1,1fr);
    }

    /* PAGE */
    .p-block__img{
        margin-top: 1rem;
    }

    /* 20250807 add */
    .p-top-service__text-flex {
      flex-direction: column;
      align-items: flex-start;
      gap: .3em;

      & p {
        font-size: 0.875rem;
        line-height: 1.7777777778;
        letter-spacing: 0.05em;
      }
    }
}

/* 20251021 add */
.c-button__wrapper {
  margin-top: 16px;
  margin-top: 1rem;
}
.c-button__link {
  position: relative;
  background: #222;
  border-radius: 9999px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 384px;
  width: 20rem;
  height: 60px;
  height: 3.75rem;
}
.c-button__icon {
  position: absolute;
  top: 53%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 6px;
  left: 0.375rem;
  width: 24px;
  width: 1.5rem;
}
.c-button__icon--right {
  position: absolute;
  top: 53%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 6px;
  right: 0.375rem;
  width: 24px;
  width: 1.5rem;
  left: auto;
  left: initial;
}
.c-button__text {
  color: #fff;
  letter-spacing: 0.05em;
  font-weight: 500;
  font-size: 14px;
  font-size: 0.875rem;
}
@media screen and (min-width: 768px) {
  .c-button__wrapper {
    margin-top: 2.5rem;
  }
  .c-button__link {
    width: 24rem;
  }
  .c-button__text {
    font-size: 1.125rem;
  }
}

.up-right-from-square {
  position: absolute;
  top: 28%;
  left: 2.4rem;
  width: 0.7rem;
}
@media screen and (min-width: 768px) {
  .up-right-from-square {
    top: 31%;
    left: 2.5rem;
    width: 0.8rem;
  }
}

.p-plan__left--button {
  margin: 2rem 0;
}
@media screen and (min-width: 768px) {
  .p-plan__left--button {
    margin: 2.5rem 0 0;
  }
}