:root {
    --color-primary: #2a9d8f;
    --color-primary-dark: #1f7a6f;
    --color-brand-dark: #17213f;
    --color-brand-deep-accent: #26324d;
    --color-accent: #e76f51;
    --color-text-head: #17213f;
    --color-text-body: #5f6675;
    --color-gray-light: #f4f4f4;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --container-width: 1200px;
    --header-height: 60px;
    --font-main:
        "Noto Sans JP", -apple-system, BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html.article-root {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 40px);
}

body.article-body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-text-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.04em;
    overflow-x: hidden;
    width: 100%;
    padding-top: var(--header-height);
}

.article-shell {
    width: 100%;
}

.article-shell a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.article-shell h1,
.article-shell h2,
.article-shell h3,
.article-shell h4 {
    font-weight: 800;
    color: var(--color-text-head);
    line-height: 1.4;
}

.article-shell p {
    margin-bottom: 2rem;
    text-align: justify;
}

.article-shell strong {
    color: var(--color-brand-dark);
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(42, 157, 143, 0.2) 60%);
}

.hero {
    background-image: none;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0 110px;
    color: var(--color-white);
    position: relative;
}

.hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
    padding-left: 1rem;
    border-left: 5px solid var(--color-primary);
    color: #ffffff;
}

.hero-title-group {
    margin-bottom: 2.5rem;
}

.hero-title-main {
    display: block;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.hero-title-sub {
    display: block;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #e0f2f1;
    line-height: 1.3;
}

.hero-desc {
    font-size: 1.25rem;
    color: #e5e5e5;
    max-width: 700px;
    margin-bottom: 4rem;
    font-weight: 400;
    line-height: 1.8;
}

.meta-grid {
    display: flex;
    gap: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 2.5rem;
}

.meta-item label {
    display: block;
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.meta-item span {
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.content-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 64px;
}

.article-main {
    padding: 80px 0;
    border-right: 1px solid var(--color-border);
    padding-right: 64px;
    min-width: 0;
}

.article-main [id] {
    scroll-margin-top: calc(var(--header-height) + 40px);
}

.section-anchor {
    display: block;
    height: 1px;
    width: 100%;
    scroll-margin-top: calc(var(--header-height) + 40px);
}

.insight-box {
    background: var(--color-brand-dark);
    color: white;
    padding: 4rem;
    margin-bottom: 6rem;
    position: relative;
    border-radius: 0;
    background-image: linear-gradient(
        135deg,
        var(--color-brand-dark) 0%,
        var(--color-brand-deep-accent) 100%
    );
}

.insight-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--color-primary);
}

.insight-label {
    font-size: 0.8rem;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    font-weight: 800;
    margin-bottom: 2rem;
    display: block;
}

.insight-quote {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2rem;
    display: block;
    color: #ffffff;
}

.insight-box p {
    color: #e0f2f1;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 0;
}

.insight-box strong {
    color: white;
    background: none;
    border-bottom: 1px solid var(--color-primary);
}

.article-shell h2 {
    font-size: 2.2rem;
    margin: 6rem 0 3rem;
    color: var(--color-brand-dark);
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    scroll-margin-top: 120px;
}

.article-shell h2::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    margin-right: 0.5rem;
    transform: translateY(2px);
}

.article-shell h3 {
    font-size: 1.6rem;
    margin: 4rem 0 2rem;
    color: var(--color-brand-dark);
    border-bottom: 2px solid var(--color-brand-dark);
    padding-bottom: 1rem;
    display: inline-block;
    scroll-margin-top: 120px;
}

.howto-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 3rem 0 5rem;
}

.step-card {
    border: 1px solid var(--color-border);
    background: #fff;
    position: relative;
}

.step-header {
    background: var(--color-brand-dark);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.step-badge {
    background: var(--color-primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    letter-spacing: 0.05em;
}

.step-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
    border-bottom: none;
    padding-bottom: 0;
    display: inline-block;
}

.step-body {
    padding: 2.5rem;
}

.step-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.step-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.step-list li::before {
    content: "";
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.note {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.4rem;
}

.step-image {
    margin-top: 2rem;
    border: 1px solid var(--color-border);
    padding: 0;
    background: #fafafa;
}

.step-image img {
    display: block;
    width: 100%;
    height: auto;
}

.result-image-wrapper {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    padding: 2rem;
    margin: 3rem 0;
    text-align: left;
}

.result-image-wrapper img {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    display: block;
}

.result-image-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-brand-dark);
}

.result-image-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444;
}

.section-subheading {
    margin-top: 2rem;
}

.pro-tip-box {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-primary);
    padding: 2.5rem;
    margin: 3rem 0;
}

.pro-tip-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-brand-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pro-tip-title svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.pro-tip-content p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.pro-tip-content p:last-child {
    margin-bottom: 0;
}

.comparison-container {
    width: 100%;
    overflow-x: auto;
    margin: 3rem 0;
    border: 1px solid var(--color-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 700px;
}

.feature-comparison-table {
    table-layout: fixed;
    width: 100%;
    min-width: 0;
}

.feature-comparison-table th:first-child,
.feature-comparison-table td:first-child {
    width: 20%;
}

.feature-comparison-table th:not(:first-child),
.feature-comparison-table td:not(:first-child) {
    width: 26.666%;
}

.feature-comparison-table th,
.feature-comparison-table td {
    overflow-wrap: anywhere;
    word-break: normal;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.comparison-table th {
    background-color: var(--color-brand-dark);
    color: var(--color-white);
    font-weight: 800;
    letter-spacing: 0.05em;
    width: 20%;
}

.table-heading-sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #d1d5db;
    margin-top: 0.15rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}

.comparison-table th:first-child {
    z-index: 2;
    box-shadow: 6px 0 15px rgba(0, 0, 0, 0.08);
}

.comparison-table td:first-child {
    background: #fff;
    font-weight: 700;
    box-shadow: 6px 0 15px rgba(0, 0, 0, 0.05);
}

.col-standard {
    background-color: #fcfcfc;
    color: #666;
    width: 30%;
}

.col-line-ai {
    background-color: #f4f8fb;
    color: #333;
    width: 30%;
    font-weight: 600;
}

.col-peco {
    background-color: #ffffff;
    width: 40%;
    border-left: 4px solid var(--color-primary);
    border-right: 4px solid var(--color-primary);
    font-weight: 700;
    color: var(--color-brand-dark);
    position: relative;
}

.col-peco::before {
    content: "RECOMMENDED";
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--color-accent);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    font-weight: 800;
    border-radius: 4px;
    display: none;
}

.trial-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 2.5rem 0 3.5rem;
    padding: 2.4rem 2.8rem;
    border: 1px solid rgba(16, 48, 45, 0.12);
    background: linear-gradient(
        135deg,
        rgba(16, 48, 45, 0.06) 0%,
        rgba(42, 157, 143, 0.08) 100%
    );
    position: relative;
    overflow: hidden;
}

.trial-cta::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: var(--color-primary);
    opacity: 0.12;
    transform: rotate(25deg);
}

.trial-cta-text {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.trial-cta-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-brand-dark);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.trial-cta-copy {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-brand-dark);
    line-height: 1.7;
    margin: 0;
}

.trial-cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #ffffff;
    padding: 0.95rem 2.8rem;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.trial-cta-btn:hover {
    opacity: 0.9;
}

.comparison-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

.icon-check {
    color: var(--color-primary);
}

.icon-cross {
    color: #e76f51;
}

.icon-dash {
    color: #ccc;
}

.trial-section {
    margin: 4rem 0;
    background: linear-gradient(
        135deg,
        rgba(16, 48, 45, 0.96),
        rgba(23, 64, 60, 0.9)
    );
    border-radius: 28px;
    color: #fff;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.trial-wrapper {
    padding: 3rem;
}

.trial-header {
    max-width: 640px;
    margin-bottom: 2.25rem;
}

.trial-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: #b8f3e3;
}

.trial-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.trial-header h3 {
    font-size: 2.2rem;
    margin: 0.75rem 0 0.75rem;
}

.trial-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.trial-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.trial-metric {
    padding: 1.2rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
}

.metric-value {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
}

.metric-label {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.trial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.trial-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: 20px;
    background: #ffffff;
    color: var(--color-text-body);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.trial-item h4 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    color: var(--color-brand-dark);
}

.trial-item p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.trial-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(42, 157, 143, 0.14);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trial-icon svg {
    width: 28px;
    height: 28px;
}

.trial-note {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.template-warning {
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-top: 2rem;
}

.template-warning svg {
    flex-shrink: 0;
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    margin-top: 4px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comparison-image-wrapper {
    margin: 4rem 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.promo-banner {
    display: block;
    margin: 4rem 0;
    transition: opacity 0.3s;
}

.promo-banner:hover {
    opacity: 0.9;
}

.promo-banner img {
    border: 1px solid var(--color-border);
}

.chat-simulator-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 4rem auto 2.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    gap: 2rem;
}

.chat-container {
    width: 100%;
    max-width: 414px;
    height: 600px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(16, 48, 45, 0.15);
}

.chat-simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background-color: #8ab4f8;
    color: #000;
    border-bottom: 1px solid #efefef;
    min-height: 60px;
}

.back-button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-title {
    font-size: 1rem;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 16px;
    display: inline-flex;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: #8ab4f8;
}

.message {
    display: flex;
    margin-bottom: 16px;
    position: relative;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.message.visible {
    opacity: 1;
    transform: translateY(0);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.avatar img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.message-content {
    max-width: 70%;
    padding: 10px 14px;
    font-size: 0.94rem;
    line-height: 1.4;
    word-break: break-word;
}

.bot-message .message-content {
    background-color: #fff;
    color: #000;
    border-radius: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.url-text {
    color: #0366d6;
    text-decoration: underline;
    cursor: default;
    font-weight: 500;
    pointer-events: none;
}

.user-message {
    justify-content: flex-end;
    margin-left: 80px;
}

.link-preview-message {
    margin-left: 48px;
}

.user-message .message-content {
    background-color: #6ed96e;
    color: #000;
    border-radius: 20px;
    border-top-right-radius: 0;
}

.message-time {
    font-size: 0.7rem;
    color: #fff;
    display: block;
    margin: 12px 0;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.message-time.visible {
    opacity: 1;
    transform: translateY(0);
}

.message-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 6px;
    font-size: 0.7rem;
    color: #fff;
    text-align: right;
    min-width: 40px;
}

.status-text {
    margin-bottom: 2px;
}

.time-text {
    margin-top: 1px;
}

.chat-input-container {
    background-color: #fff;
    border-top: 1px solid #efefef;
    padding: 10px 0;
}

.chat-input {
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.input-actions {
    display: flex;
    align-items: center;
    width: 100%;
}

.left-buttons,
.right-buttons {
    display: flex;
    align-items: center;
}

.action-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-field-container {
    flex: 1;
    margin: 0 10px;
    position: relative;
}

.input-field {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 18px;
    background-color: #f5f5f5;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: #333;
    height: 36px;
    cursor: default;
    user-select: none;
}

.input-field-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ogp-link-preview {
    width: 80%;
    margin-bottom: 16px;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    display: block;
    pointer-events: none;
}

.ogp-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #f5f5f5;
}

.ogp-content {
    padding: 6px 14px;
    background-color: #fff;
}

.ogp-title {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.ogp-description {
    font-size: 0.75rem;
    color: #757575;
}

.ogp-domain {
    display: none;
}

.data-viz-container {
    margin: 5rem 0;
    padding: 3rem;
    background: #f8fafc;
    border-left: 6px solid var(--color-brand-dark);
}

.data-viz-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--color-brand-dark);
}

.bar-chart {
    display: flex;
    width: 100%;
    height: 60px;
    margin-top: 2rem;
}

.bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.bar-ai {
    width: 70%;
    background: var(--color-primary);
}

.bar-human {
    width: 30%;
    background: var(--color-brand-dark);
}

.data-legend {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.legend-label {
    background: none;
    font-weight: 800;
}

.legend-label-ai {
    color: var(--color-primary);
}

.legend-label-human {
    color: var(--color-brand-dark);
}

.data-viz-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.data-viz-note-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-brand-dark);
}

.data-viz-note-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.data-viz-note-text:last-child {
    margin-bottom: 0;
}

.trial-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
    gap: 2rem;
    margin: 4rem 0 5rem;
    padding: 3rem;
    border: 1px solid rgba(16, 48, 45, 0.12);
    background: linear-gradient(
        135deg,
        rgba(16, 48, 45, 0.06) 0%,
        rgba(42, 157, 143, 0.1) 100%
    );
    position: relative;
    overflow: hidden;
}

.trial-offer::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: var(--color-primary);
    opacity: 0.12;
    transform: rotate(18deg);
}

.trial-offer-content {
    position: relative;
    z-index: 1;
}

.trial-offer-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-brand-dark);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.trial-offer-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-brand-dark);
    margin: 0 0 1.2rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.trial-offer-copy {
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.8;
    margin: 0;
}

.trial-offer-panel {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid rgba(16, 48, 45, 0.12);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    box-shadow: 0 18px 40px -28px rgba(16, 48, 45, 0.4);
}

.trial-offer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
    font-weight: 800;
    color: var(--color-brand-dark);
}

.trial-offer-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.trial-offer-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.trial-offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--color-brand-dark) 0%,
        var(--color-primary) 100%
    );
    color: #ffffff;
    padding: 1.05rem 1.5rem;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 1px solid var(--color-brand-dark);
    box-shadow: 0 18px 30px -22px rgba(16, 48, 45, 0.6);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.trial-offer-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 36px -24px rgba(16, 48, 45, 0.7);
}

.summary-block {
    border: 5px solid var(--color-brand-dark);
    padding: 4rem;
    margin: 6rem 0;
    background: #fff;
}

.summary-title {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    border-bottom: 2px solid var(--color-brand-dark);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 900;
    color: var(--color-brand-dark);
}

.summary-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.summary-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 0.8;
}

.chat-cta {
    text-align: center;
    margin: 2.5rem 0 4rem;
}

.chat-cta .cta-btn {
    margin-top: 0;
}

.cta-section {
    background: var(--color-brand-dark);
    color: white;
    padding: 8rem 4rem;
    margin: 8rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(
        135deg,
        var(--color-brand-dark) 0%,
        var(--color-brand-deep-accent) 100%
    );
}

.cta-section h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    max-width: 800px;
    line-height: 1.2;
    border-bottom: 2px solid white;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    opacity: 0.15;
    transform: rotate(45deg);
}

.cta-description {
    opacity: 0.9;
    margin-bottom: 2rem;
    color: #e0f2f1;
    max-width: 800px;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 1.4rem 4rem;
    font-weight: 800;
    margin-top: 4rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    align-self: center;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.cta-btn:hover {
    opacity: 0.9;
}

.sidebar {
    padding: 100px 32px 120px;
    background: #fcfcfc;
    border-left: 1px solid var(--color-border);
}

.sidebar nav {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--header-height) + 40px);
    padding-bottom: 120px;
}

.toc-label-en {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: #94a3b8;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.8rem;
}

.toc-title {
    display: none;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list li a {
    display: block;
    padding: 0.6rem 0 0.6rem 1.2rem;
    font-size: 0.8rem;
    color: #64748b;
    border-left: 2px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    font-weight: 500;
    line-height: 1.4;
}

.toc-list li a:hover {
    color: var(--color-brand-dark);
    border-left-color: #cbd5e1;
}

.toc-list li a.active {
    color: #0f172a;
    font-weight: 800;
    border-left: 4px solid var(--color-primary);
    background: linear-gradient(90deg, rgba(42, 157, 143, 0.05), transparent);
    padding-left: 1.5rem;
}

@media (max-width: 992px) {
    .chat-simulator-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .chat-container {
        max-width: 100%;
        height: 520px;
        max-height: 80vh;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 2rem;
        border: none;
    }

    .article-main {
        border-right: none;
        padding-right: 0;
        padding-top: 60px;
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }

    .content-wrapper {
        padding: 0 1.5rem;
    }

    .article-main {
        padding: 60px 0;
    }

    .meta-grid {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .insight-box {
        padding: 2.5rem;
        margin-bottom: 4rem;
    }

    .insight-quote {
        font-size: 1.4rem;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .step-body {
        padding: 1.5rem;
    }

    .trial-section {
        padding: 2rem;
        margin: 3rem 0;
    }

    .trial-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .trial-cta-btn {
        width: 100%;
    }

    .trial-wrapper {
        padding: 2rem 1.5rem;
    }

    .trial-metrics {
        grid-template-columns: 1fr;
    }

    .trial-grid {
        grid-template-columns: 1fr;
    }

    .trial-item {
        padding: 1.5rem;
    }

    .data-legend {
        grid-template-columns: 1fr;
    }

    .data-viz-container {
        padding: 1rem;
    }

    .trial-offer {
        grid-template-columns: 1fr;
        padding: 2.2rem 1.6rem;
    }

    .trial-offer-title {
        font-size: 1.5rem;
    }

    .trial-offer-panel {
        width: 100%;
    }

    .trial-offer-btn {
        width: 100%;
    }

    .mode-grid {
        grid-template-columns: 1fr;
    }

    .summary-block {
        padding: 2.5rem;
    }

    .summary-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .summary-num {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .cta-section {
        padding: 4rem 2rem;
        align-items: center;
        text-align: center;
    }

    .cta-btn {
        width: 100%;
        padding: 1.2rem;
        margin-top: 3rem;
    }

    .cta-heading {
        font-size: 2rem;
    }

    .comparison-table {
        min-width: 800px;
    }

    .comparison-table.feature-comparison-table {
        min-width: 0;
        font-size: 0.78rem;
    }

    .feature-comparison-table th,
    .feature-comparison-table td {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 2.2rem;
    }

    .hero-title-sub {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .cta-heading {
        font-size: 1.7rem;
    }

    .data-viz-container {
        padding: 1rem;
    }
}

.trial-section.ac-japan-style {
    margin: 6rem 0;
    padding: 0;
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: 0 0 0 1px #e0e0e0;
    color: #333;
    position: relative;
    overflow: hidden;
}

.trial-section.ac-japan-style::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-primary);
    z-index: 10;
}

.ac-j-container {
    max-width: 100%;
    margin: 0 auto;
}

.ac-j-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 4rem 3.5rem;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.ac-j-title-group {
    flex: 1;
}

.ac-j-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-family:
        "Noto Sans JP",
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        sans-serif;
}

.ac-j-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.03em;
}

.ac-j-desc-group {
    flex: 1;
    max-width: 500px;
    padding-left: 3rem;
    position: relative;
}

.ac-j-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
    font-weight: 500;
}

.ac-j-action-arrow {
    display: flex;
    align-items: center;
    color: var(--color-primary);
}

.ac-j-action-arrow .arrow-line {
    width: 40px;
    height: 2px;
    background: currentColor;
}

.ac-j-action-arrow .arrow-head {
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: -2px;
}

.ac-j-grid-system {
    display: flex;
    flex-direction: column;
}

.ac-j-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #e0e0e0;
}

.ac-j-metric-item {
    padding: 2.5rem 3.5rem;
    border-right: 1px solid #e0e0e0;
    background: #fcfcfc;
    transition: background 0.3s ease;
}

.ac-j-metric-item:last-child {
    border-right: none;
}

.ac-j-metric-item:hover {
    background: #ffffff;
}

.ac-j-metric-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.ac-j-metric-value-group {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.ac-j-metric-val {
    font-size: 3.2rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
    font-family:
        "Noto Sans JP",
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        sans-serif;
    letter-spacing: -0.04em;
}

.ac-j-metric-unit {
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 5px;
}

.ac-j-metric-sub {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    display: block;
}

.ac-j-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ac-j-feature-cell {
    padding: 3rem 3.5rem;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    transition: all 0.3s ease;
}

.ac-j-feature-cell:nth-child(2n) {
    border-right: none;
}

.ac-j-feature-cell:nth-last-child(-n + 2) {
    border-bottom: none;
}

.ac-j-feature-cell:hover {
    background: #f9f9f9;
}

.ac-j-feature-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ac-j-icon {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-family:
        "Noto Sans JP",
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        sans-serif;
    font-weight: 600;
    border: 1px solid var(--color-primary);
    padding: 2px 8px;
    border-radius: 2px;
}

.ac-j-feature-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.ac-j-footer {
    padding: 1.5rem 3.5rem;
    background: #111;
    color: #fff;
    font-size: 0.85rem;
}

.ac-j-footer p {
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .ac-j-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2rem;
    }
    .ac-j-title-group {
        margin-bottom: 2rem;
    }
    .ac-j-desc-group {
        padding-left: 0;
        max-width: 100%;
    }
    .ac-j-heading {
        font-size: 2.2rem;
    }
    .ac-j-metric-item,
    .ac-j-feature-cell {
        padding: 2rem;
    }
    .ac-j-metric-val {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .trial-section.ac-japan-style {
        border-radius: 0;
    }
    .ac-j-metrics-row {
        grid-template-columns: 1fr;
    }
    .ac-j-metric-item {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 2rem;
    }
    .ac-j-metric-value-group {
        margin-bottom: 0;
    }
    .ac-j-metric-val {
        font-size: 1.8rem;
    }
    .ac-j-features-grid {
        grid-template-columns: 1fr;
    }
    .ac-j-feature-cell {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .ac-j-footer {
        padding: 1.5rem 2rem;
    }
}
.mechanism-comparison-section {
    margin: 8rem 0;
}

.ac-section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 4rem;
    color: #0f172a;
    border-left: 6px solid var(--color-primary);
    padding-left: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.mechanism-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

.mech-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: none;
    border-radius: 2px;
    overflow: hidden;
}

.mech-card.highlight {
    border: 1px solid var(--color-primary);
    box-shadow: 0 18px 32px -18px rgba(42, 157, 143, 0.2);
    z-index: 10;
    background: #ffffff;
}

.mech-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 6px 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mech-header {
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.provider-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 2px;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-badge.line {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.provider-badge.external {
    background: var(--color-brand-dark);
    color: #ffffff;
    border: 1px solid var(--color-brand-dark);
}

.mech-type {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.mech-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.mech-cost {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    background: #ffffff;
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    border: 1px solid #cbd5e1;
    letter-spacing: 0.05em;
    min-width: 160px;
}

.mech-card.highlight .mech-cost {
    background: rgba(42, 157, 143, 0.08);
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}

.mech-visual {
    padding: 3rem 0.5rem;
    background: #fcfcfc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 260px;
    border-bottom: 1px solid #f1f5f9;
}

.mech-card.highlight .mech-visual {
    background: #ffffff;
}

.mech-flow {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.mech-flow-diagram {
    display: grid;
    grid-template-columns: 1fr 18px 1.4fr 18px 1fr;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

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

.step-label {
    font-size: 0.6rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.step-icon {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 4px;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

.step-icon.text-icon {
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono",
        monospace;
    background: #f8fafc;
    color: #475569;
}

.step-icon.success {
    background: var(--color-brand-dark);
    color: white;
    border-color: var(--color-brand-dark);
}

.step-icon.fail {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
}

.flow-arrow,
.diagram-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    position: relative;
}

.flow-arrow svg,
.diagram-arrow svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.arrow-condition {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    color: #e76f51;
    white-space: nowrap;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 4px;
}

.mech-flow.fail-case {
    margin-top: 2rem;
    opacity: 0.4;
    filter: grayscale(100%);
}

.diagram-node {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0 4px;
    border-radius: 2px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #475569;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    text-align: center;
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    white-space: nowrap;
}

.diagram-node.box {
    background: #f8fafc;
    color: #64748b;
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono",
        monospace;
}

.diagram-node.brain {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: rgba(42, 157, 143, 0.05);
    display: flex;
    flex-direction: row;
    gap: 4px;
    font-size: 0.6rem;
}

.diagram-arrow {
    font-size: 0.55rem;
    color: #94a3b8;
    white-space: nowrap;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.diagram-arrow::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #cbd5e1;
}

.mech-center-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    color: #64748b;
}

.mech-center-icon svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.8rem;
    stroke-width: 1.5;
}

.mech-center-icon.highlight-icon {
    color: var(--color-primary);
}

.icon-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.mech-desc {
    padding: 2rem 2.5rem;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.8;
    text-align: left;
    flex-grow: 1;
    background: #ffffff;
}

@media (max-width: 1200px) {
    .mechanism-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
        gap: 3rem;
    }

    .mech-card.highlight {
        margin: 0;
        transform: none;
    }
}
