/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-primary: #C60C31;
    /* ミライズレッド */
    --color-gold: #C9A050;
    /* 権威性のゴールド */
    --color-gold-light: #F2E8D5;
    /* 薄いゴールド（背景用） */

    /* Text Colors */
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;

    /* Background Colors */
    --color-bg-body: #FDFBF7;
    /* 生成り色 */
    --color-bg-warm: #FFF5F5;
    /* 薄い桜色 */
    --color-bg-white: #FFFFFF;

    /* Fonts */
    --font-serif: "Noto Serif JP", serif;
    /* 明朝体（権威性・見出し） */
    --font-sans: "Noto Sans JP", sans-serif;
    /* ゴシック体（本文） */
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.sp-only {
    display: none;
}

.no-break {
    display: inline-block;
    white-space: nowrap;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.container {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 180px;
    height: 40px;
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.7;
}

.logo-img-header {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.nav a {
    text-decoration: none;
    color: var(--color-text-main);
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
    font-family: var(--font-serif);
}

.nav a:hover {
    color: var(--color-primary);
}

/* Header CTA Button */
.nav-cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: #FFF !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-left: 20px;
    box-shadow: 0 4px 12px rgba(198, 12, 49, 0.25);
    transition: all 0.3s ease;
}

.nav-cta-button:hover {
    background-color: #A80828;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(198, 12, 49, 0.4);
    color: #FFF !important;
    opacity: 1;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 50%;
    transform: translateY(-100%) rotate(-45deg);
}

/* ==========================================================================
   1. Hero Section (KV Image Type - Full Screen)
   ========================================================================== */
.hero-kv {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    padding: 0;
    width: 100%;
}

.kv-placeholder {
    width: 100%;
    height: calc(100vh - 81px);
    min-height: 600px;
    aspect-ratio: unset;
    background-color: #EEE;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================================
   Common Section Styles
   ========================================================================== */
.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--color-text-main);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-en {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gold);
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    margin-top: 10px;
    text-transform: uppercase;
}

/* ==========================================================================
   2. About (Concept)
   ========================================================================== */
.about {
    background-color: var(--color-bg-white);
}

.about-box {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    border: 1px solid var(--color-gold-light);
    padding: 60px;
    background: #FFFEFC;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    box-sizing: border-box;
}

.about-box::before,
.about-box::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-gold);
}

.about-box::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.about-box::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.about-lead {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.about-text {
    font-size: 1.25rem;
    line-height: 2.2;
    text-align: justify;
    text-align-last: center;
    font-family: var(--font-serif);
    font-weight: 500;
}

/* 本文中のブランド名強調 */
.brand-name {
    font-family: var(--font-serif);
    /* 明朝体で格調高く */
    color: var(--color-primary);
    /* ブランドカラー（赤）またはゴールドでも可 */
    font-size: 1.1em;
    /* ほんの少し大きく */
    font-weight: 700;
    margin: 0 2px;
    /* 前後に少し隙間を空けて読みやすく */
    display: inline-block;
    /* ひとつのブロックとして扱う */
    white-space: nowrap;
    /* ブロック内の改行を禁止する */
}

/* ==========================================================================
   3. Message (Emotional)
   ========================================================================== */
.message {
    background: linear-gradient(to bottom, #2b2b2b 0%, #000000 100%);
    color: #FFF;
    padding: 120px 0;
}

.message-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.message-content {
    flex: 1;
}

.message-title {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 40px;
    line-height: 1.3;
}

.message-body p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

.message-sign {
    margin-top: 40px;
    text-align: right;
    font-family: var(--font-serif);
}

.message-visual {
    flex: 0 0 45%;
    height: 500px;
}

.message-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.8;
}

/* ==========================================================================
   4. System Overview
   ========================================================================== */
.criteria {
    background: linear-gradient(to bottom, #FFF 0%, #FFF5F5 100%);
    padding-bottom: 120px;
}

.criteria .section-header {
    margin-bottom: 40px;
}

/* Rule Box */
.rule-box {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 40px;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;
}

.rule-box::after {
    content: "";
    display: block;
    width: 1px;
    height: 40px;
    background-color: var(--color-primary);
    margin: 30px auto 0;
    opacity: 0.8;
}

.rule-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 24px;
    font-family: var(--font-serif);
}

/* 本文：フォントを明朝体に変更してトンマナを合わせる */
.rule-text {
    font-size: 1.25rem;
    color: #666666;
    line-height: 2.2;
    text-align: center;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    font-weight: 500;
    /* 明朝体なので少し太さを出す */

    /* 【追加】明朝体を指定 */
    font-family: var(--font-serif);
}

.rule-text strong {
    color: #333333;
    font-weight: 700;
}

.rule-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 20px;
    text-align: center;
    display: inline-block;
    width: 100%;
}

/* Criteria List */
.criteria-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.criteria-row {
    background: #FFF;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    border: 1px solid #EEE;
    transition: transform 0.3s;
}

.criteria-row:hover {
    transform: translateY(-5px);
}

.criteria-body {
    flex: 1;
    padding: 55px 40px 55px 60px;
}

.criteria-head {
    margin-bottom: 35px;
    border-bottom: 1px dashed #DDD;
    padding-bottom: 25px;
}

.criteria-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    /* すべてアクセントカラー（赤）に統一 */
    text-shadow: 2px 2px 0px rgba(198, 12, 49, 0.05);
    /* 影も薄く統一 */
}

.criteria-icon {
    width: 32px;
    height: 32px;
    stroke: var(--color-primary);
    stroke-width: 1.5;
    flex-shrink: 0;
}

/* 以降の個別カラー設定は不要になったため削除 */

.criteria-catch {
    font-size: 1.3rem;
    color: var(--color-text-main);
    line-height: 1.6;
    margin: 0;
    font-weight: 700;
}

.criteria-desc {
    font-size: 1rem;
    color: var(--color-text-main);
    text-align: justify;
    line-height: 2.0;
    margin: 0;
}

.criteria-visual {
    flex: 0 0 400px;
    background-color: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-left: 1px solid #EEE;
}

/* Criteria Zoom Effect */
.criteria-img-box {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.criteria-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.criteria-img-box:hover .criteria-img {
    transform: scale(1.1);
}

/* ==========================================================================
   5. User Action (Final Design Update)
   ========================================================================== */
.user-action {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFAF0 100%);
    position: relative;
    overflow: hidden;
    /* キャラクターのはみ出し対策 */
}

/* --- Separator (Gold Star) --- */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    color: var(--color-gold);
    opacity: 0.6;
}

.sep-line {
    height: 1px;
    width: 80px;
    background-color: currentColor;
    display: inline-block;
}

.sep-icon {
    margin: 0 20px;
    font-size: 1.4rem;
    position: relative;
    top: -3px;
}

/* --- Main Container --- */
.action-box {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    /* キャラクター配置の基準 */
    z-index: 1;
}

/* --- 公式キャラクター画像 (Decoration) --- */
.char-deco-left,
.char-deco-right {
    position: absolute;
    width: 180px;
    /* サイズ調整 */
    height: auto;
    z-index: 0;
    /* 文字の後ろに配置 */
    animation: float 3s ease-in-out infinite;
}

/* 左のキャラ位置 */
.char-deco-left {
    /* 値を大きくすると下がります */
    top: 400px;

    left: -120px;
    /* 左外側へ */
    animation-delay: 0s;
}

/* 右のキャラ位置 */
.char-deco-right {
    /* 値を大きくすると下がります */
    top: 160px;
    /* 少しずらす */
    right: -80px;
    /* 右外側へ */
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- Header & Ribbon Title --- */
.action-header {
    position: relative;
    z-index: 2;
    /* ↓リボン全体を中央揃えにするために追加 */
    display: flex;
    justify-content: center;
}

/* リボンの外側コンテナ（位置決めと、折り目の「濃い影」を担当） */
.ribbon-title {
    position: relative;
    display: inline-block;
    /* 中身に合わせて幅が決まる */
    margin-bottom: 60px;
    /* 下の余白 */
    z-index: 1;

    /* フォント設定 */
    font-family: var(--font-serif);
    font-size: 2.0rem;
    line-height: 1.4;
    color: #FFF;
}

/* 折り目の「濃い影」（左右の小さな三角形） */
.ribbon-title::before,
.ribbon-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    /* メイン部分より下に配置 */
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 0;
    /* 最背面へ */
}

/* 左側の影 */
.ribbon-title::before {
    left: 0;
    border-width: 0 25px 12px 0;
    /* 右上が直角の三角形 */
    border-color: transparent #8a0620 transparent transparent;
    /* 非常に濃い赤 */
}

/* 右側の影 */
.ribbon-title::after {
    right: 0;
    border-width: 0 0 12px 25px;
    /* 左上が直角の三角形 */
    border-color: transparent transparent transparent #8a0620;
    /* 非常に濃い赤 */
}

/* リボンのメイン部分（テキスト背景） */
.ribbon-inner {
    display: block;
    position: relative;
    /* リッチなグラデーション背景 */
    background: linear-gradient(to bottom, var(--color-primary) 0%, #B80A2E 100%);
    padding: 18px 70px;
    /* 少し大きめに */

    /* 上下に濃いラインを入れて立体感を強調 */
    border-top: 2px solid #D61A42;
    border-bottom: 3px solid #8a0620;

    border-radius: 4px;
    /* 少しだけ角を丸く */
    box-shadow: 0 8px 20px rgba(150, 10, 40, 0.4);
    /* 立体的な影 */
    z-index: 2;
    /* 影より前面に */
}

/* リボンの両端（V字カット部分） */
.ribbon-inner::before,
.ribbon-inner::after {
    content: "";
    position: absolute;
    top: 12px;
    /* メインより少し下げる */
    height: 100%;
    /* メインと同じ高さ */
    width: 50px;
    /* 端の長さ */
    background-color: #A80828;
    /* メインより少し濃い赤 */
    z-index: -1;
    /* メインの後ろへ */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* 左端の形状 */
.ribbon-inner::before {
    left: -35px;
    /* 外側に出す */
    /* V字に切り抜く */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20% 50%);
}

/* 右端の形状 */
.ribbon-inner::after {
    right: -35px;
    /* 外側に出す */
    /* V字に切り抜く（反転） */
    clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%);
}

/* --- Body Text --- */
.action-body {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    /* キャラより手前 */
}

/* .action-lead removed */

.action-text {
    font-size: 1.25rem;
    line-height: 2.2;
    /* ゆったりとした行間で品を出す */
    color: #333;
    /* 落ち着いた黒に戻す */
    font-family: var(--font-serif);
    font-weight: 500;
    margin-top: 40px;
    max-width: 800px;
    /* 一行を長くしすぎないことで読みやすく */
    margin-left: auto;
    margin-right: auto;
}

.action-text p {
    margin: 0 0 1.8em;
    /* 段落の間隔をあけて、言葉を噛みしめられるように */
}

@media (max-width: 768px) {
    .action-text {
        font-size: 1.1rem;
        line-height: 2.0;
        margin-top: 30px;
    }

    .action-text p {
        margin: 0 0 1.5em;
    }
}

/* PC：特定の段落間の余白を詰めて「ひとつのまとまり」に見せる */
@media (min-width: 769px) {
    .action-text p.pc-mb-narrow {
        margin-bottom: 0.2em;
    }
}

/* --- CTA Box (White Box) --- */
.action-cta {
    width: 100%;
    margin-top: 60px;
    padding: 60px 40px 70px;
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(198, 12, 49, 0.08);
    border: 1px solid #FFE0E0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.cta-box-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 700;
    margin: 0 0 50px;
    letter-spacing: 0.05em;
}

/* Grid Layout */
.cta-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.cta-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

/* Internal Images (App Icon & Screen) */
.cta-img-wrapper {
    height: 100px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon {
    height: 100px;
    width: 100px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-screen {
    height: 100px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Divider */
.cta-divider {
    width: 1px;
    background-color: #FFD0D0;
    margin: 20px 40px;
    align-self: stretch;
}

/* Messages */

.text-red {
    color: #C60C31 !important;
    font-weight: 700;
}

.text-cyan {
    color: #01BCC5 !important;
    font-weight: 700;
}

.cta-highlight {
    font-size: 1.4rem;
    color: var(--color-primary);
    display: inline-block;
    margin-top: 5px;
}

.new-user .cta-highlight {
    color: #01BCC5;
}

/* 右側は青色 */

/* Buttons */
.cta-button-main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    background-color: var(--color-primary);
    color: #FFF;
    text-decoration: none;
    padding: 16px 0;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(198, 12, 49, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    margin-top: auto;
}

.cta-button-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 12, 49, 0.4);
    background-color: #A80828;
}

.badge-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin-top: auto;
}

.store-link {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
    transition: transform 0.2s, opacity 0.3s;
    box-shadow: none;
    /* 影を削除 */
    border: none;
    /* 枠線を削除 */
}

.store-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: none;
}

.store-img {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .user-action {
        padding: 60px 0;
    }

    .action-box {
        padding: 0 20px;
    }

    /* スマホではキャラクターを非表示 */
    .char-deco-left,
    .char-deco-right {
        display: none;
    }

    .ribbon-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    /* 内側のパディングを調整 */
    .ribbon-inner {
        padding: 15px 30px;
    }

    /* 端のパーツも少し小さく */
    .ribbon-inner::before {
        left: -25px;
        width: 40px;
    }

    .ribbon-inner::after {
        right: -25px;
        width: 40px;
    }

    .ribbon-title::before {
        border-width: 0 15px 10px 0;
        bottom: -10px;
    }

    .ribbon-title::after {
        border-width: 0 0 10px 15px;
        bottom: -10px;
    }

    .action-cta {
        padding: 40px 20px;
    }

    .cta-box-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .cta-grid {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .cta-divider {
        width: 80%;
        height: 1px;
        margin: 0 auto;
    }

    .cta-img-wrapper {
        height: auto;
        margin-bottom: 20px;
    }

    .cta-icon,
    .cta-screen {
        height: 80px;
        width: auto;
    }

    .badge-wrapper {
        flex-wrap: wrap;
        gap: 10px;
    }

    .store-img {
        height: 44px;
    }

    .action-lead {
        font-size: 1.3rem;
    }

    .action-text {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #333;
    color: #999;
    padding: 40px 0;
    font-size: 0.8rem;
}

/* ==========================================================================
   Responsive (既存のスマホ用設定)
   ========================================================================== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .logo {
        width: auto;
        max-width: 160px;
    }

    .header {
        padding: 10px 0;
    }

    .nav-cta-button {
        display: none;
        /* Hide button in sticky header on SP as it's in hamburger */
    }

    .kv-placeholder {
        margin-top: 0;
        width: 100%;
        height: auto;
        /* 高さはなりゆき */
        max-height: 85vh;
        /* ただし画面の85%くらいに収める */
        object-fit: contain;
        /* 文字が切れないように全体を表示 */
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .sp-only {
        display: block;
    }

    .about-box {
        padding: 30px 15px;
    }

    .about-lead {
        font-size: 1.3rem;
        line-height: 1.6;
        /* Increased for readability */
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.8;
        text-align: left;
        text-align-last: left;
    }

    .message-wrapper {
        flex-direction: column-reverse;
    }

    .message-visual {
        height: 300px;
        width: 100%;
    }

    /* Criteria */
    .rule-title {
        font-size: 1.3rem;
        line-height: 1.6;
        padding: 0 10px;
        /* ← 見出しの左右余白 */
    }

    .rule-text {
        font-size: 1.1rem;
        text-align: left !important;
        /* ← 左揃えを強制 */
        text-align-last: left !important;
        /* ← 最終行も左揃え */
        line-height: 2.0;
        padding: 0 20px !important;
        /* ← 余白を少し減らして幅を確保 */
        margin-bottom: 30px;
        display: block;
        /* ← ブロック要素に戻す */
        width: auto;
        /* ← 幅制限を解除 */
    }

    .rule-note {
        font-size: 0.8rem;
        text-align: left;
    }

    .criteria-desc {
        padding-top: 5px;
        /* ← この数値で画像と説明文の間隔を調整 */
        margin-bottom: 0px;
        line-height: 1.8;
        /* ← この数値で説明文の行間を調整 */
    }

    .criteria-desc strong {
        display: block;
        /* ブロック要素にすることで下に余白を設定できます */
        margin-bottom: -20px;
        /* この数値で太字と本文の間隔を調整 */
    }

    .criteria-row {
        flex-direction: column;
    }

    .criteria-body {
        padding: 25px 20px 20px;
        /* 上・左右・下 の順番です */
        /* 最初の25pxが上、最後の30pxが下の余白 */
    }

    .criteria-visual {
        order: 2;
        /* 画像を2番目に表示 */
        flex: 0 0 auto;
        padding: 20px 20px 0px 20px;
        /* 上・右・下・左 の順番：下だけ0に */
        border-left: none;
        border-top: none;
        border-bottom: none !important;
        margin-bottom: 0px;
        /* ← 追加：この数値で画像と説明文の間隔を調整 */
        background: none;
        /* ← 追加：灰色の背景を削除 */
        /* 下の境界線も削除 */
        /* Removed border line on mobile */
    }

    .criteria-img-box {
        width: 100%;
        height: auto;
        aspect-ratio: 1200 / 628;
        overflow: hidden;
        border-radius: 12px;
        border: none;
        /* ← 追加：すべての境界線を削除 */
    }

    .criteria-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border: none;
        /* 追加：境界線を完全に削除 */
        border-bottom: none !important;
        /* 追加：下の境界線を強制削除 */
        box-shadow: none;
        /* 追加：影も削除 */
    }

    .criteria-catch {
        font-size: 1.2rem;
        margin-bottom: 0px;
        /* ← この数値で見出しの下の余白を調整（現在は未設定かも） */
    }

    .criteria-label {
        font-size: 1.8rem;
        margin-bottom: 15px;
        /* ← この数値で見出しの下の余白を調整 */
    }

    /* Action */
    .action-box {
        padding: 0 50px;
        /* 左右の余白を広げました */
    }

    .ribbon-title {
        width: auto;
        max-width: 85%;
        /* リボン自体を少し短くしました */
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
        /* 文字サイズを微調整 */
        padding: 8px 15px;
        /* 上下の厚みを抑えました */
        margin-bottom: 25px;
    }

    .ribbon-title::before,
    .ribbon-title::after {
        display: none;
        /* 羽を消してスッキリさせました */
    }

    /* スマホではキャラクター装飾を非表示 */
    .action-char-deco {
        display: none;
    }

    .action-cta {
        padding: 40px 20px;
    }

    .cta-box-title {
        font-size: 1.8rem;
        margin-bottom: 50px;
    }

    .cta-grid {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .cta-divider {
        width: 80%;
        height: 1px;
        margin: 0 auto;
    }

    .cta-img-wrapper {
        height: auto;
        margin-bottom: 20px;
    }

    .cta-icon {
        height: 80px;
        /* ← 上の赤いアイコンのサイズ（そのまま） */
        width: auto;
    }

    .cta-screen {
        height: 120px;
        /* ← 追加：下のスマホ画像のサイズ（大きくする） */
        width: auto;
    }

    .badge-wrapper {
        flex-direction: column;
        /* Stack badges vertically */
        align-items: center;
        gap: 15px;
        /* Comfortable gap for tapping */
    }

    .store-img {
        height: 44px;
    }

    .action-lead {
        font-size: 1.3rem;
        line-height: 1.6;
        text-align: center;
        text-align-last: center;
        margin-bottom: 30px;
        padding: 0 20px;
        /* ← この数値を追加・変更すると、見出しの左右に余白ができます */
    }

    .action-text {
        font-size: 1.05rem;
        line-height: 1.8;
        text-align: center;
        /* 中央揃えに変更 */
        text-align-last: center;
        /* 最終行も中央揃えに */
        padding: 0 20px;
        /* ← この数値を追加・変更すると、本文の左右に余白ができます */
    }

    .action-text p {
        margin: 0 0 1.5em;
    }

    .action-text p:last-child {
        margin-bottom: 0;
    }

    .pc-only {
        display: none;
    }

    /* 1. Hamburger Menu */
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #FFF;
        z-index: 150;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        margin: 20px 0;
        font-size: 1.5rem;
    }

    .nav-cta-button {
        display: block !important;
        /* ← 追加：SP表示で表示させる（!importantで強制） */
        width: 80% !important;
        padding: 15px 0 !important;
        margin-top: 20px !important;
        text-align: center;
        margin-left: 0 !important;
        /* ← これで左の余白を消します */
        line-height: 1.2;
        /* ← 行間を調整 */
    }

    body.nav-open {
        overflow: hidden;
    }

    /* 2. Message Section Overlay - Re-adjusted for Header Above Image */
    .message {
        padding: 100px 20px 80px;
        /* 最初の数値が上、最後の数値が下の余白です */
    }

    .message-wrapper {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .message-content {
        display: contents;
        /* Allow children (title, body, sign) to be ordered within .message-wrapper */
    }

    .message-title {
        order: 1;
        position: static;
        /* Remove absolute positioning */
        color: var(--color-gold);
        /* Return to gold as in PC */
        text-shadow: none;
        /* Remove overlay shadow */
        text-align: center;
        padding: 0;
        margin-top: -60px;
        margin-bottom: -40px;
        line-height: 1.4;
        font-size: 1.5rem;
        /* Adjusted for better SP fit than 2.5rem but larger than overlay version */
        letter-spacing: -0.01em;
        z-index: 10;
    }

    .message-visual {
        order: 2;
        width: 100%;
        height: auto;
        min-height: auto;
        /* Remove fixed min-height to prioritize aspect-ratio */
        aspect-ratio: 1200 / 628;
        /* Approx 16:9 vertical crop */
        overflow: hidden;
        margin-bottom: -30px;
    }

    .message-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .message-body {
        order: 3;
    }

    .message-body p {
        font-size: 1.0rem;
        /* もとの1.1remより小さく設定（お好みで 0.85rem などに調整） */
        line-height: 1.8;
        /* 文字が小さくなる分、行間も少し詰めるとバランスが良いです */
    }

    .message-sign {
        order: 4;
        margin-top: -30px;
    }

    /* 3. Criteria Row Reorder */
    .criteria-row {
        display: flex;
        flex-direction: column;
        border: none;
        /* SP表示で境界線を削除 */
    }

    .criteria-body {
        display: contents;
        /* Make children direct flex items of .criteria-row */
    }

    .criteria-head {
        order: 1;
        border-bottom: none !important;
        /* Force removal of header border on SP */
        margin-bottom: 0;
        padding-bottom: 15px;
        background: #FFF;
        padding-top: 25px;
        padding-left: 20px;
        padding-right: 20px;
    }


    .criteria-desc {
        order: 3;
        margin-top: 0;
        background: #FFF;
        padding: 30px 20px 40px;
        /* Increased vertical padding */
    }

    /* 4. Action Section Fix */
    .user-action {
        background-color: #FFFFFF !important;
        /* Pure white background */
        padding-left: 0;
        padding-right: 0;
    }

    .user-action .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .action-box {
        padding: 0;
    }

    .action-cta {
        background: #FFFFFF;
        box-shadow: none;
        border: none;
        padding: 40px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .cta-button-main {
        max-width: 90%;
    }
}

/* ↑★重要★ ここで一旦スマホ設定のカッコを閉じます */


/* ==========================================================================
   Schedule Section (ここから全体に適用される設定)
   ========================================================================== */
.schedule-section {
    width: 100%;
    padding: 0 0 40px;
    margin-top: -80px;
    /* 上下の余白 */
    text-align: center;
    /* 中央揃え */
    box-sizing: border-box;
    background-color: var(--color-bg-warm);
    /* 上下のセクションと同じ背景色を適用 */
}

/* テキストと横線のデザイン */
.schedule-text {
    display: inline-flex;
    /* 線と文字を横並びにする */
    align-items: center;
    /* 上下中央揃え */
    justify-content: center;
    /* 左右中央揃え */
    gap: 20px;
    /* 線と文字の間隔 */

    /* フォント設定：他のセクションと合わせた明朝体 */
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGSMinchoE", serif;
    font-size: 20px;
    /* 文字サイズ（控えめに） */
    color: #333;
    /* 文字色：濃いグレー */
    letter-spacing: 0.05em;
}

/* 「2026年 春頃」の強調 */
.schedule-date {
    font-weight: bold;
}


/* スケジュール部分のみのスマホ用調整（画面幅が狭い時） */
@media screen and (max-width: 768px) {
    .schedule-text {
        font-size: 14px;
        /* 文字を少し小さく */
        gap: 10px;
        /* 間隔を狭く */
        width: 90%;
        /* 画面幅いっぱいになりすぎないように */
        margin: 0 auto;
        /* 中央配置 */
    }

    .schedule-text::before,
    .schedule-text::after {
        width: 15px;
        /* 線を短く */
    }
}

/* ==========================================================================
   Action Section Update (New Layout)
   ========================================================================== */

/* ラッパー（余白調整） */
.action-cta-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* タイトル周りの調整 */
.cta-box-title {
    line-height: 1.4;
    margin-bottom: 50px;
}

.cta-sub-title {
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-family: var(--font-sans);
    display: block;
    margin-top: 15px;
    font-weight: 500;
}

/* Action 1 & 2 の共通レイアウト */
.support-method-row {
    text-align: center;
    /* PCでも真ん中寄せ */
    margin-bottom: 30px;
}

.method-header {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 中央揃えに追加 */
    gap: 15px;
    margin-bottom: 15px;
}

.method-badge {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.method-badge.sns-badge {
    background: #333;
    /* SNSは黒系で区別 */
}

.method-title {
    font-size: 1.4rem;
    color: var(--color-text-main);
    margin: 0;
    font-weight: 700;
}

.method-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;

    /* PC：真ん中寄せ */
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Action 1: アプリ部分の調整 --- */
.app-grid {
    background: #FFF5F5;
    /* 薄い赤背景でエリアを明示 */
    padding: 30px 20px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;

    /* Action 2の幅（600px）に揃える */
    max-width: 600px;
    margin: 0 auto;
}

.cta-img-wrapper-sm {
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon-sm,
.cta-screen-sm {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.cta-message-sm {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.cta-button-main.small-btn {
    padding: 12px 0;
    font-size: 1rem;
    width: 100%;
    max-width: 200px;
}

.cta-divider-vert {
    width: 1px;
    background: #FFD0D0;
    height: 100px;
    margin: 0 30px;
}

/* --- 横の区切り線 --- */
.cta-separator-horiz {
    height: 1px;
    background: #EEE;
    margin: 50px 0;
}

/* --- Action 2: SNS部分のデザイン --- */
.tag-highlight {
    color: var(--color-primary);
    font-weight: 700;
    background: #FFF0F0;
    padding: 2px 6px;
    border-radius: 4px;
}

.sns-action-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: #F9F9F9;
    /* 薄いグレー */
    padding: 25px;
    border-radius: 12px;
    border: 1px dashed #CCC;
    /* 投稿エリアっぽさを出す破線 */

    /* PC：広がりすぎないように幅を制限 */
    max-width: 600px;
    margin: 0 auto;
}

.sns-step {
    text-align: center;
}

.step-num {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.step-arrow {
    color: #CCC;
    font-size: 1.2rem;
    font-weight: bold;
}

.hash-text {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* --- ページ最下部のシェアエリア --- */
.sns-share-area {
    margin-top: 50px;
    text-align: center;
}

.share-message {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.x-share-button {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.x-share-button:hover {
    transform: translateY(-2px);
    opacity: 0.8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.x-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1;
    position: relative;
    top: -0.05em;
    /* 視覚的な中心合わせ */
}

/* --- Mobile Responsive Updates --- */
@media (max-width: 768px) {
    .cta-sub-title {
        font-size: 1rem;
    }

    .method-desc {
        text-align: left;
        /* SPは左寄せを維持 */
    }

    .method-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* ← ここを center に変更 */
        gap: 10px;
        text-align: center;
        /* ← 追加：文字自体も中央揃え */
        margin-bottom: 20px;
        /* ← 追加：下の本文との余白を少し確保 */
    }

    .method-badge {
        align-self: center;
        /* 中央に配置 */
    }

    .action-cta {
        padding: 50px 40px 60px;
        /* 上を少し詰めました */
    }

    .app-grid {
        flex-direction: row;
        gap: 8px;
        /* 少し詰めて横幅を確保 */
        padding: 20px 8px;
        align-items: stretch;
    }

    .app-grid .cta-col {
        padding: 0;
        flex: 1;
    }

    .app-grid .cta-img-wrapper-sm {
        height: 65px;
        /* 高さを統一 */
        margin-bottom: 8px;
    }

    .app-grid .cta-icon-sm {
        height: 60px;
        /* 少し余白を持たせる */
        width: 60px;
        border-radius: 12px;
    }

    .app-grid .cta-screen-sm {
        height: 65px;
    }

    .app-grid .cta-message-sm {
        font-size: 0.68rem;
        /* 1行に収まるように少し小さく */
        margin-bottom: 8px;
        min-height: 1.4em;
        display: block;
        text-align: center;
        white-space: nowrap;
        /* 意図しない改行を防ぐ */
    }

    .cta-divider-vert {
        display: block;
        height: auto;
        margin: 0;
        width: 1px;
        background: #FFD0D0;
    }

    .cta-button-main.small-btn {
        padding: 4px 0;
        font-size: 0.7rem;
        border-radius: 6px;
        width: 90px !important;
        /* ストアバッジの幅に合わせる */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    .badge-wrapper {
        flex-direction: column;
        gap: 6px;
    }

    .store-img {
        height: 28px;
    }

    .cta-button-main.small-btn {
        width: 100%;
        max-width: 100%;
    }

    .sns-action-box {
        flex-direction: row;
        /* 横並びを維持 */
        gap: 10px;
        padding: 15px 10px;
        justify-content: space-around;
    }

    .sns-step p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .step-arrow {
        transform: none;
        /* 矢印を横向きに戻す */
        font-size: 0.9rem;
    }

    .hash-text {
        font-size: 1rem;
    }

    .step-num {
        font-size: 0.7rem;
    }

    .x-share-button {
        width: auto;
        padding: 12px 30px;
        font-size: 0.9rem;
        /* 少し文字を小さくしてバランス調整 */
        justify-content: center;
        box-sizing: border-box;
    }
}