/* CSS Variables */
:root {
    --bg-color: #F4F5F7;
    --text-color: #111111;
    --accent-color: #2D2D2D;
    --accent-red: #BF0000;
    --border-color: #D1D1D1;
    --border-width: 1px;
    --font-en: 'Manrope', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --spacing-mobile: 6vh;
    --spacing-desktop: 15vh;
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Base */
html {
    font-size: 15px;
}

@media(min-width: 900px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-jp);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px;
}

p {
    overflow-wrap: break-word;
    word-break: auto-phrase;
}

h1,
h2,
h3 {
    font-family: var(--font-en);
    letter-spacing: -0.02em;
}

h1.hero-title {
    font-family: var(--font-jp);
    font-weight: 700;
    letter-spacing: -0.05em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Section Number / Label */
.section-num {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.label {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Utilities */
.reveal-mask,
.reveal-img {
    opacity: 0;
    transition: all 1s var(--ease-out);
}

.reveal-mask.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-mask {
    transform: translateY(30px);
}

.reveal-img.active {
    clip-path: inset(0 0 0 0);
    opacity: 1;
}

.reveal-img {
    clip-path: inset(10% 0 0 0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ========================
   Header
   ======================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: white;
    transition: all 0.4s ease;
}

.header.scrolled {
    mix-blend-mode: normal;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled .logo img {
    filter: none;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    font-family: var(--font-en);
}

.menu-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border: 1px solid currentColor;
    border-radius: 50px;
    transition: all 0.3s;
}

.menu-btn:hover {
    opacity: 0.7;
}

/* ========================
   Hero
   ======================== */
.hero-section {
    padding: 8rem 1.5rem 2rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    position: relative;
}

/* Hero Background Image (mobile) */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-with-bg .hero-text-container {
    position: relative;
    z-index: 1;
}

@media(min-width: 900px) {
    .hero-bg-overlay {
        display: none;
    }
}

.hero-visual {
    display: none;
    position: relative;
    overflow: hidden;
}

@media(min-width: 900px) {
    .hero-section {
        flex-direction: row;
        align-items: stretch;
        padding: 0;
        height: 100vh;
        min-height: 100vh;
    }

    .hero-text-container {
        width: 50%;
        padding: 0 4rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
    }

    .hero-visual {
        width: 50%;
        height: 100%;
        display: block;
        border-left: var(--border-width) solid var(--border-color);
    }

    .hero-mobile-bg {
        display: none;
    }
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero-title .highlight {
    font-size: 1.2em;
    background: linear-gradient(transparent 60%, #ddd 60%);
    display: inline-block;
    line-height: 1;
}

@media(min-width: 900px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: #444;
    font-weight: 500;
    line-height: 1.8;
    max-width: 600px;
}

.hero-desc strong {
    color: var(--text-color);
    font-weight: 700;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.button-primary {
    background: var(--text-color);
    color: var(--bg-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.button-primary:active {
    transform: scale(0.95);
}

.button-primary.large {
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
}

.visual-mask {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.parallax-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}

/* Accent Rate */
.accent-rate {
    font-size: 1.4em;
    color: var(--accent-red);
    margin: 0 4px;
    font-weight: 800;
}

/* ========================
   Marquee
   ======================== */
.marquee-section {
    border-top: var(--border-width) solid var(--border-color);
    border-bottom: var(--border-width) solid var(--border-color);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    background: white;
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1rem;
}

.marquee-content span {
    margin-right: 2rem;
}

.spacer {
    color: #ccc;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================
   Grid Sections (Pain, Service, Flow, FAQ)
   ======================== */
.grid-section {
    padding: var(--spacing-mobile) 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media(min-width: 900px) {
    .grid-section {
        padding: var(--spacing-desktop) 4rem;
    }
}

.grid-section.dark {
    background: #111;
    color: #eee;
    max-width: none;
}

.grid-section.dark .grid-list {
    max-width: 1400px;
    margin: 0 auto;
}

.grid-header {
    margin-bottom: 4rem;
    border-bottom: var(--border-width) solid var(--border-color);
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.dark .grid-header {
    border-bottom-color: #333;
}

.section-title {
    font-size: 2.5rem;
    line-height: 0.9;
    margin: 0;
}

@media(min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* ========================
   Pain Section
   ======================== */
.pain-list {
    display: grid;
    gap: 1rem;
}

@media(min-width: 768px) {
    .pain-list {
        grid-template-columns: 1fr 1fr;
    }
}

.pain-item {
    background: white;
    padding: 2rem;
    border: 1px solid #ddd;
}

.pain-item h3 {
    font-size: 1.1rem;
    font-family: var(--font-jp);
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-red);
}

.pain-item p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.8;
}

.pain-solution {
    margin-top: 2rem;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
}

/* ========================
   Concept Section (Dark List)
   ======================== */
.list-item {
    border-bottom: 1px solid #333;
    padding: 2rem 0;
}

.list-head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.list-head .num {
    font-family: var(--font-en);
    opacity: 0.5;
}

.list-head h3 {
    font-size: 1.5rem;
}

.list-item p {
    opacity: 0.7;
    max-width: 600px;
}

.service-detail {
    font-size: 0.95rem;
    line-height: 1.8;
}

.service-detail strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* ========================
   Service Grid
   ======================== */
@media(min-width: 900px) {
    .service-grid-new {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.service-category {
    margin-bottom: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    padding: 2rem;
}

.cat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.cat-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ccc;
    font-family: var(--font-en);
}

.cat-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-jp);
}

.service-items {
    list-style: none;
    padding: 0;
}

.service-items li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.service-items li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #111;
    font-weight: bold;
}

/* ========================
   USP Section
   ======================== */
.usp-section {
    padding: var(--spacing-mobile) 1.5rem;
    background: #fff;
}

@media(min-width: 900px) {
    .usp-section {
        padding: var(--spacing-desktop) 4rem;
    }
}

.usp-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media(min-width: 768px) {
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1100px) {
    .usp-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.usp-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.usp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.usp-number {
    display: block;
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.usp-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: var(--font-jp);
    line-height: 1.4;
}

.usp-desc {
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.7;
}

/* ========================
   Scope Section — Orbit Satellite Design
   ======================== */
.scope-section {
    padding: var(--spacing-mobile) 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

@media(min-width: 900px) {
    .scope-section {
        padding: var(--spacing-desktop) 4rem;
    }
}

.scope-header {
    margin-bottom: 3rem;
}

.scope-badge {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 0.3rem 1rem;
    background: var(--text-color);
    color: white;
    margin-bottom: 1rem;
}

.scope-headline {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-jp);
    margin-bottom: 0.5rem;
}

@media(min-width: 768px) {
    .scope-headline {
        font-size: 2rem;
    }
}

.scope-sub {
    font-size: 0.9rem;
    color: #666;
}

.scope-footer {
    margin-top: 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Orbit Chart */
.orbit-chart {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 0 auto;
}

@media(min-width: 768px) {
    .orbit-chart {
        width: 400px;
        height: 400px;
    }
}

/* 軌道リング */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring-1 {
    width: 260px;
    height: 260px;
}

.orbit-ring-2 {
    width: 340px;
    height: 340px;
}

@media(min-width: 768px) {
    .orbit-ring-1 {
        width: 300px;
        height: 300px;
    }

    .orbit-ring-2 {
        width: 400px;
        height: 400px;
    }
}

/* 中心コア */
.orbit-core {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--text-color);
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.orbit-core-text {
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;
}

/* 衛星ノード */
.sat {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    z-index: 5;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.sat:hover {
    transform: translate(-50%, -50%) scale(1.15) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--text-color);
}

.sat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    color: var(--text-color);
}

/* 衛星の配置（6つを円周上に等間隔配置） */
.sat-1 {
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sat-2 {
    top: 24%;
    left: 90%;
    transform: translate(-50%, -50%);
}

.sat-3 {
    top: 72%;
    left: 90%;
    transform: translate(-50%, -50%);
}

.sat-4 {
    top: 92%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sat-5 {
    top: 72%;
    left: 10%;
    transform: translate(-50%, -50%);
}

.sat-6 {
    top: 24%;
    left: 10%;
    transform: translate(-50%, -50%);
}




.scope-header {
    text-align: center;
    margin-bottom: 3rem;
}

.scope-badge {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 0.3rem 1rem;
    background: var(--text-color);
    color: white;
    margin-bottom: 1rem;
}

.scope-headline {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-jp);
    margin-bottom: 0.5rem;
}

@media(min-width: 768px) {
    .scope-headline {
        font-size: 2rem;
    }
}

.scope-sub {
    font-size: 0.9rem;
    color: #666;
}

/* ========================
   Pattern A: Process Map
   ======================== */
.process-pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    -webkit-overflow-scrolling: touch;
}

@media(max-width: 768px) {
    .process-pipeline {
        justify-content: flex-start;
        padding-bottom: 1rem;
    }
}

.pipe-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
    flex-shrink: 0;
    padding: 1rem 0.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pipe-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.pipe-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pipe-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.pipe-detail {
    font-size: 0.7rem;
    color: #888;
    line-height: 1.4;
}

.pipe-connector {
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    flex-shrink: 0;
    align-self: center;
}

.pipe-connector::after {
    content: '→';
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 800;
}

@media(min-width: 768px) {
    .pipe-step {
        min-width: 120px;
        padding: 1.5rem 1rem;
    }

    .pipe-connector {
        padding: 0 0.5rem;
    }
}

/* Coverage bar */
.scope-coverage-bar {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.coverage-fill {
    background: var(--text-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.coverage-fill::before,
.coverage-fill::after {
    content: '';
    position: absolute;
    top: -6px;
    width: 2px;
    height: calc(100% + 12px);
    background: var(--text-color);
}

.coverage-fill::before {
    left: 0;
}

.coverage-fill::after {
    right: 0;
}

/* Comparison bars */
.scope-compare {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.compare-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.compare-label {
    width: 100px;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: right;
}

.compare-bar {
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compare-others .compare-bar {
    background: #e0e0e0;
    color: #777;
}

.compare-samp .compare-bar {
    background: var(--text-color);
    color: white;
    width: 100% !important;
}

/* ========================
   Pattern B: Concentric
   ======================== */
.scope-concentric {
    background: #fafafa;
    max-width: none;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.pricing-section {
    padding: var(--spacing-mobile) 1.5rem;
    background: #fff;
    max-width: 1400px;
    margin: 0 auto;
}

@media(min-width: 900px) {
    .pricing-section {
        padding: var(--spacing-desktop) 4rem;
    }
}

.price-card {
    border: 1px solid #111;
    background: white;
    max-width: 600px;
    margin: 0 auto;
}

.card-badge {
    display: inline-block;
    background: var(--text-color);
    color: white;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 1.5rem 0 0 1.5rem;
}

.plan-name {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-en);
    margin: 0;
}

.pc-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.pc-price {
    padding: 3rem 2rem;
    text-align: center;
    background: #fafafa;
}

.pc-price-split {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    padding: 2rem;
}

.split-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.split-row .label {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    min-width: 140px;
    text-align: right;
}

.split-row .val {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-en);
    line-height: 1;
}

.split-row .unit {
    font-size: 1.5rem;
    font-weight: 700;
}

.pc-price .sub {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .split-row .label {
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
        min-width: auto;
    }

    .split-row .val {
        font-size: 2.5rem;
    }

    .split-row {
        margin-bottom: 1rem;
    }
}

.pc-features {
    padding: 2rem;
}

.plan-features {
    padding: 0;
    margin: 0;
}

.plan-features li {
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    list-style: none;
    text-align: left;
}

.plan-features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

/* Comparison Table */
.comparison-section {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--font-jp);
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    font-weight: 700;
    font-size: 0.85rem;
    background: #fafafa;
    white-space: nowrap;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
    background: #111;
    color: white;
    font-weight: 600;
}

.comparison-table th.highlight-col {
    font-weight: 700;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Simulation Diagram */
.simulation-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px dashed #ddd;
    text-align: center;
}

.sim-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-jp);
}

.sim-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Bar Chart Simulation */
.sim-chart {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sim-bar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media(max-width: 600px) {
    .sim-bar-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
}

.sim-bar-label {
    width: 70px;
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
}

@media(max-width: 600px) {
    .sim-bar-label {
        text-align: left;
        width: auto;
    }
}

.sim-bar-sub {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.6;
}

.sim-bar-track {
    flex: 1;
    position: relative;
    height: 50px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.sim-bar-fill {
    height: 100%;
    display: flex;
    border-radius: 6px;
    transition: width 1s var(--ease-out);
}

.sim-bar-before {
    background: #ccc;
}

.sim-bar-after {
    background: linear-gradient(90deg, #ccc 64.3%, #2e7d32 64.3%);
}

.sim-bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    padding: 0 0.5rem;
    white-space: nowrap;
}

.seg-revenue {
    flex: 0 0 auto;
    min-width: 0;
}

.seg-new {
    flex: 1;
    background: rgba(0, 0, 0, 0.1);
}

.sim-bar-cost-overlay {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            rgba(229, 57, 53, 0.3),
            rgba(229, 57, 53, 0.3) 4px,
            rgba(229, 57, 53, 0.15) 4px,
            rgba(229, 57, 53, 0.15) 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #c62828;
    border-left: 2px dashed rgba(229, 57, 53, 0.5);
}

.sim-bar-value {
    width: 120px;
    flex-shrink: 0;
    text-align: right;
    font-size: 0.9rem;
    color: #555;
}

.sim-bar-value strong {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-color);
}

.sim-bar-value.accent strong {
    color: var(--accent-red);
    font-size: 1.8rem;
}

@media(max-width: 600px) {
    .sim-bar-value {
        text-align: center;
        width: auto;
    }
}

.sim-bar-diff {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fff8f8;
    border-radius: 8px;
    border: 1px solid rgba(191, 0, 0, 0.15);
}

.sim-bar-diff-arrow {
    font-size: 1.5rem;
    color: var(--accent-red);
    font-weight: 800;
}

.sim-bar-diff-text {
    font-size: 1rem;
    color: #333;
}

.sim-bar-diff-text strong {
    font-family: var(--font-en);
    font-weight: 800;
    color: var(--accent-red);
    font-size: 1.3rem;
}

.sim-note-small {
    font-size: 0.75rem;
    color: #888;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* ========================
   Trust Section
   ======================== */
.trust-section {
    padding: 6rem 1.5rem;
    background: white;
    text-align: center;
}

.message-box {
    max-width: 800px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 3rem 2rem;
    border-radius: 8px;
    position: relative;
}

.message-box::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #ddd;
    font-family: serif;
    line-height: 1;
}

.message-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: var(--font-jp);
}

.message-body {
    text-align: left;
    line-height: 2;
    margin-bottom: 2rem;
}

.profile-sign {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.account-rights-box {
    margin-top: 2rem;
    background: white;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
}

.account-rights-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
    font-family: var(--font-jp);
}

.account-rights-box .icon {
    color: var(--accent-red);
    font-size: 1.2rem;
}

.account-rights-box p {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================
   Flow Section
   ======================== */
.flow-list {
    display: grid;
    gap: 0;
}

@media(min-width: 768px) {
    .flow-list.flow-5col {
        grid-template-columns: repeat(5, 1fr);
    }
}

.flow-item {
    padding: 2rem 0;
    border-bottom: var(--border-width) solid var(--border-color);
    position: relative;
}

@media(min-width: 768px) {
    .flow-item {
        border-bottom: none;
        border-right: var(--border-width) solid var(--border-color);
        padding: 0 1.5rem;
    }

    .flow-item:last-child {
        border-right: none;
    }
}

.flow-item .step {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 800;
    color: #ddd;
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.flow-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-jp);
}

.flow-content p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.flow-connector {
    display: none;
}

@media(min-width: 768px) {
    .flow-connector {
        display: block;
        position: absolute;
        right: -8px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1rem;
        color: #ccc;
    }

    .flow-connector::after {
        content: '→';
    }

    .flow-item:last-child .flow-connector {
        display: none;
    }
}

/* ========================
   FAQ Section
   ======================== */
.faq-list {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid #333;
    padding: 2rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    font-family: var(--font-jp);
}

.faq-a {
    opacity: 0.7;
    line-height: 1.8;
    padding-left: 1.5rem;
    border-left: 2px solid #555;
}

/* ========================
   CTA Section
   ======================== */
.footer-cta-section {
    padding: var(--spacing-mobile) 1.5rem;
    text-align: center;
    background: #fdfdfd;
    border-top: 1px solid #ddd;
}

@media(min-width: 900px) {
    .footer-cta-section {
        padding: var(--spacing-desktop) 4rem;
    }
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: var(--font-jp);
    line-height: 1.5;
}

@media(min-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
}

.cta-desc {
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.8;
}

.cta-note-small {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ========================
   Company Profile
   ======================== */
.company-section {
    background: #f9f9f9;
    padding: 4rem 1.5rem;
    border-top: 1px solid #eee;
}

.company-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media(min-width: 768px) {
    .company-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

.company-logo {
    flex-shrink: 0;
}

.company-info {
    flex-grow: 1;
    width: 100%;
}

.info-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row dt {
    width: 120px;
    font-weight: 700;
    flex-shrink: 0;
}

.info-row dd {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================
   Footer
   ======================== */
.footer {
    background: #111;
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer-bottom {
    font-size: 0.7rem;
    opacity: 0.3;
}

/* ========================
   Fixed Bottom CTA
   ======================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 900;
    display: flex;
    justify-content: center;
}

.fc-button {
    background: #111;
    color: white;
    width: 100%;
    max-width: 500px;
    padding: 1.2rem;
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.fc-button:active {
    transform: scale(0.98);
}

@media(min-width: 900px) {
    .fixed-cta {
        display: none;
    }
}