@charset "Shift_JIS";

@font-face {
  font-family: 'RPIcons';
  src: url(../fonts/RPIcons.eot);
  src:
    url(../fonts/RPIcons.eot) format('eot'),
    url(../fonts/RPIcons.woff) format('woff'),
    url(../fonts/RPIcons.ttf) format('truetype'),
    url(../fonts/RPIcons.svg#RPIcons) format('svg');
}

@-webkit-keyframes Up {
  0% {
    opacity: 0;
    transform: translateY(150px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes Up {
  0% {
    opacity: 0;
    transform: translateY(150px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes Down {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(150px);
  }
}

@keyframes Down {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(150px);
  }
}

html {
  scroll-behavior: smooth;
}

img {
  vertical-align: top;
  object-fit: cover;
}

main a {
  color: #1558ce;
}

#cpm__main a:link {
  text-decoration: underline !important;
}

li {
  list-style: none;
  text-decoration: none;
}

a.blank::after {
  font-family: 'RPIcons';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  text-decoration: none;
  text-transform: none;
}
a.blank::after {
  position: relative;
  content: '\F001';
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  top: -1px;
  line-height: 0;
}

#page_info {
  width: 100%;
}

#cpm__main {
  color: #333;
  line-height: 1.7;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', Arial, sans-serif;
}

.hero {
  width: 950px;
  margin: 0 auto;
}

.hero__img {
  display: block;
  margin-bottom: 16px;
}

.hero__textImg {
  display: block;
}

.hero__entry {
  width: 830px;
  margin: 0 auto;
}

.hero__noticeItem {
  display: flex;
  font-size: 22px;
  gap: 1px;
}

.hero__noticeItem::before {
  content: '';
}

.section-container {
  width: 830px;
  margin: 120px auto 0;
}

.section-container__title {
  margin-bottom: 84px;
}

.section-container__title--flow {
  margin-bottom: 68px;
}

.section-container__title--terms {
  margin-bottom: 0;
}

.entry-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 32px;
}

#cpm__main .entry-btn:hover {
  opacity: 0.7;
}

.framed-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 59px 64px 40px;
  border-radius: 8px;
  border: 3px solid #00cce7;
  margin-top: 108px;
}

.framed-panel--first {
  margin-top: 0;
}

.framed-panel--has-icon {
  padding: 44px 0 0;
  margin-top: 119px;
}

.framed-panel--point {
  padding: 27px 0 0;
}

.framed-panel--benefit {
  padding: 51px 40px 40px;
}

.framed-panel--step {
  margin-top: 0;
  padding-top: 107px;
}

.framed-panel--step2 {
  margin-top: 78px;
  padding-top: 160px;
}

.framed-panel__title {
  position: absolute;
  display: inline-block;
  width: max-content;
  top: -28px;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 55px;
  padding: 0 20px;
  background-color: #fff;
}

.framed-panel__title--step {
  top: -14px;
  height: 87px;
  background-color: transparent;
  z-index: 2;
}

.framed-panel__title--step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 250px;
  height: 76px;
  background-color: #fff;
  z-index: -1;
}

.framed-panel__title--has-icon {
  top: -39px;
  height: 82px;
}

.framed-panel__bluecard {
  background-color: #eaf9fa;
}

.framed-panel__inner-img {
  max-width: 100%;
  z-index: -1;
}

.framed-panel__inner-img img {
  max-width: 100%;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 42px;
  width: 100%;
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 32px;
  border-radius: 4px;
  background-color: rgba(39, 120, 241, 0.1);
}

.about-card:first-of-type {
  position: relative;
}

.about-card:first-of-type::after {
  content: '+';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.about-card--green {
  background-color: #eaf9fa;
}

.about-card__title {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.3;
}

.about-card__title--long {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-size: 18px;
}

.about-card__title--long span {
  display: flex;
  gap: 1px;
}

.about-card__title--long span::before {
  content: '@';
}

.about-card__title--long span:last-of-type::before {
  content: 'A';
}

.about-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.about-card__links {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.about-card__links--green {
  margin-bottom: 16px;
}

.primary-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 274px;
  min-height: 50px;
  max-width: 100%;
  font-size: 14px;
  padding: 8px 16px;
  gap: 2px;
  border-radius: 999px;
  text-align: center;
  line-height: 1.3;
  background-color: #00cce7;
  border: 2px solid #7ff0f9;
}

.primary-button::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 14px;
  top: 0;
  bottom: 0;
  right: 12px;
  margin: auto 0;
  background: url(../images/arrow_white.svg) center / contain no-repeat;
}

#cpm__main a.primary-button {
  color: #fff;
  text-decoration: none !important;
  transition: 0.3s opacity;
}

#cpm__main a.primary-button:hover {
  opacity: 0.7;
}

.primary-button span {
  font-size: 11px;
  font-weight: normal;
}

#cpm__main a.about-card__app {
  transition: 0.3s opacity;
}

#cpm__main a.about-card__app:hover {
  opacity: 0.7;
}

.about-card__app img {
  height: 100%;
}

.about-card__notice {
  font-size: 14px;
}

.about-card__plus {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  margin: 12px 0;
}

.target-desc {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  padding: 40px;
}

.target-desc__list {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 8px;
}

.target-desc__notice {
  margin-top: 8px;
  font-size: 14px;
}

.app-links {
  display: flex;
  gap: 40px;
}

#cpm__main a.app-links__item {
  transition: 0.3s opacity;
}

#cpm__main a.app-links__item:hover {
  opacity: 0.7;
}

.benefit-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-inner__detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
  gap: 16px;
  max-width: 100%;
}

.benefit-inner__links {
  position: relative;
  justify-content: center;
  width: 100%;
  padding-top: 40px;
}

.benefit-inner__links::after {
  content: '';
  position: absolute;
  top: 0;
  height: 2px;
  width: 100%;
  background-color: #00cce7;
}

.flow__period {
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}

.flow-entry {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.flow-entry::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  height: 40px;
  width: 40px;
  background: url(../images/arrow_entry.svg) center / contain no-repeat;
}

.flow-entry__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(50% - 20px);
  gap: 16px;
  padding: 24px 20px;
  border-radius: 8px;
  border: 3px solid #7ff0f9;
  background-color: #eaf9fa;
}

.flow-entry__title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
}

.flow__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
}

.flow__item {
  display: flex;
  gap: 1px;
}

.flow__item::before {
  content: '';
}

.flow__history {
  width: 100%;
  margin-top: 16px;
}

.flow__history a {
  font-weight: bold;
}

.stepbox {
  width: 100%;
  margin-bottom: 40px;
}

.stepbox:last-of-type {
  margin-bottom: 0;
}

.stepbox__head {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-color: #00cce7;
}

.stepbox__body {
  display: flex;
  justify-content: center;
  padding: 24px 40px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background-color: #eaf9fa;
}

.stepbox__body--step2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.stepbox__body a {
  font-size: 16px;
  font-weight: bold;
}

.stepbox__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stepbox__data {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blank {
  text-indent: 0;
}

.terms {
  margin: 120px auto;
}

.terms__block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
}

.terms__heading {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: bold;
}

.terms__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms__item {
  text-indent: -1em;
  padding-left: 1em;
  margin-left: 4px;
  padding-bottom: 5px;
}

.terms__item--haslist {
  display: flex;
  justify-content: center;
  text-indent: 0;
  padding-left: 0;
  margin-left: 0;
}

.terms__item--haslist::before {
  display: block;
}

.terms__subtitle {
  font-weight: normal;
  margin: 8px 0 4px;
}

.terms-sublist {
  padding-left: 1em;
}

.terms-sublist__item {
  display: flex;
}

.terms__item::before, .terms-sublist__item::before {
  content: 'E';
  margin-right: 4px;
  margin-left: -4px;
}

.terms-sublist__item::before {
  display: block;
}

.terms-sublist__item--num1::before {
  content: '@';
}

.terms-sublist__item--num2::before {
  content: 'A';
}

.terms-sublist__item--num3::before {
  content: 'B';
}

.terms__item--num::before {
  content: '@';
}

.terms__item--num:nth-of-type(2)::before {
  content: 'A';
}

.terms__item--num:nth-of-type(3)::before {
  content: 'B';
}

.terms__item--num:nth-of-type(4)::before {
  content: 'C';
}

.terms__data {
  display: flex;
}

.terms__miniblock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.terms__miniblock:last-of-type {
  margin-bottom: 4px;
}

.terms__notice {
  margin-top: 32px;
}

.block-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 130px;
  background: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;

  z-index: 1000;
  pointer-events: none;
}

.block-sticky.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.block-sticky-box-btn {
  width: 560px;
  max-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s opacity;
}

.block-sticky-box-btn:hover {
  opacity: 0.7;
}

.block-sticky a {
  display: block;
  width: 100%;
}

.block-sticky img {
  width: 100%;
  height: auto;
}

.footerCustum {
  padding-bottom: 100px;
}

@media screen and (max-width: 767px) {
  body #cpm__main {
    font-size: 14px;
  }

  img {
    max-width: 100%;
  }

  #cpm__main {
    font-size: 12px;
  }

  .hero {
    width: 100%;
  }

  .hero__img {
    margin-bottom: 12px;
  }

  .hero__textImg {
    width: calc(100% - 32px);
    aspect-ratio: 375 / 216;
    margin: 0 auto;
  }

  .hero__textImg img {
    height: 100%;
  }

  .hero__entry {
    width: 100%;
    padding: 0 24px;
    text-align: left;
  }

  .entry-btn {
    margin: 16px auto 20px;
  }

  .section-container {
    width: calc(100% - 32px);
  }

  .section-container__title {
    margin-bottom: 54px;
  }

  .section-container__title--terms {
    margin-bottom: 0;
  }

  .section-container__title img {
    height: auto;
  }

  .framed-panel {
    padding: 40px 24px;
    border-width: 2px;
    margin-top: 70px;
  }

  .framed-panel--first {
    margin-top: 0px;
  }

  .framed-panel--has-icon {
    padding: 34px 0 0;
  }

  .framed-panel--point {
    padding: 53px 0 0;
  }

  .framed-panel--benefit {
    padding: 64px 22px 32px;
  }

  .framed-panel--step {
    margin-top: 0;
    padding-top: 78px;
  }

  .framed-panel--step2 {
    margin-top: 63px;
    padding-top: 122px;
  }

  .framed-panel__title {
    top: -14px;
  }

  .framed-panel--step .framed-panel__title {
    top: -14px;
    padding: 0 16px;
  }

  .framed-panel__title--has-icon {
    height: 32px;
  }

  .framed-panel__title--step {
    top: -7px;
  }

  .framed-panel__title--step::after {
    width: min(123px, 32.8vw);
    aspect-ratio: 123 / 59;
  }

  .framed-panel__title img {
    width: 99px;
    height: auto;
  }

  .framed-panel__title--has-icon img {
    width: min(179px, 47.733vw);
    aspect-ratio: 179/31;
  }

  .framed-panel__title--point img {
    width: min(208px, 55.466vw);
    aspect-ratio: 208 / 64;
  }

  .framed-panel__title--benefit img {
    width: min(270px, 72vw);
    aspect-ratio: 270 / 57;
  }

  .framed-panel__title--step img {
    width: min(123px, 32.8vw);
    aspect-ratio: 123 / 53;
  }

  .framed-panel__title--step2 img {
    width: min(277px, 73.866vw);
    aspect-ratio: 277 / 105;
  }

  .about {
    margin-top: 60px;
  }

  .about-card__inner img {
    width: min(51.41vw, 213px);
    aspect-ratio: 192.78/52;
  }

  .flow {
    margin-top: 80px;
  }

  .flow__period {
    font-size: 16px;
  }

  .terms {
    margin: 80px auto 56px;
  }

  .about-card {
    padding: 20px 16px;
  }

  .about-card__title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .about-card__notice {
    font-size: 13px;
  }

  .about-card__plus {
    font-size: 18px;
    margin: 8px 0;
  }

  .about-card__links {
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
  }

  .app-links__item {
    display: none;
  }

  .app-links__item.is-show {
    display: block;
  }

  .benefit-inner__detail {
    padding-bottom: 24px;
  }

  .benefit-inner__links {
    padding-top: 24px;
  }

  .benefit-inner__links::after {
    width: calc(100% - 24px);
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .target-desc {
    padding: 32px 24px;
  }

  .flow-entry {
    flex-direction: column;
  }

  .flow-entry__card {
    width: 100%;
    font-size: 14px;
  }

  .flow-entry__title {
    font-size: 16px;
  }

  .flow-entry::after {
    transform: rotate(90deg);
  }

  .stepbox {
    margin-bottom: 16px;
  }

  .stepbox__head img {
    height: 23px;
    width: auto;
  }

  .stepbox__body {
    padding: 24px;
  }

  .stepbox__body a {
    font-size: 14px;
  }

  .terms__heading {
    font-size: 16px;
  }

  .terms__block {
    margin-top: 24px;
  }

  .terms__notice {
    margin-top: 32px;
  }

  .block-sticky {
    aspect-ratio: 25/6;
    min-height: 90px;
    max-height: 135px;
    height: max-content;
    padding: 0 24px;
  }

  .block-sticky-box-btn {
    width: calc(100% - 48px);
    max-width: 560px;
    margin: 0 auto;
  }

  .footerCustum {
    padding-bottom: 90px;
  }
}
