/* ---------------------------------------
共通
--------------------------------------- */
:root {
    --heading-font-size: 24px;
}

.affiliate-program {
    width: 1200px;
    margin: 10px auto;
    padding: 0px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .affiliate-program {
        width: 90%;
    }
}

.display-sp {
    display: none;
}

@media (max-width: 768px) {
    :root {
        --heading-font-size: 20px;
    }
    .display-pc {
        display: none;
    }
    .display-sp {
        display: flex;
    }
    
    .affiliate-program .container {
        width: 100vw;
    }
}

.catchphrase {
    width: 100%;
    margin: 20px 0px;
    display: block;
    color: #FF0000;
    font-size: var(--heading-font-size);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.catchphrase-center {
    text-align: center;
}

sub {
    font-size: 0.75em;
    vertical-align: super;
}

.section-container {
    margin: 20px 0px;
    padding: 10px 0px;
}

.section-container p {
    margin: 15px 0;
}

/* 打消し */
.section-title::before,
.section-title::after {
    content: none;
    display: none;
}

.section-title {
    margin: 0;
    padding: 0 0 5px;
    display: flex;
    position: relative;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(
        to right,
        #E50012 0%,
        #E50012 30%,
        #000000 30%,
        #000000 100%
    ) 1;
    font-size: var(--heading-font-size);
}


/* ---------------------------------------
ヒーローコピー
--------------------------------------- */
.hero-container {
    width: 100%;
    height: 190px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    background: #1F2A44;
}

.hero-inner {
    width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-inner {
        width: 100%;
    }
}

.hero-badge {
    width: 220px;
    height: 150px;
    display: flex;
    padding: 10px;
    background: #E50012;
    color: #FFFFFF;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-badge {
        width: 110px;
        padding: 5px;
    }
}

.badge-emphasis {
    font-size: 80px;
}

@media (max-width: 768px) {
    .badge-emphasis {
        font-size: 60px;
    }
}

.badge-text {
    font-size: var(--heading-font-size);
    margin-top: 15px;
}

.hero-container .hero-title {
    font-size: 40px;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .hero-container .hero-title.display-sp {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        font-size: 30px;
        line-height: 1.4;
    }

    .hero-container .hero-title.display-sp span {
        display: block;
        text-align: justify;
        text-align-last: justify;
    }

    .hero-container .hero-title.display-sp span:last-child {
        text-align: center;
    }
}

.hero-container .catchphrase {
    text-align: center;
}


/* ---------------------------------------
アフィリエイトとは
--------------------------------------- */
.point-container {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.point-inner {
    width: 550px;
    margin: 10px auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .point-inner {
        width: 100%;
    }
}

.point-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 55px;
    height: 50px;
    border-radius: 50px;
    background: #E50012;
    color: #FFFFFF;
}

/* ---------------------------------------
アフィリエイト利用の流れ
--------------------------------------- */
.flow {
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.step-inner {
    display: flex;
    flex-direction: row;
}

.step-badge {
    width: 100px;
    height: 40px;
    margin-right: 20px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 5px solid #E50012;
    border-radius: 12px;
    box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.25);
    background: #FFFFFF;
}

.step-content {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.step-title {
    font-size: 20px;
    margin: 4.5px 0 0;
    line-height: 1.4;
}

.step-content p {
    margin: 8px 0 0;
}

.flow-arrow {
    width: 0;
    height: 0;
    margin: 10px 0 20px 42px;
    border-left: 10px solid transparent;
    border-left-width: 10px;
    border-left-style: solid;
    border-left-color: transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid #E50012;
}

@media (max-width: 768px) {
    .flow-arrow {
        margin: 10px 0 20px 30px;
    }
}

/* ---------------------------------------
提携基準
--------------------------------------- */
.section-container ul {
    margin: 20px 0px;
    list-style: none;
}

.section-container li {
    margin-top: 10px;
    padding-left: 1em;
    position: relative;
}

.section-container li::before {
    content: "・";
    position: absolute;
    left: 0;
}


/* ---------------------------------------
登録誘導(CTA)
--------------------------------------- */
.regist-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.regist-guide .regist-button {
    width: 450px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: #e50012;
    color: #FFFFFF;
    font-size: var(--heading-font-size);
}

.regist-guide .regist-button:hover {
    opacity: 0.5;
}

.regist-guide img {
    width: 630px;
    border: 1px solid #000000;
}

@media (max-width: 768px) {
    .regist-guide {
        flex-direction: column;
    }
    
    .regist-guide .regist-button {
        width: 90%;
    }
    
    .regist-guide img {
        width: 90%;
    }
}



/*---------------------------------------
脚注
--------------------------------------- */
.footnote {
    margin: 20px;
}

.footnote ul {
    margin: 10px 0 0;
    list-style: none;
}

.footnote li {
    line-height: 1.3;
    font-size: 12px;
}
