@charset "UTF-8";

@media screen and (min-width: 768px) {
  /* common */
  .main .text,
  .main .list-dot__list,
  .main .table,
  .main .button-account,
  .main .button-primary {
    font-size: 18px;
  }
  
  .main .note-order__list,
  .main .note-text {
    font-size: 16px;
  }
  .main .button-account-caption,
  .main .button-primary-caption {
    font-size: 15px;
  }
  
  /* mv */
  #mv {
    padding: 0 50px;
    min-width: 1024px;
    max-width: 1400px;
    margin: auto;
    box-sizing: border-box;
  }
  #mv img {
    width: 100%;
  }
  #mv .note-text {
    padding-left: 30px;
    font-size: 30px;
  }
  
  /*detail*/
  .detail .heading_table {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    text-align: center;
  }
  .detail .table.present_detail {
    width: 350px;
    margin: auto;
  }
  .detail em {
    display: inline-block;
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: bold;
    font-size: 22px;
    font-style: normal;
    color: #fff;
    background-color: #e60000;
    position: relative;
  }
  .detail em::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 10px transparent;
    border-top-color: #e60000; 
    bottom: -18px;
    left: 45px;
    transform: translateX(-50%);
  }
  .detail .text-message {
    text-align: inherit;
  }
  .detail .text-message.tool_tip {
    display: inline-flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .detail .u-red {
    display: contents;
  }
  .detail .table.number_requirement {
    width: 700px;
    margin: auto;
  }
  
  /*step*/
  .step .ly-smp-full__block {
    margin-top: 0;
  }
  
  .step .box-login-entrance__box {
    width: 350px
  }
  .step .button-account,
  .step .button-primary {
    max-width: 350px;
    height: 77px;
  }
  .step .button-primary {
    padding: 18px 30px 10px 20px;
  }
  .step .button-primary__text {
    line-height: 1.2;
  }
}

@media screen and (max-width: 48em) {
  /* mv */
  #mv img {
    width: 100%;
  }
  #mv .note-text {
  padding-left: 2rem;
    font-size: 2rem;
  }
  /*detail*/
  .detail .heading_table {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
  }
  .detail em {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
    font-weight: bold;
    font-size: 1.8rem;
    font-style: normal;
    color: #fff;
    background-color: #e60000;
    position: relative;
  }
  .detail em::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 10px transparent;
    border-top-color: #e60000; 
    bottom: -2rem;
    left: 4.2rem;
    transform: translateX(-50%);
  }
  .detail .text-message.tool_tip {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }
  .detail .u-red {
    display: contents;
  }

  /*step*/
  .step .ly-smp-full__block {
    margin-top: 0;
  }
  .step .button-primary {
    padding: 1.6rem 3rem 1rem 2rem;
  }
  .step .button-primary__text {
    line-height: 1.2;
  }
}