@charset "utf-8"; /* default PC */
#contents .ttl-box .ttl {
  background-color: #4b4642;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  letter-spacing: .05em;
  margin: 0;
  padding: 10px;
  text-align: center;
}

#contents .ttl-box .txt-box {
  padding: 35px;
}

#contents .ttl-box .txt-box p:last-of-type {
  margin-bottom: 0;
}

#contents .ttl-box .txt-box .txt-center {
  margin-bottom: 25px;
}

#contents .ttl-box .txt-2box {
  background-color: #fff;
  border: 3px solid #4b4642;
  border-top: none;
  margin: 0 auto 85px;
  max-width: 1100px;
  width: 100%;
}

#contents .num-flow .flow-item {
  margin: 0;
  margin-right: 3px;
  padding: 30px 30px 45px;
  position: relative;
  width: calc(100% / 4 - 3px);
}

#contents .num-flow .flow-item:last-child {
  margin-right: 0;
}

#contents .num-flow .flow-item::after {
  background: url(../image/contents/pattern_blue.png) repeat;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  position: absolute;
  right: -14px;
  top: 55px;
  margin: 0;
  z-index: 1;
}

#sell #contents .num-flow .flow-item::after {
  background-image: url(../image/contents/pattern_green.png);
}

#contents .num-flow .flow-item:last-child::after {
  display: none;
}

#contents .num-flow .flow-item .ttl .number {
  display: block;
  font-size: 140%;
  margin-bottom: 3px;
}

#contents .num-flow .flow-item .ttl {
  color: #fff;
  font-size: 23px;
  font-weight: bold;
  letter-spacing: .1em;
  margin-bottom: 25px;
  text-align: center;
}

#contents .num-flow .flow-item .txt {
  background-color: #fff;
  color: #4b4642;
  line-height: 1.7em;
  margin-bottom: 0;
  padding: 15px;
}

#contents .type-box {
  gap: 22px 0;
}

#contents .type-box .box-item {
  background-color: #fff;
  padding: 20px 20px 35px;
}

#contents .type-box .box-item .img {
  margin-bottom: 10px;
}

#contents .type-box .box-item .ttl {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: .1em;
  line-height: 1.5em;
  margin-bottom: 0;
}

#contents .bubble-box {
  margin: 0 auto 45px;
  max-width: 1250px;
}

#contents .bubble-box li {
  align-items: center;
  border: 2px solid #4b4642;
  background-color: #d7eff6;
  display: flex;
  font-size: 18px;
  font-weight: bold;
  justify-content: center;
  padding: 25px 15px;
  position: relative;
  text-align: center;
}

#contents .bubble-box li::before {
  background-color: #fff;
  content: "";
  position: absolute;
  top: 100%;
  left: 50px;
  height: 16px;
  width: 15px;
}

#contents .bubble-box li::after {
  content: "";
  position: absolute;
  top: calc(100% + 4px);
  left: 59px;
  height: 22px;
  width: 15px;
  border-right: 2px solid #333;
  rotate: -40deg;
}

#contents .catch {
  font-size: 43px;
  font-weight: bold;
  letter-spacing: .1em;
  margin-bottom: 45px;
  text-align: center;
}

#contents .catch .main {
  font-size: 145%;
}

#contents .free-box {
  background-color: #fff8e7;
}

@media screen and (max-width: 1400px) {
  #contents .type-box .box-item .ttl {
    font-size: 18px;
  }
}

/* view-1140 notePC,Tablet */
@media screen and (max-width: 1140px) {
  #contents .type-box .box-item, #contents .type-box .box-item:nth-child(4n) {
    margin-right: 20px;
    width: calc(100% / 3 - 14px);
  }

  #contents .type-box .box-item:nth-child(3n) {
    margin-right: 0;
  }

  #contents .num-flow .flow-item .ttl {
    font-size: 18px;
    margin-bottom: 15px;
  }

  #contents .num-flow .flow-item .txt {
    font-size: 15px;
  }

  #contents .catch {
    font-size: 38px;
    margin-bottom: 35px;
  }
}

/* view-959 Mobile,Tablet */
@media screen and (max-width: 959px) {
  #contents .ttl-box {
    gap: 50px 0;
  }

  #contents .ttl-box .ttl {
    font-size: 23px;
  }

  #contents .num-flow .flow-item {
    margin-bottom: 3px;
    padding: 25px 25px 40px;
    width: calc(100% / 2 - 3px);
  }

  #contents .bubble-box {
    margin: 0 auto;
  }

  #contents .bubble-box li {
    margin: 0 auto 45px;
  }

  #contents .type-box .box-item, #contents .type-box .box-item:nth-child(4n), #contents .type-box .box-item:nth-child(3n) {
    margin-right: 20px;
    width: calc(100% / 2 - 10px);
  }

  #contents .type-box .box-item:nth-child(2n) {
    margin-right: 0;
  }

  #contents .catch {
    font-size: 35px;
  }

  #contents .type-box.flex {
    gap: 15px 0;
  }
}

/* view-559 Mobile */
@media screen and (max-width: 559px) {
  #contents .ttl-box .txt-2box {
    margin-bottom: 60px;
  }

  #contents .ttl-box .txt-box {
    padding: 35px 15px;
  }

  #contents .ttl-box .ttl {
    font-size: 21px;
  }

  #contents .ttl-box img {
    width: 250px;
  }

  #contents .num-flow .flow-item {
    margin-right: 0;
    padding: 20px 15px 35px;
    width: 100%;
  }

  #contents .num-flow .flow-item::after {
    bottom: -14px;
    top: unset;
    margin: 0 auto;
    left: 0;
    right: 0;
    transform: rotate(135deg);
  }

  #contents .type-box .box-item, #contents .type-box .box-item:nth-child(4n), #contents .type-box .box-item:nth-child(3n) {
    margin-right: 10px;
    width: calc(100% / 2 - 5px);
  }

  #contents .type-box .box-item {
    padding: 20px 5px 35px;
  }

  #contents .type-box .box-item img {
    width: 120px;
  }

  #contents .type-box .box-item:nth-child(2n) {
    margin-right: 0;
  }

  #contents .type-box .box-item .ttl {
    font-size: 14px;
  }

  #contents .catch {
    font-size: 23px;
    margin-bottom: 25px;
  }

  #contents .type-box.flex {
    gap: 10px 0;
  }
}
