@charset "UTF-8";
/*
  /asuracore/asset/css/object/module/m-cta.css
  事前登録への誘導ブロック（濃色の角丸パネル）
*/

/* 背景画像は透過を含むため下地に色を敷く。画像はPC 1160×261 / SP 350×406 */
.m-cta {
  display: grid;
  grid-template-columns: 326px auto;
  gap: 115px;
  align-items: center;
  justify-content: center;
  padding: 30px 186px;
  border-radius: 10px;
  background-color: var(--navy);
  background-image: url("/asuracore/asset/image/common/bg/cta-bg.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;

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

  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 20px;
    justify-items: center;
    background-image: url("/asuracore/asset/image/common/bg/cta-sp.webp");
  }
}

.m-cta__image-wrap {
  width: 100%;
  max-width: 326px;
}

.m-cta__image {
  width: 100%;
  height: auto;
}

.m-cta__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 320px;

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

  /* パネル内ではボディ幅いっぱいまで広げる */
  .c-button {
    max-width: 100%;
  }
}

/* 見出しと登録メリットのまとまり */
.m-cta__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;

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

.m-cta__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  text-align: center;

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

/* 登録メリット */
.m-cta-merit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  @media screen and (max-width: 840px) {
    margin: 0 0 10px
  }
}

.m-cta-merit {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 1px;
  color: var(--white);

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

/* チェックマーク。マゼンタの円の中央に白い「✓」を擬似要素で引く */
.m-cta-merit__icon {
  position: relative;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--magenta);

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