/* =========================================================
   モバイルファースト構成
   ベース(無条件) = SP(〜568px)
   min-width: 569px  = 〜960px 相当
   min-width: 961px  = 〜1024px 相当
   min-width: 1025px = 1025px〜(PC)
   ========================================================= */

.price_off {
  margin: 20px 0 40px;
}

.price_btns {
  /*background: #c9daf6;*/
  margin-bottom: -40px;
}

.price_btns ul {
  padding: 25px 0;
}

.price_btns ul li {
  width: 30%;
  max-width: 300px;
}

.price_btns ul li a {
  font-size: 17px;
  font-weight: bold;
  color: #fff;
  background: var(--site-primary);
  border-radius: 10px;
  padding: 15px 0 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}

.price_btns ul li a::before {
  content: '';
  width: 30px;
  height: 30px;
  display: inline-block;
  margin: 0 15px 0 12%;
}

.price_btns ul li a::after {
  content: '';
  background: url("../img/common/icon_arrow-down_circle_white.svg") no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
  position: relative;
  top: initial;
  right: initial;
  -webkit-transform: none;
          transform: none;
}

.price_btns ul li:nth-child(1) a::before {
  background: url("../img/service-list/icon_service04_sp.png") no-repeat center;
}

.price_btns ul li:nth-child(2) a::before {
  background: url("../img/service-list/icon_service03_sp.png") no-repeat center;
}

.price_btns ul li:nth-child(3) a::before {
  background: url("../img/price/icon_hobby_sp.png") no-repeat center;
  margin: 0 10px 0 10%;
}

.price_btns ul li:nth-child(4) a::before {
  background: url("../img/price/icon_suports_sp.png") no-repeat center;
  margin: 0 6px 0 0;
}

.price_table {
  margin-bottom: 40px;
}

.price_table .ttl_stripe_color03 {
  border-radius: 0;
  font-size: 23px;
  padding: 0.4em 1.25em 0.5em;
}

.price_table .ttl_stripe_color02 {
  border-radius: 0;
  font-size: 23px;
  padding: 0.4em 1.25em 0.5em;
}

.price_table table {
  width: 100%;
  border: none;
}

.price_table th {
  font-weight: bold;
  text-align: center;
  background: #def3ff;
  border-bottom: 1px solid #ccc;
  display: block;
  width: 100%;
  border-right: none;
  font-size: 19px;
  padding: 9px 0 9px;
}

.price_table td {
  line-height: 1.8;
  border-bottom: 1px solid #ccc;
  display: block;
  width: 100%;
  border-right: none;
  font-size: 15px;
  padding: 11px 5.3vw 11px;
}

.price_table td.txt_row {
  padding: 11px 5.3vw 11px;
}

.price_table td.txt_keycolor {
  font-weight: bold;
  text-align: center;
  width: 100%;
  padding: 2px 0 5px;
  font-size: 23px;
}

.price_table td.txt_keycolor .yen {
  font-size: 14px;
}

#kaden .ttl_stripe_color03 span {
  position: relative;
}

#kaden .ttl_stripe_color03 span::before {
  content: '';
  background: url("../img/price/icon_kaden.png") no-repeat;
  background-size: contain;
  top: 7px;
  width: 25px;
  height: 25px;
  position: absolute;
  left: -36px;
}

#kagu .ttl_stripe_color03 span {
  position: relative;
}

#kagu .ttl_stripe_color03 span::before {
  content: '';
  background: url("../img/price/icon_kagu.png") no-repeat;
  background-size: contain;
  top: 5px;
  width: 30px;
  height: 27px;
  position: absolute;
  left: -41px;
}

#other.price_table th,
.other-02 th {
  background: #f5f5f5;
}

.note_box {
  padding: 14px 20px 16px;
}

.note_box p {
  font-size: 12px;
}

.pack_price {
  padding: 38px 0 40px;
}

.pack_price .note_box {
  padding: 14px 20px 16px;
}

.case_box .case_ttl {
  font-size: 23px;
}

.case_box .case_ttl::before {
  content: none;
}

.case_box .case_ttl span {
  position: relative;
}

.case_box .case_price {
  margin: -3px 0 0;
}

.case_box .case_price .ttl_price {
  font-size: 18px;
}

.case_box .case_price .ttl_price span {
  font-size: 12px;
  position: relative;
  top: -2px;
}

.case_box.case01 .case_ttl span::before {
  content: '';
  background: url("../img/price/icon_single.png") no-repeat;
  background-size: contain;
  width: 21px;
  height: 30px;
  position: absolute;
  left: -36px;
  top: 2px;
}

.case_box.case02 .case_ttl span::before {
  content: '';
  background: url("../img/price/icon_family.png") no-repeat;
  background-size: contain;
  width: 30px;
  height: 26px;
  position: absolute;
  left: -40px;
  top: 5px;
}

.case_box.case03 {
  margin-bottom: 0;
}

.case_box.case03 .case_ttl span::before {
  content: '';
  background: url("../img/price/icon_trash.png") no-repeat;
  background-size: contain;
  width: 30px;
  height: 27px;
  position: absolute;
  left: -41px;
  top: 3px;
}

.case_box_txt {
  margin-top: 10px;
}

#cost_down li {
  width: 100%;
}

#cost_down li p {
  line-height: 1.5;
  font-weight: bold;
  font-size: 21px;
  padding: 14px 0 18px;
}

.memo_box {
  border: 4px solid #88c7ff;
  margin-top: 36px;
  padding: 14px 20px 16px;
  font-size: 14px;
}

/* ---------- 569px〜(旧 max-width:960px 相当) ---------- */
@media screen and (min-width: 569px) {
  .price_off {
    margin: 2vw 0 1vw;
  }
  .price_btns {
  }
  .price_btns ul {
    padding: 30px 0;
  }
  .price_btns ul li {
    width: 100%;
  }
  .price_btns ul li a {
    font-size: 16px;
    border-radius: 50px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    padding: 13px 0 13px;
  }
  .price_btns ul li a::before {
    width: 30px;
    height: 30px;
  }
  .price_btns ul li a::after {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    right: 8%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .price_btns ul li:nth-child(1) a::before {
    background: url("../img/service-list/icon_service04.png") no-repeat center;
  }
  .price_btns ul li:nth-child(2) a::before {
    background: url("../img/service-list/icon_service03.png") no-repeat center;
  }
  .price_btns ul li:nth-child(3) a::before {
    background: url("../img/price/icon_hobby.png") no-repeat center;
  }
  .price_btns ul li:nth-child(4) a::before {
    background: url("../img/price/icon_suports.png") no-repeat right center;
  }
  .price_table th {
    display: table-cell;
    width: 21%;
    border-right: 1px solid #ccc;
    font-size: 17px;
    padding: 17px 30px 18px;
  }
  .price_table td {
    display: table-cell;
    width: auto;
    border-right: 1px solid #ccc;
    padding: 12px 30px 12px;
  }
  .price_table td.txt_row {
    padding: 18px 30px 18px;
  }
  .price_table td.txt_keycolor {
    width: 21%;
    padding: 12px 20px 12px;
    font-size: 19px;
  }
  .price_table .ttl_stripe_color03 {
    font-size: 24px;
  }
  .price_table .ttl_stripe_color02 {
    font-size: 24px;
  }
  #kaden .ttl_stripe_color03 span::before {
    width: 30px;
    height: 30px;
    left: -49px;
  }
  #kagu .ttl_stripe_color03 span::before {
    width: 37px;
    height: 34px;
    left: -53px;
  }
  .note_box {
    padding: 25px 5% 25px 13%;
  }
  .note_box p {
    font-size: 15px;
  }
  .pack_price {
    padding: 7vw 0 5vw;
  }
  .pack_price .note_box {
    padding: 25px 5% 25px 13%;
  }
  .case_box .case_ttl {
    font-size: 24px;
  }
  .case_box .case_price .ttl_price {
    font-size: 21px;
  }
  .case_box.case01 .case_ttl span::before {
    width: 25px;
    height: 36px;
    left: -45px;
    top: 0;
  }
  .case_box.case02 .case_ttl span::before {
    width: 40px;
    height: 34px;
    left: -57px;
  }
  .case_box.case03 .case_ttl span::before {
    width: 40px;
    height: 36px;
    left: -58px;
  }
  #cost_down li {
    width: 31.8%;
  }
  #cost_down li p {
    font-size: 20px;
    padding: 22px 0 30px;
  }
  .memo_box {
    margin-top: 5vw;
    padding: 3vw 4vw;
    font-size: 15px;
  }
}

/* ---------- 961px〜(旧 max-width:1024px 相当) ---------- */
@media screen and (min-width: 961px) {
  .price_btns ul li a::before {
    width: 35px;
    height: 35px;
  }
  .price_btns ul li:nth-child(3) a::before {
    margin: 0 15px 0 10%;
  }
  .price_btns ul li:nth-child(4) a::before {
    margin: 0 15px 0 4%;
  }
  .price_table .ttl_stripe_color03 {
    font-size: 32px;
  }
  .price_table .ttl_stripe_color02 {
    font-size: 32px;
  }
  .price_table td.txt_keycolor {
    font-size: 24px;
  }
  #kaden .ttl_stripe_color03 span::before {
    width: 37px;
    height: 37px;
    left: -59px;
  }
  #kagu .ttl_stripe_color03 span::before {
    width: 45px;
    height: 41px;
    left: -63px;
  }
  .note_box {
    padding: 25px 5% 25px 15%;
  }
  .pack_price .note_box {
    padding: 25px 5% 25px 15%;
  }
  .case_box .case_price .ttl_price {
    font-size: 24px;
  }
  #cost_down li p {
    font-size: 24px;
  }
  .memo_box {
    margin-top: 66px;
    padding: 32px 40px 34px;
    font-size: 16px;
  }
}

/* ---------- 1025px〜(PC) ---------- */
@media screen and (min-width: 1025px) {
  .price_btns ul li {
    max-width: 350px;
  }
  .price_btns ul li a::before {
    margin: 0 15px 0 50px;
  }
  .price_btns ul li:nth-child(4) a::before {
    margin: 0 15px 0 20px;
  }
  .price_table td.txt_keycolor {
    font-size: 25px;
  }
  .price_table td.txt_keycolor .yen {
    font-size: 0.7em;
  }
  .note_box {
    padding: 25px 15.5%;
  }
  .pack_price .note_box {
    padding: 25px 15.5%;
  }
  #cost_down li p {
    font-size: 27px;
  }
}

/* SP専用の例外: 元CSSでも568px以下でのみ定義され、
   それ以外の幅では他クラス（.row/.wrap や共通CSS側の指定）に委ねられていたため
   ベース/min-widthへは変換せず、元の max-width スコープのまま維持 */
@media only screen and (max-width: 568px) {
  .price_btns ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 15px 0;
  }
  .price_btns ul li:nth-child(1) a::before {
    width: 34px;
    height: 34px;
  }
  .price_btns ul li:nth-child(2) a::before {
    width: 38px;
    height: 35px;
  }
  .price_btns ul li:nth-child(3) a::before {
    width: 33px;
    height: 35px;
  }
  .price_btns ul li:nth-child(4) a::before {
    width: 19px;
    height: 39px;
  }
  .price_btns ul li a::after {
    margin-top: 6px;
  }
  .price_table {
    margin: 0 -5.3vw 35px;
  }
  #other.price_table {
    margin-bottom: 30px;
  }
  .features {
    margin: -20px 0 0;
  }
  .case_box .ttl_stripe {
    background-size: 4.5%;
  }
  .case_box .annotation_txt {
    margin: 8px 0 -8px;
  }
  #cost_down ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px 0;
  }
}

/* 元CSSが background-size に !important を使用しているため(アイコン個別背景指定より優先させる目的)、
   960px以下だけに限定して同じ !important を残す。min-width の昇順だけでは !important を打ち消せないための例外。
   あわせて .features は元CSSでも960px以下でのみ margin-top:0 が定義され、961px以上は他CSS側に
   委ねられていたため、同じ理由でこの範囲に留めている。 */
@media only screen and (max-width: 960px) {
  .price_btns ul li a::before {
    background-size: contain !important;
  }
  .features {
    margin-top: 0;
  }
}

/* 元CSSが margin に !important を使用しているため、568px以下だけに限定して同じ !important を残す。 */
@media only screen and (max-width: 568px) {
  .price_btns ul li a::before {
    margin: 0 0 4px !important;
  }
}
