/* ==========================================================================
   Design Tokens（サイト共通・お客様の声ページと同一）
   ========================================================================== */
:root {
    /* Font */
    --font-family: "Noto Sans JP", "Helvetica Neue", Arial,
        "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-family-heading: "Haru TP R", sans-serif;

    /* Color - Grayscale */
    --color-grayscale-0: #fff;
    --color-grayscale-400: #afafaf;
    --color-grayscale-600: #535353;

    /* Color - Brand / Accent */
    --color-orange-100: #fff9f3;
    --color-orange-200: #ff8800;
    --color-green-100: #f4faf7;
    --color-green-200: #e4f6e0;
    --color-green-700: #50a560;
    --color-green-900: #15882b;

    /* Color - Base */
    --color-black: #000;
    --color-white: #fff;
    --color-link: #1c62f2;
    --color-text-accent: #ff8800;
    --color-text: #333333;

    /* Font weight */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: bold;

    /* Spacing */
    --spacing-xs: 0.375rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.25rem;
    --spacing-2xl: 1.5rem;
    --spacing-3xl: 2rem;
    --spacing-4xl: 2.5rem;
    --spacing-5xl: 3rem;
    --spacing-6xl: 3.5rem;
    --spacing-7xl: 4rem;
    --spacing-8xl: 4.5rem;
    --spacing-9xl: 5rem;
    --spacing-section-top-gap: 7rem;
    --spacing-section-bottom-gap: 5.5rem;

    /* Font size */
    --size-2xs: 0.75rem;
    --size-xs: 0.875rem;
    --size-sm: 0.9375rem;
    --size-md: 1rem;
    --size-lg: 1.125rem;
    --size-xl: 1.25rem;
    --size-2xl: 1.375rem;
    --size-3xl: 1.5rem;
    --size-7xl: 2rem;

    /* Line height */
    --line-height-xs: 1.5rem;
    --line-height-md: 1.75rem;
    --line-height-xl: 2rem;
    --line-height-2xl: 2.1875rem;

    /* Letter spacing */
    --letter-spacing-md: 0;
}

@media screen and (max-width: 768px) {
    :root {
        --spacing-section-top-gap: 3rem;
        --spacing-section-bottom-gap: 2rem;
    }
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
    font-size: 100%;
    scroll-behavior: smooth;

    @media screen and (max-width: 600px) {
        font-size: 100%;
    }
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    letter-spacing: var(--letter-spacing-md);
    line-height: 2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: antialiased;
    text-size-adjust: 100%;
}

input:-internal-autofill-selected {
    background-color: var(--color-white) !important;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.mb-16 {
    margin-bottom: var(--spacing-lg);
}
.mb-24 {
    margin-bottom: var(--spacing-2xl);
}
.center {
    text-align: center;
}
.left {
    text-align: left;
}

.c-text__accent {
    color: var(--color-text-accent);
}
.c-text__bold {
    font-weight: var(--font-weight-bold);
}

.br-pc-only {
    display: inline;
}
.br-sp-only {
    display: none;
}
@media screen and (max-width: 768px) {
    .br-pc-only {
        display: none;
    }
    .br-sp-only {
        display: block;
        width: 100%;
    }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

main {
    & a:not(.cta-button):not(.cta-box) {
        color: var(--color-link);
        text-decoration: none;

        &:hover,
        &:focus-visible {
            text-decoration: underline;
        }
    }
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
    background: var(--color-black);
    height: 90px;
    display: flex;
    align-items: center;
}

.top {
    width: 20%;
    max-width: 290px;
    min-width: 230px;
    margin: 0;
    padding-left: var(--spacing-2xl);
}
.top img {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .top {
        min-width: 200px;
        padding-left: var(--spacing-md);
    }
}

/* ==========================================================================
   Hero（お客様の声ページ用）
   ========================================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-6xl);
    padding: var(--spacing-7xl) var(--spacing-5xl);
    color: var(--color-text);
}

.hero__desc {
    flex: 1;
}

.hero__img {
    flex: 1;
    display: flex;
    justify-content: end;
}
.hero__img figure {
    margin: 0;
}
.hero__img img {
    width: 100%;
    max-width: 26rem;
}

.desc__main {
    font-size: var(--size-7xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    font-family: var(--font-family-heading);
}

.desc__text {
    margin-top: var(--spacing-3xl);
    font-size: var(--size-lg);
    line-height: var(--line-height-xl);
}

@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: var(--spacing-2xl) var(--spacing-xl);
        gap: var(--spacing-xl);
    }

    .hero__img {
        justify-content: center;
    }

    .desc__main {
        font-size: var(--size-xl);
        line-height: var(--line-height-2xl);
    }

    .desc__text {
        font-size: var(--size-xs);
        line-height: var(--line-height-xs);
        margin-top: var(--spacing-lg);
    }
}

/* ==========================================================================
   Section title / description (shared across sections)
   ========================================================================== */
.section-title {
    font-family: var(--font-family-heading);
    font-size: var(--size-7xl);
    color: #333;
    position: relative;
    display: table;
    margin: 0 auto 30px;
    padding-bottom: 10px;

    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 2px;
        background: var(--color-green-900);
    }
}

.section-desc {
    color: #333;
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: var(--size-xl);
        line-height: var(--line-height-2xl);
    }

    .section-desc {
        font-size: var(--size-xs);
        text-align: left;
    }
}

/* ==========================================================================
   Case section (お問い合わせ事例)
   ========================================================================== */
.case-section {
    background: var(--color-green-100);
    padding: var(--spacing-9xl) 0;
}

.case-section .container,
.cta-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.case-card {
    position: relative;
    border: 1px solid var(--color-green-700);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-9xl);
    margin-bottom: var(--spacing-5xl);
    line-height: var(--line-height-md);
}
.case-card:last-child {
    margin-bottom: 0;
}

.case-label {
    position: absolute;
    top: -2px;
    left: -2px;
    height: 50px;
    line-height: 50px;
    padding: 0 35px;
    background: var(--color-text-accent);
    color: #fff;
    box-sizing: border-box;
    margin: 0;
    z-index: 2;
    font-weight: var(--font-weight-bold);

    &::after {
        position: absolute;
        content: "";
        z-index: 1;
        top: 0;
        right: -1px;
        width: 0;
        height: 0;
        border-width: 25px 15px 25px 0;
        border-color: rgba(0, 0, 0, 0) #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
        border-style: solid;
    }
}

.case-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-7xl);
    margin-top: var(--spacing-3xl);
}
.case-head__body {
    flex: 1;
}
.case-head__desc {
    color: #333;
}
.case-head__image {
    flex-shrink: 0;
    width: 200px;
    align-self: center;

    & figure {
        margin: 0;
    }

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

.case-divider {
    border: none;
    border-top: 1px solid var(--color-green-900);
    margin: var(--spacing-4xl) 0;
}

.case-title {
    font-weight: var(--font-weight-bold);
    font-size: var(--size-xl);
    color: var(--color-green-900);
    margin: 0 0 var(--spacing-md);
}

.case-answer {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-6xl);
}

.case-answer__icon {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);

    & .icon-image {
        position: relative;
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;

        &::before {
            content: "";
            position: absolute;
            top: 48%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: var(--color-green-200);
            z-index: 0;
        }
    }

    & img {
        position: relative;
        z-index: 1;
        display: block;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }

    & .icon-name {
        font-size: var(--size-xs);
        color: var(--color-green-900);
        font-weight: var(--font-weight-bold);
        text-align: center;
        margin: 0;
    }
}

.case-answer__text {
    flex: 1;

    & .case-text {
        margin: 0;
        color: #333;
    }
}

@media screen and (max-width: 768px) {
    .case-section {
        padding: var(--spacing-4xl) 0;
    }

    .case-card {
        padding: var(--spacing-4xl) var(--spacing-2xl);
    }

    .case-head {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    .case-head__desc {
        font-size: var(--size-xs);
        line-height: var(--line-height-xs);
    }
    .case-head__image {
        width: 150px;
        align-self: center;
        margin: 0 auto;
    }

    .case-title {
        font-size: var(--size-lg);
        line-height: var(--line-height-md);
    }

    .case-answer {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    .case-answer__icon {
        width: auto;

        & .icon-image {
            width: 60px;
            height: 60px;

            &::before {
                width: 60px;
                height: 60px;
            }
        }
    }

    .case-text {
        font-size: var(--size-xs);
        line-height: var(--line-height-xs);
    }
}

/* ==========================================================================
   Solution box / Customer voice box
   ========================================================================== */
.solution-box__method {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: 0 0 var(--spacing-md);

    &::before {
        content: "";
        flex-shrink: 0;
        display: inline-block;
        width: var(--size-3xl);
        height: var(--size-3xl);
        border-radius: 50%;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 60%;
    }
}

.customer-voice-box__method {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: 0 0 var(--spacing-md);
}

.solution-box {
    background: var(--color-green-100);
    padding: var(--spacing-4xl);
    border: 1px dashed var(--color-green-700);
    margin-top: var(--spacing-5xl);
}
.solution-box__method {
    font-weight: var(--font-weight-bold);
    color: var(--color-green-900);
    font-size: var(--size-xl);

    &::before {
        background-color: var(--color-green-900);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    }
}
.solution-box__text {
    color: #333;
}

.customer-voice-box {
    background: var(--color-orange-100);
    padding: var(--spacing-4xl);
    border: 1px dashed var(--color-orange-200);
    margin-top: var(--spacing-5xl);
}
.customer-voice-box__method {
    font-weight: var(--font-weight-bold);
    color: var(--color-orange-200);
    font-size: var(--size-2xl);

    &::before {
        content: "";
        display: block;
        width: 40px;
        height: 30px;
        background-image: url("../images/customer-voice-icon.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
}
.customer-voice-box__text {
    color: #333;
}

@media screen and (max-width: 768px) {
    .solution-box,
    .customer-voice-box {
        padding: var(--spacing-2xl);
    }

    .solution-box__method {
        font-size: var(--size-lg);
    }
    .solution-box__text {
        font-size: var(--size-xs);
        line-height: var(--line-height-xs);
    }

    .customer-voice-box__method {
        font-size: var(--size-lg);
    }
    .customer-voice-box__text {
        font-size: var(--size-xs);
        line-height: var(--line-height-xs);
    }
    .customer-voice-box__method::before {
        width: 35px;
        height: 27px;
    }
}

/* ==========================================================================
   CTA section（お客様の声ページ用）
   ========================================================================== */
.cta-section {
    margin: var(--spacing-section-top-gap) 0 var(--spacing-section-bottom-gap);
}
.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-image {
    margin: var(--spacing-5xl) 0;
}
.cta-image img {
    width: 400px;
}

.cta-button {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-4xl);
    padding: var(--spacing-xl) var(--spacing-8xl);
    margin: var(--spacing-xl) auto;
    background: var(--color-green-900);
    border-radius: 999px;
    color: var(--color-grayscale-0);
    font-weight: var(--font-weight-bold);
    font-size: var(--size-2xl);
    text-decoration: none;
    font-family: var(--font-family-heading);
    transition: background-color 0.2s ease, transform 0.1s ease,
        box-shadow 0.1s ease;

    &::after {
        content: "";
        display: inline-block;
        width: 10px;
        height: 10px;
        border-top: 3px solid var(--color-grayscale-0);
        border-right: 3px solid var(--color-grayscale-0);
        transform: rotate(45deg);
    }

    &:hover {
        background: var(--color-black);
        transform: translateY(-3px);
    }

    &:active {
        transform: scale(0.95);
    }
}

.cta-section .cta-note a.cta-link {
    text-decoration: underline;
    font-weight: var(--font-weight-bold);

    &:hover,
    &:focus-visible {
        opacity: 0.8;
    }
}

@media screen and (max-width: 768px) {
    .cta-section {
        margin: var(--spacing-section-top-gap) 0
            var(--spacing-section-bottom-gap);
    }

    .cta-image {
        margin: 0;
    }

    .cta-button {
        gap: var(--spacing-lg);
        padding: var(--spacing-xl) var(--spacing-4xl);
        font-size: var(--size-lg);
        line-height: var(--line-height-xs);
    }

    .cta-note {
        font-size: var(--size-xs);
        line-height: var(--line-height-xs);
        text-align: left;
    }
}

/* ==========================================================================
   Back to top
   ========================================================================== */
#page-top {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 10;
}

#page-top a {
    width: 60px;
    height: 50px;
    background-color: var(--color-grayscale-400);
    border-radius: 8px 0 0 0;
    transition: all 0.25s ease 0s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    padding: var(--spacing-4xl) var(--spacing-7xl);
    background: var(--color-black);
    color: var(--color-grayscale-0);
    position: relative;

    & button {
        width: 7.8rem;
        position: absolute;
        top: -5rem;
        right: var(--spacing-3xl);
        cursor: pointer;

        @media screen and (min-width: 769px) {
            & img {
                transition: transform 0.2s;
            }

            &:hover {
                & img {
                    transform: translateY(-0.75rem);
                }
            }
        }
    }
}

.globalfooter {
    & a {
        color: var(--color-grayscale-0);

        &:hover,
        &:focus-visible {
            text-decoration: underline;
        }
    }
}

.globalfooter-layout {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
    width: 100%;
}

.globalfooter-logo {
    width: 22%;
    flex-shrink: 0;
}

.globalfooter-divider {
    border: none;
    border-top: 1px solid var(--color-grayscale-600);
    margin: var(--spacing-xl) 0;
}

.global-sitemap {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-3xl);
    margin-left: var(--spacing-5xl);

    & > div {
        display: flex;
        gap: var(--spacing-lg);
    }
}

.global-sitemap-menu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);

    & li {
        font-weight: var(--font-weight-regular);
        line-height: 1.5;
        font-size: var(--size-xs);
    }
}

.footer-legal {
    & .globalfooter-layout {
        align-items: center;
        flex-wrap: wrap;
    }
}

.globalfooter-legal-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2xl);
    font-size: var(--size-xs);
}

.globalfooter-legal-copyright {
    font-family: var(--font-family-heading);
    font-size: var(--size-md);
    white-space: nowrap;
    margin-left: auto;
}

@media screen and (max-width: 768px) {
    footer {
        padding: var(--spacing-4xl) var(--spacing-xl);

        & button {
            width: 5rem;
            top: -3rem;
            right: var(--spacing-lg);
        }
    }

    .globalfooter-layout {
        flex-direction: column;
        gap: 0;
    }

    .globalfooter-logo {
        width: 180px;
        max-width: 100%;
        margin: 0 auto;
    }

    .global-sitemap {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-2xl);
        margin-left: 0;
    }
    .global-sitemap > div:nth-child(1),
    .global-sitemap > div:nth-child(2),
    .global-sitemap > div:nth-child(3) {
        width: 100%;
    }

    .global-sitemap-menu {
        gap: var(--spacing-md);
    }
    .global-sitemap-menu li {
        font-size: var(--size-md);
    }

    .footer-legal .globalfooter-layout {
        display: block;
    }

    .globalfooter-legal-list {
        display: flex;
        flex-wrap: wrap;
        gap: var(--spacing-md);
        font-size: var(--size-2xs);
    }

    .globalfooter-legal-copyright {
        display: block;
        margin-top: var(--spacing-lg);
        margin-left: 0;
        text-align: left;
        font-size: var(--size-2xs);
    }
}

/* ==========================================================================
   ==========================================================================
   プレミアムサポートページ 固有スタイル（元デザインを維持）
   ・共通CSSと衝突する箇所のみ名前空間を分離しています
     - body        → .ps-page にスコープ
     - .hero 系     → .ps-hero 系にリネーム（お客様の声ページの .hero と衝突するため）
     - h2, h3       → .ps-page h2 / .ps-page h3 にスコープ
   ・それ以外（.container, .features, .checklist, .cta-box, .eyebrow 等）は
     共通CSS側に同名クラスが存在しないため、元のクラス名のまま変更していません
   ==========================================================================
   ========================================================================== */

.ps-page {
    --brand: #3b8d00;
    --accent: #ff8800;
    --text: #353535;
    --muted: #5b6770;

    color: var(--text);
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.7;
    font-size: 18px;
}

.ps-page * {
    box-sizing: border-box;
}

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

/* font helper */
.ps-page .haru {
    font-family: "Haru TP R", sans-serif;
}

/* layout helpers */
.ps-page .container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.ps-page .grid {
    display: grid;
}

/* hero（プレミアムサポート固有／2画像レイアウト） */
.ps-page .ps-hero {
    padding: 26px 0 8px;
}

.ps-page .ps-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 0;
}

.ps-page .ps-hero h1 {
    font-size: 34px;
    font-weight: 900;
    margin: 12px 0 0;
    font-family: "Haru TP B", sans-serif;
}

.ps-page .eyebrow {
    color: var(--accent);
}

/* headings（このページ内のみ） */
.ps-page h2 {
    font-size: 30px;
    font-weight: bold;
    margin: 12px 0 0;
}

.ps-page h3 {
    font-size: 28px;
    font-weight: 800;
}

/* features */
.ps-page .features {
    margin: 24px auto 0;
    background: linear-gradient(#fff, #3b8d00);
    padding: 25px 17px;
}

.ps-page .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.ps-page .feature-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    text-align: center;
}

.ps-page .feature-card h3 {
    margin: 0.2rem 0 0;
    font-size: 18px;
    font-weight: bold;
}

.ps-page .feature-card img {
    width: 130px;
    margin: 10px auto 15px;
}

/* sections */
.ps-page .section {
    padding: 48px 0;
}

.ps-page .section h2 {
    font-size: 34px;
}

/* underline heading */
.ps-page .heading-line {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.ps-page .heading-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--brand);
}

/* panel */
.ps-page .soft-panel {
    margin-top: 20px;
    background: #f5feed;
    padding: 22px;
}

/* checklist */
.ps-page .checklist {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.ps-page .checklist li {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    margin: 30px 0 10px;
}

.ps-page .checklist li p {
    margin: 0;
}

.ps-page .checkmark {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    margin-top: 2px;
    transform: translateY(0.12em);
}

.ps-page .bold {
    font-weight: bold;
}

.ps-page .answer {
    font-size: 16px;
}

/* CTA（プレミアムサポート固有） */
.ps-page .cta {
    padding: 36px 0 10px;
}

.ps-page .cta-box {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) auto;
    justify-items: start;
    align-items: center;
    column-gap: 40px;
    padding: 18px 90px;
    border: 1px solid #949494;
    background: #fff;
    text-align: left;
    text-decoration: none;
    color: var(--text);
    cursor: pointer;

    transition: border-color 0.25s ease, box-shadow 0.25s ease,
        transform 0.25s ease;
}

.ps-page .cta-box:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.ps-page .cta-box p {
    font-size: 24px;
    text-align: center;
}

.ps-page .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    justify-self: end;
    min-width: 0;
    white-space: normal;
}

.ps-page .cta-btn .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.ps-page .cta-btn span:last-child {
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--text);
    font-weight: 800;
    font-size: 36px;
    white-space: nowrap;

    transition: color 0.25s ease, border-color 0.25s ease;
}

.ps-page .cta-box:hover .cta-btn span:last-child {
    color: var(--accent);
    border-bottom: none;
}

.ps-page .cta-box:hover .cta-btn .circle {
    background: var(--accent);
}

.ps-page .cta-note {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 60px;
}

.ps-page .cta-note a {
    text-decoration: underline;
}

.ps-page .cta-note a:hover {
    text-decoration: none;
    color: #ff8800;
}

.ps-page .pc {
    display: block !important;
}

.ps-page .sp {
    display: none !important;
}

.ps-page .sp-only {
    display: none;
}

/* tablet */
@media (max-width: 1024px) {
    .ps-page .cta-box {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 18px 32px;
        column-gap: 28px;
    }
}

/* mobile */
@media (max-width: 768px) {
    .ps-page {
        font-size: 16px;
    }

    .ps-page .container {
        padding: 0 8px;
    }

    .ps-page .ps-hero-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ps-page .ps-hero h1 {
        font-size: 30px;
    }

    .ps-page .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .ps-page .section {
        padding: 36px 0;
    }

    .ps-page .cta-box {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 14px;
        column-gap: 0;
        text-align: center;
        padding: 20px calc(16px + env(safe-area-inset-right)) 20px
            calc(16px + env(safe-area-inset-left));
    }

    .ps-page .cta-box p {
        font-size: 18px;
        line-height: 1.6;
        margin: 0;
    }

    .ps-page .cta-btn {
        justify-self: center;
        gap: 8px;
        min-height: 48px;
        padding: 6px 12px;
        min-width: 0;
        white-space: normal;
    }

    .ps-page .cta-btn .circle {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .ps-page .cta-btn span:last-child {
        font-size: 20px;
        border-bottom-width: 1px;
        padding-bottom: 1px;
    }

    .ps-page .pc {
        display: none !important;
    }

    .ps-page .sp {
        display: block !important;
    }

    .ps-page .checkmark {
        transform: translateY(0.18em);
    }

    .ps-page h2,
    .ps-page h3 {
        font-size: 18px;
    }

    .ps-page .feature-card {
        padding: 4px;
    }

    .ps-page .feature-card h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    .ps-page .section h2 {
        font-size: 24px;
    }

    .ps-page .answer {
        font-size: 14px;
    }

    .ps-page .cta-note {
        width: 300px;
        margin: 30px auto;
    }

    .ps-page .sp-only {
        display: inline;
    }
}
