@charset "UTF-8";

/* ==========================================================================
   Design Tokens / Variables
   ========================================================================== */
:root {
    /* パステルカラー */
    --color-primary: #FFCC80;    /* オレンジ */
    --color-primary-dark: #F57C00;
    --color-secondary: #81D4FA;  /* 水色 */
    --color-accent: #FFF59D;     /* 黄色 */
    --color-accent-dark: #FBC02D;
    --color-success: #A5D6A7;    /* 緑 */
    --color-danger: #FFAB91;     /* 薄い赤/ピンク */
    
    --color-text: #444444;
    --color-text-light: #888888;
    --color-bg: #FFFFFF;
    --color-bg-pale: #FAFAFA;
    --color-white: #FFFFFF;
    
    --font-base: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", sans-serif;
    
    --radius-base: 16px;
    --radius-lg: 30px;
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: #F0F2F5; /* コンテナ外の背景色 */
    line-height: 1.6;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--color-white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 0;
}

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

/* ユーティリティ */
.u-mt-20 { margin-top: 20px; }
.u-mt-40 { margin-top: 40px; }
.bg-pale { background-color: var(--color-bg-pale); }

/* 文字装飾 */
.text-primary { color: var(--color-primary-dark); }
.text-primary-light { color: var(--color-primary); }
.text-secondary { color: #0288D1; }
.text-success { color: #388E3C; }
.text-danger { color: #D84315; }
.text-accent { color: #FBC02D; }
.text-accent-dark { color: #F57F17; }

.marker {
    background: linear-gradient(transparent 60%, var(--color-accent) 60%);
    font-weight: bold;
}
.highlight {
    color: var(--color-primary-dark);
    font-weight: 800;
    font-size: 1.1em;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* CTA Button */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50px;
    font-weight: 800;
    transition: transform 0.2s, box-shadow 0.2s;
    line-height: 1.2;
    text-decoration: none;
}

.btn-cta {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    box-shadow: 0 4px 0 #E65100;
}
.btn-cta:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #E65100;
}

.btn-lg {
    width: 95%; /* 横幅を確保 */
    max-width: 400px; /* PCなどで広がりすぎないように制限 */
    margin: 0 auto;
    padding: 16px 5px; /* 左右の余白を詰めて文字領域を確保 */
    font-size: clamp(0.9rem, 4.5vw, 1.25rem); /* 画面幅に応じて文字サイズを調整 */
    display: flex;
    flex-direction: column;
    white-space: nowrap; /* 強制的に1行にする */
}
.btn-lg .sub-text {
    font-size: 0.8em;
    font-weight: normal;
    margin-top: 4px;
    opacity: 0.9;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    box-shadow: 0 3px 0 #E65100;
}

/* アニメーション: ゆるく揺れる */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}
.pulse-animation {
    animation: pulse 2s infinite ease-in-out;
}

/* セクション共通 */
.section {
    padding: 50px 20px;
}
.section-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
    width: 100%;
}
.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 12px auto 0;
    border-radius: 2px;
}
.section-title i {
    margin-right: 5px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    padding: 12px;
    text-align: center;
    background: var(--color-white);
    border-bottom: 1px solid #f0f0f0;
}
.logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: 0.1em;
}

/* ==========================================================================
   1. Hero (Modified)
   ========================================================================== */
.hero-image-area img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
.hero-cta-area {
    background-color: #FFFDE7; /* 淡い黄色 */
    padding: 30px 20px 40px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 20px;
}
.hero-catch {
    font-size: clamp(0.95rem, 4vw, 1.2rem); /* キャッチコピーも崩れにくいように調整 */
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-text);
    line-height: 1.6;
    word-break: keep-all; /* 単語の途中での改行を防ぐ */
    overflow-wrap: break-word;
}
.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
    font-size: 0.8rem;
    font-weight: bold;
}
.hero-tags li {
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--color-primary);
    color: var(--color-text);
}
.hero-tags li i {
    margin-right: 4px;
}

/* ==========================================================================
   2. About
   ========================================================================== */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.char-balloon {
    display: flex;
    align-items: center;
    gap: 15px;
}
.char-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--color-primary);
}
.balloon {
    background: white;
    padding: 18px;
    border-radius: var(--radius-base);
    position: relative;
    box-shadow: var(--shadow-card);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}
.balloon::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}
.step-mini-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.step-item {
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    box-shadow: var(--shadow-card);
    color: var(--color-text);
    line-height: 1.2;
    gap: 5px;
    font-weight: bold;
}
.arrow {
    color: #ccc;
    font-size: 0.8rem;
}

/* ==========================================================================
   3. Cases
   ========================================================================== */
.case-card {
    background: white;
    border-radius: var(--radius-base);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-card);
    border: 1px solid #f0f0f0;
}
.case-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.case-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
}
.case-header h3 i {
    margin-right: 5px;
}
.badge {
    background: var(--color-danger);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}
.case-body img {
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%;
}
.case-info {
    display: flex;
    justify-content: space-between;
    background: #FFFDE7;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    font-weight: bold;
    flex-wrap: wrap;
    gap: 5px;
}
.case-info p {
    display: flex;
    align-items: center;
}
.case-info i {
    margin-right: 5px;
    color: #999;
}
.case-desc {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}
.case-desc i {
    margin-right: 4px;
}

/* ==========================================================================
   4. Simulation
   ========================================================================== */
.graph-container {
    background: white;
    padding: 25px 15px;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-card);
}
.graph-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.graph-row:last-child {
    margin-bottom: 0;
}
.graph-label {
    min-width: 80px;
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
    flex-shrink: 0;
}
.graph-bar {
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    position: relative;
    transition: transform 0.2s;
}
.graph-bar:hover {
    transform: translateX(3px);
}
.bar-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}
.bar-content span {
    font-size: 1rem;
}
.bar-content small {
    font-size: 0.7rem;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 2px;
}
.bar-1 { width: calc(100% - 90px); max-width: 200px; background-color: var(--color-success); }
.bar-2 { width: calc(100% - 90px); max-width: 300px; background-color: var(--color-secondary); }
.bar-3 { width: calc(100% - 90px); max-width: 360px; background-color: var(--color-primary); }
.note {
    text-align: center;
    font-size: 0.7rem;
    color: #999;
    margin-top: 20px;
}

/* ==========================================================================
   5. Steps
   ========================================================================== */
.step-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    background: var(--color-bg-pale);
    padding: 20px;
    border-radius: var(--radius-base);
}
.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}
.step-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
@media (min-width: 350px) {
    .step-content {
        flex-direction: row;
        align-items: center;
    }
}
.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #FFE0B2, #FFCC80);
    flex-shrink: 0;
    font-size: 2rem;
    color: #F57C00;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.2);
}
.step-icon i.fa-line {
    color: #06C755; /* LINE公式カラー */
}
.step-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 5px;
}
.step-text p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.4;
}
.step-arrow {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin: 8px 0;
}

/* ==========================================================================
   6. FAQ
   ========================================================================== */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.accordion-item {
    background: white;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    background: none;
    border: none;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.4;
}
.accordion-header .icon {
    font-size: 0.9rem;
    transition: transform 0.3s;
    color: var(--color-primary);
    margin-left: 10px;
    flex-shrink: 0;
}
.accordion-header.active .icon {
    transform: rotate(180deg);
}
.accordion-body {
    display: none;
    padding: 0 20px 25px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text);
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

/* ==========================================================================
   7. Campaign
   ========================================================================== */
.campaign-box {
    border: 3px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 35px 20px;
    text-align: center;
    background: white;
    position: relative;
    overflow: hidden;
}
/* キラキラ装飾（疑似要素） */
.campaign-box::before {
    content: "✨";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.5rem;
    opacity: 0.5;
}
.campaign-box::after {
    content: "✨";
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 1.2rem;
    opacity: 0.5;
}

.campaign-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #F57C00;
    margin-bottom: 15px;
    background: #FFF8E1;
    display: inline-block;
    padding: 8px 25px;
    border-radius: 30px;
    border: 2px solid #FFE0B2;
}
.campaign-title i {
    margin-right: 5px;
    color: #FF6F00;
}
.campaign-lead {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.campaign-list {
    text-align: left;
    display: inline-block;
    margin-bottom: 25px;
    font-size: 0.95rem;
    background: #FAFAFA;
    padding: 15px;
    border-radius: 12px;
}
.campaign-list li {
    margin-bottom: 10px;
    color: var(--color-text);
    display: flex;
    align-items: center;
}
.campaign-list li:last-child {
    margin-bottom: 0;
}
.campaign-list li i {
    margin-right: 8px;
    flex-shrink: 0;
}
.campaign-img {
    margin-top: 10px;
}

/* ==========================================================================
   8. Footer / Fixed CTA
   ========================================================================== */
.footer {
    text-align: center;
    padding: 40px 0 30px;
    background: #f9f9f9;
    color: #999;
    font-size: 0.8rem;
}
.footer-nav {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.footer-nav a {
    text-decoration: none;
    color: #999;
}
.footer-spacer {
    height: 90px;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #eee;
    padding: 12px 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}
.fixed-cta-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}
.fixed-text {
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.fixed-text .icon {
    background: #06C755;
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}
.fixed-text .icon i {
    color: white;
    margin-right: 4px;
}
