@charset "utf-8";

body {
    font-family: "Open Sans", sans-serif !important;
}

.cn-w {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2%;
}

#video-area {
  line-height: 0;
}

/*======== #referral-front =========*/
#referral-front {
    line-height: 1.7;
    padding: 120px 0;
    background-image: linear-gradient(90deg, rgba(248, 59, 16, 1), rgba(254, 174, 3, 1));
    color: #fff;
    text-align: center;
}
#referral-front .front-box h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
}
#referral-front .front-box .txt {
    font-size: 20px;
}

/*======== #referral-what =========*/
#referral-what {
    padding: 200px 0;
    background: url("../app/assets/imgs/referral/what-bg.png") no-repeat top right;
    background-size: contain;
}
#referral-what .what-box .txt-box {
    width: 50%;
    margin-right: auto;
}
#referral-what .what-box .txt-box h2 {
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
    color: #fe6400;
    line-height: 1.4;
}
#referral-what .what-box .txt-box .txt {
    font-size: 20px;
}

/*======== #referral-important =========*/
#referral-important {
    padding: 180px 0;
    background: url("../app/assets/imgs/referral/important-bg.png") no-repeat top left;
    background-size: contain;
}
#referral-important .important-box .txt-box {
    width: 53%;
    margin-left: auto;
}
#referral-important .important-box .txt-box h2 {
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
    color: #fe6400;
    line-height: 1.4;
}
#referral-important .important-box .txt-box .txt {
    font-size: 20px;
}

/*======== #eferral-warning =========*/
#referral-warning {
    padding: 120px 0;
    background: #faf7f2;
}
#referral-warning .black-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 80px 50px;
    border: 12px solid;
    border-image: repeating-linear-gradient(
        -45deg,
        #000 0 15px,
        #ff9f1a 15px 30px
    ) 12;
}
#referral-warning .warning-box {
    text-align: center;
}
#referral-warning .warning-box h2 {
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: bold;
    color: #e53935;
    letter-spacing: .05em;
}
#referral-warning .txt {
    font-size: 20px;
}
#referral-warning .txt span {
    display: inline-block;
    margin-top: 20px;
    font-size: 40px;
    font-weight: bold;
    color: #d50000;
    background: linear-gradient(transparent 55%,#fff176 55%);
    line-height: 1.5;
}
#referral-warning .warning-box .box {
    max-width: 800px;
    margin: 50px auto;
    padding: 60px 40px;
    background: #fff;
    border: 3px solid #fe6400;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
}
#referral-warning .warning-box .box ul {
    list-style: disc;
    padding-left: 20px;
}
#referral-warning .warning-box .box ul li {
    line-height: 1.4;
    font-size: 20px;
    font-weight: bold;
}
#referral-warning .warning-box .box ul li:not(:last-child) {
    margin-bottom: 15px;
}
#referral-warning .warning-box .txt-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/*======== #referral-charm =========*/
#referral-charm {
    line-height: 1.7;
    padding: 120px 0;
    background-image: linear-gradient(90deg, rgba(248, 59, 16, 1), rgba(254, 174, 3, 1));
    color: #fff;
}
#referral-charm h2 {
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #fff;
}
#referral-charm .charm-box .box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
}
#referral-charm .charm-box .box:nth-child(even) {
    flex-direction: row-reverse;
}
#referral-charm .charm-box .box .img {
    width: 50%;
}
#referral-charm .charm-box .box .txt-box {
    width: 45%;
}
#referral-charm .charm-box .box .txt-box .ttl .hx {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
}
#referral-charm .charm-box .box .txt-box .ttl .icon {
    font-size: 17px;
    font-weight: bold;
}
#referral-charm .charm-box .box .txt-box .ttl .icon span {
    font-size: 30px;
}
#referral-charm .charm-box .box .txt-box .txt {
    font-size: 20px;
}

/*======== #referral-common =========*/
#referral-common {
    padding: 200px 0;
    background: url("../app/assets/imgs/referral/common-bg.png") no-repeat top right;
    background-size: contain;
}
#referral-common .common-box .txt-box {
    width: 50%;
    margin-right: auto;
}
#referral-common .common-box .txt-box h2 {
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
    color: #fe6400;
    line-height: 1.4;
}
#referral-common .common-box .txt-box .txt {
    font-size: 20px;
}

/*======== #referral-special =========*/
#referral-special {
    padding: 120px 0;
    background-image: linear-gradient(90deg, rgba(248, 59, 16, 1), rgba(254, 174, 3, 1));
}
#referral-special .special-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}
#referral-special .special-box .box {
    width: calc((100% - 60px) / 2);
}
#referral-special .special-box .box .txt-box {
    padding: 30px 0 0;
}
#referral-special .special-box .box h3 {
    font-weight: bold;
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.4;
}
#referral-special .special-box .box h3 span {
    background: #fff;
    padding: 5px;
    color: #fe6400;
    font-size: 20px;
    display: block;
    max-width: 200px;
    margin: 0 auto 15px;
    border-radius: 50px;
}
#referral-special .special-box .box .txt-box .txt {
    color: #fff;
}

/*======== #referral-faq =========*/
#referral-faq {
    padding: 120px 0;
    background: #faf7f2;
}
#referral-faq h2 {
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #fe6400;
}
#referral-faq .faq-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#referral-faq .box {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
#referral-faq .box h3 {
    position: relative;
    margin: 0;
    padding: 20px 60px 20px 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    display: flex;
    align-items: center;
}
#referral-faq .box h3 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    border-radius: 50%;
    background: #fe6400;
    color: #fff;
    font-size: 18px;
    min-width: 35px;
}
#referral-faq .box h3::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.3s ease;
}
#referral-faq .box.active h3::after {
    content: "−";
}
#referral-faq .text {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 20px;
    transition: all 0.3s ease;
    line-height: 1.8076923077;
    display: flex;
    align-items: center;
}
#referral-faq .box.active .text {
    max-height: 200px;
    padding: 0 20px 20px;
}
#referral-faq .text span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    border-radius: 50%;
    background: #ff3838;
    color: #fff;
    font-size: 18px;
    vertical-align: top;
    min-width: 35px;
}

/*======== #referral-last =========*/
#referral-last {
    padding: 120px 0;
    background-image: linear-gradient(90deg, rgba(248, 59, 16, 1), rgba(254, 174, 3, 1));
}
#referral-last h2 {
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #fff;
}
#referral-last .last-box .txt {
    font-size: 20px;
    color: #fff;
    text-align: center;
}

/*======== #referral-cta =========*/
#referral-cta {
    padding: 120px 0;
    background: #faf7f2;
}
#referral-cta ul li {
    max-width: 800px;
    margin: 0 auto;
}
#referral-cta ul li:not(:last-child) {
    margin-bottom: 30px;
}
#referral-cta ul li a {
    display: block;
    padding: 35px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}
#referral-cta ul li.kengaku a {
    background: linear-gradient(135deg, #ff8a00, #ff5e00);
}
#referral-cta ul li a:hover {
    opacity: 0.6;
}
#referral-cta ul li.line a {
    background: linear-gradient(135deg, #06c755, #00a94f);
}
#referral-cta ul li.tel a {
    background: linear-gradient(135deg, #3498db, #1f6fb2);
}

@media screen and (max-width: 767px) {
  .cn-w {
    padding: 0 4%;
  }
  #visual-top {
    margin-top: 67px;
  }
/*======== #referral-front =========*/
  #referral-front {
    padding: 60px 0;
  }
  #referral-front .front-box h2 {
    font-size: 28px;
  }
  #referral-front .front-box .txt {
    font-size: 16px;
  }
/*======== #referral-what =========*/
  #referral-what {
    padding: 130px 0 60px;
    background-size: 100%;
  }
  #referral-what .what-box .txt-box {
    width: 100%;
    text-shadow: 
       1px  1px 5px #ffffff,
      -1px  1px 5px #ffffff,
       1px -1px 5px #ffffff,
      -1px -1px 5px #ffffff,
       1px  0px 5px #ffffff,
       0px  1px 5px #ffffff,
      -1px  0px 5px #ffffff,
       0px -1px 5px #ffffff;
  }
  #referral-what .what-box .txt-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  #referral-what .what-box .txt-box .txt {
    font-size: 16px;
  }
/*======== #referral-important =========*/
  #referral-important {
    padding: 130px 0 60px;
    background-size: 100%;
  }
  #referral-important .important-box .txt-box {
    width: 100%;
    margin-left: auto;
    text-shadow: 
       1px  1px 5px #ffffff,
      -1px  1px 5px #ffffff,
       1px -1px 5px #ffffff,
      -1px -1px 5px #ffffff,
       1px  0px 5px #ffffff,
       0px  1px 5px #ffffff,
      -1px  0px 5px #ffffff,
       0px -1px 5px #ffffff;
  }
  #referral-important .important-box .txt-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  #referral-important .important-box .txt-box .txt {
    font-size: 16px;
  }
/*======== #eferral-warning =========*/
  #referral-warning {
    padding: 60px 0;
  }
  #referral-warning .black-box {
    padding: 50px 30px;
  }
  #referral-warning .warning-box h2 {
    margin-bottom: 20px;
    font-size: 28px;
  }
  #referral-warning .txt {
    font-size: 16px;
  }
  #referral-warning .txt span {
    display: inline;
    font-size: 28px;
  }
  #referral-warning .warning-box .box {
    margin: 40px auto;
    padding: 40px 20px;
  }
  #referral-warning .warning-box .box ul li {
    font-size: 18px;
  }
/*======== #referral-charm =========*/
  #referral-charm {
    padding: 60px 0;
  }
  #referral-charm h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  #referral-charm .charm-box .box:nth-child(even) {
    flex-direction: row;
  }
  #referral-charm .charm-box .box:not(:last-child) {
    margin-bottom: 30px;
  }
  #referral-charm .charm-box .box .img {
    width: 100%;
    margin: 0 auto 15px;
  }
  #referral-charm .charm-box .box .txt-box {
    width: 100%;
    display: contents;
  }
  #referral-charm .charm-box .box .txt-box .ttl {
    text-align: center;
    width: 100%;
  }
  #referral-charm .charm-box .box .txt-box .ttl .hx {
    font-size: 25px;
    margin-bottom: 15px;
  }
  #referral-charm .charm-box .box .txt-box .ttl .icon {
    font-size: 16px;
  }
  #referral-charm .charm-box .box .txt-box .ttl .icon span {
    font-size: 25px;
  }
  #referral-charm .charm-box .box .txt-box .txt {
    font-size: 16px;
    order: 2;
  }
/*======== #referral-common =========*/
  #referral-common {
    padding: 130px 0 60px;
    background-size: 100%;
  }
  #referral-common .common-box .txt-box {
    width: 100%;
    text-shadow: 
       1px  1px 5px #ffffff,
      -1px  1px 5px #ffffff,
       1px -1px 5px #ffffff,
      -1px -1px 5px #ffffff,
       1px  0px 5px #ffffff,
       0px  1px 5px #ffffff,
      -1px  0px 5px #ffffff,
       0px -1px 5px #ffffff;
  }
  #referral-common .common-box .txt-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  #referral-common .common-box .txt-box .txt {
    font-size: 16px;
  }
/*======== #referral-special =========*/
  #referral-special {
    padding: 60px 0;
  }
  #referral-special .special-box {
    gap: 40px;
  }
  #referral-special .special-box .box {
    width: calc(100% / 1);
  }
  #referral-special .special-box .box .txt-box {
    padding: 20px 0 0;
  }
  #referral-special .special-box .box h3 {
    font-size: 25px;
    margin-bottom: 20px;
  }
  #referral-special .special-box .box h3 span {
    font-size: 16px;
    max-width: 180px;
  }
/*======== #referral-faq =========*/
  #referral-faq {
    padding: 60px 0;
  }
  #referral-faq h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  #referral-faq .box h3 {
    padding: 20px 35px 20px 10px;
  }
  #referral-faq .box h3::after {
    right: 10px;
  }
  #referral-faq .box.active .text {
    padding: 0 10px 20px;
  }
  #referral-faq .box .text {
    padding: 0 10px 0;
  }
/*======== #referral-last =========*/
  #referral-last {
    padding: 60px 0;
  }
  #referral-last h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  #referral-last .last-box .txt {
    font-size: 16px;
  }
/*======== #referral-cta =========*/
  #referral-cta {
    padding: 60px 0;
  }
  #referral-cta ul li {
    max-width: 800px;
    margin: 0 auto;
  }
  #referral-cta ul li:not(:last-child) {
    margin-bottom: 15px;
  }
  #referral-cta ul li a {
    padding: 25px 10px;
    font-size: 20px;
  }
}