/* ==========================================================================
   SHIAFUL NEW BRAND SYSTEM - CUSTOM PREMIUM CSS (Refactored)
   ========================================================================== */

/* Vue v-cloak: hide until mounted to prevent FOUC */
[v-cloak] { display: none !important; }

/* --------------------------------------------------------------------------
   1. Design Tokens & Core Reset
   -------------------------------------------------------------------------- */
:root {
    --color-bg: #FFF9F7;
    --color-text: #4E3B33;
    --color-text-muted: #857067;
    --color-primary: #FFA896;
    --color-primary-light: #FFEDE9;
    --color-accent-pink: #FCA5A5;
    --color-accent-peach: #FFD3B5;
    --color-accent-yellow: #FEF08A;
    --color-white: #FFFFFF;
    --color-card-bg: rgba(255, 255, 255, 0.85);
    --font-main: 'Zen Maru Gothic', sans-serif;

    --shadow-soft: 0 8px 24px rgba(78, 59, 51, 0.04);
    --shadow-medium: 0 12px 32px rgba(78, 59, 51, 0.06);
    --shadow-premium: 0 16px 40px rgba(78, 59, 51, 0.08);
    --radius-s: 10px;
    --radius-m: 20px;
    --radius-l: 30px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
    /* Reserves the scrollbar's width even when it's hidden (e.g. while a
       modal has body.is-locked applied), so the page doesn't shift
       horizontally when the scrollbar disappears/reappears. */
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden ;
    max-width: 100vw;
    width: 100%;
    line-height: 1.6;
    position: relative;
}

/* Brand-styled focus ring for keyboard navigation (and for elements that
   receive focus programmatically, e.g. when a modal opens). Scoped to
   :focus-visible so mouse clicks alone don't show it. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--radius-s);
}

.modal-close-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 50%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Responsive line break utilities */
.br-sp { display: none; }
.br-pc { display: block; }

/* --------------------------------------------------------------------------
   2. Canvas Background
   -------------------------------------------------------------------------- */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

#shiaful-canvas {
    width: 100%;
    height: 100%;
    filter: blur(100px);
    opacity: 0.95;
}

/* --------------------------------------------------------------------------
   3. Header Navigation
   -------------------------------------------------------------------------- */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 249, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 168, 150, 0.12);
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 30px;
    width: auto;
    display: block;
}

.desktop-nav {
    display: block;
}

.nav-list {
    display: flex;
    gap: 16px;
    list-style: none;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.nav-list a:hover {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 110;
}

.hamburger-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    position: absolute;
    transition: all 0.3s ease;
}

.bar-top { top: 0; }
.bar-mid { top: 8px; }
.bar-bottom { top: 16px; }

.hamburger-btn.active .bar-top {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active .bar-mid {
    opacity: 0;
}
.hamburger-btn.active .bar-bottom {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(255, 249, 247, 0.98);
    box-shadow: -10px 0 30px rgba(78, 59, 51, 0.08);
    z-index: 95;
    padding: 80px 20px 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-link {
    font-size: 1.05rem;
    font-weight: 700;
    display: block;
    padding: 8px 14px;
    border-radius: var(--radius-s);
    color: var(--color-text);
}

.drawer-link:hover {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

/* --------------------------------------------------------------------------
   4. Layout Containers
   -------------------------------------------------------------------------- */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 30px;
}

section {
    padding: 24px 0;
}

.section-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-badge {
    background-color: rgba(78, 59, 51, 0.07);
    color: var(--color-text);
    padding: 6px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(78, 59, 51, 0.12);
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(78, 59, 51, 0.02);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. Smartphone Mockup Frames
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.section-hero {
    position: relative;
    padding: 30px 0 20px 0;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
        "info visual"
        "store visual";
    gap: 12px 30px;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

.hero-info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 24px;
}

.hero-subtext {
    font-size: 1.3rem;
    font-weight: 800;
    color: #D80049;
    margin-bottom: 10px;
}

.hero-logo-large img {
    width: 100%;
    max-width: 490px;
    height: auto;
    margin-bottom: 14px;
}

.hero-desc {
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.5;
}

.hero-desc p:first-child {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-desc p.hero-desc-highlight {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 14px;
}

.wellbeing-define-outer {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 12px;
    text-align: left;
}

.wellbeing-define-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 5px 14px 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 168, 150, 0.05);
    transition: all 0.3s ease;
}

.wellbeing-define-btn .btn-q-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    transition: all 0.3s ease;
}

.wellbeing-define-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 168, 150, 0.15);
}

.wellbeing-define-btn:hover .btn-q-icon {
    background-color: #ffffff;
    color: var(--color-primary);
}

.hero-visual {
    grid-area: visual;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    margin-top: 15px;
    z-index: 10;
}

.hero-mockup-wrap {
    position: relative;
    width: 100%;
    max-width: 350px;
}

.hero-phone-image {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(78, 59, 51, 0.15));
    transform: rotate(5deg);
    transform-origin: center center;
}

.hero-char-group {
    position: absolute;
    bottom: 0px;
    left: -200px;
    width: 440px;
    height: auto;
    z-index: 25;
    pointer-events: none;
    display: block;
}

.hero-store-row {
    grid-area: store;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.store-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.store-badge-link img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.store-badge-link:hover img {
    transform: translateY(-2px);
}

.store-notes {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.note-free {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
   7. News Section
   -------------------------------------------------------------------------- */
.section-news {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-m);
    padding: 24px 32px;
    margin: 24px 0;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 168, 150, 0.08);
}

.badge-news {
    margin-bottom: 12px;
}

.section-news .section-title {
    margin-bottom: 20px;
}

.news-list-container {
    width: 100%;
    max-width: 720px;
}

.news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(78, 59, 51, 0.08);
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.news-title-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid transparent;
}

.news-title-link:hover {
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
}

/* --------------------------------------------------------------------------
   8. Standalone Definition Button (Section wellbeing)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   9. Troubles Section
   -------------------------------------------------------------------------- */
.section-troubles {
    background-color: rgba(255, 248, 246, 0.5);
    border-radius: var(--radius-l);
}

.troubles-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 720px;
    margin-bottom: 32px;
}

.troubles-card {
    background-color: var(--color-card-bg);
    padding: 12px 24px;
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    border: 1px solid rgba(255, 168, 150, 0.04);
}

.trouble-text {
    font-size: 1.1rem;
    font-weight: 700;
    flex-grow: 1;
}

.trouble-card-img {
    width: 52px;
    height: auto;
    flex-shrink: 0;
}

.troubles-illustration-wrap {
    margin-top: 8px;
}

.char-troubles-img {
    max-width: 250px;
    height: auto;
}

/* --------------------------------------------------------------------------
   10. Concept Section
   -------------------------------------------------------------------------- */
.section-concept {
    padding: 24px 0;
}

.section-concept .section-inner {
    background: var(--color-white);
    border-radius: var(--radius-l);
    padding: 32px 36px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 168, 150, 0.1);
    color: var(--color-text);
    text-align: left;
}

.concept-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    text-align: left;
    max-width: 100%;
    margin-bottom: 16px;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.concept-body {
    max-width: 100%;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.8;
}

.concept-body p {
    margin-bottom: 12px;
}

.section-concept .category-badge {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.concept-illustration-wrap {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.char-concept-img {
    max-width: 240px;
    height: auto;
}

/* --------------------------------------------------------------------------
   11. Cycle Section
   -------------------------------------------------------------------------- */
.cycle-container {
    width: 100%;
    max-width: 960px;
    position: relative;
    margin: 10px auto 20px;
    padding: 25px 0 15px;
}

.cycle-top-arrows {
    position: absolute;
    top: -42px;
    left: 0;
    width: 100%;
    height: 90px;
    pointer-events: none;
    z-index: 10;
}
.cycle-top-arrows svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cycle-bottom-arrows {
    position: absolute;
    bottom: -62px;
    left: 0;
    width: 100%;
    height: 110px;
    pointer-events: none;
    z-index: 10;
}
.cycle-bottom-arrows svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mobile-cycle-return-arrow {
    display: none;
}

.mobile-cycle-arrow {
    display: none;
}

.cycle-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}

.cycle-card {
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--color-card-bg);
    border-radius: var(--radius-m);
    padding: 24px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 168, 150, 0.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease;
}

.cycle-card:hover {
    transform: translateY(-2px);
}

.cycle-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cycle-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.cycle-step-1 .cycle-num { background-color: #E2EED8; color: #558A3E; }
.cycle-step-1 .cycle-card-title { color: #558A3E; }
.cycle-step-2 .cycle-num { background-color: #FFF0D4; color: #D97706; }
.cycle-step-2 .cycle-card-title { color: #D97706; }
.cycle-step-3 .cycle-num { background-color: #FFE4E6; color: #E11D48; }
.cycle-step-3 .cycle-card-title { color: #E11D48; }

.cycle-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: -0.03em;
}

.cycle-body {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.cycle-illustration-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    min-width: 0;
}

.cycle-illustration {
    width: 100%;
    height: auto;
    max-width: 52px;
    max-height: 52px;
    object-fit: contain;
}

.cycle-keywords-col {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    min-width: 0;
}

.cycle-step-1 .cycle-keywords-col {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    min-width: 0;
}

.cycle-step-1.cycle-card {
    padding-left: 16px;
    padding-right: 16px;
}

.keyword {
    background-color: #FCF6F2;
    border: 1px solid rgba(78, 59, 51, 0.06);
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    color: var(--color-text);
    white-space: nowrap;
}

.cycle-illustration-wrap {
    margin-top: 48px;
    margin-bottom: 24px;
}

.char-broccoli-img {
    max-width: 85px;
    height: auto;
}

/* --------------------------------------------------------------------------
   12. Usage Section (STEP 1/2/3)
   -------------------------------------------------------------------------- */
.section-usage {
    background-color: rgba(255, 248, 246, 0.3);
    border-radius: var(--radius-l);
}

.usage-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0;
    align-items: stretch;
}

.usage-step-block {
        box-sizing: border-box;
        max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
    background-color: var(--color-white);
    border-radius: 30px;
    padding: 32px 24px;
    box-shadow: 0 12px 36px rgba(78, 59, 51, 0.04);
    border: 1.5px solid rgba(255, 168, 150, 0.08);
    text-align: left;
    width: 100%;
    max-width: 960px;
    margin: 0 auto 32px;
    box-sizing: border-box;
    position: relative;
}

.usage-step-block:last-of-type {
    margin-bottom: 0;
}

.step-header-container {
    margin-bottom: 8px;
    width: 100%;
}

.usage-step-num {
    background-color: var(--color-primary-light);
    color: #D80049;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 6px;
}

.usage-step-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0 0 6px 0;
    line-height: 1.3;
    white-space: normal;
}

.usage-step-desc {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   STEP 1 固有スタイル
   ========================================= */
.step-block-01 {
    width: 100%;
}

.step1-main-grid {
        min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    width: 100%;
    margin-bottom: 20px;
}

.step1-text-side {
        min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.step1-body-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.75;
}

.step1-visual-side {
        min-width: 0;
    display: flex;
    justify-content: center;
    align-self: start;
}

.step1-screen-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.step1-screen-img {
    display: block;
    width: 100%;
    height: auto;
}

.step1-subcard {
        box-sizing: border-box;
        max-width: 100%;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 12px;
    width: 100%;
    align-items: center;
    background-color: var(--color-card-bg);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 168, 150, 0.08);
    margin-top: auto;
}

.step1-subcard-visual {
    display: flex;
    justify-content: center;
}

.step1-subcard-wrap {
    width: 100%;
    max-width: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.step1-subcard-img {
    display: block;
    width: 100%;
    height: auto;
}

.step1-subcard-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.step1-subcard-text .subcard-flow-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 2px;
    white-space: nowrap;
}

.step1-subcard-text .subcard-flow-desc {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.45;
}

.subcard-flow-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 4px;
    white-space: nowrap;
}

.subcard-flow-desc {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

/* =========================================
   STEP 2 固有スタイル
   ========================================= */
.step-block-02 {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 30px;
    padding: 24px 16px;
    box-shadow: 0 12px 36px rgba(78, 59, 51, 0.05);
    border: 1.5px solid rgba(255, 168, 150, 0.1);
    height: 100%;
}

.step2-header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.step2-title-block {
    flex: 1;
}

.step-header-char-wrap {
    flex-shrink: 0;
}

.step-header-char {
    width: 115px;
    height: auto;
    display: block;
}

.step2-crimson-highlight {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: 8px;
    margin-bottom: 4px;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.step2-flow-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 4px;
}

.step2-screens-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.step2-screen-wrapper {
    width: 100%;
    max-width: 130px;
    border-radius: 6px;
    overflow: hidden;
}

.step2-screen-img {
    display: block;
    width: 100%;
    height: auto;
}

.step2-texts-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding-left: 2px;
}

.step2-texts-side .flow-text-item {
    text-align: left;
    width: 100%;
}

.step2-texts-side .flow-text-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.4;
    white-space: nowrap;
}

.step2-texts-side .pink-dashed-line {
    width: 100%;
    border-bottom: 1.5px dotted var(--color-primary);
    opacity: 0.3;
    margin-top: 4px;
}

.step2-texts-side .flow-arrow {
    color: var(--color-primary);
    font-size: 0.7rem;
    margin: 2px 0 2px 8px;
    opacity: 0.8;
}

.step2-highlights-mascot {
    display: none;
}

.step2-highlights {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step2-highlights .highlight-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-primary-light);
    padding: 12px 18px;
    border-radius: var(--radius-m);
    position: relative;
    overflow: hidden;
}

.step2-highlights .highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-primary);
    flex-shrink: 0;
}

.step2-highlights .svg-icon {
    width: 16px;
    height: 16px;
}

.step2-highlights .highlight-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text);
    flex: 1;
}

.step2-highlights .highlight-deco {
    position: absolute;
    right: 12px;
    bottom: -6px;
    width: 48px;
    height: auto;
    opacity: 0.8;
    pointer-events: none;
}

/* =========================================
   STEP 3 固有スタイル
   ========================================= */
.step-block-03 {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 30px;
    padding: 24px 16px;
    box-shadow: 0 12px 36px rgba(78, 59, 51, 0.05);
    border: 1.5px solid rgba(255, 168, 150, 0.1);
    height: 100%;
}

.step3-main-cols {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
}

.step3-info-col {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.step3-visual-col {
    display: flex;
    justify-content: flex-end;
}

.step3-visual-col .step3-mockup-wrap {
    width: 100%;
    max-width: 210px;
    border-radius: 12px;
    overflow: hidden;
}

.step3-visual-col .step3-mockup-img {
    display: block;
    width: 100%;
    height: auto;
}

.step3-bullets {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step3-bullet-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.step3-bullet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-accent-pink);
    color: var(--color-white);
    flex-shrink: 0;
    margin-top: 2px;
}

.step3-bullet-icon .svg-icon {
    width: 12px;
    height: 12px;
}

.step3-bullet-text {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.4;
    white-space: normal;
}

.step3-bottom-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-top: none;
    padding-top: 8px;
    margin-top: 8px;
}

.step3-speech-bubble {
    position: relative;
    background: var(--color-white);
    border: 2px solid var(--color-accent-pink);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.4;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-bottom: 14px;
    box-shadow: var(--shadow-soft);
}

.step3-speech-bubble::after,
.step3-speech-bubble::before {
    top: 100%;
    left: 28%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.step3-speech-bubble::after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: var(--color-white);
    border-width: 7px;
    margin-left: -7px;
}

.step3-speech-bubble::before {
    border-color: rgba(252, 165, 165, 0);
    border-top-color: var(--color-accent-pink);
    border-width: 9px;
    margin-left: -9px;
}

.step3-bottom-images {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.step3-mascot-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.step3-mascot-img {
    width: 120px;
    height: auto;
    display: block;
}

.step3-weekly-mockups {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step3-weekly-img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(78, 59, 51, 0.05);
    border: 1px solid rgba(78, 59, 51, 0.06);
}

.step1-two-screens {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.step1-pc-second-img {
    display: none;
}

/* --------------------------------------------------------------------------
   13. Experts Section
   -------------------------------------------------------------------------- */
.experts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    max-width: 800px;
    margin: 32px auto 0;
}

.expert-card {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-m);
    padding: 28px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 168, 150, 0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.expert-photo-card {
    width: 100%;
    aspect-ratio: 1.35;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(78, 59, 51, 0.08);
    box-shadow: var(--shadow-soft);
}

.expert-photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-quote {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.35;
}

.expert-comment-body {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.expert-comment-body p {
    margin-bottom: 10px;
}

.expert-comment-body p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   14. FAQ Section
   -------------------------------------------------------------------------- */
.faq-accordion-container {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.faq-accordion {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 168, 150, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion[open] {
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 168, 150, 0.12);
}

.faq-accordion-summary {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    list-style: none;
    position: relative;
    user-select: none;
}

.faq-accordion-summary::-webkit-details-marker {
    display: none;
}

.faq-accordion-summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-accordion[open] .faq-accordion-summary::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-q-indicator {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
}

.faq-q-text {
    flex-grow: 1;
    padding-right: 20px;
    text-align: left;
}

.faq-accordion-content {
    padding: 0 24px 20px 60px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid rgba(78, 59, 51, 0.04);
    padding-top: 16px;
    text-align: left;
}

.faq-a-indicator {
    background-color: var(--color-accent-peach);
    color: var(--color-text);
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
}

.faq-a-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.faq-more-link-wrap {
    margin-top: 16px;
}

.faq-more-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-text);
    padding-bottom: 3px;
    transition: all 0.2s ease;
}

.faq-more-link:hover {
    color: var(--color-text-muted);
    border-bottom-color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   15. CTA Section
   -------------------------------------------------------------------------- */
.section-cta {
    background-color: rgba(255, 168, 150, 0.06);
    border-radius: var(--radius-l);
    border: 1px solid rgba(255, 168, 150, 0.12);
    overflow: hidden;
    padding-bottom: 0;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    max-width: 800px;
    margin-bottom: 12px;
    line-height: 1.45;
}

.cta-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.cta-card {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-m);
    padding: 28px 48px;
    box-shadow: var(--shadow-medium);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 168, 150, 0.08);
    margin-bottom: 40px;
}

.cta-card-heading {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-illustration-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.char-footer-group-img {
    max-width: 280px;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: #FDF4F0;
    border-top: 1px solid rgba(255, 168, 150, 0.15);
    padding: 40px 0 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-bottom: 28px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   17. Modal Popups
   -------------------------------------------------------------------------- */


body.is-locked {
    overflow: hidden;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(78, 59, 51, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: #FFFDFD;
    border-radius: var(--radius-m);
    padding: 32px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 24px 60px rgba(78, 59, 51, 0.2);
    border: 1px solid rgba(255, 168, 150, 0.12);
    position: relative;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: var(--color-primary);
}

.modal-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text);
    line-height: 1.35;
    padding-right: 24px;
}

.modal-body-content {
    font-size: 0.95rem;
    line-height: 1.7;
}

.modal-body-content p {
    margin-bottom: 12px;
}

.modal-body-content p:last-child {
    margin-bottom: 0;
}

.source-ref {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    border-top: 1px dashed rgba(78,59,51,0.08);
    padding-top: 10px;
    margin-top: 12px;
}

/* --------------------------------------------------------------------------
   18. Mobile Media Queries (max-width: 700px)
   -------------------------------------------------------------------------- */
.br-sp { display: none; }
.br-pc { display: inline; }
.u-keep { display: inline-block; }

.highlight-brand { color: #D80049; font-weight: 800; }

/* --------------------------------------------------------------------------
   [Mobile Layout Rules]
   スマホ環境向けに各セクションの余白、フォントサイズ、要素の折り返し・縦並び等を制御。
   親の横幅（max-width: 100vw）を超えるはみ出しや文字切れを防ぐためのスタイル。
   -------------------------------------------------------------------------- */
@media (max-width: 700px) {
    .page-container, section, .usage-steps-container, .usage-step-block {
        box-sizing: border-box;
        max-width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .usage-step-block {
        box-sizing: border-box;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .br-sp { display: block; }
    .br-pc { display: none; }

    .desktop-nav { display: none; }
    .hamburger-btn { display: block; }

    section { padding: 36px 0; }
    .section-title { font-size: 1.45rem; }

    .section-cycle {
        padding-bottom: 0;
    }

    .page-container {
        padding: 0 10px 30px;
    }

    .hero-inner {
        display: block;
        position: relative;
        min-height: 290px;
        padding: 0;
    }

    .hero-info {
        width: 100%;
        position: relative;
        z-index: 10;
        text-align: left;
        align-items: flex-start;
        max-width: 58%;
        gap: 4px;
        display: flex;
        flex-direction: column;
        padding-left: 8px;
    }

    .hero-subtext {
        font-size: 0.85rem;
        font-weight: 800;
        color: #D80049;
        margin-bottom: 4px;
        line-height: 1.4;
        white-space: nowrap;
    }

    .header-logo img {
        height: 26px;
    }

    .hero-logo-large img {
        width: 100%;
        max-width: 210px;
        height: auto;
        margin-bottom: 8px;
    }

    .hero-desc p:first-child {
        font-size: 1.25rem;
        font-weight: 800;
        line-height: 1.5;
        margin-bottom: 8px;
        letter-spacing: -0.01em;
    }

    .hero-desc p.hero-desc-highlight {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--color-text-muted);
        line-height: 1.65;
        margin-bottom: 10px;
        letter-spacing: -0.015em;
    }

    .wellbeing-define-outer { margin-bottom: 0; text-align: left; }
    .wellbeing-define-btn {
        padding: 2px 10px;
        font-size: 0.68rem;
    }

    .hero-visual {
        position: absolute;
        top: 20px;
        right: 0;
        width: 44%;
        max-width: 180px;
        z-index: 1;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        margin: 0;
    }

    .hero-mockup-wrap {
        position: relative;
        width: 100%;
    }
    .hero-phone-image {
        width: 100%;
        height: auto;
        filter: drop-shadow(0 10px 25px rgba(78, 59, 51, 0.12));
        transform: rotate(5deg);
        transform-origin: center center;
    }

    .hero-char-group {
        position: absolute;
        bottom: -20px;
        left: -15px;
        width: 150px;
        height: auto;
        z-index: 2;
    }

    .hero-store-row {
        display: block;
        width: 100%;
        margin-top: 35px;
        position: relative;
        z-index: 5;
    }

    .store-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 310px;
        margin: 0 auto 10px auto;
    }

    .store-badge-link {
        flex: 1;
        max-width: 145px;
        display: block;
    }

    .store-badge-link img {
        width: 100%;
        height: auto;
        max-height: 44px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .store-notes { font-size: 0.75rem; text-align: center; margin-top: 4px; }

    .section-news { padding: 20px; }
    .news-item { flex-direction: column; gap: 2px; }
    .troubles-card { padding: 12px 18px; }
    .concept-title { font-size: clamp(1.05rem, 4.4vw, 1.25rem); }
    .concept-title

    .cycle-container {
        padding-right: 48px;
    }

    .mobile-cycle-return-arrow {
        display: block;
        position: absolute;
        left: auto;
        right: 0;
        top: 0;
        bottom: 0;
        width: 40px;
        pointer-events: none;
        z-index: 10;
        overflow: hidden;
    }
    .mobile-cycle-return-arrow svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .cycle-top-arrows,
    .cycle-bottom-arrows { display: none ; }

    .mobile-cycle-arrow {
        display: block;
        text-align: center;
        color: var(--color-accent-pink);
        font-size: 1.1rem;
        margin: 4px 0;
    }

    .cycle-cards {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 10px 0;
    }

    .cycle-card {
        min-width: 0;
        max-width: 340px;
        margin: 0 auto;
        width: 100%;
        padding: 20px;
    }

    .section-cycle .section-subtitle {
        margin-bottom: 4px;
    }
    .section-cycle .cycle-container {
        margin-top: 0;
        padding-top: 5px;
    }

    .usage-steps-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
        margin: 0 auto;
        box-sizing: border-box;
        width: 100%;
    }

    .usage-step-block {
        box-sizing: border-box;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 20px;
        box-sizing: border-box;
        width: 100%;
        margin: 0 auto 16px;
    }

    .step1-main-grid {
        display: grid;
        grid-template-columns: 0.6fr 1.4fr;
        gap: 8px;
        align-items: start;
        width: 100%;
    }

    .usage-step-num {
        font-size: 1.4rem;
        padding: 6px 18px;
        border-radius: 16px;
        font-weight: 800;
        margin-bottom: 10px;
        display: inline-block;
    }

    .step1-pc-second-img { display: none ; }

    .step1-screen-wrapper,
    .step1-two-screens {
        max-width: 160px;
        width: 100%;
        margin: 0 auto;
    }
    .step1-screen-img {
        width: 100%;
        max-width: 160px;
        height: auto;
    }

    .step1-hint-col {
        min-width: 0;
        margin-top: 16px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .step1-hint-col .step1-subcard,
    .step3-bottom-flow .step1-subcard {
        box-sizing: border-box;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        background-color: var(--color-white);
        border-radius: 20px;
        padding: 20px 16px;
        box-shadow: 0 8px 24px rgba(78, 59, 51, 0.04);
        border: 1px solid rgba(255, 168, 150, 0.08);
        width: 100%;
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    .step1-subcard-visual {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 0;
        order: 1;
    }

    .step1-subcard-wrap {
        max-width: 130px;
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(78, 59, 51, 0.08);
        box-shadow: 0 8px 24px rgba(78, 59, 51, 0.06);
    }

    .step1-subcard-text {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 2;
    }

    .step1-subcard-text .subcard-flow-title {
        font-size: 1.2rem;
        font-weight: 800;
        color: #E85B77;
        margin-bottom: 6px;
        white-space: normal;
        word-break: break-word;
    }

    .step1-subcard-text .subcard-flow-desc {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--color-text);
        line-height: 1.5;
        text-align: center;
        white-space: normal;
        word-break: break-word;
    }

    .step2-header-top-row { align-items: center; }
    .step-block-02 .step-header-char { width: 110px; }
    .step2-crimson-highlight {
        font-size: 0.9rem;
        white-space: normal;
        word-break: break-all;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .experts-grid { grid-template-columns: 1fr; gap: 20px; }
    .expert-card { padding: 20px; }

    .faq-accordion-summary { padding: 14px 18px; font-size: 0.9rem; }
    .faq-accordion-summary::after { right: 18px; }
    .faq-accordion-content { padding: 0 18px 16px 44px; padding-top: 12px; }

    .cta-card { padding: 24px 16px; width: 100%; }
    .cta-card-heading { font-size: 1.05rem; }
    .char-footer-group-img { max-width: 220px; margin: 0 auto; }

    /* ==========================================================================
       SMARTPHONE LAYOUT FIXES (Without affecting PC layout)
       ========================================================================== */

    .section-concept .section-inner {
        padding: 24px 16px;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
        align-items: flex-start;
    }
    .concept-title {
        font-size: 1.3rem;
        line-height: 1.4;
        text-align: left;
        width: 100%;
    }
    .concept-title br {
        display: none ;
    }
    .concept-title
    .concept-body {
        font-size: 1.02rem;
        line-height: 1.65;
        text-align: left;
        width: 100%;
    }

    .step-block-02 {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: 20px;
    }

    .step2-flow-col {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .step2-flow-col .step2-header-container,
    .step2-flow-col .step2-crimson-highlight,
    .step2-flow-col .step2-flow-container,
    .step2-check-col {
        grid-area: auto;
    }

    .step2-crimson-highlight {
        white-space: nowrap;
        width: 100%;
        text-align: center;
        font-size: 0.94rem;
        letter-spacing: -0.6px;
        margin: 10px 0;
        display: block;
    }

    /* Step 1 Mobile Layout: Images on top, full-width text below */
    .step1-main-grid {
        min-width: 0;
        display: flex;
        flex-direction: column-reverse;
        gap: 16px;
        align-items: center;
        width: 100%;
    }

    .step1-text-side {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }

    .step1-body-text {
        font-size: 0.94rem;
        font-weight: 700;
        color: var(--color-text);
        line-height: 1.7;
    }

    .step1-visual-side {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .step1-two-screens {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Step 2 Mobile Layout: Side-by-side images (left) & flow text items (right) */
    .step2-flow-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .step2-screens-side {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 50%;
        max-width: 145px;
        flex-shrink: 0;
    }

    .step2-screen-wrapper {
        display: block;
        width: 100%;
        max-width: 145px;
        border-radius: 6px;
        overflow: hidden;
    }

    .step2-screen-img {
        display: block;
        width: 100%;
        height: auto;
    }

    .step2-texts-side {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 12px;
        width: 48%;
        position: relative;
        top: 0;
        margin-top: 4px;
    }

    .step2-texts-side .flow-text-item {
        text-align: left;
        width: 100%;
    }

    .step2-texts-side .flow-text-title,
    .flow-text-title {
        font-size: 0.92rem;
        font-weight: 800;
        color: var(--color-text);
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
        text-align: left;
    }

    .step2-texts-side .pink-dashed-line {
        width: 100%;
        border-bottom: 1.5px dotted var(--color-primary);
        opacity: 0.3;
        margin-top: 4px;
    }

    .step2-texts-side .flow-arrow {
        color: var(--color-primary);
        font-size: 0.7rem;
        margin: 2px 0 2px 8px;
        opacity: 0.8;
    }

    .step2-check-col {
        width: 100%;
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .step2-highlights {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        position: relative;
    }
    .step2-highlights .highlight-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .step-block-03 {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: 24px;
        padding: 24px 16px;
    }

    .step-block-03 .step3-main-cols {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        width: 100%;
    }

    .step-block-03 .step-header-container,
    .step-block-03 .step3-visual-col,
    .step-block-03 .step3-info-col,
    .step-block-03 .step3-bottom-flow {
        grid-area: auto;
    }

    .step-block-03 .step3-visual-col {
        width: 50%;
        max-width: 170px;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
    }

    .step-block-03 .step3-info-col {
        width: 48%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .step-block-03 .step3-bullets {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .step-block-03 .step3-bullet-row {
        display: flex;
        align-items: flex-start;
        width: 100%;
    }

    .step-block-03 .step3-bullet-text {
        white-space: normal;
        word-break: break-word;
    }

    .step-block-03 .step3-bottom-flow {
        width: 100%;
        margin-top: -12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .step3-speech-bubble {
        flex: none;
        width: auto;
        max-width: 92%;
        white-space: normal;
        word-break: break-word;
        padding: 10px 16px;
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1.4;
        text-align: center;
        border-radius: 18px;
    }

    .step3-bottom-images {
        display: flex;
        align-items: flex-end;
        gap: 12px;
        flex-shrink: 0;
    }

    .step3-mascot-wrap {
        width: 90px;
    }

    .step3-weekly-mockups {
        width: 170px;
        max-width: 100%;
    }

    .cycle-card .keyword {
        font-size: 0.72rem;
        padding: 4px 8px;
        margin: 2px;
        display: inline-block;
    }

    .step-header-container p,
    .step1-body-text,
    .step2-desc,
    .usage-step-desc,
    p.usage-step-desc,
    .usage-step-block .usage-step-desc,
    .step-block-03 .step3-bullet-text {
        font-size: 1.18rem;
        font-weight: 700;
        color: var(--color-text);
        line-height: 1.65;
    }

    .cycle-header {
        gap: 8px;
    }

    .cycle-card-title {
        font-size: 1.18rem;
        font-weight: 800;
        white-space: nowrap;
        letter-spacing: -0.03em;
        line-height: 1.35;
    }

    .cycle-num {
        font-size: 1.4rem;
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    .cycle-illustration-wrap {
        margin-top: 0;
        margin-bottom: 12px;
    }
}

/* --------------------------------------------------------------------------
   19. PC Media Query (min-width: 701px) — Step 1/2/3 専用オーバーライド
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   [PC Layout Rules]
   PC・タブレット向けのゆったりとしたレイアウト。
   カードの横並び（Grid/Flex）や、要素の最大幅（max-width）の解放を行い、大画面での視認性を向上。

   NOTE: This section spans several nested breakpoints below (in cascade
   order, unchanged): base PC rules (>=701px), a 701–1024px tablet-fix
   block, two separate <=992px refinement blocks, and a <=380px
   small-phone block. Order is preserved exactly as authored.
   -------------------------------------------------------------------------- */
@media (min-width: 701px) {

    .usage-steps-container {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }

    .usage-step-block {
        box-sizing: border-box;
        background-color: var(--color-white);
        border-radius: 30px;
        padding: 40px 28px;
        box-shadow: 0 12px 36px rgba(78, 59, 51, 0.04);
        border: 1.5px solid rgba(255, 168, 150, 0.08);
        margin-bottom: 24px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        display: grid;
        grid-template-columns: 1.4fr 0.6fr;
        gap: 0 24px;
        align-items: start;
    }

    .usage-step-block:last-of-type {
        margin-bottom: 0;
    }

    .usage-step-num {
        font-size: 0.88rem;
        padding: 4px 14px;
        font-weight: 700;
        margin-bottom: 12px;
        display: inline-block;
    }


    .step1-main-col {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .step1-main-col .step-header-container {
        margin-bottom: 0;
    }

    .step1-main-grid {
        min-width: 0;
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 20px;
        align-items: start;
        width: 100%;
    }

    .step1-text-side {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .step1-body-text {
        font-size: 1.18rem;
        font-weight: 700;
        color: var(--color-text);
        line-height: 1.65;
    }

    .step1-visual-side {
        min-width: 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .step1-two-screens {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .step1-two-screens .step1-screen-img {
        width: 100%;
        max-width: 145px;
        min-width: 0;
        flex-shrink: 1;
        width: 145px;
        max-width: 145px;
        flex-shrink: 0;
        border-radius: 8px;
        overflow: hidden;
        border: none;
        box-shadow: none;
    }

    .step1-pc-second-img {
        display: block;
    }

    .step1-hint-col {
        min-width: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-top: 0;
    }

    .step1-hint-col .step1-subcard {
        box-sizing: border-box;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        background-color: var(--color-white);
        border-radius: 24px;
        padding: 24px 20px;
        box-shadow: 0 12px 36px rgba(78, 59, 51, 0.03);
        border: 1px solid rgba(255, 168, 150, 0.06);
        width: 100%;
        max-width: 260px;
        height: auto;
        box-sizing: border-box;
    }

    .step1-subcard-visual {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 0;
        order: 1;
    }

    .step1-subcard-wrap {
        max-width: 135px;
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(78, 59, 51, 0.08);
        box-shadow: 0 8px 24px rgba(78, 59, 51, 0.06);
    }

    .step1-subcard-text {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 2;
    }

    .step1-subcard-text .subcard-flow-title {
        font-size: 1.25rem;
        font-weight: 800;
        color: #E85B77;
        margin-bottom: 8px;
        white-space: nowrap;
    }

    .step1-subcard-text .subcard-flow-desc {
        font-size: 0.92rem;
        font-weight: 600;
        color: var(--color-text-muted);
        line-height: 1.6;
        text-align: center;
        white-space: normal;
    }

    .step1-subcard-wrap img {
        width: 100%;
        height: auto;
        display: block;
    }


    .step-block-02 {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding: 36px 28px 48px;
    }

    .step2-flow-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .step2-flow-col .step2-header-container {
        width: 100%;
        margin-bottom: 0;
    }

    .step2-header-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .step2-title-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .step-block-02 .step-header-char-wrap {
        display: none;
    }

    .step2-desc,
    .usage-step-desc {
        font-size: 1.18rem;
        font-weight: 700;
        color: var(--color-text);
        line-height: 1.65;
        margin-top: 8px;
        max-width: 100%;
    }

    .step2-flow-col .step2-crimson-highlight {
        font-size: 0.98rem;
        color: var(--color-accent-pink);
        font-weight: 800;
        margin: 20px 0 16px;
        text-align: center;
        width: 100%;
    }

    .step2-flow-col .step2-flow-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 32px;
        align-items: center;
        margin: 0 auto;
        width: auto;
        max-width: 100%;
    }

    .step2-screens-side {
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex-shrink: 0;
        width: 120px;
        max-width: 120px;
        min-width: 120px;
    }

    .step2-screen-wrapper {
        width: 120px;
        border-radius: 8px;
        overflow: hidden;
        border: none;
        box-shadow: none;
    }

    .step2-screen-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }

    .step2-texts-side {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 12px;
        padding: 0;
        flex-grow: 1;
        align-items: flex-start;
        text-align: left;
        margin-top: 0;
    }

    .flow-text-item {
        position: relative;
        padding-left: 0;
        text-align: left;
        width: 100%;
    }

    .flow-text-title {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--color-text);
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
        text-align: left;
    }

    .pink-dashed-line {
        border-bottom: 1.5px dashed rgba(255, 168, 150, 0.4);
        margin-top: 6px;
        width: 100%;
    }

    .step2-texts-side .flow-arrow {
        color: var(--color-accent-pink);
        font-size: 0.8rem;
        margin: 4px 0 4px 12px;
        align-self: flex-start;
        text-align: left;
    }

    .step2-check-col {
        position: absolute;
        bottom: 24px;
        right: 36px;
        width: auto;
        margin: 0;
        pointer-events: none;
        z-index: 2;
    }

    .step2-check-col .step2-highlights {
        display: block;
        margin: 0;
    }

    .step2-check-col .step2-highlights-mascot {
        display: block;
        width: 260px;
        height: auto;
        filter: drop-shadow(0 8px 24px rgba(0,0,0,0.08));
    }

    .highlight-row {
        background-color: #FFF2F0;
        border-radius: 16px;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
    }

    .highlight-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-accent-pink);
        flex-shrink: 0;
    }

    .highlight-text {
        font-size: 0.85rem;
        font-weight: 800;
        color: var(--color-text);
        line-height: 1.5;
        margin: 0;
    }

    .highlight-deco {
        position: absolute;
        right: -8px;
        bottom: -12px;
        width: 32px;
        height: auto;
    }

    /* STEP 3 PC ADJUSTMENTS */
    .step-block-03 {
        position: relative;
        padding-bottom: 50px;
    }

    .step3-two-screens {
        display: flex;
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    .step3-screen-img {
        width: 100%;
        max-width: 115px;
        height: auto;
        display: block;
        border-radius: 8px;
        border: none;
        box-shadow: none;
        flex-shrink: 1;
    }

    .step-block-03 .step1-hint-col {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        height: 100%;
        margin-top: 0;
    }

    .step-block-03 .step3-weekly-card {
        margin-top: auto;
        margin-bottom: 60px;
        max-width: 360px;
        padding: 24px 20px 20px 20px;
    }

    .step-block-03 .step3-weekly-card-visual,
    .step-block-03 .step3-weekly-card-img {
        max-width: 310px;
    }

    .step-block-03 .step3-mascot-bubble-container {
        position: absolute;
        bottom: 20px;
        right: 36px;
        width: auto;
        margin: 0;
        z-index: 2;
    }




    .experts-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
        width: 100%;
        max-width: 960px;
        margin: 32px auto 0;
    }

    .expert-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        text-align: left;
        padding: 36px 40px;
        background-color: var(--color-white);
        border-radius: 24px;
        box-shadow: 0 12px 36px rgba(78, 59, 51, 0.04);
        border: 1px solid rgba(255, 168, 150, 0.08);
    }

    .expert-photo-card {
        width: 300px;
        aspect-ratio: 1.35;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
        border: 1px solid rgba(78, 59, 51, 0.08);
        box-shadow: var(--shadow-soft);
    }

    .expert-photo-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .expert-quote-wrap {
        flex-grow: 1;
        margin-top: 0;
    }

    .expert-quote {
        margin-top: 0;
        margin-bottom: 12px;
        font-size: 1.15rem;
        line-height: 1.4;
        color: var(--color-primary);
    }

    .expert-comment-body {
        font-size: 0.9rem;
        line-height: 1.7;
    }


    .cta-title {
        white-space: nowrap;
    }

    /* 9 Shia Characters Gentle Arc Curve (PC) */
    .shia-characters-grid {
        align-items: flex-end;
        padding-top: 16px;
        padding-bottom: 32px;
    }

    .shia-characters-grid .shia-character-card:nth-child(1) { transform: translateY(32px); }
    .shia-characters-grid .shia-character-card:nth-child(2) { transform: translateY(18px); }
    .shia-characters-grid .shia-character-card:nth-child(3) { transform: translateY(8px); }
    .shia-characters-grid .shia-character-card:nth-child(4) { transform: translateY(2px); }
    .shia-characters-grid .shia-character-card:nth-child(5) { transform: translateY(-6px); }
    .shia-characters-grid .shia-character-card:nth-child(6) { transform: translateY(2px); }
    .shia-characters-grid .shia-character-card:nth-child(7) { transform: translateY(8px); }
    .shia-characters-grid .shia-character-card:nth-child(8) { transform: translateY(18px); }
    .shia-characters-grid .shia-character-card:nth-child(9) { transform: translateY(32px); }

    .shia-characters-grid .shia-character-card:nth-child(1):hover { transform: translateY(24px) scale(1.08); }
    .shia-characters-grid .shia-character-card:nth-child(2):hover { transform: translateY(10px) scale(1.08); }
    .shia-characters-grid .shia-character-card:nth-child(3):hover { transform: translateY(0px) scale(1.08); }
    .shia-characters-grid .shia-character-card:nth-child(4):hover { transform: translateY(-6px) scale(1.08); }
    .shia-characters-grid .shia-character-card:nth-child(5):hover { transform: translateY(-14px) scale(1.08); }
    .shia-characters-grid .shia-character-card:nth-child(6):hover { transform: translateY(-6px) scale(1.08); }
    .shia-characters-grid .shia-character-card:nth-child(7):hover { transform: translateY(0px) scale(1.08); }
    .shia-characters-grid .shia-character-card:nth-child(8):hover { transform: translateY(10px) scale(1.08); }
    .shia-characters-grid .shia-character-card:nth-child(9):hover { transform: translateY(24px) scale(1.08); }
}

/* ==========================================================================
   19c. UNIFIED CONTAINER BOUNDS & IPAD RESPONSIVE FIXES (701px ~ 1024px)
   Addresses all 5 iPad-specific overlap and overflow issues cleanly while
   preserving exact PC desktop 2-column layout.
   Does NOT affect PC (>=1025px) or Mobile (<=700px)
   ========================================================================== */
@media (min-width: 701px) and (max-width: 1024px) {
    html, body {
        overflow-x: hidden;
    }

    .page-container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .section-inner,
    .usage-steps-container,
    .shia-characters-container,
    .experts-list,
    .faq-accordion-list {
        max-width: 100%;
        box-sizing: border-box;
    }

    .usage-step-block,
    .trouble-card,
    .concept-inner,
    .expert-card {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix 1: Hero area - Character group & store buttons positioning on iPad */
    .hero-mockup-wrap {
        max-width: 270px;
    }

    .hero-char-group {
        left: -110px;
        width: 320px;
        bottom: 25px;
        z-index: 25;
    }

    .hero-store-row {
        margin-top: 55px;
        z-index: 5;
    }

    /* Fix 2: 3-step overview cards label badges overflow on iPad */
    .steps-overview-grid {
        gap: 12px;
    }

    .overview-step-card {
        padding: 14px 10px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .overview-step-title {
        font-size: 0.88rem;
        word-break: break-word;
    }

    /* Fix 3: Usage Step 1 - Screen images & text overlap fix on iPad */
    .usage-step-block {
        padding: 32px 20px;
        box-sizing: border-box;
        max-width: 100%;
    }

    .step1-main-grid {
        grid-template-columns: 1fr auto;
        gap: 16px;
        align-items: center;
    }

    .step1-body-text {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .step1-two-screens {
        display: flex;
        gap: 8px;
    }

    .step1-screen-img {
        width: 125px;
        max-width: 125px;
        height: auto;
    }

    /* Fix 4: Usage Step 2 - Star character mascot & text overlap fix on iPad */
    .step2-header-container {
        gap: 12px;
    }

    .step-header-char {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .step2-highlights-mascot {
        width: 145px;
        max-width: 145px;
        height: auto;
    }

    .step2-flow-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 16px;
    }

    .step2-screen-img {
        max-width: 120px;
        height: auto;
    }

    /* Fix 5: Usage Step 3 - Reflection screens & mascot overlap fix on iPad */
    .step3-two-screens img {
        max-width: 125px;
        height: auto;
    }

    .step3-weekly-card {
        padding: 16px;
        box-sizing: border-box;
    }

    .step3-weekly-card-img {
        max-width: 100%;
        height: auto;
    }
}

/* ==========================================================================
   20. VUE DYNAMIC SCROLL REVEAL & FLOATING ANIMATIONS
   ========================================================================== */
.reveal-element {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-element.reveal-scale {
    transform: translateY(12px) scale(0.98);
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Snappy, subtle staggered delays */
.stagger-1 { transition-delay: 0.04s; }
.stagger-2 { transition-delay: 0.08s; }
.stagger-3 { transition-delay: 0.12s; }
.stagger-4 { transition-delay: 0.16s; }
.stagger-5 { transition-delay: 0.20s; }

/* ==========================================================================
   21. 9つの"シアさん" (Shia Characters Section)
   ========================================================================== */
.section-shia-characters {
    padding: 80px 24px;
    position: relative;
}

.shia-characters-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-top: 36px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 36px 28px 36px;
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.9);
    max-width: 1100px;
    width: 100%;
}

.shia-characters-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.shia-section-desc {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    max-width: 980px;
    line-height: 1.75;
    letter-spacing: -0.01em;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    border-top: 1px dashed rgba(78, 59, 51, 0.12);
    width: 100%;
}

.shia-character-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 0 1 calc(11.11% - 16px);
    min-width: 85px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shia-character-card:hover {
    transform: translateY(-8px) scale(1.05);
}

.shia-character-img-wrap {
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.shia-character-img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.06));
}

.shia-character-label {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    letter-spacing: 0.02em;
}

.label-tanoshii { background-color: #F7941D; }
.label-necchu { background-color: #F05A94; }
.label-tasseikan { background-color: #3BBFB4; }
.label-hottoshita { background-color: #2EBE77; }
.label-wakuwaku { background-color: #EBB700; }
.label-mitasareta { background-color: #82D148; }
.label-tsunagari { background-color: #F0656E; }
.label-kansha { background-color: #E87EA1; }
.label-sonohota { background-color: #5B92F7; }

/* 19a. Refinement: shia-characters grid on tablets/small laptops (<=992px) */
@media (max-width: 992px) {
    .section-shia-characters {
        padding: 50px 16px;
    }

    .shia-characters-container {
        padding: 24px 16px 24px;
        gap: 20px;
    }

    .shia-characters-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 12px;
        width: 100%;
    }

    .shia-section-desc {
        font-size: 0.88rem;
        padding-top: 16px;
        line-height: 1.65;
    }

    .shia-character-card {
        flex: 1 1 100%;
        min-width: unset;
    }

    .shia-character-img-wrap {
        height: 80px;
    }

    .shia-character-img {
        max-height: 75px;
    }
}



/* ==========================================================================
   22. Step 3 Mascot & Speech Bubble Below Card
   ========================================================================== */
.step3-mascot-bubble-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
    max-width: 260px;
}

.step3-mascot-img-wrap {
    width: 72px;
    flex-shrink: 0;
}

.step3-mascot-bottom-img {
    width: 100%;
    height: auto;
    display: block;
}

.step3-speech-bubble-side {
    position: relative;
    background: var(--color-white);
    border: 2px solid var(--color-accent-pink);
    border-radius: 14px;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    box-shadow: var(--shadow-soft);
}

.step3-speech-bubble-side span.u-keep {
    display: inline-block;
    white-space: nowrap;
}

.step3-speech-bubble-side::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 6px 10px 6px 0;
    border-color: transparent var(--color-accent-pink) transparent transparent;
}

.step3-speech-bubble-side::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -7px;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 5px 8px 5px 0;
    border-color: transparent #FFFFFF transparent transparent;
}

/* ==========================================================================
   23. Step 3 Horizontal Subcard (Weekly Report)
   ========================================================================== */
.step3-weekly-card {
    box-sizing: border-box;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 12px 36px rgba(78, 59, 51, 0.03);
    border: 1px solid rgba(255, 168, 150, 0.06);
    width: 100%;
    max-width: 320px;
    height: auto;
}

.step3-weekly-card-visual {
    width: 100%;
    max-width: 280px;
    display: flex;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    border: none;
}

.step3-weekly-card-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
}

.step3-weekly-card-text {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step3-weekly-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #E85B77;
    margin-bottom: 8px;
    white-space: nowrap;
    text-align: center;
}

.step3-weekly-card-desc {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-muted);
    line-height: 1.6;
    text-align: center;
    white-space: normal;
}

/* 19b. Refinement: step1/step3 hint & mascot layout on tablets (<=992px) */
@media (max-width: 992px) {
    .step1-hint-col {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 16px;
        gap: 16px;
    }

    .step3-weekly-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .step3-weekly-card-visual {
        width: 100%;
        max-width: 250px;
        display: flex;
        justify-content: center;
        order: 1;
    }

    .step3-weekly-card-img {
        width: 100%;
        max-width: 250px;
        height: auto;
        display: block;
    }

    .step3-weekly-card-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        order: 2;
    }

    .step3-weekly-card-title {
        font-size: 1.2rem;
        font-weight: 800;
        color: #E85B77;
        margin-bottom: 6px;
        text-align: center;
    }

    .step3-weekly-card-desc {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-text-muted);
        line-height: 1.55;
        text-align: center;
    }

    .step3-mascot-bubble-container {
        width: 100%;
        max-width: 100%;
        margin-top: 14px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-sizing: border-box;
        padding: 0 4px;
    }

    .step3-mascot-img-wrap {
        width: 80px;
        flex-shrink: 0;
    }

    .step3-speech-bubble-side {
        white-space: nowrap;
        font-size: 0.68rem;
        padding: 6px 10px;
        letter-spacing: -0.03em;
        line-height: 1.4;
    }

    .step3-two-screens {
        display: flex;
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .step3-screen-img {
        width: 100%;
        max-width: 118px;
        height: auto;
        display: block;
        border-radius: 8px;
        border: none;
        box-shadow: none;
        flex-shrink: 1;
    }
}

/* Specific optimizations for iPhone SE and small screens (<= 380px) */
@media (max-width: 380px) {
    .step1-hint-col {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 14px;
        gap: 12px;
    }

    .step3-weekly-card {
        padding: 20px 14px;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .step3-weekly-card-visual {
        max-width: 220px;
    }

    .step3-weekly-card-img {
        max-width: 220px;
    }

    .step3-weekly-card-title {
        font-size: 1.1rem;
    }

    .step3-weekly-card-desc {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .hero-info {
        max-width: 56%;
        padding-left: 4px;
    }

    .hero-subtext {
        font-size: 0.78rem;
    }

    .hero-logo-large img {
        max-width: 165px;
    }

    .hero-desc p:first-child {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .hero-desc p.hero-desc-highlight {
        font-size: 0.78rem;
        line-height: 1.55;
        letter-spacing: -0.025em;
        margin-bottom: 8px;
    }

    .hero-visual {
        width: 42%;
        max-width: 155px;
        top: 15px;
        right: 0;
    }

    .hero-char-group {
        width: 130px;
        left: -12px;
        bottom: -18px;
        z-index: 20;
    }

    .hero-store-row {
        margin-top: 25px;
    }

    .step3-mascot-bubble-container {
        width: 100%;
        max-width: 100%;
        gap: 6px;
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        padding: 0;
    }

    .step3-mascot-img-wrap {
        width: 68px;
        flex-shrink: 0;
    }

    .step3-speech-bubble-side {
        white-space: nowrap;
        font-size: 0.60rem;
        padding: 5px 8px;
        letter-spacing: -0.04em;
        line-height: 1.35;
    }

    .step3-two-screens {
        max-width: 210px;
        gap: 6px;
    }

    .step3-screen-img {
        max-width: 100px;
    }
}

/* ==========================================================================
   22. APP INITIAL LOADING SCREEN (1-SECOND BRAND OPENING LOADER)
   ========================================================================== */
.app-loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg, #FFF9F7);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-loader-screen.loader-fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px;
    text-align: center;
}

.app-loader-logo {
    width: 170px;
    max-width: 60vw;
    height: auto;
    animation: loaderLogoPulse 1.2s ease-in-out infinite alternate;
}

.app-loader-characters {
    width: 240px;
    max-width: 75vw;
    height: auto;
    animation: loaderCharBounce 1.4s ease-in-out infinite;
}

@keyframes loaderLogoPulse {
    0% { transform: scale(0.98); opacity: 0.9; }
    100% { transform: scale(1.02); opacity: 1; }
}

@keyframes loaderCharBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes loaderBar {
    0% { left: -100%; }
    100% { left: 0%; }
}

/* Soft Hero Entry Animation (Loader Pattern) */
.hero-section.hero-entering-prep {
    opacity: 0;
    transform: translateY(16px);
}

.hero-section.hero-entering-play {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
