@charset 'utf-8';

/* =========================================================
 クレジット決済
========================================================= */
#creditContents {
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: normal;
  width: 760px;
}

.credit_headline_text {
}

.creditColorText {
  color: #ff4122;
  font-size: 100%;
  font-weight: bold;
}

.howtoBlock {
  background-color: #f4f4f4;
  background-repeat: repeat;
  background-size: 100% auto;
  border: 1px dashed;
  box-sizing: border-box;
  margin: 20px 0 25px;
  position: relative;
  color: #1b1b1b;
}

.howtoBlock dl {
  float: left;
  margin: 25px 0 0 15px;
  width: 310px;
}

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

.howtoBlock dd {
  margin: 10px 0 0;
}

.companyImg {
  float: right;
  margin: 10px 10px 5px 0;
}

.companyImg p {
  margin: 3px 0 0;
  text-align: center;
}

.companyImg a {
  color: #2f2f2f;
  text-decoration: underline;
}

.companyImg a:hover {
  text-decoration: none;
}

#creditContents h3 {
  background: url("/img/credit/bg_creditTitle.jpg");
  background-repeat-x: repeat;
  color: #ffffff;
  font-family: inherit;
  height: 52px;
  line-height: 52px;
  text-indent: 0.8em;
  border-radius: 0;
}

.flowBlock li {
  border: 2px solid #284090;
  height: 120px;
  margin: 10px 0 0;
}

.stepImg {
  background-image: url("/img/credit/bg_mosaic_green.jpg");
  float: left;
  height: 100%;
  position: relative;
  width: 97px;
}

.stepImg img {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

.flowBox {
  background-image: url("/img/credit/bg_mosaic_white.jpg");
  float: left;
  height: 100%;
  width: 659px;
}

.flowText {
  float: left;
  position: relative;
  width: 446px;
}

.flowText>dl {
  margin: 0 0 0 -24px;
}

.flowText>dl>dt {
  border-bottom: 1px solid #284090;
  color: #284090;
  font-size: 20px;
  font-weight: bold;
  height: 45px;
  line-height: 50px;
  padding: 0 0 0 40px;
}

.flowText>dl>dd {
  color: #333333;
  font-size: 14px;
  font-weight: bold;
  padding: 15px 0 0 40px;
}

.flowText>dl>dd .creditColorText {
  text-decoration: underline;
}

.referenceImg {
  float: right;
  margin: 5px 5px 0 0;
}

.settleBtn {
  margin: 5px 0 0;
}

.settleBtn a:hover img {
  opacity: 0.8;
}

.settleBtn img {
  display: block;
}

.attentionBlock {
  background-color: #f5f5f5;
  border: 1px solid #727272;
  margin: 10px 0 0;
  padding: 20px;
}

.attentionBlock dt {
  border-bottom: 1px solid #575757;
  color: #575757;
  font-size: 20px;
  font-weight: bold;
  padding: 0 0 10px;
}

.attentionBlock dd {
  color: #333333;
  font-size: 12px;
  line-height: 1.4;
}

.attentionBlock dd>div {
  margin: 20px 0 0;
}

.attentionBlock dd>div:first-child {
  margin-top: 10px;
}

.attentionBlock li:before {
  content: "・";
  vertical-align: middle;
}

/* =========================================================
 PC用
========================================================= */
@media screen and (min-width: 769px) {
  h3::before, h3::after {
    content: none;
  }
  .howtoBlock:before {
    content: "";
    display: block;
    background-color: #f4f4f4;
    border-top: 1px dashed;
    border-left: 1px dashed;
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
    position: absolute;
    top: -10px;
    left: 212px;
  }
}

/* =========================================================
 スマホ用
========================================================= */
@media screen and (max-width: 768px) {
  h3::before {
    content: none;
  }
  #creditContents {
    font-size: 14px;
    line-height: 1.8;
    width: 100%;
    margin: 0 auto;
  }

  .howtoBlock {
    background-size: 100% auto;
    width: 96%;
    margin: 4vw auto 7vw;
  }

  .howtoBlock:before {
    content: url(/img/credit/img_fukidashi.png);
    left: 219px;
    position: absolute;
    top: -14px;
    content: none;
  }

  .howtoBlock dl {
    float: none;
    margin: 5vw auto 3vw;
    width: 94%;
  }

  .howtoBlock dt {
    font-size: 5vw;
  }

  .howtoBlock dd {
    margin: 2vw 0 0;
    font-size: 3.44vw;
  }

  .companyImg {
    float: none;
    margin: 0 auto;
    width: 90%;
  }

  .companyImg img {
    width: 100%;
    height: auto;
  }

  .companyImg p {
    margin: 1.5vw 0 2vw;
    text-align: center;
    font-size: 3.44vw;
  }

  .flowBlock li {
    height: 27vw;
    margin: 2.5vw 0 0;
    border-width: 1px;
  }

  .stepImg {
    float: left;
    height: 100%;
    width: 20%;
  }

  .stepImg img {
    width: 100%;
    height: auto;
  }

  .flowBox {
    float: left;
    height: 100%;
    width: 80%;
  }

  .flowText {
    float: left;
    width: 97%;
  }

  .flowText>dl {
    margin: 0 0 0 -3vw;
  }

  .flowText>dl>dt {
    font-size: 4vw;
    height: 8vw;
    line-height: 8vw;
    padding: 0 0 0 6vw;
    margin-bottom: 2vw;
  }

  .flowText>dl>dd {
    font-size: 2.8vw;
    padding: 0 0 0 6vw;
  }

  .referenceImg {
    float: right;
    margin: 0;
    width: 100%;
    display: none;
  }

  .flowBlock li:nth-of-type(2) .referenceImg {
    display: block;
    width: 100%;
    margin: 2% auto 0;
    float: left;
    text-align: center;
  }

  .flowBlock li:nth-of-type(2) .referenceImg img {width: 85%;}

  .attentionBlock {
    margin: 5vw auto 8vw;
    padding: 3vw;
    width: 96%;
    box-sizing: border-box;
  }

  .attentionBlock dt {
    font-size: 4vw;
    padding: 0 0 1.8vw;
  }

  .attentionBlock dd {
    font-size: 3vw;
    line-height: 1.7;
  }

  .attentionBlock dd>div {
    margin: 20px 0 0;
  }

  .attentionBlock dd>div:first-child {
    margin-top: 2vw;
  }

  .flowBlock li:nth-of-type(2) {
    height: 35vw!important;
  }

  .flowBlock li:nth-of-type(3) {
    height: 31vw !important;
  }

  .flowBlock li:nth-of-type(4) dd {
    padding-top: 2vw !important;
  }

  .settleBtn img {
    height: auto;
  }

  .credit_headline_text {
    font-size: 3.44vw;
    width: 94%;
    margin: 0 auto;
  }

  .flowBlock ul {
    width: 96%;
    margin: 0 auto;
  }

  #creditContents h3 {
    /* border-bottom: none; */
    padding-left: 0;
    height: 12vw;
    line-height: 12vw;
  }

  #creditContents h3::first-letter {
    font-size: 100%;
    color: inherit;
  }

  #creditContents h3::after {
    content: none;
  }

  .creditColorText {
    font-weight: inherit;
  }
}
