@charset "UTF-8";

/*
========================================
header
========================================
*/
/* SP */
.header {
  width: 100%;
  background-color: #fff;
  border-bottom: #002896 2px solid;
  margin: 0 auto;
}
.header__inner {
  width: 100%;
  height: 58px;
  padding: 9px 0;
  text-align: center;
}
.header__image {
  width: auto;
  height: 40px;
  margin: 0 auto;
}
/* PC */
@media (min-width: 768px) {
  .header__inner {
    padding: 13px;
  }
  .header__logo {
    display: block;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
  }
  .header__image {
    margin: 0;
    width: auto;
    height: 32px;
  }
}

/*
========================================
langNav
========================================
*/
.langNav {
  html.app & {
    display: none;
  }
  .langNav__inner {
    padding: 12px 0;
    text-align: right;
    position: relative;
    z-index: 2;
  }
  .langNav__toggle {
    width: fit-content;
    position: relative;
    font-size: 14px;
    padding-right: 18px;
    &::before {
      content: "";
      display: block;
      width: 16px;
      height: 16px;
      position: absolute;
      top: 0;
      bottom: 0;
      left: -18px;
      margin: auto;
      background-image: url(../img/ico-lang.png);
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
    }
    &::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      right: 2px;
      margin: auto;
      width: 8px;
      height: 8px;
      box-sizing: border-box;
      border-bottom: 1px solid #333;
      border-right: 1px solid #333;
      transform: rotate(45deg);
      transition: transform 0.5s, top 0.3s;
      will-change: transform;
      z-index: 0;
    }
    &.--open {
      &::after {
        transform:translateY(4px) rotate(-135deg);
      }
    }
  }
  .langNav__list {
    display: none;
    width: 200px;
    background-color: #fff;
    padding: 16px;
    text-align: left;
    position: absolute;
    right: 0px;
    top: 46px;
    border-radius: 10px;
    box-shadow: 0px 2px 2px 2px rgba(0,0,0,.15);
  }
  .langNav__title {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 0 0 8px 0;
    color: #333;
    position: relative;
    &::after {
      content: "";
      display: block;
      width: 16px;
      height: 16px;
      position: absolute;
      top: 0;
      bottom: 0;
      right: 4px;
      margin: auto 0;
      background-image: url(../img/ico-close.png);
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
    }
  }
  .langNav__listWrapper {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
    > ul {
      display: contents;
    }
  }
  .langNav__listItem {
    padding-left: 0;
  }
  .langNav__listItemBtn {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    &.--selected {
      color: #bf0000;
      position: relative;
      &::after {
        content: "";
        display: block;
        width: 21px;
        height: 16px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0px;
        margin: auto;
        background-image: url(../img/ico-checked.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
      }
    }
    &:hover,
    &:active {
      /* opacity: 0.3; */
      text-decoration: underline;
    }
  }
}

/*
========================================
notice
========================================
*/
.notice {
  html[lang="ja"] & {
    display: none;
  }
  .notice__inner {
    background-color: #F3F6FF;
    /* padding: 0px 20px; */
    margin-bottom: 20px;
  }
  .notice__toggleBtn {
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    padding: 20px 46px 20px 20px;
    position: relative;
    &::before {
      content: "";
      display: block;
      width: 12px;
      height: 1px;
      background-color: #333;
      position: absolute;
      top: 0;
      bottom: 0;
      right: 20px;
      margin: auto;
    }
    &::after {
      content: "";
      display: block;
      width: 12px;
      height: 1px;
      background-color: #333;
      position: absolute;
      top: 0;
      bottom: 0;
      right: 20px;
      margin: auto;
      transform: rotate(-90deg);
      transition: transform 0.3s ease;
      will-change: transition;
    }
    &.--open::after {
      transform: rotate(0deg);
    }
  }
  .notice__text {
    font-size: 12px;
    padding: 0px 20px 20px 20px;
    display: none;
  }
  /* PC */
  @media (min-width: 768px) {
    .notice__inner {
      margin-bottom: 30px;
    }
    .notice__toggleBtn {
      font-size: 14px;
    }
    .notice__text {
      font-size: 14px;
    }
  }
}

/*
========================================
popup
========================================
*/
.popup {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 16px;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  will-change: opacity;
  &.--show {
    opacity: 1;
    pointer-events: auto;
  }
  .popup__inner {
    width: calc(358 / 390 * 100%);
    max-width: 460px;
    margin-inline: auto;
    padding: 32px 24px 16px 24px;
    background-color: #fff;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 16px;
    position: relative;
    box-shadow: 0px 2px 2px 2px rgba(0,0,0,.15);
  }
  .popup__title {
    font-size: 14px;
    letter-spacing: 0.03em;
    color: #333;
    font-weight: 600;
  }
  .popup__text {
    font-size: 12px;
    line-height: 1.5;
  }
  .popup__guide {
    font-size: 12px;
    letter-spacing: 0.03em;
    color: #134FF3;
    width: fit-content;
    position: relative;
    &::after {
      content: "";
      display: block;
      width: 14px;
      height: 12px;
      position: absolute;
      top: 0;
      bottom: 0;
      right: -16px;
      margin: auto;
      background-image: url(../img/ico-blank.png);
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
    }
  }
  .popup__copyright {
    font-size: 10px;
    text-align: right;
    letter-spacing: 0.01em;
    color: #666;
  }
  .popup__close {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 16px 16px 10px 10px;
    width: 40px;
    height: 40px;
  }

    /* PC */
  @media (min-width: 768px) {
    left: unset;
    right: 16px;
    top: 16px;
    bottom: unset;
    margin: unset;
    .popup__inner {
      width: 100%;
      max-width: 540px;
      border-radius: 12px;
    }
    .popup__title {
      font-size: 16px;
    }
    .popup__text {
      font-size: 14px;
    }
    .popup__guide {
      font-size: 14px;
    }
    .popup__close {
      padding: 16px;
      width: 50px;
      height: 50px;
    }
  }
}


/*
========================================
popup
========================================
*/
.init-popup {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 16px;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  will-change: opacity;
  &.--show {
    opacity: 1;
    pointer-events: auto;
  }
  .init-popup__inner {
    width: calc(358 / 390 * 100%);
    max-width: 460px;
    margin-inline: auto;
    padding: 32px 24px 16px 24px;
    background-color: #fff;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 16px;
    position: relative;
    box-shadow: 0px 2px 2px 2px rgba(0,0,0,.15);
  }
  .init-popup__title {
    font-size: 14px;
    letter-spacing: 0.03em;
    color: #333;
    font-weight: 600;
  }
  .init-popup__cautionText {
    font-size: 14px;
    width: fit-content;
    letter-spacing: 0.03em;
    padding: 4px 12px 4px 32px;
    border-radius: 12px;
    color: #A35E04;
    background-color: #FEF0DD;
    position: relative;
    &::after {
      content: "!";
      color: #fff;
      position: absolute;
      font-size: 10px;
      top: 0;
      bottom: 0;
      margin: auto;
      left: 12px;
      z-index: 2;
      display: block;
      width: 16px;
      height: 16px;
      text-align: center;
    }
    &::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      margin: auto;
      left: 12px;
      z-index: 1;
      display: block;
      width: 16px;
      height: 16px;
      background-color: #A35E04;
      clip-path: polygon(0 100%, 50% 0, 100% 100%);
    }
  }
  .init-popup__langWrapper {
    display: grid;
    grid-template-columns: 60% auto;
    column-gap: 16px;
  }
  .init-popup__langSelect {
    position: relative;
  }
  .init-popup__listWrapper {
    display: none;
    position: absolute;
    left: 28px;
    top: calc(100% + 8px);
    padding: 12px;
    background-color: #fff;
    width: calc(100% - 28px);
    border-radius: 10px;
    box-shadow: 0px 2px 2px 2px rgba(0, 0, 0, .15);
    z-index: 10;
  }
  .init-popup__listItem {
    padding: 4px 12px;
  }
  .init-popup__listItemBtn {
    color: #333;
    text-decoration: none;
    width: 100%;
    display: block;
    font-size: 14px;
    &.--selected {
      color: #bf0000;
      position: relative;
      &::after {
        content: "";
        display: block;
        width: 21px;
        height: 16px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0px;
        margin: auto;
        background-image: url(../img/ico-checked.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
      }
    }
  }
  .init-popup__toggle {
    border: 1px solid #333;
    width: 100%;
    line-height: 1;
    font-size: 14px;
    font-weight: 400;
    padding: 16px 24px 16px 48px;
    border-radius: 12px;
    position: relative;
    &::before {
      content: "";
      display: block;
      width: 20px;
      height: 20px;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 20px;
      margin: auto;
      background-image: url(../img/ico-lang.png);
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
    }
    &::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      right: 20px;
      margin: auto;
      width: 10px;
      height: 10px;
      box-sizing: border-box;
      border-bottom: 1px solid #333;
      border-right: 1px solid #333;
      transform: rotate(45deg);
      transition: transform 0.5s, top 0.3s;
      will-change: transform;
      z-index: 0;
    }
    &.--open::after {
      transform: translateY(4px) rotate(-135deg);
    }
  }


  .init-popup__langSelectBtnBox {
    display: grid;
    align-items: center;
  }
  .init-popup__langSelectBtn {
    background-color: #ec0606;
    color: #ffffff;
    width: 100%;
    text-align: center;
    line-height: 1;
    font-size: 14px;
    font-weight: 400;
    padding: 16px 0;
    border-radius: 12px;
  }
  .init-popup__text {
    font-size: 12px;
    line-height: 1.5;
  }
  .init-popup__guide {
    font-size: 12px;
    letter-spacing: 0.03em;
    color: #134FF3;
    width: fit-content;
    position: relative;
    &::after {
      content: "";
      display: block;
      width: 14px;
      height: 12px;
      position: absolute;
      top: 0;
      bottom: 0;
      right: -16px;
      margin: auto;
      background-image: url(../img/ico-blank.png);
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
    }
  }
  .init-popup__copyright {
    font-size: 10px;
    text-align: right;
    letter-spacing: 0.01em;
    color: #666;
  }
  .init-popup__close {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 16px 16px 10px 10px;
    width: 40px;
    height: 40px;
  }

    /* PC */
  @media (min-width: 768px) {
    left: unset;
    right: 16px;
    top: 16px;
    bottom: unset;
    margin: unset;
    .init-popup__inner {
      width: 100%;
      max-width: 540px;
      border-radius: 12px;
    }
    .init-popup__title {
      font-size: 16px;
    }
    .init-popup__text {
      font-size: 14px;
    }
    .init-popup__guide {
      font-size: 14px;
    }
    .init-popup__close {
      padding: 16px;
      width: 50px;
      height: 50px;
    }
  }
}

/*
========================================
footer
========================================
*/
/* SP */
.footer {
  padding: 32px 0;
}
.footer__image {
  width: auto;
  height: 29px;
  margin: 0 auto;
}
.footer__copyright {
  color: #999999;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

/*
========================================
rat-click-btn
========================================
*/
#setRatButton {
  width: 0px;
  height: 0px;
  padding: 0px;
  margin: 0px;
}


/*
========================================
policy / terms lists (ラクマ最強鑑定利用規約)
========================================
*/
ol.decimal {
  padding-left: 1.5em;
}
ol.decimal li {
  list-style-type: decimal;
  margin: 0;
  padding: 0;
}
ol.decimal .inner-bullet {
  border: 1px solid #000;
  padding: 10px 10px 10px 2em;
  margin: 10px 0;
}
ol.decimal .inner-bullet li {
  list-style-type: disc;
}
ol.decimal .inner-bullet li.--lsNone {
  list-style-type: "";
}

.inner-bullet .inner-bullet__child {
  padding-left: 2em;
}

ol.decimal .inner-bullet .inner-bullet__child li {
  list-style-type: square;
}

.inner-bullet b {
  font-weight: 700;
}

ol.decimal .order-nostyle li {
  list-style-type: none;
  position: relative;
}

ol.decimal .order-nostyle li:first-child::before {
  content: '(1)';
  position: absolute;
  top: 0;
  left: -1.5em;
}

ol.decimal .order-nostyle li:last-child::before {
  content: '(2)';
  position: absolute;
  top: 0;
  left: -1.5em;
}

.order-nostyle {
  padding-left: 1.5em;
}

.overview__noteListItem.--listStyle-none {
  list-style-type: none;
  padding-left: 1.5em;
}
