@charset "UTF-8";
/*
  /asuracore/asset/css/object/module/m-present.css
  サービス紹介資料のプレゼント訴求パネル（TOP／登録完了ページで共用）
*/

.m-present {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 45px 40px 60px;
  border-radius: 10px;
  background-color: var(--navy);
  background-image: url("/asuracore/asset/image/common/bg/bg-present-gradation.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;

  @media screen and (max-width: 840px) {
    padding: 43px 20px 60px;
    background-position: right -100px top;
  }
}

.m-present__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  color: var(--white);

  @media screen and (max-width: 840px) {
    gap: 8px;
  }
}

.m-present__lead {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;

  @media screen and (max-width: 840px) {
    font-size: 18px;
  }
}

.m-present__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 133px;
  padding: 2px 18px 4px;
  background-color: #7c689d;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #e0dce9;

  @media screen and (max-width: 840px) {
    font-size: 18px;
  }
}

.m-present__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;

  @media screen and (max-width: 840px) {
    font-size: 32px;
  }
}

.m-present__body {
  display: flex;
  justify-content: center;
  gap: 81px;
  margin: 50px 0 0;
  text-align: left;

  @media screen and (min-width: 1200px) {
    justify-content: flex-start;
    padding: 0 0 0 100px;
  }

  @media screen and (max-width: 1024px) {
    gap: 40px;
  }

  @media screen and (max-width: 840px) {
    flex-direction: column;
    align-items: center;
    gap: 42px;
    margin: 42px 0 0;
  }
}

.m-present__figure {
  flex: 0 1 400px;
  min-width: 0;

  @media screen and (max-width: 840px) {
    flex: none;
    width: 100%;
    max-width: 310px;
  }
}

.m-present__cover {
  width: 100%;
  height: auto;
  box-shadow: 0 0 20px 0 rgb(255 255 255 / 25%);
}

.m-present__thumb-list {
  display: flex;
  gap: 32px;
  margin: 32px 0 0;

  @media screen and (max-width: 840px) {
    gap: 20px;
    margin: 20px 0 0;
  }
}

.m-present__thumb {
  flex: 1;
  min-width: 0;
  height: auto;
  box-shadow: 0 0 20px 0 rgb(255 255 255 / 25%);
}

.m-present__detail {
  display: flex;
  flex-direction: column;
  gap: 50px;
  flex-shrink: 0;
  width: 524px;

  @media screen and (max-width: 1280px) {
    width: auto;
  }

  @media screen and (max-width: 840px) {
    gap: 24px;
    width: 100%;
    max-width: 314px;
  }
}

.m-present__subtitle {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--white);

  @media screen and (max-width: 840px) {
    font-size: 24px;
  }
}

.m-present-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 0;

  @media screen and (max-width: 840px) {
    gap: 12px;
  }
}

.m-present-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--white);

  @media screen and (max-width: 840px) {
    font-size: 15px;
  }
}

.m-present-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--magenta);

  @media screen and (max-width: 840px) {
    width: 20px;
    height: 20px;
  }

  &::before {
    content: "";
    position: absolute;
    top: 45%;
    left: 50%;
    width: 11px;
    height: 5px;
    border-bottom: 2px solid var(--white);
    border-left: 2px solid var(--white);
    transform: translate(-50%, -50%) rotate(-45deg);

    @media screen and (max-width: 840px) {
      width: 9px;
      height: 4px;
    }
  }
}

.m-present__cta {
  position: relative;
  width: 100%;
  max-width: 362px;
  padding: 17px 0 0;

  @media screen and (max-width: 840px) {
    max-width: 310px;
  }
}

.m-present-balloon {
  position: absolute;
  top: -19px;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 30px;
  border-radius: 100px;
  background-color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--magenta);
  white-space: nowrap;
  transition:
    200ms ease background-color,
    200ms ease color;
  transform: translateX(-50%);

  &::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border-width: 8px 8.5px 0 8.5px;
    border-style: solid;
    border-color: var(--white) transparent transparent transparent;
    transition: 200ms ease border-top-color;
    transform: translate(-50%, 0);
  }
}

.c-button:hover .m-present-balloon {
  background-color: var(--magenta);
  color: var(--white);

  &::after {
    border-top-color: var(--magenta);
  }
}

.m-present__note {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 473px;
  padding: 18px 22px 16px;
  border-radius: 10px;
  background-color: #e0dce9;

  @media screen and (max-width: 840px) {
    max-width: 310px;
    padding: 12px 22px;
  }
}

.m-present__note-icon {
  flex-shrink: 0;
  width: 54px;
  height: auto;

  @media screen and (max-width: 840px) {
    width: 45px;
  }
}

.m-present__note-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
}

.m-present__note-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;

  @media screen and (max-width: 840px) {
    font-size: 14px;
  }
}

.m-present__note-text {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* 登録完了ページ */
.m-present.m-present--complete {
  .m-present__head {
    gap: 8px;
  }

  .m-present__body {
    @media screen and (max-width: 840px) {
      margin: 32px 0 0;
    }
  }

  .m-present__detail {
    gap: 32px;
    @media screen and (max-width: 840px) {
      gap: 24px;
    }
  }

  .m-present-item {
    font-size: 18px;
    @media screen and (max-width: 840px) {
      font-size: 15px;
    }
  }
}
