@media screen and (max-width:767px) {
  .sp {
    display: block !important;
  }

  .pc {
    display: none !important;
  }

  img {
    max-width: 100%;
    vertical-align: bottom;
  }

  a {
    text-decoration: none;
    display: block;
    color: #fff;
  }

  * {
    margin: 0;
    padding: 0;
    font-family: "小塚ゴシック Pr6N", Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, Meiryo, "ＭＳＰゴシック", "MS PGothic", sans-serif;
    color: #50514f;
  }

  #wrapper {
    overflow: hidden;
  }

  section {
    max-width: 900px;
    margin: 0 auto;
  }

  .size16 {
    font-weight: bold;
    margin-bottom: 1%;
  }

  .size16red {
    font-weight: bold;
    color: #f25f5c;
  }

  .size18 {
    font-size: 4.2vw;
    font-weight: bold;
    line-height: 1.2;
  }

  p {
    font-size: 3.5vw;
  }

  h2 {
    font-size: 5.5vw;
    font-weight: bold;
    color: #f25f5c;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
      -1px 1px 0 #FFF, 1px -1px 0 #FFF,
      0px 1px 0 #FFF, 0-1px 0 #FFF,
      -1px 0 0 #FFF, 1px 0 0 #FFF;
  }

  h3 {
    font-size: 4.2vw;
  }

  h3 span {
    color: #f25f5c;
  }

  h4 {
    background-color: #f25f5c;
    color: #fff;
    display: inline-block;
    padding: 1% 3%;
    margin: 40px 0 10px;
    font-size: 3.5vw;
  }

  /*メイン*/
  .main_buy {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
  }

  .main_buy img {
    width: 2.5%;
  }

  .buy_button {
    background-color: #007791;
    font-weight: bold;
    font-size: 3vw;
    border-radius: 5px;
    width: 33%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease 0s;
  }

  .buy_button:hover {
    opacity: 0.8;
  }

  .buy_button a {
    color: #fff;
    padding: 9%;
  }

  .eachtime {
    line-height: 1.2;
    font-weight: normal;
    font-size: 3vw;
  }

  .eachtime_yen {
    font-weight: bold;
    font-size: 6vw;
  }

  .eachtime_yen2 {
    font-weight: bold;
    font-size: 18px;
  }

  .regular {
    line-height: 1;
    font-weight: normal;
    font-size: 3vw;
  }

  .regular_yen {
    font-weight: bold;
    font-size: 12vw;
    color: #f25f5c;
    text-shadow: 1px 1px 0 #ffe066, -1px -1px 0 #ffe066,
      -1px 1px 0 #ffe066, 1px -1px 0 #ffe066,
      0px 1px 0 #ffe066, 0-1px 0 #ffe066,
      -1px 0 0 #ffe066, 1px 0 0 #ffe066;
  }

  .regular_yen2 {
    font-weight: bold;
    font-size: 20px;
    color: #f25f5c;
  }

  /*原因*/
  .cause p {
    padding: 3% 3% 7%;
    text-align: justify;
  }

  /*購入ボタン*/
  .buy {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 3% 1%;
    z-index: 1000;
    margin-top: -60px;
  }

  .buy img {
    width: 2.5%;
  }

  /*結果*/
  .result {
    margin: 50px 0 0;
    text-align: center;
  }

  .result_title {
    width: 80%;
  }

  .result_inner {
    background-color: #007f99;
  }

  .result_inner p {
    color: #fff;
    text-align: left;
    font-size: 3vw;
    padding: 0 10px 50px;
  }

  .result_1 {
    width: 95%;
    padding: 50px 0;
  }

  .result_2 {
    margin: 50px 0 0;
  }

  .result_text {
    margin: 50px 10px 0;
  }

  /*３つの約束*/
  .promise_title {
    text-align: center;
    margin-top: 50px;
  }

  .promise_title img {
    width: 70%;
    margin-bottom: 50px;
  }

  .promise_1 {
    background-color: #ffe066;
    padding: 20px 10px;
  }

  .promise_1_inner {
    background-color: #fff;
    display: block;
    padding: 3%;
  }

  .promise_1_inner img {
    width: 100%;
  }

  .promise_1_inner p {
    padding: 1%;
    text-align: justify;
  }

  .promise_2 {
    padding: 20px 10px;
  }

  .bifi_kensa {
    padding: 0 0 1%;
  }

  .promise_3 {
    background-color: #ffe066;
    padding: 20px 10px;
  }

  .promise_3_inner {
    background-color: #fff;
    display: block;
    padding: 1%;
  }

  .promise_3_inner img {
    width: 100%;
  }

  .promise_3_inner p {
    padding: 0 0 0 1%;
  }

  /*専門家のアドバイス*/
  .expert_title {
    text-align: center;
  }

  .expert_title img {
    width: 70%;
    margin-bottom: 50px;
  }

  .expert {
    background-color: #f3feff;
    padding: 50px 10px 50px;
  }

  .expert_inner1 {
    background-color: #fff;
    box-shadow: 5px 5px 3px rgba(1, 1, 1, 0.2);
    padding: 2%;
  }

  .iwata {
    width: 50%;
    margin: 0 auto 5%;
  }

  .name {
    text-align: center;
    margin: 5% 0 6%;
  }

  .expert_inner2 {
    background-color: #fff;
    box-shadow: 5px 5px 3px rgba(1, 1, 1, 0.2);
    padding: 2%;
    margin-top: 20px;
  }

  .miyaji {
    width: 50%;
    margin: 0 auto 5%;
  }

  .expert span {
    background-color: #ffe066;
  }

  /*お得*/
  .deals {
    background-color: #ffe066;
  }

  .deals_title {
    text-align: center;
    padding: 50px 10px 20px;
  }

  .deals_suvtitle {
    text-shadow: 1px 1px 0 #ffe066, -1px -1px 0 #ffe066, -1px 1px 0 #ffe066, 1px -1px 0 #ffe066, 0px 1px 0 #ffe066, 0-1px 0 #ffe066, -1px 0 0 #ffe066, 1px 0 0 #ffe066;
  }

  .deals_suvtitle span {
    font-size: 8vw;
    font-weight: bold;
    color: #f25f5c;
  }

  .present {
    font-weight: bold;
    color: #f25f5c;
    text-align: center;
    margin: 2% 0 1%;
  }

  .deals_title img {
    width: 90%;
    margin-bottom: 40px;
  }

  .deals_inner {
    padding: 20px 0;
  }

  .deals_inner ul {
    list-style: none;
  }

  .deals_inner li {
    background-color: #fff;
    margin: 3%;
    border-radius: 10px;
    padding: 2%;
    display: flex;
    justify-content: start;
  }

  .deals_inner_title {
    color: #ffe066;
    font-weight: bold;
    padding: 1%;
    height: 25px;
    width: 17%;
    background-color: #f25f5c;
    position: relative;
  }

  .deals_inner_title::after {
    content: ' ';
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 16px 10px;
    border-left-color: #f25f5c;
    position: absolute;
    left: 100%;
    top: 0;
  }

  .deals_inner_text {
    width: 80%;
    padding-left: 5%;
  }

  .deals_2 {
    width: 85%;
    margin: 1%;
  }

  .deals_3 {
    width: 98%;
    margin: 1%;
  }

  /*商品概要*/
  .summary {
    padding: 50px 10px 50px;
  }

  .summary_title {
    text-align: center;
    margin-bottom: 50px;
  }

  .summary_title img {
    width: 40%;
  }

  .summary ul {
    list-style: none;
    font-size: 3.5vw;
  }

  .summary li {
    margin-bottom: 30px;
  }

  /*注意*/
  .caution {
    padding: 0 10px 50px;
  }

  .caution_title {
    text-align: center;
    margin-bottom: 10px;
  }

  .caution_title img {
    width: 85%;
  }

  .caution p {
    margin-bottom: 10px;
  }

  .caution ul {
    list-style: none;
    margin: 20px 0;
    font-size: 3.5vw;
  }

  .cancel {
    text-align: center;
    color: #f25f5c;
    margin-top: 50px;
  }

  .buy_button_bottom {
    background-color: #007791;
    font-weight: bold;
    font-size: 3vw;
    border-radius: 5px;
    width: 33%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    margin: 0 auto 50px;
  }

  .buy_button_bottom:hover {
    opacity: 0.8;
  }

  .buy_button_bottom a {
    color: #fff;
    padding: 10%;
  }

  /*form*/
  .form {
    padding: 2% 5%;
  }

  .form span {
    color: #f25f5c;
  }

  .formtext {
    margin-top: 10px;
  }

  select {
    padding: 0.5%;
  }

  input {
    padding: 0.5%;
    margin-top: 1%;
  }

  label {
    font-size: 4vw;
  }

  .member {
    margin: 50px auto 30px;
    text-align: center;
  }

  .member_form {
    margin: 2% 5%;
    padding: 2%;
    background-color: #f0f8ff;
  }

  .login {
    margin-top: 20px;
  }

  .member_bottom {
    background-color: #70c1b3;
    font-weight: bold;
    border-radius: 5px;
    width: 50%;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    color: #fff;
    border: none;
    padding: 2%;
  }

  .member_bottom a {
    color: #fff;
    padding: 6%;
  }

  .member_bottom:hover {
    opacity: 0.8;
  }

  .notice {
    display: flex;
    justify-content: left;
    padding: 10px 0 0;
  }

  .payment {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0;
  }

  .payment_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .delivery_title {
    display: flex;
    align-items: center;
  }

  .creditfee {
    background-color: #f25f5c;
    color: #fff;
    padding: 2px 5px 0;
    margin-bottom: 1%;
    font-weight: bold;
    display: inline-block;
    width: 33%;
  }

  .cod {
    margin-left: 1%;
    color: #f25f5c;
    width: 25%;
    font-weight: bold;
  }

  .deliverycod {
    margin-left: 1%;
    color: #f25f5c;
    font-weight: bold;
  }

  .payment_text {
    width: 65%;
    text-align: justify;
  }

  .choice {}

  .delivery {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0;
  }

  .delivery_text {
    width: 60%;
  }

  .category {
    width: 39%;
    margin-right: 1%;
  }

  .btn-area {
    padding: 50px 0;
    text-align: center;
  }

  .confirmation {
    background-color: #007791;
    color: #fff;
    border: 0px;
    border-radius: 5px;
    padding: 4%;
    font-weight: bold;
    cursor: pointer;
    font-size: 3.6vw;
    transition: all 0.3s ease 0s;
  }

  .confirmation:hover {
    opacity: 0.8;
  }

  .reset {
    border: solid 1px;
    border-radius: 5px;
    padding: 4%;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease 0s;
  }

  .reset:hover {
    opacity: 0.8;
  }

  /*footer*/
  footer {
    background-color: #50514f;
    text-align: center;
    padding: 15% 5%;
  }

  footer ul {
    display: flex;
    justify-content: center;
    list-style: none;
  }

  footer li {
    border-right: 1px solid #fff;
    padding: 0 1%;
  }

  footer li:last-child {
    border-right: none;
  }

  footer li a {
    display: inline-block;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    font-size: 3.5vw;
  }

  footer li a:hover {
    color: #a9a9a9;
  }

  footer .sns {
    list-style: none;
    padding-top: 5vw;
  }

  footer .sns li {
    display: inline-block;
    margin: 2vw;
  }

  footer .sns li img {
    width: 3.5vw;
  }

  footer p {
    color: #fff;
    text-align: center;
    font-size: 3vw;
    margin-top: 30px !important;
  }

  /* topへ戻るパソコン・スマホ共通のCSS */
  #PageTopBtn {
    position: fixed;
    /*ボタンの配置場所を固定*/
    bottom: -3px;
    /*下からのボタンの配置場所を指定*/
    right: 0px;
    /*右からのボタンの配置場所を指定*/
  }

  #PageTopBtn a {
    display: block;
    /*配置の調整*/
    outline: none;
    /*クリックしたときの黒い枠を消す*/
  }

  #PageTopBtn a:hover {
    text-decoration: none;
  }

  #PageTopBtn {
    z-index: 2;
  }

  #PageTopBtn img {
    width: 9vw;
    z-index: 200;
  }

  /* micro clearfx */
  .cf:before,
  .cf:after {
    content: "";
    display: table;
  }

  .cf:after {
    clear: both;
  }

  .cf {
    zoom: 1;
  }
}

@media (min-width: 415px) and (max-width: 767px) {
  .size18 {
    font-size: 2.8vw;
    line-height: 1.2;
  }

  p {
    font-size: 2.5vw;
  }

  h2 {
    font-size: 4.5vw;
  }

  h3 {
    font-size: 3vw;
  }

  h4 {
    font-size: 2.8vw;
  }

  footer li a {
    font-size: 2.5vw;
  }

  footer p {
    font-size: 2vw;
  }

  /*index*/
  .regular {
    font-size: 2.5vw;
  }

  .eachtime {
    font-size: 2.5vw;
  }

  .result_inner p {
    font-size: 2vw;
  }

  .deals_inner_title::after {
    border-width: 18px 10px;
  }

  .summary_title img {
    width: 30%;
  }

  .summary ul {
    font-size: 2.5vw;
  }

  .caution ul {
    font-size: 2.5vw;
  }

  /*form*/
  label {
    font-size: 2.5vw;
  }

  .confirmation {
    font-size: 2.3vw;
  }

  .cod {
    width: 30%;
  }

  .creditfee {
    width: 35%;
  }
}
