.pc-br {
    display: block;
}
@media screen and (max-width: 767px) {
    .pc-br {
        display: none;
    }
}
/********************************

	タイトル_はじまり

********************************/
@media screen and (min-width: 768px) {
    .yellow-border-box > br {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .yellow-border-box > br {
        display: block;
    }

    .referral-program-section {
        position: relative;
        z-index: 1;
    }
}
/********************************

	タイトル_おわり

********************************/

/********************************

	KV_はじまり

********************************/
.campaign-banner-section.section-pc>.campaign-banner {
    width: 100%;
    height: fit-content;
    clip-path: ellipse(95% 100% at 45% 0%);
    background-color: white;
    position: relative;
}

.campaign-banner-section.section-pc>.campaign-banner>.campaign-banner-img {
    width: 100%;
    aspect-ratio: 5/2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: ellipse(90% 96% at 50% 0%);
    position: relative;
}

.campaign-banner-section.section-pc>.campaign-banner>.campaign-banner-img>.left-text {
    position: absolute;
    color: #ff026f;
    font-weight: bold;
    font-size: clamp(24px, 2.2vw, 46px);
    bottom: 20%;
    left: 10%;
    background-color: rgba(255, 255, 255, 0.9);
    border-top-right-radius: 20px;
    border-bottom: 4px solid #ff026f;
    padding: 30px;
    width: 35%;
}

/* sp */
.campaign-banner-section.section-sp>.campaign-banner {
    width: 100vw;
    height: fit-content;
}

.campaign-banner-section.section-sp>.campaign-banner>.campaign-banner-img {
    width: 100%;
    height: fit-content;
    padding-top: 25px;
}

.campaign-banner-section.section-sp>.campaign-banner>.campaign-banner-img>.left-text {
    position: absolute;
    color: #ff026f;
    font-weight: bold;
    font-size: 3vw;
    bottom: 3%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-top-right-radius: 10px;
    border-bottom: 4px solid #ff026f;
    padding: 20px;
    width: 40%;
}
.campaign-banner>.campaign-banner-img {
    height: 570px;
    width: 100%;
    aspect-ratio: 5 / 2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: ellipse(90% 96% at 50% 0%);
    position: relative;
    background-image: url(/common/images/renew/friend/friend-kv.webp);
    margin: 0 auto;
}
.kv-page-name {
    position: absolute;
    color: #ff026f;
    font-weight: bold;
    font-size: clamp(24px, 2.2vw, 46px);
    bottom: 20%;
    left: 18%;
    background-color: rgba(255, 255, 255, 1);
    border-top-right-radius: 15px;
    border-bottom: 4px solid #ff026f;
    padding: 15px 30px;
    width: 20%;
}
.access-name {
    font-size: 1.8rem;
}
.campaign-banner-section {
    position: relative;
    padding-bottom: 100px;
    background-color: #FEF5F8;
    overflow: hidden;
}
.campaign-banner {
    clip-path: ellipse(95% 100% at 45% 0%);
    background-color: #fff;
}

.slider-container.pc {
    padding: 0 0 100px 0;
    gap: 0;
}
.slider-imgs {
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3vw;
}
.school-kv-text {
    position: absolute;
    bottom: 17vw;
    right: 18vw;
    transform: rotate(4deg);
}
.bnr-margin {
    margin: 40px 0 40px;
}
@media screen and (max-width: 767px) {
    .campaign-banner>.campaign-banner-img {
        height: 230px;
        clip-path: none;
        position: relative;
        background-image: url(/common/images/renew/friend/friend-kv-sp.webp);
    }
    .kv-page-name {
        left: 0%;
        font-size: 5vw;
        padding: 10px 15px;
        bottom: 10%;
        width: 40%;
    }
    .access-name {
        font-size: clamp(12px, 1.5vw, 32px);
    }
    .campaign-banner-no1 {
        right: -20px;
        z-index: 1;
        bottom: 0;
    }
    .school-kv-text {
        position: absolute;
        bottom: 30vw;
        right: 4vw;
        transform: rotate(4deg);
        width: 50%;
    }
    .campaign-banner {
        clip-path: none;
        background-color: #fbbecd;
    }
    .campaign-banner-section {
        margin-top: -30px;
        padding-bottom: 0;
    }
    .bnr-margin {
        margin: 0;
    }
}
/********************************

	KV_おわり

********************************/

/* referral program */

.bg-03 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* .title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ff026f;
    font-weight: bold;
    line-height: 1.7;
    gap: 10px;
} */
.pink-text {
    color: #ff026f;
}
.referral-program-section .caption{
    font-size: clamp(16px, 5vw, 42px);
    font-weight: bold;
}
.img-you-gift {
    width: 95%;
    max-width: 1280px;
}
/* end referral program */

/********************************

	3STEP_はじまり

********************************/
.three-step-section {
    position: relative;
    z-index: 2;
}
.three-step-section .step {
    width: 100%;
    max-width: 640px;
}
.step02 {
    width: 100%;
    max-width: 640px;
    position: relative;
}
.step02 > img {
    width: 100%;
}
.step02-btn {
    width: 90%;
    font-size: clamp(12px, 3vw, 33px);
    border-radius: 10px;
    background-color: #ff026f;
    color: white;
    padding: clamp(5px, 3vw, 30px);
    font-weight: bold;
    position: absolute;
    left: 5%;
    bottom: 10%;
    z-index: 1;
}
.step02-btn > span {
    font-size: clamp(16px, 5vw, 55px);
}
.step02-btn > img {
    width: 6vw;
    max-width: 72px;
}
    @media screen and (max-width: 767px) {
    .three-step-section {
        margin-bottom: 10px;
        z-index: 1;
    }
}
/********************************

	3STEP_おわり

********************************/


/********************************

	セクションタイトル_はじまり

********************************/
.second-tit-mt {
    margin-top: 80px;
}
.contents-title-area {
    width: 100%;
    background-color: #fef6f8;
    text-align: center;
    color: #ff026f;
    padding: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}
.contents-title {
    width: fit-content;
    padding: 0 20px;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.yellow-border-box {
    width: fit-content;
    padding: 5px 10px;
    font-size: 40px;
    border-top: 2px solid #b7a35c;
    border-bottom: 2px solid #b7a35c;
    text-align: center;
    color: #ff026f;
    font-weight: bold;
}



@media screen and (max-width: 767px) {
    
    .contents-title-area {
        padding: 0;
    }
    
    .yellow-border-box {
        font-size: 28px;
    }
    .contents-title {
        font-size: 16px;
        gap: 5px;
        margin-top: 50px;
        margin-bottom: 10px;
    }
    .bg-03 {
        gap: 10px;
    }

}
/********************************

	セクションタイトル_おわり

********************************/

.img-block {
    text-align: center;
    margin: 30px 0;
}
.step-img {
    display: flex;
    flex-flow: column;
    gap: 50px;
}
@media screen and (max-width: 767px) {
    .step-img {
        width: auto;
        margin: 0 20px;
        gap: 30px;
    }
}
/********************************

	CVボタン_はじまり

********************************/
.cv-btn {
    background-color: #feee37;
    font-size: 1.5rem;
    text-align: center;
    padding: 15px 30px 15px 15px;
    border-radius: 5px;
    position: relative;
    margin: 20px auto 20px;
    box-shadow: 0 4px 0 #e6c518, 0 5px 10px rgba(0, 0, 0, 0.2);
}
/* .step2-btn {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
} */
.cv-btn a {
    text-decoration: none;
}
.cv-btn a p {
    margin: 0;
    color: #f12c5d;
    font-weight: bold;
    font-feature-settings: "palt";
    text-shadow: 
    2px  2px 0 #fff,
    -2px  2px 0 #fff,
    2px -2px 0 #fff,
    -2px -2px 0 #fff,
    2px  0px 0 #fff,
    -2px  0px 0 #fff,
    0px  2px 0 #fff,
    0px -2px 0 #fff;
}
.cv-btn a p span {
    font-size: 22px;
    font-weight: 600;
}
.cv-btn::after {
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #f12c5d;
    border-right: 2px solid #f12c5d;
    position: absolute;
    right: 12px;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(315deg);
    -ms-transform: translateY(-50%) rotate(315deg);
    transform: translateY(-50%) rotate(315deg);
    filter: 
  drop-shadow(1px 1px 0 #fff) 
  drop-shadow(-1px 1px 0 #fff) 
  drop-shadow(1px -1px 0 #fff) 
  drop-shadow(-1px -1px 0 #fff);
}
.video-check-banner-text > p > span:nth-child(2) {
    font-weight: 900;
    font-size: 1.6vw;
    top: 0;
}
@media screen and (max-width: 767px) {
    .step2-btn {
        letter-spacing: -0.3px;
    }
    .cv-btn {
        font-size: 18px;
        width: 80%;
    }
    .cv-btn a p {
        position: relative;
        left: -10px;
    }
    .cv-btn a p span {
        font-size: 16px;
        font-weight: 600;
    }
    .cv-btn::after {
        right: 25px;
    }
}
/********************************

	CVボタン_おわり

********************************/

/********************************

	STEP_はじまり

********************************/
.step-wrapper {
    display: flex;
    flex-flow: column;
    gap: 60px;
}
.step-box-container {
    position: relative;
}
.step-box {
  max-width: 680px;
  border: 4px solid #FA4874;
  border-radius: 30px;
  background: #FA4874; /* 背景をピンクにして一体感を出す */
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  height: auto;
}

.ribbon-img {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  z-index: 10;
}

.step-header {
  padding: 45px 0 0; /* 左右のパディングを0にして幅を稼ぐ */
}

.step-title {
  color: #fff;
  margin-bottom: 15px;
  font-size: 2.0rem;
  text-align: center;
}
.step-span {
    color: #ff026f;
}

/* --- 上の白ボックス：横幅を固定して揃える --- */
.header-main-content {
    background: #fff;
    padding: 20px 0;
    width: 99%;
    margin: 0 auto;
    border-radius: 20px;
    transition: border-radius 0.4s;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    
}
.header-main-content-step2 {
    background: #fff;
    padding: 20px 0;
    width: 99%;
    margin: 0 auto;
    border-radius: 20px;
    transition: border-radius 0.4s;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-flow: column;
}

/* 開いている時は、上下が繋がって見えるように下側の角丸をなくす */
.step-box.is-open .header-main-content,
.step-box.is-open .header-main-content-step2 {
  border-radius: 20px 20px 0 0;
}

.user-section { 
    width: 200px;      /* ★ここを上下共通の数値に設定 */
    flex-shrink: 0;    /* 画面が狭くなっても潰れないようにする */
    text-align: center;
 }
.user-img {
    width: 100px;       /* 適切なサイズに調整 */
    height: auto;
 }
 .user-img-step3 {
    width: 115px;
 }

.text-section-top {
    border-left: 6px dotted #f4cbda;
    padding-left: 15px;
    display: flex;
    flex-flow: column;
    align-items: center;
    flex-grow: 1;      /* 残りの幅をすべて使う */
    text-align: left;
    justify-content: center;
}

.header-intro {
    color: #4f4f4f;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

/* ボタン：ピンク色 */
.btn-detail {
    background: #FA4874;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.0rem;
    width: 190px;
    position: relative; /* アイコン配置の基準 */
  display: inline-block;
  transition: all 0.3s;
}

/* --- ＋アイコンの作成 --- */
.btn-detail::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 12px;
  height: 2px;
  background-color: #fff;
  transform: translateY(-50%);
  transition: all 0.3s;
}

/* 縦棒を重ねて「＋」にする */
.btn-detail::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 21px; /* 横棒の中心に合わせる */
  width: 2px;
  height: 12px;
  background-color: #fff;
  transform: translate(50%, -50%);
  transition: all 0.3s;
}

/* --- 開いた時（ーアイコン）の状態 --- */
/* 縦棒を回転・縮小させて隠すことで「ー」に見せる */
.step-box.is-open .btn-detail::before {
  transform: translate(50%, -50%) rotate(90deg);
  opacity: 0;
}



/* --- 下の白ボックス：幅を揃えて境界線を点線に --- */
.step-body {
    max-height: 0;
    opacity: 0;
    background: #fff;
    width: 99%; /* 上のボックスとピッタリ揃える */
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
    transition: all 0.4s ease;
    overflow: hidden;
    margin-bottom: 2px;
    display: none;    /* JSで制御している場合 */
}

.step-body-inner {
  /* 上下を繋ぐ点線の境界線 */
    border-top: 1px dashed #ffc0cb;
    padding: 20px 10px 30px;
    text-align: left;
}

/* 開いた時の挙動 */
.step-box.is-open .step-body {
    max-height: 100%;
    opacity: 1;
    margin-bottom: 4px; /* 一番下の余白 */
    display: block;
}

.description {
    color: #4f4f4f;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    width: 300px;
    font-feature-settings: "palt";
}
.step-body-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.step-text-img-block {
    display: flex;
}
.step-box3 {
    border-right: 6px dotted #f4cbda;
}
.step-box3-header-intro {
    padding-left: 15px;
}
    
@media screen and (max-width: 767px) {
    .step-title {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    .ribbon-img {
        width: 135px;
    }
    .header-intro {
        font-size: 0.8rem;
    }
    .step-box {
        max-width: 330px;
        border-radius: 12px;
        border: 2px solid #FA4874;
    }
    .btn-detail {
        font-size: 0.9rem;
        width: 195px;
    }
    .text-section-top {
        padding: 0 10px;
        border-left: 4px dotted #f4cbda;
    }
    .user-section {
        width: 70px;
    }
    .step-header {
        padding: 20px 0 0;
    }
    .header-main-content {
        border-radius: 8px;
        padding: 10px;
        box-sizing: border-box;
    }
    .step-box.is-open .header-main-content,
    .step-box.is-open .header-main-content-step2 {
        border-radius: 8px 8px 0 0;
    }
    .step-box.is-open .step-body {
        border-radius: 0 0 8px 8px;
    }
    .description {
        font-size: 0.9rem;
    }
    .step-body-flex {
        gap: 10px;
    }
    .step-box3 {
        border-right: 4px dotted #f4cbda;
        padding-right: 10px;
    }
    .step-box3-header-intro {
        padding-left: 10px;
    }
}