
/* iframeを縦並びに（SP） */
@media screen and (max-width:480px) {
.bn_osusume_contents iframe{width:100%;height:auto;aspect-ratio:16/9;display:block;margin-bottom:10px;}
}

/* PC版 - iframeを2列横並びに */
@media screen and (min-width:481px) {
.fs-c-checkoutSuccess .bn_osusume {
    margin-top: 40px;
}
.bn_osusume_contents{display:flex;flex-wrap:wrap;gap:10px;}
.bn_osusume_contents iframe{width:calc(50% - 5px);margin-bottom:10px;
        aspect-ratio: 16 / 9;}
.bn_osusume_contents.contents_4cols{
	flex-direction: row;
	flex-wrap: nowrap;
}

}
.fs-l-pageMain{
	margin: auto;
}
.questionnaire-images {
    margin: 20px 0;
    text-align: center;
}

.questionnaire-images h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.questionnaire-images p {
    margin-bottom: 15px;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.questionnaire-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

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

.container {
    max-width: 740px;
    background-color: white;
    padding-bottom: 10px;
    margin: auto;
}

.frequency-info {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.sample-button {
    background-color: #0177CC;
    color: white;
    border: none;
    padding: 8px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.sample-button:hover {
    background-color: #0052a3;
}

.sample-button::before {
    content: "✉";
    font-size: 30px;
    margin-top: -6px;
}

.register-button {
    background-color: #ff7901;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(255, 121, 1, 0.2);
}

.register-button:visited {
    color: white;
}

a.register-button:hover {
    color: #fff;
    background-color: #e66d00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 121, 1, 0.3);
}

.register-button::after {
    /*            content: "→";*/
    font-size: 24px;
    font-weight: bold;
}

.sample-link {
    color: #0177CC;
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 20px;
    margin-top: 8px;
}

.sample-link:hover {
    opacity: 0.8;
}

.membermerit {
    cursor: pointer;
}

.description {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* モーダルのスタイル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 100px);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: modalFadeIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    position: sticky;
    top: 0;
    background-color: #0177CC;
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 500;
}

.close-button {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.close-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

/* サンプルメールのスタイル */
.sample-email {
    font-family: 'メイリオ', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
}

.email-header {
    border-bottom: 2px solid #0177CC;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.email-title {
    font-size: 24px;
    font-weight: bold;
    color: #0177CC;
    margin-bottom: 5px;
}

.email-date {
    font-size: 14px;
    color: #666;
}

.email-section {
    margin-bottom: 30px;
}

.email-section h3 {
    font-size: 18px;
    color: #0177CC;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 4px solid #0177CC;
}

.email-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.email-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.auto-style1 {
    border-width: 0px;
}

.auto-style3 {
    font-weight: bold;
    color: #FFFFFF;
}

.auto-style4 {
    text-decoration: none;
}

#fs_CheckoutSuccess img.membermerit {
    max-width: 740px;
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }

    .modal-body {
        padding: 20px;
    }

    .email-title {
        font-size: 20px;
    }

    #fs_CheckoutSuccess img.membermerit {
        max-width: 100%;
    }

    .register-button {
        background-color: #ff7901;
        color: white;
        border: none;
        padding: 6px 8px;
        font-size: 16px;
    }

    #fs_CheckoutSuccess .bn_osusume a.movielink {
        display: block;
        margin-bottom: 20px;
    }
    .register-button{
        margin: 0 auto 40px;
    }
}

.snsWrapper {
    margin: 20px auto;
}

.snsWrapper a {
    color: #0177CC;
    font-size: 16px;
}

.snsWrapper ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 4px 10px;
}

.snsWrapper li {
    text-align: left;
    max-width: 200px;
    width: calc(50% - 10px);
}

@media (min-width: 599px) {
    .snsWrapper {
        margin: 20px 80px;
    }
    .register-button{
        display: block;
        margin: 0 auto;
        max-width: 240px;
        padding: 12px;
    }
        .sns_icon_img {
        flex-wrap: wrap;
            justify-content: space-evenly;
    }

.sns_icon_img a {
    max-width: 80px;
    text-decoration: underline;
}
li.fs-pt-list__item {
    margin: auto;
    display: block;
    width: auto;
    max-width: 240px;
}
.sample-link{
    margin-top: 0;
}
}
