@media all and (min-width: 641px) {
  .contents:before {
    content: "";
    display: block;
    width: 100%;
    height: 6398px;
    background-image: url(../img/bg-all.png) !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    background-size: 1624px 6398px !important;
    position: absolute;
    top: 360px;
  }

  .page-title-holder {
    background: url(../img/bg-main.jpg) center top no-repeat;
  }

  .page-title-holder .title-svg {
    margin: auto;
    display: block;
    width: 317px;
  }

  .page-title-holder .page-title-products {
    width: 174px;
    margin-left: 323px;
    top: 74px;
  }

  .sectioin-tab-block {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding-top: 60px;
    margin-bottom: 85px;
  }

  .sectioin-tab-block .tab {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    border: 1px solid #ccc;
    width: 340px;
    height: 80px;
    position: relative;
    text-decoration: none;
  }

  .sectioin-tab-block .tab .text {
    font-size: 15px;
    font-weight: bold;
    color: #000;
    -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .sectioin-tab-block .tab .text2 {
    font-size: 15px;
    font-weight: bold;
    margin-left: 85px;
    color: #000;
    -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .sectioin-tab-block .tab.tab1 {
    border-right: 0;
  }

  .sectioin-tab-block .tab .icon {
    width: 32px;
    display: block;
    position: absolute;
    left: 15px;
    bottom: 20px;
  }

  .sectioin-tab-block .tab .icon-arrow {
    width: 10px;
    height: 6px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .sectioin-tab-block .tab .icon3 {
    width: 52px;
    display: block;
    position: absolute;
    left: 15px;
    bottom: 15px;
  }

  .tab3 {
    flex-direction: row-reverse;
  }

  .width3 {
    width: 117% !important;
  }

  .sectioin-tab-block .tab:hover {
    text-decoration: none;
  }

  .sectioin-tab-block .tab:hover .text {
    color: #9d162e;
  }

  .sectioin-tab-block .tab:hover .icon-arrow {
    bottom: 5px;
  }

  .section-howto.section-howto-shampoo {
    padding-bottom: 120px;
    border-bottom: 1px solid #ccc;
  }

  .section-howto.section-howto-conditioner {
    padding-top: 90px;
  }

  .section-howto.section-howto-change {
    padding-top: 90px;
    border-top: 2px solid #cccccc;
    margin-top: 170px;
  }

  .section-howto .title-rule {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 0 auto 60px;
    width: 309px;
    height: 39px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    background-color: #dedede;
  }

  .section-howto .rule-holder {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: 904px;
    margin: 0 auto 60px;
  }

  .section-howto .rule-holder .box {
    text-align: center;
    border: 1px solid #ccc;
    border-top: 0;
    width: 289px;
    height: 136px;
    position: relative;
  }

  .section-howto .rule-holder .box:after {
    content: "";
    display: block;
    width: 1px;
    height: 30px;
    background-color: #ccc;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
  }

  .section-howto .rule-holder .num-ttl {
    margin: 0 auto 5px;
    -webkit-transform: translateY(-16px);
    transform: translateY(-16px);
    position: relative;
  }

  .section-howto .rule-holder .num-ttl:before,
  .section-howto .rule-holder .num-ttl:after {
    content: "";
    display: block;
    width: 115px;
    height: 1px;
    background-color: #ccc;
    position: absolute;
    top: 50%;
  }

  .section-howto .rule-holder .num-ttl:before {
    left: -1px;
  }

  .section-howto .rule-holder .num-ttl:after {
    right: -1px;
  }

  .section-howto .rule-holder .num-ttl.num1 img {
    width: 9px;
  }

  .section-howto .rule-holder .num-ttl.num2 img {
    width: 17px;
  }

  .section-howto .rule-holder .num-ttl.num3 img {
    width: 18px;
  }

  .section-howto .rule-holder .text {
    font-size: 15px;
    line-height: 1.66667;
  }

  .section-howto .block .pic-illust {
    width: 362px;
    margin-top: 20px;
  }

  .section-howto .block .box.n1 {
    width: 512px;
  }

  .section-howto .block .box.n2 {
    width: 452px;
  }

  .section-howto .block .box.n3 {
    margin-bottom: 7rem;
  }

  .n3 .n3margin {
    margin-top: 5rem;
  }

  .section-howto .note-block {
    margin-top: 30px;
  }

  .section-howto .note-title {
    font-size: 16px;
    font-weight: bold;
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
  }

  .section-howto .note-title:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url("../../../../common/ver19/img/howto/icon-attention.svg") no-repeat center center/contain;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .section-howto .note-text {
    font-size: 13px;
    line-height: 2;
  }
}

@media screen and (max-width: 640px) {
  .contents:before {
    content: "";
    display: block;
    background-image: url("../img/bg-all-sp.png");
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    /* height: 100%; */
    top: 63.125vw;
  }

  .page-title-holder {
    height: 63.125vw;
    background: url("../img/page-title-base-sp.jpg") center top no-repeat;
    position: relative;
    text-align: center;
    padding-top: 9.375vw;
  }

  .page-title-holder .page-title {
    margin: 0 auto;
  }

  .page-title-holder .page-title img {
    width: 55vw;
  }

  .page-title-holder .page-title-text {
    display: block;
    font-size: 2.8rem;
    font-weight: bold;
    margin-top: 3.125vw;
  }

  .page-title-holder .page-title-products {
    width: 29.375vw;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: -8.28125vw;
  }

  .sectioin-tab-block {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: 90.625vw;
    margin: 7.03125vw auto;
  }

  .tab {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    border: 1px solid #ccc;
    width: 45.3125vw;
    height: 20.3125vw;
    position: relative;
    text-decoration: none;
  }

  .tab3 {
    flex-direction: row-reverse;
  }

  .tab .text {
    font-size: 1.2rem;
    font-weight: bold;
    padding-left: 12.96875vw;
    color: #000;
  }

  .tab.tab1 {
    border-right: 0;
  }

  .tab .icon {
    width: 6.40625vw;
    display: block;
    position: absolute;
    left: 3.125vw;
    bottom: 3.125vw;
  }

  .tab .icon3 {
    width: 12.40625vw;
    display: block;
    position: absolute;
    left: 1.125vw;
    bottom: 3.125vw;
  }

  .tab .icon-arrow {
    width: 2.96875vw;
    height: 1.875vw;
    margin: auto;
    position: absolute;
    right: 12.8125vw;
    top: 90%;
    margin-top: -0.9375vw;
  }

  .width3 {
    width: 130%;
  }

  .section-howto-shampoo {
    border-bottom: 1px solid #ccc;
  }

  .section-howto-conditioner {
    padding-top: 12.5vw;
  }

  .section-howto-conditioner .section-title {
    margin-top: 0 !important;
  }

  .section-howto .title-rule {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 0 auto 12.03125vw;
    width: 65.9375vw;
    height: 8.4375vw;
    text-align: center;
    font-size: 2.8rem;
    font-weight: bold;
    background-color: #dedede;
  }

  .section-howto .rule-holder {
    margin: 0 auto 60px;
    width: 78.125vw;
  }

  .section-howto .rule-holder .box {
    text-align: center;
    border: 1px solid #ccc;
    border-top: 0;
    position: relative;
    padding-bottom: 4.6875vw;
  }

  .section-howto .rule-holder .box + .box {
    margin-top: 7.8125vw;
  }

  .section-howto .rule-holder .num-ttl {
    margin: 0 auto 5px;
    -webkit-transform: translateY(-3.90625vw);
    transform: translateY(-3.90625vw);
    position: relative;
  }

  .section-howto .rule-holder .num-ttl:before,
  .section-howto .rule-holder .num-ttl:after {
    content: "";
    display: block;
    width: 30.3125vw;
    height: 1px;
    background-color: #ccc;
    position: absolute;
    top: 50%;
  }

  .section-howto .rule-holder .num-ttl:before {
    left: -1px;
  }

  .section-howto .rule-holder .num-ttl:after {
    right: -1px;
  }

  .section-howto .rule-holder .num-ttl.num1 img {
    width: 2.1875vw;
  }

  .section-howto .rule-holder .num-ttl.num2 img {
    width: 4.21875vw;
  }

  .section-howto .rule-holder .num-ttl.num3 img {
    width: 4.375vw;
  }

  .section-howto .rule-holder .text {
    font-size: 2.4rem;
    line-height: 1.66667;
  }

  .section-howto .block .box.n1 {
    margin-top: 3.4375vw;
  }

  .section-howto .block .pic-illust {
    width: 68.75vw;
    margin: 7.8125vw auto 0;
  }
}

@media all and (min-width: 641px) {
  .section-top .section-title {
    display: block;
  }

  .section-top .section-title img {
    width: 99px;
    margin: auto;
  }

  .section-qa {
    padding: 30px 0 120px;
  }

  .section-qa .border-holder + .border-holder {
    margin-top: 40px;
  }

  .section-qa .border-holder .box {
    display: block;
  }

  .section-qa .border-holder .box.left {
    width: 280px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

  .section-qa .border-holder .box.right {
    width: 545px;
  }

  .section-qa .border-holder .box .text {
    width: 465px;
    font-size: 15px;
    line-height: 2.13333;
    padding-left: 1em;
    text-indent: -1em;
  }

  .section-qa .border-holder .pic {
    display: block;
    position: relative;
    margin-bottom: -33px;
  }

  .section-qa .border-holder .pic .icon {
    margin: auto;
    position: absolute;
    top: 205px;
    left: 0;
    right: 0;
  }

  .section-qa .border-holder .item-name {
    font-weight: bold;
    font-size: 24px;
    padding-bottom: 27px;
    margin-bottom: 27px;
    border-bottom: 1px solid #ccc;
    padding-left: 45px;
    position: relative;
  }

  .section-qa .border-holder .item-name .text-s {
    font-size: 16px;
  }

  .section-qa .border-holder .item-name:before {
    content: "";
    display: block;
    background: url("../../../../faq/scalpd/files/img/icon-q.svg") left top/contain no-repeat;
    width: 34px;
    height: 34px;
    position: absolute;
    left: 0;
    top: 0;
  }

  .section-qa .border-holder.n1 .pic {
    width: 138px;
  }

  .section-qa .border-holder.n2 .pic {
    width: 169px;
  }

  .section-qa .border-holder.n3 .pic {
    width: 154px;
  }

  .section-qa .border-holder.n4 .pic {
    width: 125px;
    margin-bottom: -60px;
  }

  .section-qa .border-holder.n5 .pic {
    width: 124px;
    margin-bottom: -50px;
  }
  .column-item-inner-list {
    border: solid 1px #ccc;
    padding: 35px 40px;
    margin-bottom: 30px;
  }
  .column-item-inner-ttl {
    margin: auto;
    font-size: 19px;
    font-weight: bold;
    border-bottom: solid 1px #000;
    padding-bottom: 7px;
  }
  .column-item-inner-text {
    margin-top: 20px;
    font-size: 15px;
    line-height: 2;
  }
  .sec-supervision .flex {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .sec-supervision .dr {
    width: 20%;
  }
  .sec-supervision .text_supervision {
    font-size: 22px;
    font-weight: bold;
    padding-right: 1.5em;
    line-height: 1.5;
  }
  .sec-supervision .rogo {
    width: 37%;
    height: 100%;
  }
  .pt35px {
    padding-top: 35px;
  }
}

@media screen and (max-width: 640px) {
  .section-top .section-title {
    text-align: center;
  }

  .section-top .section-title img {
    width: 20vw;
  }

  .section-qa {
    margin-bottom: 18.75vw;
  }

  .section-qa .border-holder {
    display: block;
    border: 1px solid #ccc;
    margin-top: 9.375vw;
    padding: 4.6875vw 5.46875vw;
    position: relative;
  }

  .section-qa .border-holder .item-name {
    font-weight: bold;
    font-size: 4.6875vw;
    padding-left: 9.375vw;
    padding-top: 0.9375vw;
    padding-bottom: 2.34375vw;
    margin-bottom: 8.59375vw;
    border-bottom: 1px solid #ccc;
    position: relative;
  }

  .section-qa .border-holder .item-name .text-s {
    font-size: 3.75vw;
    display: block;
  }

  .section-qa .border-holder .item-name:before {
    content: "";
    display: block;
    background: url("../../../../faq/scalpd/files/img/icon-q.svg") left top/contain no-repeat;
    width: 6.5625vw;
    height: 6.5625vw;
    position: absolute;
    left: 0;
    top: 0;
  }

  .section-qa .border-holder .pic {
    display: block;
    position: relative;
    margin: auto;
  }

  .section-qa .border-holder .pic .icon {
    margin: auto;
    position: absolute;
    bottom: 6.25vw;
    width: 20.9375vw;
    left: 0;
    right: 0;
  }

  .section-qa .border-holder .box .text {
    margin-bottom: 1.5625vw;
    font-size: 3.75vw;
    line-height: 5.625vw;
    padding-left: 1em;
    text-indent: -1em;
  }

  .section-qa .border-holder.n1 .pic {
    width: 36.09375vw;
  }

  .section-qa .border-holder.n2 .pic {
    width: 45.78125vw;
  }

  .section-qa .border-holder.n3 .pic {
    width: 45.78125vw;
  }

  .section-qa .border-holder.n4 .pic {
    width: 35.15625vw;
    margin-bottom: -60px;
  }

  .section-qa .border-holder.n5 .pic {
    width: 34.21875vw;
    margin-bottom: -50px;
  }

  .section-howto .note-block {
    margin-top: 7.8125vw;
  }

  .section-howto .note-title {
    font-size: 2.4rem;
    font-weight: bold;
    padding-left: 6.25vw;
    margin-bottom: 3.125vw;
    position: relative;
  }

  .section-howto .note-title:before {
    content: "";
    display: block;
    width: 4.6875vw;
    height: 4.6875vw;
    background: url("../../../../common/ver19/img/howto/icon-attention.svg") no-repeat center center/contain;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .section-howto .note-text {
    font-size: 2rem;
    line-height: 1.8;
  }

  .column-item-inner-list {
    border: solid 1px #ccc;
    padding: 35px 40px;
    margin-bottom: 30px;
  }
  .column-item-inner-ttl {
    margin: auto;
    line-height: 1.66667;
    font-size: 3.75vw;
    font-weight: bold;
    border-bottom: solid 1px #000;
    padding-bottom: 7px;
  }
  .sec-supervision .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .sec-supervision .dr {
    width: 50%;
  }
  .sec-supervision .text_supervision {
    font-size: 4.375vw;
    font-weight: bold;
    padding-right: 1.5em;
    line-height: 1.66667;
  }
  .sec-supervision .rogo {
    width: 80%;
    height: 100%;
  }
  .column-item-inner-text {
    margin-top: 20px;
    line-height: 1.66667;
    font-size: 3.75vw;
  }
  .sec-supervision .column-item-inner-text {
    font-size: 3.5vw;
  }
  .pt35px {
    padding-top: 35px;
  }
  .column-item-inner-text {
    margin-top: 20px;
    line-height: 1.66667;
    font-size: 3.75vw;
  }
}
/* add20241105 */
@media screen and (max-width: 640px) {
  .section-howto .title-rule.add241105 {
    margin-top: 10%;
  }
}

/* @media (min-width: 641px) {
  .product-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-bottom: 60px;
  }
}

@media (min-width: 641px) {
  .product-list .product-item {
    width: 29.333%;
    margin: 10px 2% 0;
    text-align: center;
  }
}

@media (min-width: 641px) {
  .product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
    height: 72px;
  }
}


@media (max-width: 641px) {
  .product-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-bottom: 60px;
  }
}

@media (max-width: 641px) {
  .product-list .product-item {
    width: 29.333%;
    margin: 10px 2% 0;
    text-align: center;
  }
}

@media (max-width: 641px) {
  .product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
    height: 72px;
  }
} */
