.campaign_order li {
  list-style-type: decimal;
}

.campaign-title {
  font-weight: bold;
  text-align: center;
}

.exchange_link{
	display: flex;
	flex-wrap:wrap;
}
.exchange_link li {
	width: calc(100%/3);
	padding:0 5%;
	box-sizing:border-box;
}
.exchange_link li img {
	max-width:100%;
	height: auto;
}

@media screen and (min-width:769px){
  .newcampaign {
    width: 70%;
    margin: 0 auto;
  }
  .newcampaign_p {
    width: 100%;
    font-size: 1.575vw;
  }
  .campaign_order {
    font-size: 1.25vw;
    margin-bottom: 2vw;
  }
  .campaign_order li{
    margin-bottom: 1.5vw;
  }
}

@media screen and (max-width:768px){
  .newcampaign{
    margin-top: 5.0vw;
  }
  .campaign_order {
    font-size: 4.0vw;
    padding-inline-start: 30px;
    margin-bottom: 5.5vw;
  }
  .campaign_order li{
    margin-bottom: 5.5vw;
  }
}

.hero-header__text {
  z-index: 10;
}

.header {
  z-index: 100;
}

.hero-header__text--underline2{
    position: relative;
}

.hero-header__text--underline2::after {
  display: block;
  content: '';
  position: absolute;
  background-color: #63CFE3;
  width: 43rem;
  height: 2rem;
  left: 0;
  bottom: 0;
  z-index: -1;
}

@media screen and (min-width: 769px){
  .sp_only {
    display: none;
  }
}

@media screen and (max-width: 768px){
  .pc_only {
    display: none;
  }
}

@media screen and (max-width: 768px){
  .hero-qr{
    display: none;
  }
}


@media screen and (min-width: 769px){
  /* QRコード部分 (PC Only) */
  .hero-qr {
    font-family: 'Barlow', sans-serif;
    font-weight: Bold;
    color: #0826CE;
    font-size: 2rem;
    margin-bottom: 3vw;
    margin-top: -15%;
  }

  .referral-flex {
    display: flex;
  }

  #img-qr {
    margin-right: 5%;
  }

  .referral-text {
    font-size: 3rem;
  }

  .referral-code {
    margin-top: 5%;
    border: 2px solid #0826CE;
    border-radius: 5px;
    padding: 1rem 2rem;
    width: 80%;
  }

  .btn {
    cursor: pointer;
    position: relative;
    background-color: #FFF;
    border: none;
    right: -60%;
  }

  .btn img{
    width: 2rem;
  }

  /* Tooltip */
  .tooltip::after {
    content: 'Copied!';
    background: #555;
    display: inline-block;
    color: #fff;
    border-radius: .4rem;
    position: absolute;
    left: 50%;
    bottom: -.8rem;
    transform: translate(-50%, 0);
    font-size: .75rem;
    padding: 4px 10px 6px 10px;
    animation: fade-tooltip .5s 1s 1 forwards;
  }

  /* Animation */
  @keyframes fade-tooltip {
    to { opacity: 0; }
  }
}

.header_referral_campaign{
  background: linear-gradient(-135deg, #0826CE, #63CFE3);
}

@media screen and (min-width: 769px){
  /* referral header */
  .header_referral_campaign{
    height: 180px;
    display: flex;
    justify-content: center;
    width: 100%;
    position: fixed;
    z-index: 101;
  }
  .header_referral_close{
    background-color: transparent;
    border: none;
    position: relative;
    top: 5%;
    left: 75%;
    color: #FFF;
    font-size: 2.5rem;
    font-family: 'Inter';
    font-weight: bold;
  }
  .header_referral_close::before {
    content: "×";
  }
  .header_referral_text {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #FFF;
    margin: 15px;
    line-height: initial;
  }
  .header_referral_rewards {
    font-size: 3.5rem;
  }
  .header_referral_download {
    position: relative;
    right: -65%;
  }
  .header_referral_download img {
    width: auto;
    height: 40px;
    margin: 15px 5px;
  }
  .header {
    padding: 0px;
  }
  .header_logo_section{
    width: 100%;
    padding: 2rem 5rem;
    background-color: rgba(255, 255, 255, .8);
  }
  .header_referral_qr {
    margin: 30px;
    background-color: #FFF;
    padding: 10px;
  }
  .referral_sp{
    display: none;
  }

  /* modal function */
  .remodal {
    max-width: 420px;
    border-radius: 10px;
    line-height: initial;
  }
  .remodal-close {
    right: 0;
    left: 92%;
  }
  .modal_logo img{
    width: auto;
    height: 18px;
    position: relative;
    right: 40%;
    top: -30px;
  }
  .modal_referral_campaign {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #0826CE;
    margin: 15px;
  }
  .modal_referral_rewards {
    font-size: 3.5rem;
    display: block;
    margin: 1rem 0;
  }
  .modal_referral_rewards::before {
    content: "－";
  }
  .modal_referral_rewards::after {
    content: "－";
  }
  .modal_text {
    margin-bottom: 1rem;
  }
  .modal_text_download {
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 2rem;
  }
  .modal_header_referral_qr {
    padding: 5px;
    border: 1px solid #CCC;
    width: 115px;
    height: auto;
    margin: 0 auto;
  }
  .modal_header_referral_download img{
    width: auto;
    height: 40px;
    margin: 15px 5px;
  }

  .header_notification {
    height: 30px;
    font-size:1.5rem;
    color: #FFFFFF;
    Background:#0826CE;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Barlow', sans-serif;
    font-weight:bold;
    line-height: initial;
  }
}

@media screen and (max-width: 768px){
  .header_referral_campaign{
    width: 100%;
    height: 280px;
    position: fixed;
    z-index: 101;
  }
  .header_referral_close{
    background-color: transparent;
    border: none;
    position: relative;
    left: 85%;
    color: #FFF;
    font-size: 2.5rem;
    font-family: 'Inter';
    font-weight: bold;
    z-index: 102;
  }
  .header_referral_close::before {
    content: "×";
  }
  .header_referral_text {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: #FFF;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
    top: -45px;
    line-height: initial;
  }
  .referral_pc {
    display: none;
  }
  .header_referral_rewards {
    display: block;
    font-size: 3.5rem;
    margin: 1rem 0;
  }
  .header_referral_text p {
    margin: 1rem 0;
  }
  .header_referral_rewards::before {
    content: "－";
  }
  .header_referral_rewards::after {
    content: "－";
  }

  .header {
    padding: 0px;
  }
  .header_logo_section{
    width: 100%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, .8);
  }
  .header_referral_qr {
    display: none;
  }
  .header_referral_download img {
    width: auto;
    height: 40px;
    margin: 15px 5px;
  }

  .header_notification {
    font-size:1.5rem;
    padding: 2.5%;
    color: #FFFFFF;
    Background:#0826CE;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Barlow', sans-serif;
    font-weight:bold;
    line-height: initial;
  }

  .exchange_link li {
  	width: calc(100%/3);
  	padding:0 2.5%;
  	box-sizing:border-box;
  }
}
