@charset "utf-8";
.wrapper{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center; 
}
.element{
    margin: 10px;
}
.plan_wrapper{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
.plan_wrapper .element{
    margin: 0;
}

.ECM_RadioInput {
    padding: 12px 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 200px;

    }
    .ECM_RadioInput:hover {
    background: rgba(0,0,0,0.05);
    }
    .ECM_RadioInput-Input {
    opacity: 0;
    width: 0;
    margin: 0;
    }
    .ECM_RadioInput-Input:focus + .ECM_RadioInput-DummyInput {
    border: solid 2px #333333;
    background: #EEEEEE;
    }
    .ECM_RadioInput-Input:checked + .ECM_RadioInput-DummyInput {
    border: solid 2px #333333;
    }
    .ECM_RadioInput-Input:checked + .ECM_RadioInput-DummyInput::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333333;
    }
    .ECM_RadioInput-DummyInput {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: solid 2px #888;
    }
    .ECM_RadioInput-LabelText {
    margin-left: 12px;
    display: block;
    font-size: 18px;
    font-weight: bold;
    }

body{
    background-color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
    text-align: justify;
    text-justify: inter-ideograph;
}
img{
    display: block;
    margin: 0 auto 25px;
}
.text_red{
    color: #FF0000;
}
.text_bold{
    font-weight: 700;
}
.text_center{
    text-align: center;
}
.text_size14{
    font-size: 14px;
}
.text_size18{
    font-size: 18px;
}
.text_size21{
    font-size: 21px;
}
.text_size21{
    font-size: 21px;
}
.text_size25{
    font-size: 25px;
}
.mb20{
    margin-bottom: 20px;
}
.mb50{
    margin-bottom: 50px;
}
.ls08{
    letter-spacing: 0.8px;
}
.ls1{
    letter-spacing: 1px;
}

#container {
    width: 375px;
    margin: 0 auto;
}
.thankyou_message{
    background-color: #F4F4F4;
    padding: 20px;
}
.monthly_payments_application_complete{
    background-color: #fff;
    padding: 20px;
    font-size: 14px;
    line-height: 2em;
    margin: 0 0 40px;
}
.thankyou_message h1{
    border-top: solid 2px #FF9C00;
    text-align: center;
    font-weight: 700;
    font-size: 21px;
    color: #FF9C00;
    padding: 20px;
}
.attention{
    text-align: center;
    background-color: #fff;
    border: 1px solid #ff0000;
    line-height: 25px;
    padding: 4px;
    margin: 20px 0;
}
.current_plan{
    text-align: center;
    background-color: #fff;
    padding: 16px;
    margin: 20px 0 30px;
    font-size: 18px;
}
.last_arrow{
    margin: 0 0 40px;
    text-align: center;
}
.adding_discount {
    background: -moz-linear-gradient(to top, #FFD000, #FFC30B 30%, #FFB219 60%, #FFAD1F);
    background: -webkit-linear-gradient(to top, #FFD000, #FFC30B 30%, #FFB219 60%, #FFAD1F);
    background: linear-gradient(to top, #FFD000, #FFC30B 30%, #FFB219 60%, #FFAD1F);
    position: relative;
    overflow: hidden;
    height: 170px;
    color: #fff;
    font-size: 21px;
    padding: 24px;
    line-height: 31px;
}
.adding_discount::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 50px solid #fff;  /* 三角を白にする */ 
    border-right: 187px solid transparent;
}
.adding_discount::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom: 50px solid #fff;  /* 三角を白にする */ 
    border-left: 187px solid transparent;
  }
.application_form{
    margin: 30px 0 60px;
}
.price_table{
    border: 1px solid #DFDFDF;
    margin: 20px auto;
    width: 100%;
    padding: 20px;
}
.price_table table{
    width: 100%;
}
.price_table tr{
    padding: 3px 0;
    line-height: 2em;
}
.price_table th{
    font-weight: 100;
    padding-left:10px;
}
.price_table td{
    text-align: right;
    padding-right:10px;
}
.bdt{
    border-top: 1px solid #DFDFDF;
}
.of{
    width: 100%;
    margin: 0 auto;
}
.of p{
    line-height: 21px;
}
.of input[type="text"]{
    border: 1px solid #DFDFDF;
    padding: 6px 20px;
    width: 100%;
    margin: 10px 0;
}
.btn_wrapper{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
::placeholder {
    color: #dcdcdc;
    font-size: 16px;
  }
  /* 旧Edge対応 */
  ::-ms-input-placeholder {
    color: #dcdcdc;
    font-size: 16px;

  }
  /* IE対応 */
  :-ms-input-placeholder {
    color: #dcdcdc;
    font-size: 16px;
  }
  .enquete{
    cursor: pointer;
    background-color: #ddd;
    width: 50%;
    margin: 0 auto;
    text-align: center;
    padding: 20px 10px;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}
.of input[type="button"]{
    cursor: pointer;
    background-color: #3399FF;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-weight: 700;
    width: 50%;
    font-size: 20px;
    padding: 20px 10px;
  }
  .wrapper img {
    max-width:100%;
    width: 100%;
}
@media screen and (min-width:768px) {
    #container {
        width: 750px;
        margin: 0 auto;
    }
    .adding_discount::before {
        border-bottom: 50px solid #fff;  /* 三角を白にする */ 
        border-right: 375px solid transparent;
    }
    .adding_discount::after {
        border-bottom: 50px solid #fff;  /* 三角を白にする */ 
        border-left: 375px solid transparent;
      }
      .of input[type="button"]{
        width: 335px;
        padding: 20px;
        font-size: 24px;
        letter-spacing: 2px;
    }
    .enquete{
        width: 335px;
        padding: 20px;
        font-size: 24px;
        letter-spacing: 2px;
    }
}