@charset "UTF-8";
/*----------------------------------
  ローディング
-----------------------------------*/
.loading-add {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loading {
  background: #ff9419;
  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;
  -webkit-transition: translate 1s ease;
  transition: translate 1s ease;
}
.loading.js-loading-end {
  translate: 0 -100%;
}
.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://maq-billmgmt.com/system_panel/uploads/images/dotted.png");
  background-repeat: repeat;
  background-size: 18.75rem 18.75rem;
  pointer-events: none;
}

.loading__contents {
  width: 100%;
  max-width: 49.375rem;
  padding-inline: 1.25rem;
  position: relative;
  z-index: 2;
}

.loading__img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-bottom: 3px solid #000000;
  position: relative;
  -webkit-transform: translateY(-1.875rem);
          transform: translateY(-1.875rem);
  overflow: hidden;
}
@media (min-width: 768px) {
  .loading__img {
    -webkit-transform: translateY(-4.6875rem);
            transform: translateY(-4.6875rem);
  }
}
.loading__img img {
  width: 36.25rem;
  aspect-ratio: 1800/1200;
  -webkit-animation: 0.5s 1s ease-in-out forwards slideUpLoad;
          animation: 0.5s 1s ease-in-out forwards slideUpLoad;
  translate: 0 100%;
}
@media (min-width: 768px) {
  .loading__img img {
    width: 39.125rem;
  }
}
.loading__img img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  height: 100%;
}

.loading__ttl {
  text-align: center;
  font-size: clamp(60px, 8vw, 120px);
  line-height:1.5;
  font-weight: 600;
  letter-spacing: 0;
  overflow: hidden;
}
.loading__ttl span {
  display: inline-block;
  -webkit-animation: 0.5s 0.5s ease-in-out forwards slideUpLoad;
          animation: 0.5s 0.5s ease-in-out forwards slideUpLoad;
  translate: 0 100%;
}

.loading__text {
  text-align: center;
  color: #000000;
  font-size: clamp(24px, 3vw, 50px);
  font-weight: 600;
  letter-spacing: 0;
  overflow: hidden;
}
.loading__text span {
  display: inline-block;
  -webkit-animation: 0.5s 0.5s ease-in-out forwards slideUpLoad;
          animation: 0.5s 0.5s ease-in-out forwards slideUpLoad;
  translate: 0 100%;
}

@-webkit-keyframes slideUpLoad {
  0% {
    translate: 0 100%;
  }
  100% {
    translate: 0 0;
  }
}

@keyframes slideUpLoad {
  0% {
    translate: 0 100%;
  }
  100% {
    translate: 0 0;
  }
}
.loading__img + .loading__text {
  -webkit-margin-before: -0.625rem;
          margin-block-start: -0.625rem;
}
@media (min-width: 768px) {
  .loading__img + .loading__text {
    -webkit-margin-before: -2.5rem;
            margin-block-start: -2.5rem;
  }
}

/*----------------------------------
  fv-message wrapper
-----------------------------------*/
.p-top__wrapper {
  background: -webkit-gradient(linear, left top, left bottom, from(#ff8900), to(#f440bd));
  background: linear-gradient(to bottom, #ff8900, #f440bd);
}

/*----------------------------------
 FV
-----------------------------------*/
.p-fv {
  -webkit-padding-before: 4.375rem;
          padding-block-start: 4.375rem;
  -webkit-padding-after: 2.1875rem;
          padding-block-end: 2.1875rem;
}
@media (min-width: 880px) {
  .p-fv {
    -webkit-padding-before: 6.25rem;
            padding-block-start: 6.25rem;
  }
}

.p-fv__inner {
  margin-inline: auto;
}
/*----------------------------------
  Message
-----------------------------------*/
.p-top-message {
  overflow: hidden;
  -webkit-padding-after: 8.75rem;
          padding-block-end: 8.75rem;
}
@media (min-width: 768px) {
  .p-top-message {
    -webkit-padding-after: 8.125rem;
            padding-block-end: 8.125rem;
  }
}

/*----------------------------------
  Layout
-----------------------------------*/
.p-top-message__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 3.75rem;
  -webkit-padding-before: 6.25rem;
          padding-block-start: 6.25rem;
}
@media (min-width: 768px) {
  .p-top-message__contents {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    row-gap: 0;
    -webkit-column-gap: 3.66vw;
       -moz-column-gap: 3.66vw;
            column-gap: 3.66vw;
    -webkit-padding-before: 11.71vw;
            padding-block-start: 11.71vw;
  }
}

.p-top-message__info {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (min-width: 768px) {
  .p-top-message__info {
    width: 49.5238095238%;
  }
}

/*----------------------------------
  Title
-----------------------------------*/
.p-top-message__ttl {
  text-align: right;
  -webkit-margin-after: 2.5rem;
          margin-block-end: 2.5rem;
}
@media (min-width: 768px) {
  .p-top-message__ttl {
    -webkit-margin-after: 3.66vw;
            margin-block-end: 3.66vw;
  }
}

.p-top-message__ttl--sm {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto 0;
  -webkit-transform: translateX(0.625rem);
          transform: translateX(0.625rem);
  -webkit-padding-after: 0.3125rem;
          padding-block-end: 0.3125rem;
  -webkit-padding-end: 1.25rem;
          padding-inline-end: 1.25rem;
  border-bottom: 1px solid #000;
  font-size: max(0.875rem, 11.2px);
}
@media (min-width: 0px) {
  .p-top-message__ttl--sm {
    font-size: 0.875rem;
  }
}
.p-top-message__ttl--sm {
  font-weight: 500;
  line-height: 1.4285714286;
  letter-spacing: 0em;
}
@media (min-width: 768px) {
  .p-top-message__ttl--sm {
    -webkit-transform: translateX(0.73vw);
            transform: translateX(0.73vw);
    -webkit-padding-after: 0.37vw;
            padding-block-end: 0.37vw;
    -webkit-padding-end: 1.46vw;
            padding-inline-end: 1.46vw;
    font-size: max(1.25rem, 16px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0em;
    font-size: clamp(12px, 1.5vw, 20px);
  }
}
@media (min-width: 768px) and (min-width: 0px) {
  .p-top-message__ttl--sm {
    font-size: 1.25rem;
  }
}
.p-top-message__ttl--sm::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -12px;
  width: 1px;
  height: 14px;
  background: #000;
  -webkit-transform: rotate(-50deg);
          transform: rotate(-50deg);
}

.p-top-message__ttl--lg {
  -webkit-margin-before: 1.5625rem;
          margin-block-start: 1.5625rem;
  font-size: max(2.25rem, 28.8px);
}
@media (min-width: 0px) {
  .p-top-message__ttl--lg {
    font-size: 2.25rem;
  }
}
.p-top-message__ttl--lg {
  font-weight: 500;
  line-height: 1.3888888889;
  letter-spacing: 0em;
}
@media (min-width: 768px) {
  .p-top-message__ttl--lg {
    -webkit-margin-before: 2.56vw;
            margin-block-start: 2.56vw;
    font-size: clamp(28px, 3.5vw, 50px);
  }
}

/*----------------------------------
  Text
-----------------------------------*/
.p-top-message__text {
  text-align: right;
  font-size: max(0.95rem, 12.8px);
}
@media (min-width: 0px) {
  .p-top-message__text {
    font-size: 0.95rem;
  }
}
.p-top-message__text {
  font-weight: 400;
  line-height: 2.1875;
}
@media (min-width: 768px) {
  .p-top-message__text {
    font-size: clamp(14px, 1.35vw, 18px);
  }
}

.p-top-message__btn {
  -webkit-margin-before: 3.75rem;
          margin-block-start: 3.75rem;
  -ms-flex-item-align: end;
      align-self: flex-end;
}
@media (min-width: 768px) {
  .p-top-message__btn {
    -webkit-margin-before: 2.56vw;
            margin-block-start: 2.56vw;
    -ms-flex-item-align: end;
        align-self: flex-end;
    -webkit-margin-before: 2.1875rem;
            margin-block-start: 2.1875rem;
  }
}

.p-top-message__media {
  width: 100%;
  -webkit-margin-before: 6.25rem;
          margin-block-start: 6.25rem;
}
@media (min-width: 768px) {
  .p-top-message__media {
    width: 40.4761904762%;
    -webkit-margin-before: 0;
            margin-block-start: 0;
  }
}

.p-top-message__img-wrapper {
  position: relative;
  display: inline-block;
}

.p-top-message__img {
  position: relative;
  z-index: 2;
  width: 90%;
  aspect-ratio: 11 / 12;
  left: 50%;
  translate: -50%;
  border: 1px solid #000;
  -webkit-box-shadow: 6px 6px 0 #23bdd1;
          box-shadow: 6px 6px 0 #23bdd1;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media (min-width: 768px) {
  .p-top-message__img {
    left: auto;
    translate: none;
    width: 31.11vw;
    max-width: 26.5625rem;
    aspect-ratio: 425/600;
  }
}

/*----------------------------------
  Decoration
-----------------------------------*/
/* 顔 */
.p-top-message__deco01 {
  z-index: 3;
  width: 20vw;
  max-width: 13.75rem;
  aspect-ratio: 168/220;
  left: 1.875rem;
  top: -5.625rem;
  -webkit-transform: rotate(-30deg);
          transform: rotate(-30deg);
  -webkit-transform-origin: center bottom;
          transform-origin: center bottom;
  -webkit-animation: faceSwing 3s ease-in-out infinite;
          animation: faceSwing 3s ease-in-out infinite;
}
@media (min-width: 768px) {
  .p-top-message__deco01 {
    width: 12.2vw;
    max-width: 10.5rem;
    left: -1.875rem;
    top: -7.5rem;
  }
}

/* 男性 */
.p-top-message__deco02 {
z-index: 1;
    width: 21vw;
    max-width: 10.375rem;
    aspect-ratio: 136 / 189;
    right: -0.375rem;
    top: -17%;
}
@media (min-width: 768px) {
  .p-top-message__deco02 {
           width: 15vw;
        max-width: 8.5rem;
        right: -19px;
  }
}

/* 女性 */
.p-top-message__deco03 {
    z-index: 1;
    width: 18vw;
    max-width: 9.5rem;
    aspect-ratio: 50 / 100;
    left: -0rem;
    bottom: -31px;
}
@media (min-width: 768px) {
  .p-top-message__deco03 {
                width: 20.3vw;
        max-width: 6rem;
        left: -3rem;
  }
}

/* 手 */
.p-top-message__deco04 {
  z-index: 3;
  width: 20vw;
  max-width: 13.75rem;
  aspect-ratio: 166/180;
  right: -0.625rem;
  bottom: -3.125rem;
  -webkit-animation: handSwing02 2s ease-in-out infinite;
          animation: handSwing02 2s ease-in-out infinite;
}
@media (min-width: 768px) {
  .p-top-message__deco04 {
    width: 12.2vw;
    max-width: 10.375rem;
    right: -5rem;
  }
}

.message__swiper-wrapper {
  -webkit-padding-after: 6.25rem;
          padding-block-end: 6.25rem;
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.message__swiper-slide--ja {
  display: block;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 15.625rem;
}
.message__swiper-slide--ja img {
  width: 6.25rem;
  height: 4.125rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.message__swiper-slide--en {
  display: block;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 17.5rem;
  white-space: nowrap;
}
.message__swiper-slide--en img {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 6.25rem;
  height: 4.125rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.message__swiper-slide--en2 {
  display: block;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 23.75rem;
  white-space: nowrap;
}
.message__swiper-slide--en2 img {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 6.25rem;
  height: 4.125rem;
  -o-object-fit: cover;
     object-fit: cover;
}

/*----------------------------------
  top-service
-----------------------------------*/
.p-top-service {
  background-color: #ff9419;
  -webkit-padding-before: 4.375rem;
          padding-block-start: 4.375rem;
}
@media (min-width: 768px) {
  .p-top-service {
    -webkit-padding-before: 2.5rem;
            padding-block-start: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .p-top-service {
    -webkit-padding-before: 5rem;
            padding-block-start: 5rem;
  }
}

.p-top-service__deco {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  top: 0;
  left: 33%;
}
.p-top-service__deco .s-face {
  position: relative;
  z-index: 3;
  width: 34vw;
  max-width: 28.375rem;
  min-width: 11.5rem;
  aspect-ratio: 1242/1545;
  border-radius: 3.125rem;
}
.p-top-service__deco .s-face img {
  display: block;
  width: 100%;
  height: auto;
}
.p-top-service__deco .s-face > .deco01 {
  position: absolute;
     z-index: -1;
    top: -3%;
    left: 17%;
      width: 8vw;
    max-width: 7.5rem;
    aspect-ratio: 2 / 3;
  -webkit-transform: rotate(-40deg);
          transform: rotate(-40deg);
  -webkit-transform-origin: bottom center;
          transform-origin: bottom center;
}
.p-top-service__deco .s-face > .deco02 {
  position: absolute;
  z-index: -1;
 top: -12%;
    left: 33%;
     width: 8vw;
    max-width: 7.5rem;
    aspect-ratio: 2 / 3;
  -webkit-transform: rotate(-15deg);
          transform: rotate(-15deg);
  -webkit-transform-origin: bottom center;
          transform-origin: bottom center;
}
.p-top-service__deco .s-face > .deco03 {
  position: absolute;
  z-index: -1;
  top: -12%;
    left: 51%;
     width: 8vw;
    max-width: 7.5rem;
    aspect-ratio: 2 / 3;
  -webkit-transform: rotate(14deg);
          transform: rotate(14deg);
  -webkit-transform-origin: bottom center;
          transform-origin: bottom center;
}
.p-top-service__deco .s-face > .deco04 {
  position: absolute;
  z-index: -1;
  top: -3%;
    left: 65%;
      width: 8vw;
    max-width: 7.5rem;
    aspect-ratio: 2 / 3;
  -webkit-transform: rotate(36deg);
          transform: rotate(36deg);
  -webkit-transform-origin: bottom center;
          transform-origin: bottom center;
}
.p-top-service__deco .s-hand {
  position: relative;
  z-index: 3;
  width: 19vw;
  max-width: 16.875rem;
  min-width: 6.875rem;
  aspect-ratio: 220/250;
}
.p-top-service__deco .s-hand img {
  display: block;
  width: 100%;
  height: auto;
}

.p-top-service__contents {
  position: relative;
  z-index: 2;
  -webkit-margin-before: 12.5rem;
          margin-block-start: 12.5rem;
}
@media (min-width: 880px) {
  .p-top-service__contents {
    -webkit-margin-before: 4.375rem;
            margin-block-start: 4.375rem;
  }
}

.p-top-service__list {
  overflow: hidden;
  position: relative;
  background-color: #ff9419;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 880px) {
  .p-top-service__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-top-service__item {
  position: relative;
  width: 100%;
  max-width: 36.25rem;
  display: grid;
  -webkit-padding-after: 4.375rem;
          padding-block-end: 4.375rem;
  -webkit-padding-before: 3.125rem;
          padding-block-start: 3.125rem;
  padding-inline: 1.875rem;
  grid-template-columns: 1fr;
  grid-template-rows: subgrid;
  grid-row: span 3;
  margin-inline: auto;
  padding-inline: 1.875rem;
}
@media (min-width: 880px) {
  .p-top-service__item {
    -webkit-margin-before: 3.125rem;
            margin-block-start: 3.125rem;
    -webkit-margin-after: 5.625rem;
            margin-block-end: 5.625rem;
    -webkit-padding-after: 0rem;
            padding-block-end: 0rem;
    -webkit-padding-before: 0rem;
            padding-block-start: 0rem;
    margin-inline: unset;
    padding-inline: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .p-top-service__item {
    padding-inline: 3.75rem;
  }
}
.p-top-service__item:nth-child(2) {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}
@media (min-width: 880px) {
  .p-top-service__item:nth-child(2) {
    border-top: none;
    border-bottom: none;
    border-right: 1px solid #000000;
    border-left: 1px solid #000000;
  }
}

.p-top-service__img {
  border: 1px solid #000;
  -webkit-box-shadow: 5px 5px 0 #321510;
          box-shadow: 5px 5px 0 #321510;
  aspect-ratio: 270/340;
  grid-row: 1;
}
.p-top-service__img img {
  border-radius: inherit;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  height: 100%;
}

.p-top-service__head {
  -webkit-margin-before: 1.875rem;
          margin-block-start: 1.875rem;
  grid-row: 2;
  font-size: max(1.25rem, 16px);
}
@media (min-width: 0px) {
  .p-top-service__head {
    font-size: 1.25rem;
  }
}
.p-top-service__head {
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0em;
}

.p-top-service__text {
  grid-row: 3;
  -webkit-margin-before: 1.25rem;
          margin-block-start: 1.25rem;
  font-size: max(1rem, 12.8px);
}
@media (min-width: 0px) {
  .p-top-service__text {
    font-size: 1rem;
  }
}
.p-top-service__text {
  font-weight: 400;
  line-height: 1.875;
  letter-spacing: 0em;
}

.p-top-service__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-margin-before: -2.1875rem;
          margin-block-start: -2.1875rem;
  -webkit-margin-end: 0.625rem;
          margin-inline-end: 0.625rem;
}

/*----------------------------------
 works
-----------------------------------*/
.p-top-works {
  overflow: hidden;
  background: #ff6f67;
  padding-block: 5rem;
}
@media (min-width: 768px) {
  .p-top-works {
    -webkit-padding-before: 5.3125rem;
            padding-block-start: 5.3125rem;
  }
}

.p-top-works__contents {
  background-color: #ff6f67;
  position: relative;
  -webkit-margin-before: 11.25rem;
          margin-block-start: 11.25rem;
}
@media (min-width: 880px) {
  .p-top-works__contents {
    -webkit-margin-before: 4.375rem;
            margin-block-start: 4.375rem;
  }
}

.p-top-works__img {
  position: absolute;
  top: 0;
  right: 0;
}

.p-top-works__list {
  background-color: #ff6f67;
  position: relative;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

.p-top-works__list .webgene-blog {
  -webkit-margin-before: 3.75rem;
          margin-block-start: 3.75rem;
  -webkit-margin-after: 5rem;
          margin-block-end: 5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  row-gap: 5rem;
}
@media (min-width: 768px) {
  .p-top-works__list .webgene-blog {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-column-gap: 2.5rem;
       -moz-column-gap: 2.5rem;
            column-gap: 2.5rem;
  }
}
.p-top-works__list .webgene-item {
  max-width: 100%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (any-hover: hover) {
  .p-top-works__list .webgene-item:hover {
    opacity: 0.8;
  }
}
@media (min-width: 768px) {
  .p-top-works__list .webgene-item {
    max-width: 22.125rem;
  }
}

.webgene-blog .p-top__works {
  -webkit-padding-after: 3.75rem;
          padding-block-end: 3.75rem;
}
.p-top-works__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-margin-before: -2.1875rem;
          margin-block-start: -2.1875rem;
  -webkit-margin-end: 0.625rem;
          margin-inline-end: 0.625rem;
}

/*----------------------------------
  news
-----------------------------------*/
.p-top-news {
  overflow: hidden;
  position: relative;
  background-color: #fa6ab7;
  -webkit-padding-before: 6.25rem;
          padding-block-start: 6.25rem;
  -webkit-padding-after: 5rem;
          padding-block-end: 5rem;
}
@media (min-width: 768px) {
  .p-top-news {
    -webkit-padding-before: 9.375rem;
            padding-block-start: 9.375rem;
    -webkit-padding-after: 7.5rem;
            padding-block-end: 7.5rem;
  }
}

.p-top-news__bg {
  position: absolute;
  width: 35rem;
  bottom: 0;
  right: 0;
  aspect-ratio: 636/600;
}
@media (min-width: 768px) {
  .p-top-news__bg {
    width: 39.75rem;
  }
}

.p-top-news__ttl--ja {
  font-size: 2rem;
  line-height: 3.5625rem;
  -webkit-margin-before: 0.625rem;
          margin-block-start: 0.625rem;
}

.p-top-news__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 3.125rem;
}
@media (min-width: 768px) {
  .p-top-news__contents {
    -webkit-column-gap: 1.25rem;
       -moz-column-gap: 1.25rem;
            column-gap: 1.25rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

/*----------------------------------
  左サイトメニュー
-----------------------------------*/
.p-top-news__side {
  width: 100%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media (min-width: 768px) {
  .p-top-news__side {
    width: 31.6666666667%;
  }
}

/*----------------------------------
  記事リスト
-----------------------------------*/
.p-top-news__list {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (min-width: 768px) {
  .p-top-news__list {
    width: 68.3333333333%;
  }
}
.p-top-news__list .webgene-blog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.p-top-news__list:last-child {
  border-bottom: 1px dotted #000000;
}

/*----------------------------------
  contact
-----------------------------------*/
.p-top-contact {
  overflow: hidden;
}

.p-top-contact__inner {
  width: 100%;
  max-width: 592px;
  padding: 0 1rem;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .p-top-contact__inner {
    width: 100%;
    max-width: 1100px;
    padding: 0 5rem;
  }
}

.p-top-contact__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-block: 3.75rem;
}
@media (min-width: 768px) {
  .p-top-contact__contents {
    padding-block: 4.375rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-top-contact__info {
  width: 100%;
}
@media (min-width: 768px) {
  .p-top-contact__info {
    width: 51.0204081633%;
  }
}

.p-top-contact__ttl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 0.9375rem;
}

.p-top-contact__ttl-en {
  font-size: max(2.5rem, 32px);
}
@media (min-width: 0px) {
  .p-top-contact__ttl-en {
    font-size: 2.5rem;
  }
}
.p-top-contact__ttl-en {
  font-weight: 500;
  line-height: 1.375;
}
@media (min-width: 768px) {
  .p-top-contact__ttl-en {
    font-size: max(5rem, 64px);
    font-weight: 500;
    line-height: 1.375;
  }
}
@media (min-width: 768px) and (min-width: 0px) {
  .p-top-contact__ttl-en {
    font-size: 5rem;
  }
}

.p-top-contact__ttl-ja {
  font-size: max(1.125rem, 14.4px);
}
@media (min-width: 0px) {
  .p-top-contact__ttl-ja {
    font-size: 1.125rem;
  }
}
.p-top-contact__ttl-ja {
  font-weight: 400;
  line-height: 0.0833333333;
}
@media (min-width: 768px) {
  .p-top-contact__ttl-ja {
    font-size: max(1.25rem, 16px);
    font-weight: 400;
    line-height: 0.075;
  }
}
@media (min-width: 768px) and (min-width: 0px) {
  .p-top-contact__ttl-ja {
    font-size: 1.25rem;
  }
}

.p-top-contact__text {
  -webkit-margin-before: 1.875rem;
          margin-block-start: 1.875rem;
  font-size: max(0.875rem, 11.2px);
}
@media (min-width: 0px) {
  .p-top-contact__text {
    font-size: 0.875rem;
  }
}
.p-top-contact__text {
  font-weight: 400;
  line-height: 2.1428571429;
}
@media (min-width: 768px) {
  .p-top-contact__text {
    font-size: max(1.125rem, 14.4px);
    font-weight: 400;
    line-height: 2.2222222222;
    -webkit-margin-before: 3.125rem;
            margin-block-start: 3.125rem;
  }
}
@media (min-width: 768px) and (min-width: 0px) {
  .p-top-contact__text {
    font-size: 1.125rem;
  }
}

.p-top-contact__link {
  width: 100%;
  -webkit-margin-before: 9.375rem;
          margin-block-start: 9.375rem;
  display: grid;
  place-items: center;
}
@media (min-width: 768px) {
  .p-top-contact__link {
    width: 28.5714285714%;
    -webkit-margin-before: 0;
            margin-block-start: 0;
    place-items: flex-start;
  }
}

.p-top-contact__btn {
  width: 9.375rem;
  aspect-ratio: 1/1;
  position: relative;
}
.p-top-contact__btn img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}
.p-top-contact__btn::before {
  content: "";
  position: absolute;
  background: url("https://maq-billmgmt.com/system_panel/uploads/images/face-top.png") no-repeat center/contain;
  width: 8.75rem;
  aspect-ratio: 280/350;
  -webkit-transform: rotate(-25deg);
          transform: rotate(-25deg);
  top: -6.5625rem;
  left: -4.6875rem;
  z-index: 1;
  -webkit-transition: left 0.35s ease, -webkit-transform 0.35s ease;
  transition: left 0.35s ease, -webkit-transform 0.35s ease;
  transition: transform 0.35s ease, left 0.35s ease;
  transition: transform 0.35s ease, left 0.35s ease, -webkit-transform 0.35s ease;
}
.p-top-contact__btn::after {
  content: "";
  position: absolute;
  background: url("https://maq-billmgmt.com/system_panel/uploads/images/btn-hand.png") no-repeat center/contain;
  width: 5rem;
  aspect-ratio: 80/100;
  bottom: -1.875rem;
  right: -2.8125rem;
  z-index: 3;
  -webkit-transform-origin: bottom right;
          transform-origin: bottom right;
  -webkit-animation: handSwing 1.2s ease-in-out infinite;
          animation: handSwing 1.2s ease-in-out infinite;
}
@media (any-hover: hover) {
  .p-top-contact__btn:hover::before {
    left: -2.8125rem;
    -webkit-transform: rotate(-15deg);
            transform: rotate(-15deg);
  }
  .p-top-contact__btn:hover::after {
    -webkit-animation-play-state: paused;
            animation-play-state: paused;
  }
}