/*
 * WordPress の「追加CSS」(wp-custom-css) から移設。
 * 元サイトと同じ見た目を保つため、内容はそのまま持ってきている。
 */

/* CTAセクション */
.cta-section {
    background: #ffffff;
    padding: 30px 40px;
	  margin-top: -40px;
}
.cta-section a,
.cta-section a:visited {
    color: #fff !important;
}

.cta-container { text-align: center; }

.cta-inner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap:20px;
    flex-wrap: wrap;
}

.cta-item {
    min-width: 60px;
}

.cta-label {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-label-left {
    color: #e4343a;
}
.cta-label-right {
    color: #f97316;
}

.cta-btn {
    display: inline-block;
    padding: 20px 47px;
    border-radius: 999px;
		width: 230px;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.cta-btn-contact {
	border-radius: 8px;
	border: 1px solid #FFF;
	background: linear-gradient(180deg, #FF005A 0%, #A30036 100%);
	box-shadow: 1px 3px 10px 0 rgba(0, 0, 0, 0.20);
}

.cta-btn-demo {
  border-radius: 8px;
	border: 1px solid #FFF;
	background: linear-gradient(180deg, #FF4800 0%, #AE1200 100%);
	box-shadow: 1px 3px 10px 0 rgba(0, 0, 0, 0.20);
}

/* ヘッダー 無料デモ体験ボタン */
.contact-button {
    margin-right: 16px;
}
.header-demo-button {
    background: #f97316;
    color: #fff;
    padding: 14.5px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.1);
}

.header-demo-button,
.header-demo-button:visited {
    color: #fff !important;
}
.header-demo-button:hover {
    opacity: 0.9;
    color: #fff !important;
}

/* スマホ幅でのヘッダーお問い合わせ・無料デモボタン調整 */
@media (max-width: 768px) {

  .header-demo-button {
   display: block;
   width: 80%;
   margin: 16px auto 0;
   text-align: center;
   padding: 25px 0;
   box-sizing: border-box;
   position: static !important;
 }

}

.smajun-lp {
        font-family:
            "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
        color: #1a202c;
        line-height: 1.8;
    }

    .smajun-lp * {
        box-sizing: border-box;
    }

    .sp-only {
        display: none;
    }

    .smajun-section {
        padding: 60px 20px;
    }

    .smajun-container {
        max-width: 1100px;
        margin: 0 auto;
    }

    /* ===== CTA Button ===== */
    .smajun-cta-btn {
        display: inline-block;
        background: linear-gradient(180deg, #ff005a 0%, #a30036 100%);
        color: #fff !important;
        text-decoration: none !important;
        padding: 18px 48px;
        border-radius: 8px;
        font-size: 18px;
        font-weight: bold;
        transition:
            transform 0.2s,
            box-shadow 0.2s;
        box-shadow: 0 4px 15px rgba(255, 0, 90, 0.3);
    }

    .smajun-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 0, 90, 0.4);
    }

    .smajun-cta-center {
        text-align: center;
        margin: 40px 0;
    }

    /* ===== CTA Banner Section ===== */
    .smajun-cta-banner-section {
        background: #fff;
        padding: 40px 20px;
        text-align: center;
    }

    .smajun-cta-btn-wide {
        display: block;
        max-width: 600px;
        margin: 0 auto;
        padding: 20px 40px;
    }

    /* ===== Check Banner Section ===== */
    .smajun-check-banner-section {
        padding: 24px 20px;
    }

    .smajun-check-banner-section .smajun-container {
        background: rgba(20, 183, 174, 0.05);
        border: 4px solid #2bbcbc;
        border-radius: 8px;
        padding: 20px;
        max-width: 1200px;
    }

    .smajun-check-banner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        color: #1a202c;
        font-size: 20px;
        font-weight: bold;
    }

    .smajun-check-label {
        background: #2bbcbc;
        color: #fff;
        padding: 8px 20px;
        border-radius: 4px;
        font-weight: bold;
        font-size: 18px;
        flex-shrink: 0;
    }

    .smajun-check-banner p {
        margin: 0;
    }

    /* ===== Hero Section ===== */
    .smajun-hero {
        background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
        padding: 80px 20px;
        position: relative;
        overflow: hidden;
			margin-top: 96px;
    }

    .smajun-hero::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 60%;
        height: 141%;
        background: url("/images/hero.webp") no-repeat center center;
        background-size: cover;
        z-index: 0;
    }

    .smajun-hero::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 60%;
        height: 100%;
        background: linear-gradient(to right, #f7fafc 0%, transparent 50%);
        z-index: 1;
    }

    .smajun-hero-inner {
        position: relative;
        z-index: 2;
    }

    .smajun-hero-inner {
        max-width: 1280px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 60px;
    }

    .smajun-hero-logo {
        max-width: 200px;
        margin-bottom: 12px;
    }

    .smajun-hero-tagline {
        font-size: 28px;
        color: #2bbcbc;
        font-weight: bold;
        margin-bottom: 8px;
    }

    .smajun-hero-title {
        font-size: 56px;
        font-weight: bold;
        line-height: 1.2;
        margin-bottom: 16px;
        text-align: left;
    }

    .smajun-hero-title strong {
        color: #ff005a;
        font-size: 72px;
        display: block;
    }

    .smajun-hero-subtitle {
        font-size: 18px;
        color: #1a202c;
        margin-bottom: 20px;
        line-height: 1.8;
			  font-weight: bold;
    }

    .smajun-hero-image {
        width: 100%;
        max-width: 500px;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .smajun-hero-visual {
        position: absolute;
        bottom: 10px;
        right: 11%;
        z-index: 2;
    }

    .smajun-hero-devices {
        display: flex;
        align-items: flex-start;
    }

    .smajun-hero-device:last-child {
        margin-top: 20px;
    }

    .smajun-hero-device-img {
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .smajun-hero-device:first-child .smajun-hero-device-img {
        width: 320px;
    }

    .smajun-hero-device:last-child .smajun-hero-device-img {
        width: 90px;
    }
    .smajun-hero-device-img-sp {
        width: 90px;
    }


    .smajun-hero-badge {
        position: absolute;
        top: -20px;
        right: -20px;
        background: linear-gradient(135deg, #ff005a 0%, #a30036 100%);
        color: #fff;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(255, 0, 90, 0.3);
    }

    .smajun-hero-badge-label {
        font-size: 12px;
    }

    .smajun-hero-badge-number {
        font-size: 32px;
        line-height: 1;
    }

    .smajun-hero-badge-unit {
        font-size: 14px;
    }

    /* ===== Problem Section ===== */
    .smajun-problem {
        background: #fff;
        text-align: center;
        padding-bottom: 20px;
    }

    .smajun-section-title {
        font-size: 36px;
        font-weight: bold;
        margin-bottom: 50px;
        line-height: 1.5;
        text-align: center;
    }

    .smajun-section-title strong {
        color: #2bbcbc;
    }

    .smajun-problem-cards {
        display: flex;
        gap: 30px;
        justify-content: center;
        margin-bottom: 50px;
        flex-wrap: wrap;
    }

    .smajun-problem-image-center {
        text-align: center;
        margin-top: 30px;
    }

    .smajun-problem-image-center img {
        max-width: 300px;
    }

    .smajun-problem-cards--4col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .smajun-problem-cards--4col .smajun-problem-card {
        max-width: none;
    }

    .smajun-problem-card {
        flex: 1;
        max-width: 360px;
        text-align: center;
        background: #fff;
        border: 3px solid #a0aec0;
        border-radius: 14px;
        padding: 16px;
        padding-top: 40px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 150px;
        position: relative;
    }

    .smajun-problem-number {
        display: block;
        width: 160px;
        background: #a0aec0;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        padding: 8px 16px;
        border-radius: 21px;
        position: absolute;
        top: -18px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .smajun-problem-card--cyan {
        background: #fff;
        border: 4px solid #2bbcbc;
        position: relative;
        padding-top: 5px;
    }

    .smajun-problem-card--cyan .smajun-problem-number {
        background: #2bbcbc;
        position: absolute;
        top: -18px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .smajun-problem-text {
        font-size: 18px;
        color: rgb(21, 16, 10);
        font-weight: bold;
        line-height: 1.5;
        margin: 0 0 15px;
    }

    .smajun-problem-icon {
        width: 255px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .smajun-problem-icon img {
        max-width: 100%;
        object-fit: contain;
    }

    .smajun-problem-subtext {
        font-size: 14px;
        color: #718096;
        line-height: 1.6;
        margin-top: 15px;
        text-align: left;
        font-weight: bold;
    }

    /* ===== Importance Section ===== */
    .smajun-importance {
        padding-top: 0;
    }

    /* ===== Role Section ===== */
    .smajun-role-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .smajun-role-card {
        position: relative;
        display: flex;
        align-items: center;
        gap: 15px;
        background: #fff;
        border: 3px solid #2bbcbc;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        margin-top: 15px;
        min-height: 120px;
    }

    .smajun-role-icon {
        flex-shrink: 0;
        width: 100px;
    }

    .smajun-role-icon img {
        width: 100%;
        object-fit: contain;
    }

    .smajun-role-content {
        flex: 1;
    }

    .smajun-role-number {
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        display: inline-block;
        background: #2bbcbc;
        color: #fff;
        font-size: 14px;
        font-weight: bold;
        padding: 6px 20px;
        border-radius: 20px;
        white-space: nowrap;
    }

    .smajun-role-title {
        font-size: 22px;
        font-weight: bold;
        color: #1a202c;
        margin: 0 0 8px;
        line-height: 1.4;
        text-align: left;
    }

    .smajun-role-desc {
        font-size: 16px;
        color: #718096;
        margin: 0;
        line-height: 1.6;
        text-align: left;
    }

    /* ===== Formal Section ===== */
    .smajun-formal {
        background: #e8e8ea;
        color: #1a202c;
        text-align: center;
    }

    .smajun-formal-title {
        font-size: 38px;
        font-weight: bold;
        margin-bottom: 50px;
    }

    .smajun-formal-problems {
        display: flex;
        flex-direction: row;
        gap: 20px;
        max-width: 1100px;
        margin: 0 auto;
        justify-content: center;
    }

    .smajun-formal-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .smajun-formal-img {
        width: 100%;
        max-width: 320px;
        border-radius: 8px;
    }

    .smajun-formal-item p {
        font-size: 16px;
        color: #1a202c;
        font-weight: bold;
        margin: 0;
        line-height: 1.6;
    }

    .smajun-formal-conclusion {
        font-size: 28px;
        color: #718096;
        font-weight: 500;
    }

    /* ===== Solution Section ===== */
    .smajun-solution {
        background: #fff;
        text-align: center;
    }

    .smajun-solution-logo {
        max-width: 280px;
        margin: 0 auto 30px;
    }

    .smajun-solution-headline {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 50px;
    }

    .smajun-approaches {
        display: flex;
        gap: 30px;
        justify-content: center;
    }

    .smajun-approach {
        flex: 1;
        max-width: 320px;
        background: #f7fafc;
        border-radius: 16px;
        padding: 30px;
        text-align: center;
    }

    .smajun-approach-number {
        display: inline-block;
        width: 40px;
        height: 40px;
        background: #2bbcbc;
        color: #fff;
        border-radius: 50%;
        line-height: 40px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .smajun-approach-title {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 15px;
        color: #1a202c;
        text-decoration: underline;
        text-decoration-color: #ffcc00;
        text-underline-offset: 4px;
    }

    .smajun-approach-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        background: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .smajun-approach-desc {
        font-size: 14px;
        color: #718096;
        text-align: left;
    }

    /* ===== Features Section ===== */
    .smajun-features {
        background: #2bbcbc;
    }

    .smajun-features .smajun-section-title {
        color: #fff;
        font-size: 44px;
    }

    .smajun-features .smajun-section-title strong {
        color: #fff;
    }

    .smajun-feature-row {
        display: flex;
        gap: 30px;
        align-items: stretch;
        margin-bottom: 30px;
        background: #fff;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .smajun-feature-row:last-child {
        margin-bottom: 0;
    }

    .smajun-feature-content {
        flex: 1;
    }

    .smajun-feature-image {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .smajun-feature-image img {
        width: 100%;
        border-radius: 8px;
        display: block;
    }

    .smajun-feature-number {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #2bbcbc;
        color: #fff;
        padding: 8px 20px;
        border-radius: 50px;
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .smajun-feature-title {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 15px;
			text-align: left;
    }

    .smajun-feature-desc {
        font-size: 14px;
        color: #1a202c;
        line-height: 1.8;
    }

    /* ===== Case Study Section ===== */
    .smajun-case {
        background: #fff;
    }

    .smajun-case-title {
        text-align: center;
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 50px;
    }

    .smajun-case-card {
        background: #f7fafc;
        border-radius: 16px;
        padding: 40px;
        display: flex;
        gap: 40px;
        align-items: center;
    }

    .smajun-case-info {
        flex: 1;
    }

    .smajun-case-result {
        flex: 1;
        text-align: center;
    }

    .smajun-case-label {
        display: inline-block;
        background: #2d3748;
        color: #fff;
        padding: 5px 15px;
        border-radius: 4px;
        font-size: 14px;
        margin-bottom: 15px;
    }

    .smajun-case-company {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .smajun-case-challenge {
        margin-bottom: 20px;
    }

    .smajun-case-challenge-title {
        font-size: 14px;
        color: #718096;
        margin-bottom: 10px;
    }

    .smajun-case-before-after {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .smajun-case-before,
    .smajun-case-after {
        padding: 15px 25px;
        border-radius: 8px;
        font-weight: bold;
    }

    .smajun-case-before {
        background: #e2e8f0;
    }

    .smajun-case-after {
        background: #ff005a;
        color: #fff;
    }

    .smajun-case-arrow {
        font-size: 24px;
        color: #718096;
    }

    .smajun-case-content-title {
        font-size: 14px;
        color: #718096;
        margin-bottom: 10px;
    }

    .smajun-case-content-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .smajun-case-result-label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .smajun-case-result-box {
        background: #fff;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .smajun-case-result-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .smajun-case-result-highlight {
        font-size: 48px;
        font-weight: bold;
        color: #ff005a;
    }

    .smajun-case-result-unit {
        font-size: 20px;
    }

    .smajun-case-result-detail {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 20px;
    }

    .smajun-case-result-item {
        text-align: center;
    }

    .smajun-case-result-number {
        font-size: 36px;
        font-weight: bold;
    }

    .smajun-case-result-item-label {
        font-size: 12px;
        color: #718096;
    }

    /* ===== Kumocan Note ===== */
    .smajun-kumocan-note {
        text-align: center;
        padding: 30px 20px;
        background: #2bbcbc;
        color: #fff;
        font-size: 14px;
    }

    .smajun-kumocan-note a {
        color: #fff;
        text-decoration: underline;
    }

    /* ===== Final CTA ===== */
    .smajun-final-cta {
        background: #fff;
        color: #1a202c;
        text-align: center;
        padding: 80px 20px;
    }

    .smajun-final-cta-title {
        font-size: 40px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .smajun-final-cta-subtitle {
        font-size: 16px;
        color: #718096;
        margin-bottom: 40px;
    }

    .smajun-final-cta-image {
        margin-bottom: 30px;
    }

    .smajun-final-cta-image img {
        max-width: 400px;
        width: 100%;
    }

    /* ===== Responsive ===== */
    @media (max-width: 768px) {
        .sp-only {
            display: block;
        }

        .smajun-hero::before {
            width: 100%;
            height: 70%;
            top: 0;
            right: 0;
            background-position: top center;
        }

        .smajun-hero::after {
            width: 100%;
            height: 70%;
            top: 0;
            background: linear-gradient(
                to bottom,
                transparent 30%,
                #f7fafc 100%
            );
        }

        .smajun-hero {
            position: relative;
            padding: 40px 20px 60px;
					margin-top: 50px;
        }

        .smajun-hero-inner {
            display: block;
            position: relative;
        }

        .smajun-hero-content {
            position: relative;
            z-index: 2;
					padding-top: 220px;
        }

        .smajun-hero-visual {
            position: relative;
            margin-top: -60px;
            z-index: 2;
					  padding-top: 80px;
					  right: 0;
					bottom: 0;
        }

        .smajun-hero-image {
            width: 100%;
            max-width: 100%;
            border-radius: 12px;
        }

        .smajun-hero-title {
            font-size: 28px;
            text-align: left;
        }

        .smajun-hero-title strong {
            font-size: 36px;
        }

        .smajun-hero-tagline {
            text-align: left;
            font-size: 20px;
        }

        .smajun-hero-subtitle {
            text-align: left;
            font-size: 14px;
					  font-weight: bold;
        }

        .smajun-hero-badge {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 80px;
            height: 80px;
            z-index: 3;
        }

        .smajun-hero-badge-number {
            font-size: 22px;
        }

        .smajun-hero-badge-label,
        .smajun-hero-badge-unit {
            font-size: 10px;
        }

        .smajun-cta-btn-wide {
            padding: 16px 20px;
            font-size: 16px;
        }

        .smajun-check-banner {
            flex-direction: column;
            text-align: center;
            gap: 10px;
        }

        .smajun-check-banner p {
            font-size: 16px;
        }

        .smajun-problem-cards {
            flex-direction: column;
            align-items: stretch;
        }

        .smajun-problem-cards--4col {
            grid-template-columns: 1fr;
        }

        .smajun-role-cards {
            grid-template-columns: 1fr;
        }

        .smajun-problem-card {
            max-width: 100%;
					min-height: 100px;
        }

        .smajun-section-title {
            font-size: 26px;
        }

        .smajun-approaches {
            flex-direction: column;
            align-items: center;
        }

        .smajun-problem-card--cyan {
            max-width: 100%;
        }

        .smajun-formal-problems {
            flex-direction: column;
					gap: 0px;
        }

        .smajun-feature-row {
            flex-direction: column;
            padding: 20px;
        }

        .smajun-feature-image {
            order: -1;
            margin-bottom: 20px;
            align-items: center;
        }

        .smajun-case-card {
            flex-direction: column;
        }

        .smajun-importance-cards {
            grid-template-columns: 1fr;
        }

        .smajun-cta-btn {
            padding: 15px 30px;
            font-size: 16px;
        }

        .smajun-section-title {
            font-size: 22px;
        }
    }

.demo-form-wrapper {
	display:flex;
	justify-content:center;
	gap:60px;
	padding-top: 160px;
	align-items: center;
}

.demo-form-wrapper-subtext {
	text-align: center;
	margin-top: 20px;
}
.demo-form-wrapper-images {
	display: flex;
}

@media (max-width: 768px) {
	.demo-form-wrapper {
	display:flex;
	justify-content:center;
	padding-top: 96px;
		gap: 0px;
		width: 90%;
		margin: 0 auto;
	align-items: center;
}
	.demo-wrapper-disabled {
		display: none;
	}
}

.afc_popup .img {
  width: 30px !important;
  height: 30px !important;
}

/* 補助金セクションの上にマージン追加 */
.hozyokin { margin-top: 120px; }


/* ===== Sticky Bottom CTA Bar ===== */

.sticky-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #282846;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  padding: 12px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-bottom-cta.is-show {
  transform: translateY(0);
}

.sticky-bottom-cta.is-hide {
  display: none;
}

.sticky-bottom-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.sticky-bottom-cta-subsidy {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.sticky-bottom-cta-subsidy .highlight {
  color: #14B7AE;
  font-size: 20px;
}

.sticky-bottom-cta-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.sticky-bottom-cta-btn {
  height: 38px;
  padding: 0 50px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.sticky-bottom-cta-btn-outline {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.sticky-bottom-cta-btn-primary {
  background: #f59e0b;
  color: #1f2937;
}

.sticky-bottom-cta-close {
  position: absolute;
  top: 4px;
  right: 8px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}

body {
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .sticky-bottom-cta {
    padding: 10px 12px;
  }

  .sticky-bottom-cta-inner {
    flex-direction: column;
    gap: 8px;
  }

  .sticky-bottom-cta-subsidy {
    text-align: center;
    font-size: 12px;
    white-space: normal;
  }

  .sticky-bottom-cta-subsidy .highlight {
    font-size: 14px;
  }

  .sticky-bottom-cta-actions {
    width: 100%;
    margin-left: 0;
  }

  .sticky-bottom-cta-btn {
    flex: 1;
    height: 44px;
    font-size: 13px;
  }

  .sticky-bottom-cta-close {
    top: 2px;
    right: 6px;
  }

  body {
    padding-bottom: 112px;
  }
}

/* Advanced Floating Content Lite プラグインのインラインCSS相当 */
.afc_popup {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 250px;
  margin: 0 30px 60px 0;
  z-index: 999999;
  padding: 10px;
  color: #ffffff;
}

.afc_popup .img {
  position: absolute;
  top: -15px;
  right: -15px;
}

/*
 * ここから下は移行時に足したもの。
 * WordPress では本文中の style 属性で指定していた色や下線を、クラスに置き換えている。
 */

.smajun-accent {
  color: #ff005a;
}

.smajun-underline {
  text-decoration: underline;
  text-decoration-color: #ffcc00;
  text-underline-offset: 4px;
  text-decoration-thickness: 6px;
}

.smajun-formal-lead {
  font-weight: bold;
  color: #1a202c;
}

.smajun-final-cta-title strong {
  color: #2bbcbc;
}
