/* ========================================
   DMM英会話キャンペーンページ - 完全CSS再現
   ======================================== */

/* Body Styles */
.campaign-page-body {
    margin: 0;
    padding: 0;
    font-family: var(--stk-base-font-family);
    font-size: var(--stk-base-font-size-pc);
    line-height: var(--stk-line_height);
    color: var(--main-text-color);
    background-color: #f9f9f9;
    font-weight: 400;
    overflow-x: hidden;
    max-width: 750px;
    margin: 0 auto;
}

/* ========================================
   CSS変数定義
   ======================================== */
:root {
    --stk-base-font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    --stk-base-font-size-pc: 15px;
    --stk-base-font-size-sp: 17px;
    --stk-wrap-width: 1166px;
    --stk-wide-width: 980px;
    --stk-main-width: 692px;
    --stk-line_height: 1.8;
    --main-text-color: #444;
    --inner-content-bg: #fff;
    --_margin1: 1.6em;
    --_margin-1: 0.8em;
    --_margin-2: 0.4em;
    --_margin2: 3.2em;
    --_padding1: 1.6em;
    --_padding-1: 0.8em;
    --_padding2: 3.2em;
    --_global--border-radius: 4px;
    --_lighter-color-gray: #e0e0e0;
    --_lightest-color-gray: #f5f5f5;
    --_dark-color-gray: #666;
    --_color-white: #fff;
    --_form-control-border-color: #ddd;
    --_form-control-border-color-hover: #999;
    --_global--transition-duration: 0.3s;
    --_global--transition-function-timing: ease;
    --_global--transition-delay: 0s;
    --_font-size: 1rem;
    --_line-height: 1.6;
    --_fluid-font-size: clamp(1.2rem, 2.5vw, 2rem);
    --_half-leading: 0.3;
    --_s-2: 0.5rem;
}

/* ========================================
   リセット・基本設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body要素の基本スタイルは .campaign-page-body に統合済み */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   WordPress互換クラス（レガシー対応）
   ======================================== */
/* 元のWordPress bodyクラスのスタイルは .campaign-page-body に統合済み */

/* コンテナ */
#container {
    width: 100%;
}

#content.lp-wrap.fadeIn {
    width: 100%;
}

#inner-content.wrap.page-full {
    max-width: 750px;
    margin: 0 auto;
    padding: 0;
}

#main {
    width: 100%;
}

.post-1660.page.type-page.status-publish.article {
    width: 100%;
}

.entry-content.cf {
    width: 100%;
}

/* 画像ブロック */
.image-block {
    margin: 0;
    text-align: center;
}

.image-block.stk-mb_0 {
    margin-bottom: 0;
}

.image-block.stk-mt_ss.stk-mb_ss {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.image-block figure {
    margin: 0;
    display: inline-block;
}

.image-block figure.aligncenter {
    text-align: center;
    margin: 0 auto;
}

.image-block figure.aligncenter.size-full.is-resized img {
    width: 658px;
    height: auto;
    max-width: 100%;
}

/* テキストスタイル */
.has-text-align-center {
    text-align: center;
}

.has-white-color {
    color: white;
}

.has-text-color {
    color: inherit;
}

.has-background {
    background-color: inherit;
}

.has-small-font-size {
    font-size: 0.875rem;
}

.has-medium-font-size {
    font-size: 1.125rem;
}

/* スペーサー */
.spacer {
    clear: both;
}


/* 見出し */
.section-heading.is-style-normal.stk-mt_ss.has-background,
.section-heading.is-style-normal.stk-mt_s.has-background,
.section-heading.has-text-align-left.is-style-normal.stk-mt_ss.has-background {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* セパレーター */
.separator-dots {
    border: none;
    text-align: center;
    margin: 20px 0;
}

.separator-dots::before {
    content: "• • •";
    color: #ccc;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
}

/* ギフト画像 */
.gift-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ステップ画像 */
.step-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* フォームスタイル */
.form-wrapper-no-bg {
    padding: 30px 20px;
    margin: 40px 0;
    border-radius: 10px;
}

.form-wrapper-no-bg h2 {
    margin-bottom: 20px;
}

.form-wrapper-no-bg label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.form-wrapper-no-bg input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-wrapper-no-bg input[type="email"]:focus {
    outline: none;
    border-color: #2196F3;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(223deg, rgb(2,154,247) 0%, rgb(107,185,234) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.submit-btn:hover {
    opacity: 0.9;
}

/* エラーメッセージ */
.error-messages {
    background-color: #ffebee;
    border: 1px solid #f44336;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.error-messages p {
    color: #d32f2f;
    margin: 0;
    font-weight: bold;
}


/* ========================================
   BEM設計コンポーネント - Phase 3
   ======================================== */

/* Campaign Page Layout */
.campaign-content {
    width: 100%;
}

/* Gift Showcase */
.gift-showcase {
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.gift-showcase__image {
    width: 100%;
    height: auto;
    max-width: 540px;
    display: block;
    margin: 0 auto;
}

/* Campaign Hero Section */
.campaign-hero {
    background-color: #ffefe0;
    padding: 0 0 15px;
    margin-bottom: 0;
}

.campaign-hero__container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

.campaign-hero__image {
    margin: 0;
    text-align: center;
}

.campaign-hero__img {
    width: 100%;
    height: auto;
    max-width: 658px;
    display: block;
    margin: 0 auto;
}

.campaign-hero__cta {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* CTA Button - 本格的なアニメーション効果 */
.cta-button {
    width: 100%;
    max-width: 400px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    background: linear-gradient(270deg, #029af7, #6bb9ea, #4fc3f7, #29b6f6, #029af7);
    background-size: 400% 400%;
    padding: 15px 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(2, 154, 247, 0.3), 0 1px 0 0 rgb(255 255 255 / .1) inset, 0 -1px 0 0 rgb(1 1 1 / .05) inset;
    position: relative;
    overflow: hidden;
    animation: ctaBounce 2s ease-in-out infinite, ctaPulse 3s ease-in-out infinite, ctaBackgroundMove 5s linear infinite;
    transform: translateZ(0);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(2, 154, 247, 0.5), 0 1px 0 0 rgb(255 255 255 / .2) inset;
    background: linear-gradient(270deg, #0288e1, #5bb3f0, #42a5f5, #2196f3, #0288e1);
    background-size: 400% 400%;
    animation-play-state: paused;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* バウンスアニメーション */
@keyframes ctaBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* パルスアニメーション */
@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(2, 154, 247, 0.3), 0 1px 0 0 rgb(255 255 255 / .1) inset, 0 -1px 0 0 rgb(1 1 1 / .05) inset;
    }
    50% {
        box-shadow: 0 6px 20px rgba(2, 154, 247, 0.5), 0 1px 0 0 rgb(255 255 255 / .1) inset, 0 -1px 0 0 rgb(1 1 1 / .05) inset;
    }
}

/* 背景移動アニメーション - 本番サイト風の滑らかな動き */
@keyframes ctaBackgroundMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.campaign-hero__button-text {
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    display: block;
}

.campaign-hero__notice {
    margin: 1rem 0;
    font-size: 14px;
    text-align: center;
}


/* Campaign Conditions Section */
.campaign-conditions {
    background-color: #fff6f6;
    padding: 20px 20px;
    margin: 40px 0 0;
}

.campaign-conditions__container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

.campaign-conditions__box {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    padding: 5px 17px;
    border: 1px solid #e0e0e0;
}

.campaign-conditions__content {
    position: relative;
}

.campaign-conditions__title {
    background: linear-gradient(196deg, #ff7300 0%, #ffa155 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem 0;
    text-align: center;
}


/* Campaign Period */
.campaign-period {
    text-align: center;
    background: linear-gradient(196deg, #a85009 0%, #d67c1a 100%);
    padding: 10px 20px;
    margin: 0 0 1rem;
    border-radius: 0 0 8px 8px;
}

.campaign-period__label {
    color: #fcee21;
    font-weight: bold;
    font-size: 1.1rem;
}

.campaign-period__date {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}



/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット対応 (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    
    .campaign-hero__container,
    .campaign-conditions__container {
        padding: 0 15px;
    }
}

/* モバイル対応 (768px以下) */
@media (max-width: 768px) {
    .campaign-hero__container,
    .campaign-conditions__container {
        padding: 0 10px;
    }
    
    .campaign-hero__title {
        font-size: 1.5rem;
    }
    
    .campaign-hero__button {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .campaign-hero__img {
        max-width: 100%;
    }
    
    .gift-showcase__image {
        max-width: 100%;
    }
    
    .campaign-period {
        padding: 8px 15px;
        margin: 0.5rem 0;
    }
    
    .campaign-period__label {
        font-size: 1rem;
    }
    
    .campaign-period__date {
        font-size: 1.1rem;
    }
    
    .campaign-conditions {
        padding: 15px;
        margin: 20px 0;
    }
    
    .campaign-conditions__box {
        padding: 10px 15px;
    }
    
    .campaign-conditions__title {
        font-size: 1.1rem;
        padding: 10px 15px;
    }
    
    .step-box {
        padding: 15px;
        margin: 0.5rem 0;
    }
    
    .step-box__title {
        font-size: 1.1rem;
        padding: 10px 15px;
    }
    
    .form-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .form-section__title {
        font-size: 1.1rem;
        padding: 12px 15px;
    }
    
    .faq-section {
        padding: 15px;
    }
    
    .faq-section__title {
        font-size: 1.1rem;
        padding: 12px 15px;
    }
    
    .faq-section__question {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .faq-section__answer {
        padding: 12px 15px;
    }
    
    .pre-submission-notice {
        margin: 15px 0;
    }
    
    .pre-submission-notice__text {
        font-size: 13px;
    }
}

/* 小画面モバイル対応 (480px以下) */
@media (max-width: 480px) {
    .campaign-hero__container,
    .campaign-conditions__container {
        padding: 0 5px;
    }
    
    .campaign-conditions {
        padding: 10px 0;
    }
    
    .campaign-hero__title {
        font-size: 1.3rem;
    }
    
    .campaign-hero__button {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .campaign-period {
        padding: 6px 10px;
    }
    
    
    .campaign-conditions__box {
        padding: 8px 10px;
    }
    
    .form-section {
        padding: 15px 10px;
    }
    
    .faq-section {
        padding: 10px;
    }
    
    .faq-section__question {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .faq-section__answer {
        padding: 10px 12px;
    }
}

/* 追加のWordPressクラス対応 */
.stk-pd-s {
    padding: var(--_padding-1);
}

.stk-mb_0 {
    margin-bottom: 0;
}

.stk-mt_0 {
    margin-top: 0;
}

.stk-mt_ss {
    margin-top: 1rem;
}

.stk-mt_s {
    margin-top: 1.5rem;
}

.stk-mb_s {
    margin-bottom: 1.5rem;
}

.stk-mb_ss {
    margin-bottom: 1rem;
}

/* フォントサイズクラス */
.pre--font-size.span-stk-fs-m {
    font-size: 1.1rem;
}

.pre--font-size.span-stk-fs-l {
    font-size: 1.2rem;
}

.pre--font-size.span-stk-fs-s {
    font-size: 0.9rem;
}

/* ラベルスタイル */
.pre--label.span-stk-label-yellow {
    background-color: #fcee21;
    color: #3e3e3e;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.pre--label.span-stk-label-sitecolor {
    background-color: #ff7300;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* カラークラス */
.sme-text-color.has-white-color {
    color: white !important;
}

.sme-text-color.has-mainttlbg-color {
    color: #fa015f;
}

.sme-text-color.has-stk-palette-four-color {
    color: #ff6900;
}




/* ========================================
   INLINE STYLES TO EXTERNAL CSS - インラインスタイル外部化
   ======================================== */

/* スペーサー */
.spacer {
    height: 25px;
    clear: both;
}

.spacer[style*="height:25px"] {
    height: 25px !important;
}

.spacer[style*="height:14px"] {
    height: 14px !important;
}

.spacer[style*="height:26px"] {
    height: 26px !important;
}

.spacer[style*="height:20px"] {
    height: 20px !important;
}

.spacer[style*="height:10px"] {
    height: 10px !important;
}

/* Snow Monkey Boxes - 基本スタイル */
.smb-box {
    position: relative;
    overflow: visible;
    border-radius: var(--smb-box--border-radius, 10px);
    border-width: 0;
    box-shadow: var(--smb-box--box-shadow, 0px 0px 10px 0px rgba(0, 0, 0, 0.3));
    color: var(--smb-box--color, inherit);
    padding: var(--smb-box--padding, 17px);
    background-color: var(--smb-box--background-color, #fff);
    opacity: var(--smb-box--background-opacity, 1);
    border-width: var(--smb-box--border-width, 1px);
}

/* プレゼント時期ボックス */
.period-box {
    color: #1a1a1a;
    line-height: 1.2;
}

/* プレゼント獲得までの流れボックス */
.flow-box {
    background: linear-gradient(196deg, rgb(255,115,0) 0%, rgb(255,161,85) 100%);
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* STEPボックス */
.step-box {
    background-color: #ff7300;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* 注意事項ボックス */
.notice-box {
    color: #3d140a;
    padding: 15px 20px;
    margin: 0 0 20px 0;
    border-radius: 8px;
    background: linear-gradient(196deg, rgb(255,115,0) 0%, rgb(255,161,85) 100%);
}

/* フォームボックス */
.form-box {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* FAQボックス */
.faq-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* フッター専用スタイル */
.campaign-footer {
    background: #000 !important;
    padding: 5px 17px;
    border: none !important;
    box-shadow: none !important;
}

/* ========================================
   SIMPLIFIED COMPONENTS - 簡素化されたコンポーネント
   ======================================== */

/* Step Items */
.step-item {
    margin-bottom: 20px;
}

.step-label {
    background-color: #fa015f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 8px;
}

.step-title {
    color: #fa015f;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Notice Text */
.notice-text {
    color: #1a1a1a;
    font-size: 15px;
    margin: 15px 0;
}

/* Exclusion List */
.exclusion-list {
    color: #1a1a1a;
    background-color: #f2f2f2;
    font-size: 15px;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.exclusion-list li {
    line-height: 1.2;
    margin-bottom: 8px;
    margin-left: 10px;
}

/* Period Highlight */
.period-highlight {
    color: #1a1a1a;
    line-height: 1.2;
    margin: 15px 0;
}

.period-highlight strong {
    background-color: #fa015f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1.1rem;
}

/* Important Notice */
.important-notice {
    color: #3d140a;
    padding: 15px 20px;
    margin: 0 0 20px 0;
    border-radius: 8px;
    background: linear-gradient(196deg, rgb(255,115,0) 0%, rgb(255,161,85) 100%);
    font-size: 1.1rem;
    font-weight: bold;
}

/* Important Text */
.important-text {
    margin: 15px 0;
}

.important-label {
    background-color: #fa015f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 8px;
}

/* Highlight Yellow */
.highlight-yellow {
    background-color: #ffeb3b;
    color: #333;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}

/* ========================================
   SIMPLIFIED CLASSES - 簡素化されたクラス
   ======================================== */

/* Condition Highlight */
.condition-highlight {
    color: #1a1a1a;
    background-color: #fffcce;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.4;
}

/* メイン条件テキスト - 大きく表示 */
.condition-main-text {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.6;
    margin: 20px 0;
    text-align: center;
    color: #333;
}

.condition-main-text strong {
    font-size: inherit;
    font-weight: bold;
}

/* Important List */
.important-list {
    color: #1a1a1a;
    background-color: #f2f2f2;
    font-size: 15px;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    list-style: none;
}

.important-list li {
    line-height: 1.4;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.important-list li::before {
    content: "•";
    color: #ff7300;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Disclaimer Text */
.disclaimer-text {
    color: #1a1a1a;
    font-size: 13px;
    margin: 15px 0;
    line-height: 1.4;
}

.faq-link {
    color: #ff7300;
    text-decoration: none;
    font-weight: bold;
}

.faq-link:hover {
    text-decoration: underline;
}

/* Digico List */
.digico-list {
    color: #3d140a;
    font-size: 11px;
    margin: 15px 0;
    list-style: none;
}

.digico-list li {
    margin-bottom: 10px;
    line-height: 1.4;
    padding-left: 15px;
    position: relative;
}

.digico-list li::before {
    content: "•";
    color: #ff7300;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer Links */
.footer-links {
    color: white;
    text-align: center;
    margin: 10px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Footer Copyright */
.footer-copyright {
    color: white;
    text-align: center;
    margin: 10px 0;
    font-size: 14px;
}

/* レガシー対応 */
.smb-box[style*="padding-top:7px"] {
    padding-top: 7px !important;
    padding-right: 17px !important;
    padding-bottom: 7px !important;
    padding-left: 17px !important;
    --smb-box--border-radius: 10px;
    --smb-box--box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    --smb-box--background-color: #fff;
    --smb-box--background-opacity: 1;
    --smb-box--border-width: 1px;
}

.smb-box[style*="padding-right:17px"] {
    padding-right: 17px !important;
    padding-left: 17px !important;
    --smb-box--border-radius: 10px;
    --smb-box--box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    --smb-box--background-color: #fff;
    --smb-box--background-opacity: 1;
    --smb-box--border-width: 1px;
}

.smb-box[style*="padding-right:12px"] {
    padding-right: 12px !important;
    padding-left: 12px !important;
    --smb-box--background-opacity: 1;
    --smb-box--border-style: none;
    --smb-box--border-width: 0px;
}

.smb-box[style*="padding-top:0"] {
    padding-top: 0 !important;
    padding-right: 12px !important;
    padding-bottom: 0 !important;
    padding-left: 12px !important;
    --smb-box--background-opacity: 1;
    --smb-box--border-style: none;
    --smb-box--border-width: 0px;
}

.smb-box[style*="padding-right:9px"] {
    padding-right: 9px !important;
    padding-left: 9px !important;
    --smb-box--border-radius: 10px;
    --smb-box--box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    --smb-box--background-color: #fff;
    --smb-box--background-opacity: 1;
    --smb-box--border-width: 1px;
}

/* 見出しスタイル */
.section-heading[style*="background:linear-gradient(196deg,rgb(255,115,0)"] {
    background: linear-gradient(196deg, rgb(255,115,0) 0%, rgb(255,161,85) 100%) !important;
}

/* STEPテキスト */
p[style*="letter-spacing:0px"] {
    letter-spacing: 0px !important;
}

/* FAQ見出し */
.faq-title {
    background: linear-gradient(196deg, rgb(255,115,0) 0%, rgb(255,161,85) 100%);
    padding: 15px 20px;
    margin: 0 0 20px 0;
    border-radius: 8px;
    color: white !important;
}

/* デジコセクション */
h4[style*="font-size: 18px"] {
    font-size: 18px !important;
    font-weight: bold;
    margin: 20px 0 15px 0;
    color: #333;
    border-left: 4px solid #ff7300;
    padding-left: 10px;
}

/* フッター背景 */
.smb-box[style*="--smb-box--background-color:#000"] {
    --smb-box--background-color: #000 !important;
    --smb-box--background-opacity: 1;
    --smb-box--border-style: none;
    --smb-box--border-width: 0px;
}

/* エラーメッセージ */
.error-messages {
    background-color: #ffebee;
    border: 1px solid #f44336;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.error-messages p {
    color: #d32f2f;
    margin: 0;
    font-weight: bold;
}

/* メールエラー */
#email-error {
    padding: 0;
    color: #d9534f;
    height: 1.2em;
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}

/* デジコセクション */
h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 15px 0;
    color: #333;
    border-left: 4px solid #ff7300;
    padding-left: 10px;
}
/* ========================================
   FORM REFACTORING - インラインスタイルを外部CSSに移動
   ======================================== */

/* フォーム全体のラッパー */
.form-wrapper-no-bg {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* 「メールアドレスを入力してください」のテキスト */
.form-wrapper-no-bg .form-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

/* メールアドレス入力欄 */
.email-input-wrapper {
    margin-bottom: 10px;
}

.email-input-wrapper input[type="email"] {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.email-input-wrapper input[type="email"]:focus {
    outline: none;
    border-color: #029AF7;
    box-shadow: 0 0 0 3px rgba(2, 154, 247, 0.2);
}

/* チェックボックスのエリア共通スタイル */
.consent-area {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin: 0 0 15px 0;
    cursor: pointer;
}

.consent-area input[type="checkbox"] {
    flex-shrink: 0;
    transform: scale(1.3);
    margin-right: 10px;
    margin-top: 4px;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

.consent-area .consent-label {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.consent-area .consent-label a {
    color: #007bff;
    text-decoration: underline;
}

.consent-area + .consent-area {
    margin-top: 15px;
}

/* ボタン */
.submit-button-wrapper {
    margin-top: 25px;
}

.submit-button-wrapper .btn {
    width: 100%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 16px 10px;
    border: none;
    border-radius: 50px;
    display: block;
    box-sizing: border-box;
    background: linear-gradient(to right, #029AF7, #029AF7);
    box-shadow: 0 4px 10px rgba(2, 154, 247, 0.4);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.submit-button-wrapper .btn:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 154, 247, 0.5);
}

.submit-button-wrapper .btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.email-input-wrapper {
    margin-bottom: 10px;
}

.email-input-wrapper input[type="email"] {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.email-input-wrapper input[type="email"]:focus {
    outline: none;
    border-color: #029AF7;
    box-shadow: 0 0 0 3px rgba(2, 154, 247, 0.2);
}

#email-error {
    padding: 0;
    color: #d9534f;
    height: 1.2em;
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}

.consent-area {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin: 0 0 15px 0;
    cursor: pointer;
}

.consent-area input[type="checkbox"] {
    flex-shrink: 0;
    transform: scale(1.3);
    margin-right: 10px;
    margin-top: 4px;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

.consent-area .consent-label {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.consent-area .consent-label a {
    color: #007bff;
    text-decoration: underline;
}

/* 外部リンクアイコン */
.fas.fa-external-link-alt {
    font-size: 12px;
    margin-left: 4px;
    color: #007bff;
}

.consent-area + .consent-area {
    margin-top: 15px;
}

.submit-button-wrapper {
    margin-top: 25px;
}

.submit-button-wrapper .btn {
    width: 100%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 16px 10px;
    border: none;
    border-radius: 50px;
    display: block;
    box-sizing: border-box;
    background: linear-gradient(to right, #029AF7, #029AF7);
    box-shadow: 0 4px 10px rgba(2, 154, 247, 0.4);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.submit-button-wrapper .btn:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 154, 247, 0.5);
}

.submit-button-wrapper .btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.submit-button-wrapper .btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* マーカースタイル */
.pre--maker.span-stk-maker-yellow {
    background-color: #ff6;
    padding: 2px 4px;
    border-radius: 3px;
}

/* stk-shiny-button アニメーション効果 */
.stk-shiny-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stk-shiny-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.stk-shiny-button:hover::before {
    left: 100%;
}

.stk-shiny-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(2, 154, 247, 0.4);
}

.stk-shiny-button--bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* FAQ（よくあるご質問）スタイル */
.oc-faq {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.oc-faq .accordion_check {
    display: none;
}

.oc-faq__title.faq__label {
    display: block;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    transition: background-color 0.3s ease;
}

.oc-faq__title.faq__label::before {
    content: "Q";
    display: inline-block;
    background-color: #ff7300;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
    vertical-align: middle;
}

.oc-faq__title.faq__label:hover {
    background-color: #e9ecef;
}

.oc-faq__title.faq__label::after {
    content: "▼";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 12px;
}

.oc-faq .accordion_check:checked + .faq__label::after {
    transform: translateY(-50%) rotate(180deg);
}

.oc-faq__comment {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
    display: flex;
    align-items: flex-start;
}

.oc-faq .accordion_check:checked ~ .oc-faq__comment {
    max-height: 200px;
    padding: 15px 20px;
}

.oc-faq__comment::before {
    content: "A";
    display: inline-block;
    background-color: #4b949c;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.oc-faq__comment p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.oc-faq__comment .is-style-simple_bg-gray {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
}