@charset "UTF-8";

/*
========================================
base
========================================
*/
body {
  font-family: "RakutenSansJP2", "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  color: #333;
  background-color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  font-feature-settings: "palt";
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  position: relative;
  container-type: inline-size;
  container-name: body;
}

a {
  &:active {
    opacity: 0.7;
    transition: 0.3s ease-in-out;
  }

  /* PC */
  @media (min-width: 768px) {
    &:hover {
      opacity: 0.7;
      transition: 0.3s ease-in-out;
    }
  }

  &.no-anime {

    &:active,
    &:hover {
      opacity: 1;
      transition: none;
    }
  }
}


img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: none;
}

table {
  border-spacing: 0;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after {
  content: "";
  content: none;
}

q::before,
q::after {
  content: "";
  content: none;
}

abbr[title] {
  text-decoration: none;
}

dfn {
  font-style: normal;
}

/*
========================================
SP/PCの出し分け
========================================
*/
.onlyPC {
  display: none !important;
}

.onlySP {
  display: block !important;
}

@media (min-width: 768px) {
  .onlyPC {
    display: block !important;
  }

  .onlySP {
    display: none !important;
  }

}

/* ========================
font
======================== */
.ff-serif {
  font-family: RakutenSerif;
}


/*
========================================
header
========================================
*/
/* SP */
.header {
  width: 100%;
  background-color: #fff;
  border-bottom: #002896 2px solid;
  margin: 0 auto;
}

.header__inner {
  position: relative;
  margin-inline: auto;
  width: 91.4666666667%;
  height: 58px;
  padding: 9px 0;
  text-align: center;
}

.header__link {
  display: inline-block;
}

.header__image {
  width: auto;
  height: 40px;
  margin: 0 auto;
}

.header__imageSP {
  display: none;
}

.header__logo .--pc {
  display: none;
}


/* PC */
@media (min-width: 768px) {
  .header__inner {
    margin-inline: auto;
    padding: 13px;
    max-width: 960px;
    text-align: left;
  }

  .header__logo {
    display: block;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
  }

  .header__image {
    margin: 0;
    width: auto;
    height: 32px;
  }
}


/*========================================
header | 楽天会員ならフリマも楽天！！
========================================*/

#header_external {
  .header__logo {
    position: absolute;
  }

  .header__logo:nth-child(1) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .header__logo:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .header__logo:nth-child(1) .header__image {
    width: auto;
    height: 40px;
  }

  .header__logo:nth-child(2) .header__image {
    width: 148px;
    height: auto;
  }
}

@media (max-width: 374px) {

  #header_external,
  #header_external_sp {
    .header__logo:nth-child(1) .header__image {
      width: auto;
      height: 35px;
    }

    .header__logo:nth-child(2) .header__image {
      width: 128px;
      height: auto;
    }
  }
}

@media (min-width: 768px) {

  #header_external {
    .header__logo:nth-child(1) {
      left: 13px;
    }

    .header__logo:nth-child(1) .header__image {
      width: auto;
      height: 24px;
    }

    .header__logo:nth-child(2) .header__image {
      width: 280px;
      height: auto;
    }
  }
}

@media (min-width: 1024px) {

  #header_external {
    .header__logo:nth-child(1) .header__image {
      width: auto;
      height: 32px;
    }

    .header__logo:nth-child(2) .header__image {
      width: 374px;
      height: auto;
    }

  }
}

/*========================================
header | SPのみ
========================================*/
@container body (max-width: 429px) {
  .header__imageSP {
    display: block;
    height: 40px;
  }

  .header__inner {
    padding: 9px;
    text-align: center;
    width: 100%;
  }

  .header__logo .--has-pc {
    display: none;
  }

  #header_external {
    .header__logo:nth-child(1) {
      left: 13px;
    }
  }
}

/* ========================
duration
======================== */
.duration {
  padding: 24px 0;
}

.durationInner {
  margin: 0 auto;
  width: calc(375 / 390 * 100%);
}

.duration__text {
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;

  +.duration__text {
    margin-top: 8px;
  }
}

@media (max-width: 389px) {
  .duration__text {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .duration {
    padding: 36px 0;
  }

  .duration__text {
    font-size: 24px;

    +.duration__text {
      font-size: 20px;
      margin-top: 10px;
    }
  }
}

/* ========================
.duration SPのみ
======================== */
@container body (max-width: 429px) {
  .duration {
    padding: 24px 0;
  }

  .duration__text {
    font-size: 14px;

    +.duration__text {
      font-size: 14px;
      margin-top: 8px;
    }
  }
}

/* ========================
application
======================== */
.application__box {
  max-width: 600px;
  margin: 0 auto;
  padding: 12px 0;
  background-color: #ffffff;
  border-radius: 10px;
  border: 2px solid #002896;
}

.applicationInner {
  margin: 0 auto;
  width: calc(360 / 390 * 100%);
}

.application__boxInner {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "application__image-rakuma application__title"
    "application__linkBox application__linkBox";
  margin: 0 auto;
  column-gap: 12px;
  width: 240px;
}

.application__image-rakuma {
  grid-area: application__image-rakuma;
}

.application__title {
  grid-area: application__title;
}

.application__linkBox {
  grid-area: application__linkBox;
}

.application__title {
  text-align: center;
  color: #002896;
  font-weight: 600;
  font-size: 20px;
}

.application__linkBox.onlySP {
  display: flex !important;
  margin-top: 12px;
  column-gap: 12px;
}

@media (min-width: 768px) {
  .application__box {
    max-width: 796px;
    margin: 0 auto;
    padding: 24px 0;
    background-color: #ffffff;
    border-radius: 6px;
    border: 2px solid #002896;
  }

  .applicationInner {
    margin: 36px auto;
  }

  .application__boxInner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "application__title application__title"
      "application__image-rakuma application__image-qr"
      "rkm-button rkm-button";
    margin: 0 auto;
    column-gap: 24px;
    /* width: 632px; */
  }

  .application__image-rakuma {
    grid-area: application__image-rakuma;
  }

  .application__title {
    grid-area: application__title;
  }

  .application__linkBox {
    grid-area: application__linkBox;
  }

  .application__image-qr {
    grid-area: application__image-qr;
  }

  .application .rkm-button {
    grid-area: rkm-button;
  }

  .application__title {
    font-size: 24px;
  }

  .application__image-rakuma {
    margin-top: 24px;
    margin-left: auto;
    width: 100px;
  }

  .application__image-qr {
    margin-top: 24px;
    width: 100px;
  }

  .application__linkBox {
    display: flex;
    margin-top: 16px;
    column-gap: 8px;
  }

  .application__linkBox.onlySP {
    display: none !important;
  }

  #application .rkm-button {
    font-size: 28px;
  }
}

.application .rkm-button {
  margin: 0 auto;
  width: 100%;
  max-width: 360px;
  height: 60px;
  background-color: #ec0606;
  border-radius: 100vh;
  font-weight: 600;
  font-size: 20px;
}

.application .rkm-button__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  width: 100%;
  height: 100%;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  transition: .3s ease;
}

.application .rkm-button__link:hover {
  text-decoration: none;
  opacity: .8;
  transition: .3s ease;
}

.application .rkm-button__link::after {
  content: none;
}

@media (min-width: 768px) {
  .application .rkm-button {
    margin-top: 24px;
    width: 468px;
    max-width: 632px;
    height: 80px;
    font-size: 28px;
  }

  .application .rkm-button__link {
    padding: 0 36px;
  }
}

@container(min-width:768px) {
  .application__boxInner {
    width: 632px;
    max-width: 632px;
  }
}


/* ========================
.application SPのみ
======================== */
@container body (max-width: 429px) {
  .application__box {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 0;
    background-color: #ffffff;
    /* border-radius: 6px; */
    border: 2px solid #002896;
  }

  .applicationInner {
    margin: 36px auto;
  }

  .application__title {
    font-size: 20px;
  }

  .application__image-rakuma {
    grid-area: application__image-rakuma;
  }


  .application__linkBox {
    grid-area: application__linkBox;
  }

  .application__image-qr {
    grid-area: application__image-qr;
  }

  .rkm-button {
    grid-area: rkm-button;
  }


  .application__image-rakuma {
    /* margin-top: 24px; */
    margin-left: auto;
    width: 75px;
  }

  .application__image-qr {
    margin-top: 24px;
    width: 75px;
  }

  .application .rkm-button__link {
    padding: 0 24px;

  }

  .application__linkBox {
    display: flex;
    margin-top: 16px;
    column-gap: 8px;
  }

  .application .rkm-button {
    margin-top: 24px;
    font-size: 20px;
    width: calc(360 / 390 * 100%);
    max-width: 360px;
    height: 60px;
  }
}

@media screen and (min-width: 768px) {
  @container body (max-width: 429px) {
    .application__boxInner {
      width: 100%;
    }
  }
}



/* ========================
sns
======================== */
.sns__inner {
  margin: 36px auto;
  text-align: center;
  width: calc(360 / 390 * 100%);
  max-width: 600px;
  padding: 12px 0;
  background-color: #ffffff;
  border-radius: 10px;
  border: 2px solid #002896;
}

.sns__head {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #002896;
}

.sns__link {
  display: block;
  transition: 0.3s ease;
}

.sns__link:hover {
  opacity: 0.7;
  transition: 0.3s ease;
}

.sns__image {
  width: 56px;
}

.sns__imageWrapper {
  display: grid;
  grid-template-columns: repeat(2,
      1fr);
  gap: 32px;
  margin: 0 auto;
  max-width: 145px;
}

@media screen and (min-width: 768px) {
  .sns {
    margin-bottom: 45px;
  }

  .sns__inner {
    margin: 45px auto;
    padding: 24px 0;
    border-radius: 6px;
    max-width: 796px;
  }

  .sns__head {
    font-size: 24px;
  }

  .sns__image {
    width: 101px;
  }

  .sns__imageWrapper {
    max-width: 242px;
  }
}

/* ========================
.sns SPのみ
======================== */
@media screen and (min-width: 768px) {

  @container body (max-width: 429px) {
    .sns__head {
      font-size: 20px;

    }

    .sns__inner {
      padding: 12px 0;
    }

    .sns__imageWrapper {
      max-width: 145px;
    }

    .sns__image {
      width: 56px;
    }

  }

}

/* ========================
.button .rkm-button
======================== */
.button .rkm-button {
  position: relative;
  margin: 0 auto 24px;
  padding: 0 16px;
  font-weight: 600;
  width: calc(360/390 *100%);

  background-color: #ec0606;
  border-radius: 50px;
  max-width: 460px;

}

.button .rkm-button__link {
  display: block;
  font-size: 20px;
  font-weight: 600;
  padding: 20px 0;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
}

.button .rkm-button__link:hover {
  text-decoration: none;
  opacity: 0.8;
}

@media screen and (min-width: 768px) {
  .button .rkm-button {
    width: 460px;
  }

  .button .rkm-button__link {
    padding: 26px;
    font-size: 28px;
  }
}

/* ========================
.button .rkm-button SPのみ
======================== */
@media screen and (min-width: 768px) {

  @container body (max-width: 429px) {
    .button .rkm-button {
      max-width: calc(360/390 *100%);
    }

    .button .rkm-button__link {
      padding: 20px;
      font-size: 20px;
    }
  }

}


/* ========================
note
======================== */
.noteList {
  margin: 0 auto;
}

.noteItem {
  position: relative;
  padding-left: 10px;
  text-align: left;
  color: #717171;
  font-size: 10px;
  line-height: 130%;
}

.noteItem::before {
  position: absolute;
  content: "※";
  top: 0;
  left: 0;
}

.noteItem>ul li {
  position: relative;
  padding-left: 1.2rem;
}

.noteItem>ul li::before {
  position: absolute;
  content: "・";
  top: 0;
  left: 10px;
}

.noteItem:nth-of-type(n + 2) {
  margin-top: 4px;
}

.noteItem .overview__text {
  margin-top: 4px;
}

.subNoteList {
  margin-top: 4px;
  line-height: 130%;
}

.subNoteList .overview__subList {
  margin-top: 4px;
  padding-left: 10px;
}

.subNoteList .overview__subListItem {
  padding-left: 20px;
}

@media (min-width: 768px) {
  .noteItem .overview__text {
    margin-top: 6px;
  }

  .noteItem {
    padding-left: 12px;
    font-size: 12px;
  }

  .subNoteList .overview__subListItem {
    padding-left: 24px;
  }
}

/*========================================
overview
========================================*/
.overview a,
.note a {
  color: #0783C2;
  text-decoration: underline;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.overview {
  padding-top: 55px;
}

.overview a {
  color: #0783C2;
  text-decoration: underline;
}

.overviewInner {
  margin: 0 auto;
  width: calc(360 / 390 * 100%);
  max-width: 960px;
}

.overviewHead {
  text-align: center;
  color: #002896;
  font-weight: 600;
  font-size: 20px;
}

.overview__list {
  margin: 0 calc(-15 / 390 * 100%);
}

.overview__listItem {
  margin-top: 24px;
}

.overview__dt {
  display: flex;
  align-items: center;
  padding-left: 12px;
  height: 36px;
  background-color: #ebebeb;
  font-weight: 600;
  font-size: 16px;
}

.overview__dd {
  margin-top: 12px;
  padding: 0 12px;
  font-size: 14px;
}

.overview__textBox {
  padding-left: 14px;
}

.overview__text {
  margin-top: 8px;
}

.overview__textBold {
  margin-top: 8px;
  font-weight: 600;
}

.overview__textBold.--head {
  position: relative;
  margin-top: 16px;
  padding-left: 1rem;
  font-size: 16px;
}

.overview__textBold.--head::before {
  position: absolute;
  content: "■";
  top: 0;
  left: 0;
  font-weight: 400;
}

.overview__subText {
  margin-top: 8px;
  padding-left: 28px;
}

.overview__subList {
  margin-top: 8px;
  counter-reset: list-counter;
}

.overview__subListItem {
  position: relative;
  padding-left: 20px;
  counter-increment: list-counter;
}

.overview__subListItem:nth-of-type(n + 2) {
  margin-top: 4px;
}

.overview__subListItem:before {
  position: absolute;
  content: "[" counter(list-counter) "] ";
  left: 0;
}

.overview .noteList {
  margin-top: 8px;
  padding: 0;
  max-width: 100%;
}

.subNoteItem {
  position: relative;
  padding-left: 14px;
  color: #717171;
  font-size: 10px;
}

.subNoteItem::before {
  position: absolute;
  top: 0;
  left: 6px;
  content: "・";
}

.subNoteItem:nth-of-type(n + 2) {
  margin-top: 4px;
}

.subNoteItem .overview__text {
  margin-top: 4px;
}

.overview__id {
  font-size: 14px;
}

@media (min-width: 768px) {
  .overview {
    padding-top: 75px;
  }

  .overviewHead {
    font-size: 28px;
  }

  .overview__list {
    margin: 0 auto;
  }

  .overview__listItem {
    margin-top: 36px;
  }

  .overview__dt {
    padding-left: 16px;
    height: 48px;
    font-size: 24px;
  }

  .overview__dd {
    margin-top: 18px;
    font-size: 16px;
  }

  .overview__text {
    margin-top: 12px;
  }

  .overview__subText {
    margin-top: 12px;
    padding-left: 32px;
  }

  .overview .noteList {
    margin-top: 12px;
    margin-inline: 0;
  }

  .overview__subList {
    margin-top: 12px;
  }

  .overview__subListItem {
    font-size: 16px;
    padding-left: 27px;
  }

  .subNoteList .overview__subListItem {
    font-size: 12px;
  }

  .subNoteItem {
    padding-left: 12px;
    font-size: 12px;
  }

  .subNoteItem::before {
    left: 3px;
  }

  .overview__id {
    font-size: 16px;
  }

  .overview__textBold.--head {
    padding-left: 1.5rem;
    font-size: 18px;
  }
}

/*========================================
note
========================================*/
.note {
  padding-top: 45px;
  padding-bottom: 50px;
}

.note a {
  color: #0783C2;
  text-decoration: underline;
}

.noteInner {
  margin: 0 auto;
  width: calc(360 / 390 * 100%);
  max-width: 960px;
}

.noteHead {
  padding-bottom: 24px;
  text-align: center;
  color: #002896;
  font-weight: 600;
  font-size: 20px;
}

.note__listItem {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
}

.note__listItem:nth-of-type(n + 2) {
  margin-top: 8px;
}

.note__listItem::before {
  position: absolute;
  content: "・";
  left: 0;
}

.note__subList {
  margin-top: 8px;
}

.note__subListItem {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
}

.note__subListItem:nth-of-type(n + 2) {
  margin-top: 6px;
}

.note__subListItem::before {
  content: "・";
  position: absolute;
  left: 0;
}

.noteBorderhead {
  position: relative;
  margin-top: 6px;
  padding-left: 0.5rem;
}

.noteBorderhead.--is-second {
  padding-left: 1rem;
}

.noteBorderhead::before {
  position: absolute;
  content: "-";
  top: 5px;
  left: 0;
  transform: translateY(-50%);
  color: #717171;
}

.noteBorderhead.--is-second::before {
  left: 0.5rem;
}

@media (min-width: 768px) {
  .note {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .noteHead {
    font-size: 28px;
  }

  .note__list {
    margin-top: 12px;
  }

  .note__listItem {
    padding-left: 16px;
    font-size: 16px;
  }

  .note__listItem:nth-of-type(n + 2) {
    margin-top: 12px;
  }

  .note__subList {
    margin-top: 12px;
  }

  .note__subListItem {
    font-size: 16px;
  }

  .note__subListItem:nth-of-type(n + 2) {
    margin-top: 8px;
  }

  .noteBorderhead {
    margin-top: 6px;
  }

  .noteBorderhead::before {
    top: 7px;
  }
}


/* ========================
overview,note SPのみ
======================== */
@media screen and (min-width: 768px) {

  @container body (max-width: 429px) {
    .overview {
      padding-top: 45px;
    }

    .note {
      padding-top: 45px;
      padding-bottom: 50px;
    }

    .overviewInner {
      width: 100%;
    }

    .overviewHead,
    .noteHead {
      font-size: 20px;
    }

    .overview__dt {
      font-size: 16px;
      height: 36px;
    }

    .overview__listItem {
      margin-top: 24px;
    }

    .overview__subListItem,
    .overview__text,
    .note__listItem,
    .note__subListItem {
      font-size: 14px;
    }

    .note__listItem:nth-of-type(n + 2) {
      margin-top: 8px;
    }

    .sns__image {
      width: 56px;
    }

  }

}


/*
========================================
footer
========================================
*/
/* SP */
.footer {
  margin-top: 0;
  padding: 32px 0;
  text-align: center;
}

.footer__link {
  display: inline-block;

  html.app & {
    pointer-events: none;
  }
}


.footer__image {
  width: auto;
  height: 29px;
  margin: 0 auto;
}

.footer__copyright {
  color: #999999;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

/*
========================================
noticebox > お詫び文など
========================================
*/
.noticebox {
  width: 80%;
  margin: 12px auto 0;
  padding: 8px 8px;
  text-align: left;
  border: solid 1px #bf0000;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .noticebox {
    max-width: 600px;
    margin: 18px auto 0;
    padding: 12px 24px;
  }
}

/* ========================
web-app 出しわけ
======================== */

html.web .only-app {
  display: none !important;
}

html.app .only-web {
  display: none !important;
}


/*
========================================
JS | scroll top
========================================
*/
/* SP */
.rc-toTop {
  cursor: pointer;
  z-index: 100;
  position: fixed;
  bottom: 175px;
  right: 24px;
  width: 52px;
  height: 52px;
}

.rc-toTop:hover {
  filter: contrast(0.86);
}

.rc-toTop:after {
  background-image: url(https://rakuma.rakuten.co.jp/info/campaign/common/img/ui-chevron-up-white.svg);
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
}

@media (max-width: 767px) {
  .rc-toTop {
    cursor: pointer;
    z-index: 100;
    position: fixed;
    bottom: 120px;
    right: 5px;
    width: 52px;
    height: 52px;
  }
}

/*
========================================
js 依存 page load
========================================
*/
body {
  &::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: all 0.5s ease-in-out;
    background-color: #ffffff;
    z-index: 9999;
    will-change: opacity, transform;
  }

  &.loaded {
    &::after {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
  }
}

img[loading="lazy"] {
  opacity: 1;
  transition: opacity .5s ease-in-out;
  will-change: opacity;
}

img[loading="lazy"].lazyfade {
  opacity: 0;
}