/* =======================================
   STEP UP LP - additional layout styles
   Mobile First
   デフォルト：SP
   768px以上：Tablet
   1025px以上：PC

   後で hairup-stepup.css へ追記できるよう別ファイル化
========================================== */

:root {
--bg-yellow: #E5B469;
--yellowbox-pad: 0 12px 12px;
--yellow-radius: 12px;
--yellow-border: 2px;
}
@media (min-width: 768px) {
    :root {
    --yellowbox-pad: 0 34px 30px;
    --yellow-radius: 30px;
    --yellow-border: 5px;
    }
}
@media (min-width: 1025px) {
    :root {
    --yellowbox-pad: 0 34px 30px;
    }
}

.stepup-lp,
.stepup-lp * {
    box-sizing: border-box;
}
.stepup-lp img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* =======================================
   FV
   Default = SP
========================================== */

.stepup-lp .fv {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: #ddf1f5;
}

.stepup-lp .fv .bg {
  position: absolute;
  inset: 0;
  display: block;
}

.stepup-lp .fv .bg img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.stepup-lp .fv .fv-copy {
  position: relative;
  z-index: 2;
  left: 50%;
  top: 0;
  width: 100%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.25vw;
}

.stepup-lp .fv .fv-copy h1 {
  position: static;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.stepup-lp .fv .fv-copy h1 img {
  display: block;
  width: 100%;
  height: auto;
}

.stepup-lp .fv .fv-copy .cvbtn {
  position: static;
  width: 92%;
  margin: 0;
  transform: none;
}

.stepup-lp .fv .fv-copy .cvbtn img {
  display: block;
  width: 100%;
  height: auto;
}


/* =======================================
   WORRIES
   Default = SP
========================================== */

.worries {
  position: relative;
  overflow: hidden;
  padding: 22px 12px 54px !important;
  background: linear-gradient(180deg, #dff8fc 0%, #d3f4fb 100%);
  text-align: center;
}

.worries::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-top: 16px solid #d3f4fb;
}

.worries-inner {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: auto;
}

.worries-lead {
  display: inline-block;
  margin: 0 0 5px;
  padding: 3px 12px;
  border: 1px solid #777;
  border-radius: 20px;
  background: #fff;
  font-size: 11px;
}

.worries h2 {
  margin: 0;
  color: #28829a;
  font-family: serif;
  font-size: 29px;
  line-height: 1.25;
  font-weight: 500;
}

.worries h2 span {
  color: #18728b;
}

.worries-sub {
  margin: 4px 0 12px;
  font-size: 12px;
}

.worries-points {
  display: block;
  width: 94%;
  margin: 0 auto;
}

.worries-copy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 96%;
  margin: 8px auto 0;
  color: #535353;
  font-size: 10px;
}

.worries-copy p {
  margin: 0;
  line-height: 1.55 !important;
}


/* =======================================
   OMAKASE INTRO
   Default = SP
========================================== */

.omakase-intro {
  padding: 32px 12px 16px !important;
  background: #fff;
  text-align: center;
}

.omakase-intro p {
  margin: 0 0 17px;
  font-size: 12px;
  line-height: 1.8 !important;
}

.omakase-intro picture {
  display: block;
  width: 94%;
  margin: auto;
}


/* =======================================
   OMAKASE
   Default = SP
========================================== */

.omakase {
  padding: 30px 8px 30px !important;
  background: #FFE8F1  url('../images/omakase_bg_pc.png') center top / 100% auto no-repeat;
}
picture.ribbon-subcatch {
    transform: translateY(-18px);
    position: absolute;
}
.omakase-card,
section.stepup-last .box {
  width: 94%;
  margin: auto;
  border-radius: 16px;
  background: #fff url(../images/omakase_bg_inner_sp.webp) center top / 100% auto no-repeat;
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
}
.omakase-card {
  position: relative;
}
.omakase-card picture.ribbon {
  transform: translateY(-15px);
  position: absolute;
  z-index: 2;
}
.stepup-main {
  display: block;
  width: 100%;
  padding: 20px 0 0 0;
}

.sculp-set {
  display: block;
  width: 100%;
  padding: 10px 0 10px 0;
}

.experience-box {
  position: relative;
  width: 94%;
  margin: 18px auto 25px auto;
  padding: 0;
  border: var(--yellow-border) solid var(--bg-yellow);
  border-radius: var(--yellow-radius);
  background: #fff;
}
.experience-box::after {
  content: "";
  width:0;
  height:0;
  border-style:solid;
  border-width: 16px 27px 0 27px;
  border-color: var(--bg-yellow) transparent transparent transparent;
  display: table;
  margin: 0 auto;
  transform:translateY(16px);
}

.experience-box .ribbon {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 58px;
}

.taiken-title,
.tabtitle,
.kininaru,
.picture,
.sculptitle {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.taiken-title {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 0;
}
.tabtitle {
  width: 100%;
  margin-top: 10px;
  display: flex;
  background: #BF940A;
  padding: 0.5em;
  justify-content: center;
  position: relative;
  border-radius: 2em;
  box-shadow: 0px 15px 0px -12px rgba(118, 91, 5);
}
.tabtitle.open {
  box-shadow: none;
}
.tabtitle:hover {
  filter: brightness(0.95);
}
.tabtitle:before,
.tabtitle:after,
.tabtitle.open:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  display: table;
}
.tabtitle:before {
  content: "";
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 1em;
  right: 10px;
}
.tabtitle:after {
  right: 14px;
  width:0;
  height:0;
  border-style:solid;
  border-width: 6px 6px 0 6px;
  border-color: #BF940A transparent transparent transparent;
}
.tabtitle.open:after {
  transform:rotate(180deg);
}
.tabtitle img {
  margin: 0 auto 0 0;
}
.movie-carael iframe {
    border: 1px solid #EFAFC6;
}
.movie-carael picture {
    margin-top: 5px;
}
.slide-box-stepup {
  background: #FCF5EF;
  padding: 1em;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-between;
}
.slide-box-stepup p {
  order: 2;
  font-size: clamp(14px, calc(11.3504px + 0.8547vw), 18px);
}
.slide-box-stepup picture {
  order: 1;
  margin-bottom: 10px;
}
.tabtitle img {
    max-width: 80%;
}
.kininaru {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}
.picture {
  width: 100%;
}

.sculptitle {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 16px;
  text-align: center;
}

.scalp-grid {
  display: block;
  padding: var(--yellowbox-pad);
}

.scalp-img {
  display: block;
  width: 100%;
  margin: 0 auto 12px;
}

.scalp-text h3 {
  margin: 0 0 15px;
  color: #4eb2bd;
  font-family: serif;
  font-size: 23px;
  text-align: center;
}

.scalp-text p {
  font-size: 14px;
  line-height: 1.75 !important;
}
.scalp-text p span {
  background: linear-gradient(transparent 60%, #F3E4AA 60%);
}
.clean-title {
  display: block;
  width: 95%;
  margin: 0 0 12px 0;
}
section.omakase .clean-inner {
    margin: -8% auto 0 auto;
}
section.omakase .clean-inner .text {
    padding: 15px;
}
section.omakase .clean-inner .text p {
    margin: 0 0 0 0;
    font-size: 13px;
    line-height: 1.5 !important;
}
section.omakase .clean-inner picture.bottle {
    padding: 15px 15px 15px 0;
}
.clean-balloon {
  display: block;
  width: 100%;
  margin: 0 auto;
  transform: translateY(40%);
}
.anshin-box {
  position: relative;
  width: 94%;
  margin: 40px auto 0 auto;
  padding: var(--yellowbox-pad);
  border: var(--yellow-border) solid var(--bg-yellow);
  border-radius: var(--yellow-radius);
  text-align: center;
  background: white;
}
.point-label {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4px 2em;
    border-radius: 2em;
    background: #e94a91;
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
    font-weight: bold;
}

.anshin-title {
  display: block;
  width: 100%;
  margin: 30px auto 25px auto;
}

.anshin-flow {
  display: block;
  width: 100%;
  margin: 0 auto 10px auto;
}

.last-img {
  display: block;
  width: 100%;
  margin-top: 14px;
}

.card-cv {
  position: relative;
  z-index: 2;
  width: 90%;
  margin: 0 auto 0;
  text-align: center;
  transform: translateY(10%);
}


/* =======================================
   JOJO
   Default = SP
========================================== */

.jojo {
  padding: 22px 8px 34px !important;
  background: #fffaf0 url('../images/omakase_jojo_bg_sp.jpg') center center / cover no-repeat;
  text-align: center;
}

.jojo-inner {
  width: 94%;
  margin: auto;
}
.jojo-title {
    display: block;
    width: 100%;
    margin: 0 auto;
    background: #E2AA56;
    padding: 0.5em 1em;
    line-height: 1;
    position: relative;
    border-radius: 10px;
    transform: translateY(-100%);
}
.jojo-title:after {
    content: "";
    display: table;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 20px 0 20px;
    border-color: #E2AA56 transparent transparent transparent;
    left: 0;
    right: 0;
    position: absolute;
    margin: 0 auto;
    transform: translateY(7px);
}
.jojo-course {
  display: block;
  width: 100%;
  margin: -10% auto 18px;
}

.entry-btn a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 86%;
  min-width: 0;
  padding: 11px 20px;
  border-radius: 32px;
  background: linear-gradient(90deg, #e00092, #c40055);
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 3px 0 rgba(100,0,60,.18);
}
.entry-btn a:hover,
.card-cv a img:hover {
  transform: scale(1.05);
}
.card-cv img {
    transition: all .6s;
}


/* =======================================
   ONAYAMI
   Default = SP
========================================== */

.stepup-lp .onayami {
  position: relative;
  overflow: hidden;
  padding: 20px 12px 30px !important;
  background: #ddf1f5;
  text-align: center;
}

.stepup-lp .onayami::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 210px;
  transform: translateX(-50%);
  background: url('../images/onayami_bg_sp.png') center bottom / 100% auto no-repeat;
  pointer-events: none;
}

.stepup-lp .onayami picture,
.stepup-lp .onayami .onayami-list {
  position: relative;
  z-index: 1;
}

.stepup-lp .onayami-title {
  display: block;
  width: 94%;
  margin: 0 auto 8px;
}

.stepup-lp .onayami-list {
  display: block;
  width: 94%;
  margin: 0 auto;
}

.stepup-lp .onayami-list picture {
  display: block;
  width: 100%;
  margin: 0 auto 2px;
}

.stepup-lp .onayami-list img {
  display: block;
  width: 100%;
}


/* ラフでは「セルフケアだけでは…」は水色エリアの外（白背景） */
.stepup-lp .omakase-intro {
  position: relative;
  z-index: 2;
  padding: 0 0 !important;
  background: #fff;
  text-align: center;
}

.stepup-lp .omakase-intro > p {
  display: none;
}

.stepup-lp .omakase-intro .onayami-last {
  display: block;
  width: 100%;
  margin: 0 auto;
  transform: translateY(-12%);
}

.stepup-lp .omakase-intro .omakase-title {
  display: block;
  background: url(../images/omakase_round_sp.png) center bottom / 100% auto no-repeat;
  width: 100%;
  margin: -5% auto 0 auto;
}
.slide-box-stepup-wrap {
    visibility: hidden;
    opacity: 0;
    height: 0;
    /* transform: translateY(-30px);
    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s; */
}
.slide-box-stepup-wrap.show {
  height: auto;
  visibility: visible;
  opacity: 1;
  /* transform: translateY(0);
  margin-bottom: 15px; */
}
.exp-inner {
  padding: var(--yellowbox-pad);
}
section.omakase .gray-box {
    background: #F3F3F3;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    margin: var(--yellowbox-pad);
    padding: 20px 0 0 0;
}
.anshin-box p.note {
    text-align: left;
}
section.cam-lastnote {
    background: #ffe8f1;
    padding: 0 0 50px 0;
    text-align: center;
}
section.omakase.cp-last {
    padding: 30px 8px 50px !important;
}



/* =======================================
   Tablet 768px+
========================================== */

@media (min-width: 768px) {

  .stepup-lp .fv {
    height: auto;
    max-height: none;
    aspect-ratio: 1536 / 588;
    margin: 0 auto;
    background: transparent;
  }
  .stepup-lp .fv .bg {
  }
  .stepup-lp .fv .fv-copy {
    left: 0;
    top: 3.3%;
    width: 49%;
    transform: none;
    gap: 2vw;
  }
  .stepup-main {
    padding: 40px 0 0 0;
  }
  picture.ribbon-subcatch {
    transform: translateY(-30px);
    width: 45%;
  }
  .stepup-lp .fv .fv-copy h1 {
  }
  .omakase {
    padding: 50px 0 0 0 !important;
  }
  .tabtitle {
    padding: 1.5em 1em;
  }
  .tabtitle:before {
    width: 30px;
    height: 30px;
    right: 20px;
  }
  .tabtitle:after {
    right: 27px;
    border-width: 8px 8px 0 8px;
  }
  .tabtitle img {
    margin: 0 auto;
  }
  .stepup-lp .fv .fv-copy .cvbtn {
    width: 65%;
  }
  .omakase-card picture.ribbon {
    transform: translate(15px, -18px);
    width: 80px !important;
  }
  .movie-carael picture {
    margin-top: 0;
    padding-left: 10px;
  }
  .stepup-lp .onayami-title {
    width: 72%;
  }
  .stepup-lp .onayami {
    padding: 20px 12px 50px !important;
  }
  .stepup-lp .onayami-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 86%;
  }
  .stepup-lp .onayami-list picture {
    margin-bottom: 0;
  }
  .stepup-lp .omakase-intro .omakase-title {
    background: url(../images/omakase_round_pc.png) center bottom / 100% 100% no-repeat;
    margin: 0 auto 0 auto;
  }
  .slide-box-stepup {
    flex-flow: initial;
  }
  .slide-box-stepup picture {
    order: 2;
    flex-shrink: 0;
    width: 50%;
  }
  .slide-box-stepup p {
    order: 1;
    padding-right: 20px;
  }
  .slide-box-stepup {
    padding: 30px 40px;
  }
  .kininaru {
    margin-top: 25px;
  }
  .experience-box::after {
    border-width: 34px 55px 0 55px;
    transform: translateY(34px);
  }
  section.omakase .youtube-inner {
    width: 50%;
  }
  .movie-carael {
    display: flex;
    align-items: flex-end;
    margin: -5% 0 0 0;
  }
  .sculp-set {
    padding: 25px 0 20px 0;
  }
  .scalp-grid {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
  }
  .scalp-img {
    margin-bottom: 0;
  }
  .sculptitle {
    margin-bottom: 30px;
  }
  section.omakase .clean-inner .text p {
    font-size: 14px;
  }
  .scalp-text h3 {
    text-align: left;
  }
  .omakase-card {
    background: #fff url(../images/omakase_bg_inner_pc.webp) center top / 100% auto no-repeat;
    border-radius: 50px;
  }
 .experience-box {
    border-radius: var(--yellow-radius);
    border-width: var(--yellow-border);
    padding: 0;
    margin: 18px auto 40px auto;
  } 
  section.omakase .clean-inner {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    align-items: flex-end;
    transform: translate(0, -25%);
    padding: 0 30px 0 0;
    margin: 0 auto;
  } 
  .exp-inner {
    margin-bottom: -5%;
  }
  section.omakase .gray-box {
    padding: 45px 30px 30px 30px;
    margin: 0 0 0 0;
    align-items: flex-end;
    position: relative;
    border-radius: 20px;
  }
  .scalp-text p {
    font-size: 15px;
  }
  .clean-balloon {
    margin: 0 0 0 auto !important;
    transform: translate(6%, -80%);
    width: 80%;
    position: relative;
    z-index: 2;
  }
  section.omakase .clean-inner picture.bottle {
    transform: translate(0, 0);
    position: absolute;
    right: 3%;
    padding: 0;
  }
  section.omakase .clean-inner .text {
    padding: 0 0 0 0;
  }
  .clean-title {
    width: 95%;
  }
  .anshin-title {
    margin: 40px auto 30px auto;
  }
  .last-img {
    background: url(../images/omakase_last_bg_pc.webp) center bottom / 100% 100% no-repeat;
  }
  .card-cv {
    width: 60%;
    transform: translateY(20%);
  }
  section.cam-lastnote {
    padding: 55px 0 80px 0;
  }
  .anshin-box {
    margin: 60px auto 0 auto;
  }
  .point-label {
    font-size: 20px;
  }
  .jojo-course {
    margin: -5% auto 18px;
  }
  section.omakase.cp-last {
    padding: 50px 8px 100px !important;
  }

}


/* =======================================
   PC 1025px+
========================================== */

@media (min-width: 1025px) {

  /* FV */
  .stepup-lp .fv {
  }

  .stepup-lp .fv .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .stepup-lp .fv .fv-copy {
    gap: 40px;
  }

  .stepup-lp .fv .fv-copy h1 {
  }

  .stepup-lp .fv .fv-copy .cvbtn {
    width: 60%;
  }


  /* WORRIES */
  .worries {
    padding: 34px 20px 82px !important;
  }

  .worries::after {
    border-left-width: 52px;
    border-right-width: 52px;
    border-top-width: 28px;
  }

  .worries-lead {
    padding: 4px 18px;
    font-size: 14px;
  }

  .worries h2 {
    font-size: 42px;
  }

  .worries-sub {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .worries-points {
    width: 82%;
  }

  .worries-copy {
    gap: 25px;
    width: 82%;
    font-size: 14px;
  }


  /* OMAKASE INTRO */
  .omakase-intro {
    padding: 46px 20px 22px !important;
  }

  .omakase-intro p {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .omakase-intro picture {
    width: min(760px, 82%);
  }
  picture.ribbon-subcatch {
    width: 100%;
    transform: translate(-64px, -30px);
  }
  .movie-carael {
    margin: -10% 0 0 0;
  }

  /* OMAKASE */
  .omakase {
    background-image: url('../images/omakase_bg_pc.png');
  }
  .stepup-main {
      padding: 20px 0 0 0;
  }
  .omakase-card {
    width: min(950px, 88%);
    border-radius: 50px;
  }
  section.omakase .gray-box {
    border-radius: 25px;
  }
  .sculp-set {
    padding: 30px 0 20px 0;
  }

  .experience-box {
    width: 858px;
    margin: 18px auto 40px auto;
    padding: 0;
    border-radius: var(--yellow-radius);
  }

  .experience-box .ribbon {
    width: 100% !important;
  }

  .taiken-title {
    width: 100%;
    margin-bottom: 18px;
  }

  .tabtitle {
    width: 100%;
  }

  .kininaru {
    width: 82%;
  }

  .picture {
  }

  .sculptitle {
  }

  .scalp-grid {
    grid-template-columns: 50% 1fr;
    gap: 32px;
  }

  .scalp-text h3 {
    font-size: 30px;
  }

  .scalp-text p {
    font-size: inherit;
    font-size: 18px;
  }
  section.omakase .clean-inner {
    grid-template-columns: 0.5fr 0.65fr;
  }
  .clean-title {
    width: 100%;
    margin: 0 0 15px 0;
  }

  .clean-balloon {
    width: 222px;
  }

  .anshin-box {
    width: 858px;
    margin: 70px auto 0 auto;
    padding: var(--yellowbox-pad);
    border-width: var(--yellow-border);
    border-radius: var(--yellow-radius);
  }

  .point-label {
    font-size: 26px;
  }

  .anshin-title {
    margin: 60px auto 30px auto;
  }

  .anshin-flow {
  }

  .card-cv {
    width: 60%;
  }


  /* JOJO */
  .jojo {
    padding: 34px 20px 54px !important;
    background-image: url('../images/omakase_jojo_bg_pc.jpg');
  }

  .jojo-inner {
    width: min(950px, 88%);
  }

  .jojo-title {
    margin-bottom: 20px;
  }

  .jojo-course {
    margin-bottom: 24px;
  }

  .entry-btn a {
    width: auto;
    min-width: 360px;
    padding: 14px 40px;
    font-size: 22px;
  }


  /* ONAYAMI */
  .stepup-lp .onayami {
    padding: 26px 0 80px 0 !important;
  }

  .stepup-lp .onayami::before {
    height: 220px;
    background-image: url('../images/onayami_bg_pc.png');
  }

  .stepup-lp .onayami-title {
    width: min(820px, 60%);
    margin-bottom: 4px;
  }

  .stepup-lp .onayami-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: min(980px, 72%);
    margin-top: -4px;
  }

  .stepup-lp .omakase-intro {
  }

  .stepup-lp .omakase-intro .onayami-last {
    width: 100%;
    max-width: none;
    margin: -1px auto 8px;
  }

  .stepup-lp .omakase-intro .omakase-title {
    width: 100%;
  }

}
