/* =========================================================
   nagashima_lifestyle_lp.css（スマホ専用 / PCは想定しない）
   - 色は var() を使用
   - 余計なブレイクポイントは置かない
========================================================= */





/* general.css / lifestyle.css に入れてOK */
body.is-lp header,
body.is-lp footer,
body.is-lp #mainvisual,
body.is-lp .nav_wrap,
body.is-lp .sp_under_nav {
    display: none !important;
}

html {
    margin-top: 0 !important;
    padding: 0 !important;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}



/* ---- Scope Root ---- */
.mobile-wrapper {
    --base-color: #ffffff;
    --main-color: #4a99d7;
    /* 参考CSSの var(--main-color) を“濃い青”に寄せる */
    --sub-color: #F27A9C;
    /* 参考CSSの var(--sub-color) に合わせる */
    --bg-color: #ffffff;
    --pink: #F27A9C;
    --ink: #0b1d2a;
    --muted: rgba(11, 29, 42, 0.68);
    --line: #4A99D7;

    --radius: 14px;
    --radius-sm: 10px;

    --shadow: 0 14px 30px rgba(11, 29, 42, 0.08);
    --shadow-soft: 0 10px 22px rgba(11, 29, 42, 0.06);

    --font-jp: -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;

    background: var(--bg-color);
    color: var(--ink);
    font-family: var(--font-jp);
    line-height: 1.75;
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
}

/* ---- Reset-ish ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
    outline: 4px solid rgba(74, 153, 215, 0.35);
    outline-offset: 2px;
    border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---- Layout ---- */
.container {
    margin: 0;
    padding: 0;
    background-color: var(--base-color);
}

main.mobile-wrapper {
    background: var(--base-color) !important;
}

.lp-lifestyle {
    background: none !important;
}

.lp-lifestyle::before,
.lp-lifestyle::after,
.mobile-wrapper::before,
.mobile-wrapper::after {
    content: none !important;
    display: none !important;
}

.section {
    background: #fff;
    background-color: var(--base-color);
    margin: 4rem 1.5rem 2rem 1.5rem;
    /* ← 内側余白に集約 */
    overflow: hidden;
}

.section::before,
.section::after {
    background: none !important;
    content: none !important;
}


/* =========================================
   参考CSS（page_links / headings / frame02）
   ※  内にスコープ
========================================= */

/* page_links */
.page_links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.page_links li {
    margin: 0;
    padding: 0;
}

.page_links li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 10px 15px;
    background: transparent;
    border: 1px solid var(--sub-color);
    color: var(--sub-color);
    font-size: 1rem;
    text-align: center;
    transition: color 0.2s, background 0.2s, transform 0.06s;
    font-family: var(--font-jp);
    font-weight: 500;
    font-style: normal;
    border-radius: 10px;
}

.page_links li a:active {
    transform: translateY(1px);
}

.page_links li a:hover {
    background: rgba(74, 153, 215, 0.08);
}

/* headings */
h2:first-of-type,
h2+h3,
h3+h4,
h4+h5,
h5+h6 {
    margin-top: 0;
}

h2,
h3,
h4,
h5,
h6 {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    line-height: 1.75;
    font-family: var(--font-jp);
    font-weight: 500;
    font-style: normal;
}

/* 参考CSS h2 */
h2 {
    padding: 50px 0 0;
    background: url(../images/logo_icon_colored.png) no-repeat center top / 48px auto;
    font-size: 1rem;
    letter-spacing: .1em;
    text-align: center;
    padding-left: 6px;
    margin-bottom: 2rem;
}

/* 参考CSS h3 */
h3 {
    display: inline-block;
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 1rem;
    text-align: left;
}

/* frame02 */
.frame02 {
    padding: 20px 25px;
    background: var(--bg-color);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

/* ---- Base ---- */
.lp-lifestyle {
    width: 100%;
}

.lp-section {
    margin: 0 1rem 1.25rem 1rem;
}

.section-title {
    font-size: 1.5rem;
}

.title-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(74, 153, 215, 0.28);
    background: rgba(74, 153, 215, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.title-icon__img {
    width: 18px;
    height: 18px;
    display: block;
}


/* --- スマホ（デフォルト）--- */
/* 背景画像＋FV画像を画面幅いっぱいに広げる */
.fv-section {
    position: relative;
    display: flex;
    width: 100vw;
    /* スマホでは画面幅いっぱい */
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1.5rem;
}


/* --- タブレット以上（PC含む）--- */
@media (min-width: 768px) {
    .mobile-wrapper.lp-lifestyle .fv-section {
        width: 100%;
        /* main の max-width に合わせる */
        margin-left: auto;
        /* 念のため整列 */
        margin-right: auto;
    }
}


.fv-img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

/* ---- Intro pill（ご指定ベース） ---- */
.introduction-section {
    margin: 1.5rem;
}

.intro-sub {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 15px;
    background: transparent;
    border: 1px solid var(--sub-color);
    color: var(--sub-color);
    font-size: 1rem;
    text-align: left;
    font-family: var(--font-jp);
    font-weight: 700;
    font-style: normal;
    border-radius: 10px;
    margin: 0 0 1rem 0;
}

.intro-sub__icon {
    width: 18px;
    height: 18px;
    display: block;
}

/* ---- Card ---- */
.card {
    background: #fff;
    overflow: hidden;
}

.card--cta {
    border-color: rgba(242, 122, 156, 0.35);
    box-shadow: 0 14px 30px rgba(242, 122, 156, 0.10);
}

.card-title {
    display: flex;
    gap: 0.5rem;
    text-align: center;
    margin: 0 0 0.75rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--main-color);
}

.card-title--spacer {
    margin-top: 2rem;
    text-align: center;
}

.card-title__icon {
    width: 18px;
    height: 18px;
    display: block;
}

/* ---- Text ---- */
.lp-text {
    margin: 0 0 0.85rem 0;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.75;
    word-break: break-word;
}

.lp-text:last-child {
    margin-bottom: 0;
}

.quote {
    font-weight: 800;
}

/* ---- Worry list ---- */
.worry-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0.75rem 0;
    display: grid;
    gap: 0.6rem;
}

.worry-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 15px;
    background: transparent;
    border: 1px solid var(--sub-color);
    color: var(--sub-color);
    font-size: 1rem;
    text-align: left;
    font-family: var(--font-jp);
    font-weight: 500;
    font-style: normal;
    border-radius: 10px;
}

.worry-item__icon {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
}

/* ---- Check list ---- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0.75rem 0;
    display: grid;
    gap: 0.6rem;
}

.check-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 15px;
    background: transparent;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    font-size: 1rem;
    text-align: left;
    font-family: var(--font-jp);
    font-weight: 500;
    font-style: normal;
    border-radius: 10px;
}

.check-item__icon {
    width: 18px;
    height: 18px;
    display: block;
    margin-top: 0.15rem;
    flex: 0 0 auto;
}

/* =========================================
   02 症状チェック（参考CSSを踏襲）
========================================= */
.symptom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.75rem;
}

.card-symptom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1rem 0.5rem;
    background: transparent;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    font-size: 1rem;
    text-align: center;
    font-family: var(--font-jp);
    font-weight: 500;
    font-style: normal;
    border-radius: 10px;
    flex-direction: column;
    gap: 0.5rem;

    /* スマホのタップ感 */
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.card-symptom:active {
    transform: translateY(1px);
}

/* 症状テキスト */
.symptom-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 800;
}

/* ピクトグラム画像 */
.pictogram {
    width: 64px;
    height: auto;
    display: block;
}




/* ---- Utility（必要最低限） ---- */
img {
    max-width: 100%;
    height: auto;
}



.cta-section {
    margin: 0;
    /* ← 消す */
    padding: 1rem;
}

.cta-inner {
    display: grid;
    gap: 12px;
}

.cta-title {
    /* h2 の参考CSSをCTAでは軽くする */
    margin: 0 0 2px;
    padding: 0;
    background: none;
    letter-spacing: 0.04em;
    font-size: 1rem;
    text-align: center;
}

.cta-lead {
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.cta-buttons {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}


/* CTA全体 */
.intro-cta {
    display: flex;
    gap: 1rem;
    margin: 16px 0;
}

/* 共通ボタン */
.intro-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    /* 丸みを強く */
    transition: opacity 0.2s ease, transform 0.1s ease;
}

/* LINEボタン */
.btn-line {
    background-color: #06C755;
    color: #fff;
}

/* Webボタン */
.btn-web {
    background-color: var(--main-color);
    color: #fff;
}

/* タップ時のフィードバック */
.intro-cta a:active {
    transform: scale(0.97);
    opacity: 0.85;
}

main.mobile-wrapper.lp-lifestyle {
    background: #fff !important;
}

main.mobile-wrapper.lp-lifestyle::before,
main.mobile-wrapper.lp-lifestyle::after {
    content: none !important;
    display: none !important;
}

html,
body {
    background: #fff !important;
}


/* =========================================
   Floating CTA（追従CTA）
   画面下固定・横並び・丸みデザイン
========================================= */

/* 追従エリア本体 */
.floating-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: transparent;
}

.floating-cta a {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    /* 任意：角丸 */
}

/* ボタン共通（追従用） */
.floating-cta .btn-floating {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0.95rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    font-size: 1rem;
    white-space: nowrap;

    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

/* ---- 既存の色設計を継承 ---- */

/* LINE：緑 */
.floating-cta .btn-line {
    background-color: #06C755;
    border-color: rgba(6, 199, 85, 0.45);
    color: #fff;
}

/* Web：青 */
.floating-cta .btn-web {
    background-color: var(--main-color, #0077b6);
    border-color: rgba(0, 119, 182, 0.45);
    color: #fff;
}

/* タップ時のフィードバック */
.floating-cta .btn-floating:active {
    transform: translateY(1px);
    opacity: 0.85;
}

/* ---- PCでは浮かせる ---- */
@media screen and (min-width: 768px) {
    .floating-cta {
        max-width: 420px;
        margin: 0 auto;
        bottom: 20px;

        border-radius: 999px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
        padding: 0.75rem;
    }

    .floating-cta {
        box-shadow: none;
    }
}


/* PC幅では中央に寄せて白余白を確保 */
@media (min-width: 768px) {
    .mobile-wrapper.lp-lifestyle {
        max-width: 680px;
        /* iPad縦くらいの幅、好みで調整 */
        margin: 0 auto;
        /* 中央寄せ */
        background: #fff;
        /* 中央部分が白く見えるように */
    }
}

@media (min-width: 768px) {

    /* 本文は中央に */
    .mobile-wrapper.lp-lifestyle {
        max-width: 680px;
        margin: 0 auto;
        background: #fff;
    }

    /* セクション内のレイアウト要素も本文幅に合わせる */
    .mobile-wrapper.lp-lifestyle .container,
    .mobile-wrapper.lp-lifestyle .section,
    .mobile-wrapper.lp-lifestyle .faq,
    .mobile-wrapper.lp-lifestyle .feature-stack,
    .mobile-wrapper.lp-lifestyle .flow {
        max-width: 680px;
        margin: 4rem auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}