@charset "UTF-8";

/* 1000px以下 */
@media screen and (max-width: 1000px) {
  /* #plan */
  #plan .plan .img_area span {
    display: block;
    line-height: initial;
  }
  #plan .plan dd .flex div:nth-child(1) {
    margin-bottom: 20px;
    position: static;
  }
  #plan .plan .img_area span:nth-child(2) {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  #plan .plan .flex {
    display: block;
  }
  #plan .plan dd .bottom {
    bottom: 10px;
  }
  #plan .plan_kaketsuke dd {
    position: relative;
    padding-bottom: 90px;
  }
  /* #step */
  #step .bg_green .img_area img {
    width: 100%;
  }
  #step .step_box .flex div {
    width: 48%;
  }
  #step .step01 .flex div:nth-child(1),
  #step .step03 .flex div:nth-child(1),
  #step .step02 .flex div:nth-child(2) {
    margin-right: 4%;
  }
  #step .step_box .flex img {
    width: 100%;
  }
  #step .step_box .flex {
    flex-wrap: wrap;
    position: relative;
  }

  #step .step03 .article.flex div:nth-child(3) {
    width: 100%;
  }
  #step .step03 .article.flex div:nth-child(3) .flex {
    width: 100%;
    padding: 0;
  }

  #step .step03 .article.flex .flex img {
    margin: 0;
    margin-bottom: 20px;
    width: calc(50% - 25px);
  }
}

/* 800px以下 */
@media screen and (max-width: 800px) {
  /* #step */
  #step .flex {
    display: block;
  }
  #step .step01 .flex div:nth-child(1),
  #step .step03 .flex div:nth-child(1),
  #step .step02 .flex div:nth-child(1) {
    margin-right: 0;
    margin-bottom: 40px;
  }
  #step .step02 .flex div:nth-child(2) {
    margin-right: 0;
  }
  #step .step_box img {
    width: 100%;
  }
  #step .step02 .article h5 {
    text-align: left;
    margin-bottom: 20px;
  }
  #step .step02 .article.flex div:nth-child(1) {
    border-right: none;
    border-bottom: 1px dashed #999;
  }
  #step .step_box .flex div {
    width: 100%;
  }
  #step .step03 {
    padding-bottom: 0;
  }
  #step .step03 .article.flex div:nth-child(1),
  #step .step03 .article.flex div:nth-child(2) {
  width: 100%;
  border-right: none;
  border-bottom: 1px dashed #999;
}
#step .step03 .article.flex .flex img {
  width: 100%;
}


  #point li,
  #point h3,
  #point p {
    text-align: center;
  }
  #point li .flex {
    display: block;
  }
  #point h3 {
    margin-top: 20px;
  }

  #faq h3 {
    font-size: 25px;
  }
  #faq dt,
  #faq dd {
    font-size: 18px;
  }
}

/* 500px以下 */
@media screen and (max-width: 500px) {
  /* #step */
  .denki_mark span {
    padding: 15px 10px 10px 10px;
    background: none;
  }
  .denki_mark {
    font-size: 24px;
  }

  /* #point */
  #point h2 {
    margin-bottom: 20px;
  }
  #point li {
    padding: 30px 0 20px;
  }
  #point li .flex div:nth-child(1) {
    margin-right: 0;
  }
  #point li .flex div:nth-child(1) img {
    width: 40%;
  }
  #point h3 {
    font-size: 24px;
  }
  #point p {
    font-size: 16px;
    line-height: inherit;
  }

  /* #plan */
  #plan h2.denki {
    line-height: inherit;
  }
  #plan .plan h3 {
    font-size: 24px;
  }
  #plan .plan {
    padding: 20px 20px;
  }
  #plan .plan .body_midashi {
    font-size: 16px;
  }
  #plan .plan .img_area {
    margin-top: 40px;
  }
  #plan .plan dt {
    padding-left: 10px;
    font-size: 20px;
    margin-bottom: 10px;
  }
  #plan .plan dd {
    padding: 10px 20px;
    font-size: 16px;
  }
  #plan .plan .more a {
    font-size: 14px;
    padding: 0;
    padding-right: 10px;
  }
  #plan .plan_kaketsuke dd {
    padding-bottom: 90px;
  }
  #plan .plan dd .bottom {
    left: 0;
    padding: 0 10px;
  }
  #faq dd .a {
    top: 20px;
  }
  #faq dt::before {
    width: 25px;
    height: 25px;
    right: 15px;
  }
  #faq dt::after {
    width: 6px;
    height: 6px;
    right: 23px;
    border-bottom: 3px solid #fff;
    border-left: 3px solid #fff;
  }
  /* #faq */
  #faq h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  #faq dt .q,
  #faq dd .a,
  #faq dt,
  #faq dd {
    font-size: 16px;
  }
  #faq dt {
    padding: 10px 45px 10px 45px;
  }
  #faq dd {
    padding: 20px 30px 20px 45px;
  }
  #faq dt .q,
  #faq dd .a {
    left: 15px;
  }
  #faq dt .q {
    height: 30px;
  }
  #faq .article {
    margin-bottom: 40px;
  }
}
