/* ==========================================================================
   Tasuketarou Theme — 現行 tasuketarou.com 実測に合わせたスタイル
   ========================================================================== */

:root {
    --color-accent: #967100;
    --color-accent-hover: #896400;
    --color-link-hover: #7d5800;
    --color-page-bg: #ffffff;
    --color-tint: #f0f5ff;
    --color-body-base: #141618;
    --color-dark: #303133;
    --color-footer-bg: #1b1d1f;
    --color-text-soft: #777777;
    --color-heading: #303133;
    --color-badge-extra: #00d4f4;
    --color-badge-pro: #9acd32;
    --radius-badge: 4px;
    --radius-card: 27px;
    --radius-pill: 10em;
    --fs-body: 15px;
    --fs-lead: 18px;
    --fs-badge: 12px;
    --fs-hero-top: clamp(30px, 5vw, 55px);
    --fs-hero-detail: clamp(30px, 5vw, 60px);
    --fs-tile-count: clamp(75px, 14vw, 200px);
    --fs-tile-label: clamp(24px, 5vw, 35px);
    --fs-section-heading: clamp(20px, 5vw, 30px);
    --fs-card-title: clamp(25px, 5vw, 30px);
    --fs-final-cta: clamp(25px, 5vw, 50px);
    --fs-final-cta-sub: clamp(20px, 5vw, 25px);
    --btn-min-width: 300px;
    --content-max-width: 1200px;
    --font-sans: sans-serif;
    --font-btn: 'Noto Sans JP', sans-serif;
    --section-pad-y: 108px;
}

/* --------------------------------------------------------------------------
   リセット・ベース
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-family: var(--font-sans); }
body {
    margin: 0;
    background-color: var(--color-body-base);
    color: var(--color-text-soft);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.75;
}
.tt-main { background-color: var(--color-page-bg); }
img { max-width: 100%; height: auto; }
video { max-width: 100%; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-link-hover); }
h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
    margin: 0 0 0.6em;
}
h1 { font-size: 35px; }
h2 { font-size: 29px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 14px; }
p { margin: 0 0 1em; }
p strong, p b { color: var(--color-heading); }
.tt-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* --------------------------------------------------------------------------
   ボタン（ピル型 / #967100 / btn-lg 実測）
   -------------------------------------------------------------------------- */
.tt-btn {
    display: inline-block;
    background-color: var(--color-accent);
    border: 0;
    border-radius: var(--radius-pill);
    color: #ffffff !important;
    cursor: pointer;
    font-family: var(--font-btn);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
    padding: 18px 44px;
    transition: background-color 0.2s ease;
}
.tt-btn:hover, .tt-btn:focus, .tt-btn:active { background-color: var(--color-accent-hover); }
.tt-btn--plain {
    background-color: #ffffff;
    color: var(--color-accent) !important;
    border: 1px solid var(--color-accent);
}
.tt-btn--plain:hover { background-color: #f5f0e0; }

/* --------------------------------------------------------------------------
   バッジ
   -------------------------------------------------------------------------- */
.tt-badge {
    display: inline-block;
    font-size: var(--fs-badge);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-badge);
    padding: 0.3em 0.6em;
    margin: 0 0 12px;
    line-height: 1.4;
}
.tt-badge--extra { background-color: var(--color-badge-extra); color: var(--color-body-base); }
.tt-badge--pro { background-color: var(--color-badge-pro); color: var(--color-body-base); }
.tt-badge--free { background-color: #ffffff; color: var(--color-accent); }

/* --------------------------------------------------------------------------
   ヘッダー（透明 absolute / menu-light → スクロールで白）
   -------------------------------------------------------------------------- */
.tt-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.tt-header.is-shrunk {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 0 rgba(119, 119, 119, 0.15);
}
.tt-header__inner {
    /* ヘッダーはコンテンツ幅に揃えず横幅フルで使う */
    max-width: none;
    padding: 27px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.25s ease;
}
.tt-header.is-shrunk .tt-header__inner { padding-top: 18px; padding-bottom: 18px; }
.tt-header__logo img { display: block; width: 190px; height: auto; }
.tt-header__actions { display: flex; align-items: center; gap: 12px; }
.tt-header__btn {
    display: inline-block;
    border-radius: var(--radius-pill);
    font-family: var(--font-btn);
    font-weight: 600;
    font-size: 14px;
    padding: 9px 22px;
    color: var(--color-heading);
    border: 1px solid rgba(48, 49, 51, 0.35);
    background: transparent;
}
.tt-header__btn:hover { color: var(--color-heading); border-color: var(--color-heading); }
.tt-header__btn--accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}
.tt-header__btn--accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #ffffff;
}
.tt-header__menu-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
}
.tt-header__menu-lines, .tt-header__menu-lines span { display: block; position: relative; }
.tt-header__menu-lines {
    width: 24px;
    height: 2px;
    background: var(--color-heading);
}
.tt-header__menu-lines::before, .tt-header__menu-lines::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-heading);
}
.tt-header__menu-lines::before { top: -7px; }
.tt-header__menu-lines::after { top: 7px; }

/* オーバーレイメニュー */
.tt-overlay-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(20, 22, 24, 0.35);
}
.tt-overlay-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, calc(100vw - 45px));
    height: 100%;
    background: #ffffff;
    overflow-y: auto;
    padding: 64px 32px 32px;
}
.tt-menu { list-style: none; margin: 0; padding: 0; }
.tt-menu__item > a {
    display: block;
    color: var(--color-heading);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
}
.tt-menu__sub { list-style: none; margin: 0; padding: 0 0 0 16px; }
.tt-menu__sub a {
    display: block;
    color: var(--color-text-soft);
    font-size: 14px;
    padding: 9px 0;
    border-bottom: 1px solid #f5f5f5;
}
.tt-menu__sub a:hover, .tt-menu__item > a:hover { color: var(--color-accent); }
.tt-overlay-menu__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: none;
    border: 0;
    cursor: pointer;
}
.tt-overlay-menu__close span::before, .tt-overlay-menu__close span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: var(--color-heading);
}
.tt-overlay-menu__close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.tt-overlay-menu__close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* 画像ライトボックス */
img.tt-zoomable {
    cursor: zoom-in;
}
body.tt-lightbox-open { overflow: hidden; }
.tt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 24px 24px;
    background: rgba(20, 22, 24, 0.78);
}
.tt-lightbox[hidden] { display: none; }
.tt-lightbox__figure {
    margin: 0;
    max-width: min(1200px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.tt-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}
.tt-lightbox__caption {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    max-width: 40em;
}
.tt-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
}
.tt-lightbox__close span::before,
.tt-lightbox__close span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: #ffffff;
}
.tt-lightbox__close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.tt-lightbox__close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* --------------------------------------------------------------------------
   TOPヒーロー（白 + background-grid、実測: 上144px / 下108px）
   -------------------------------------------------------------------------- */
.tt-hero {
    position: relative;
    overflow: hidden;
    padding: 144px 0 108px;
    background-color: #ffffff;
}
.tt-hero__grid {
    position: absolute;
    inset: 0;
    background-image: url('../images/background-grid.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    pointer-events: none;
}
.tt-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 996px;
    margin: 0 auto;
}
.tt-hero__logo {
    display: block;
    width: min(420px, 70vw);
    height: auto;
    margin: 0 auto 28px;
}
.tt-hero__title {
    color: var(--color-heading);
    font-size: var(--fs-hero-top);
    font-weight: 900;
    line-height: 1.3;
}
.tt-hero__title em { font-style: italic; }
.tt-hero__mark {
    display: inline-block;
    width: 1.35em;
    vertical-align: -0.22em;
    margin-right: 0.12em;
}
.tt-hero__lead {
    color: var(--color-text-soft);
    font-size: var(--fs-lead);
    line-height: 1.75;
    max-width: 720px;
    margin: 0 auto 32px;
}

/* --------------------------------------------------------------------------
   セクション共通
   -------------------------------------------------------------------------- */
.tt-page-hero, .tt-plugin-list, .tt-blog-list, .tt-page, .tt-article,
.tt-mosaic, .tt-tabs, .tt-faq, .tt-section, .tt-detail-hero {
    background-color: var(--color-page-bg);
}
.tt-about, .tt-tabs, .tt-faq, .tt-section, .tt-mosaic { padding: var(--section-pad-y) 0; }
.tt-section__label {
    color: var(--color-accent);
    font-size: var(--fs-section-heading);
    font-weight: 700;
    line-height: 1.4;
}
.tt-section__intro {
    font-size: var(--fs-section-heading);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1em;
}

/* --------------------------------------------------------------------------
   緑のモヤ（金色セクション用・CSSのみ）
   現行サイトのSimplexノイズの印象を、ぼかしグラデーション2枚の漂流で近似
   -------------------------------------------------------------------------- */
.tt-haze {
    position: relative;
    overflow: hidden;
}
.tt-haze::before,
.tt-haze::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 150%;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.tt-haze::before {
    top: -40%;
    left: -12%;
    background: radial-gradient(closest-side, rgba(154, 205, 50, 0.6), rgba(154, 205, 50, 0) 100%);
    animation: tt-haze-drift-a 14s ease-in-out infinite alternate;
    will-change: transform;
}
.tt-haze::after {
    bottom: -45%;
    right: -12%;
    background: radial-gradient(closest-side, rgba(20, 22, 24, 0.55), rgba(20, 22, 24, 0) 100%);
    animation: tt-haze-drift-b 19s ease-in-out infinite alternate;
    will-change: transform;
}
.tt-haze > * {
    position: relative;
    z-index: 1;
}
@keyframes tt-haze-drift-a {
    0%   { transform: translate(0, 0) scale(1); }
    35%  { transform: translate(45%, 25%) scale(1.3); }
    70%  { transform: translate(20%, 55%) scale(0.85); }
    100% { transform: translate(-25%, 15%) scale(1.15); }
}
@keyframes tt-haze-drift-b {
    0%   { transform: translate(0, 0) scale(1); }
    35%  { transform: translate(-40%, -30%) scale(1.25); }
    70%  { transform: translate(-15%, -60%) scale(0.9); }
    100% { transform: translate(30%, -20%) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
    .tt-haze::before, .tt-haze::after { animation: none; }
}

/* about（アクセント帯・白文字） */
.tt-about {
    background-color: var(--color-accent);
    color: rgba(255, 255, 255, 0.9);
}
/* 実測: 白背景バッジ + アクセント文字（h6/700/uppercase）＋直下に区切り線 */
.tt-about__badge {
    display: inline-block;
    margin: 0 0 18px;
    padding: 0.3em 0.6em;
    border-radius: var(--radius-badge);
    background: #ffffff;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 700;
    /* kintone の表記を保つため大文字変換しない */
    text-transform: none;
}
.tt-about__divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    margin: 0 0 48px;
}
.tt-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.tt-about__heading {
    color: #ffffff;
    font-size: var(--fs-section-heading);
    font-weight: 700;
    margin: 0;
}
.tt-about__text { color: rgba(255, 255, 255, 0.9); margin: 0; }
.tt-about__text strong, .tt-about p strong { color: #ffffff; }
.tt-about__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    /* 右寄せをやめコンテナ全幅にし、見出し左端と揃える */
    max-width: none;
    margin-left: 0;
}
.tt-about__point h4 { color: #ffffff; font-weight: 700; }
.tt-about__point p { color: rgba(255, 255, 255, 0.9); margin: 0; }

/* --------------------------------------------------------------------------
   TOPカードモザイク / 一覧カード
   -------------------------------------------------------------------------- */
.tt-mosaic__grid, .tt-plugin-list__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
/* 全カードの高さを揃える（最も高いカードに合わせて全行均等） */
.tt-mosaic__grid { grid-auto-rows: 1fr; }
/* 先頭タイルはタイポを縮めて行全体の高さを抑える */
.tt-mosaic__grid .tt-mosaic__tile { min-height: 0; }
.tt-mosaic__grid .tt-mosaic__count { font-size: clamp(56px, 8vw, 100px); }
.tt-mosaic__grid .tt-mosaic__label,
.tt-mosaic__grid .tt-mosaic__amp { font-size: clamp(20px, 3.5vw, 26px); }
.tt-mosaic__grid .tt-mosaic__more { font-size: clamp(15px, 2.5vw, 18px); }
.tt-mosaic__tile, .tt-plugin-list__tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    min-height: 280px;
    display: block;
    background: #777777;
}
.tt-mosaic__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 実測: アクセント色オーバーレイ opacity 0.5（ノイズ第1色 #141618 / 第2色 #9acd32） */
.tt-mosaic__noise {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background:
        linear-gradient(135deg, rgba(20, 22, 24, 0.4), rgba(154, 205, 50, 0.3)),
        var(--color-accent);
}
.tt-mosaic__tile-content { position: relative; z-index: 1; padding: 36px; }
.tt-mosaic__count {
    color: #ffffff;
    font-size: var(--fs-tile-count);
    font-weight: 700;
    line-height: 0.85;
    margin: 0;
}
.tt-mosaic__label, .tt-mosaic__amp, .tt-mosaic__more {
    color: #ffffff;
    font-size: var(--fs-tile-label);
    font-weight: 700;
    line-height: 1;
    margin: 0.2em 0 0;
}
.tt-mosaic__more { font-size: clamp(18px, 3vw, 24px); }

.tt-card {
    display: block;
    border-radius: var(--radius-card);
    padding: 36px;
    color: #ffffff;
}
.tt-card--extra, .tt-card--pro { background-color: var(--color-dark); }
.tt-card--free { background-color: var(--color-accent); }
.tt-card--coming {
    background-color: var(--color-dark);
    /* メッセージのみの飾りカードなので上下中央に配置 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tt-card__title { font-weight: 700; line-height: 1; font-size: var(--fs-card-title); }
.tt-card--extra .tt-card__title { color: var(--color-badge-extra); }
.tt-card--pro .tt-card__title { color: var(--color-badge-pro); }
.tt-card--free .tt-card__title { color: #ffffff; }
.tt-card--coming .tt-card__title { color: #ffffff; }
.tt-card__text { color: rgba(255, 255, 255, 0.85); margin-bottom: 0.6em; }
.tt-card__text strong { color: #ffffff; }
.tt-card:hover { color: #ffffff; opacity: 0.94; }

.tt-plugin-list { padding: var(--section-pad-y) 0; }
.tt-plugin-list__cards { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 32px auto 0; }
.tt-plugin-list__tile { max-width: 900px; margin: 0 auto; }
.tt-plugin-list__tile .tt-mosaic__tile-content,
.tt-plugin-list__tile .tt-hero__overlay { z-index: 1; }
.tt-plugin-list__tile .tt-hero__overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.3;
}

/* --------------------------------------------------------------------------
   タブ（特徴ブロックは #f0f5ff）
   -------------------------------------------------------------------------- */
/* タブセクション上端の薄青フェード（実測: #f0f5ff → 透明、高さ20%） */
.tt-tabs {
    position: relative;
}
.tt-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(to bottom, #f0f5ff, rgba(240, 245, 255, 0));
    pointer-events: none;
    z-index: 0;
}
.tt-tabs > .tt-container {
    position: relative;
    z-index: 1;
}
.tt-tabs__nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}
.tt-tabs__nav a {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    color: var(--color-heading);
    font-weight: 600;
    background: var(--color-tint);
}
.tt-tabs__nav a.is-active { background: var(--color-accent); color: #ffffff; }
.tt-tabs__pane { display: none; }
.tt-tabs__pane.is-active { display: block; }
.tt-tabs__row {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 36px;
    margin-bottom: 24px;
    background: var(--color-tint);
    border-radius: var(--radius-card);
}
.tt-tabs__row:nth-child(even) { flex-direction: row-reverse; }
.tt-tabs__text { flex: 1; }
.tt-tabs__image { flex: 1; }
.tt-tabs__image img { border-radius: 12px; display: block; }
.tt-tabs__heading { color: var(--color-accent); font-size: var(--fs-section-heading); font-weight: 700; }

/* --------------------------------------------------------------------------
   事例（アクセント帯）・FAQ
   -------------------------------------------------------------------------- */
.tt-testimonial {
    background-color: var(--color-accent);
    padding: var(--section-pad-y) 0;
    text-align: center;
    color: #ffffff;
}
.tt-testimonial__mark { color: #ffffff; font-size: 64px; line-height: 0.6; margin-bottom: 0.2em; }
.tt-testimonial__industry { color: #ffffff; font-size: 17px; font-weight: 700; margin-bottom: 0.2em; }
.tt-testimonial__role { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5em; }
.tt-testimonial__quote {
    color: #ffffff;
    font-weight: 400;
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(18px, 3vw, 24px);
}

.tt-faq__heading { text-align: center; font-weight: 700; font-size: var(--fs-section-heading); margin-bottom: 1.2em; }

/* アコーディオン（実測: plus記号 / 閉じ=透明+境界線 / 開き=白+角丸8px+大影）
   開閉で質問文の位置がズレないよう、左右paddingは閉じ状態にも常時付ける */
.tt-accordion { max-width: 900px; margin: 0 auto; }
.tt-accordion__panel {
    background: transparent;
    border-bottom: 1px solid rgba(119, 119, 119, 0.2);
    border-radius: 0;
    padding: 0 36px;
}
.tt-accordion__panel.is-open {
    background: #ffffff;
    border-bottom-color: transparent;
    border-radius: 8px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.10);
    /* marginを付けると開閉時に項目が上下へ動くため付けない */
}
.tt-accordion__title { margin: 0; font-weight: 500; font-size: clamp(18px, 4vw, 20px); }
.tt-accordion__title a {
    display: block;
    position: relative;
    color: var(--color-heading);
    padding: 18px 48px 18px 0;
}
.tt-accordion__title a::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-heading);
}
.tt-accordion__panel.is-open .tt-accordion__title a::after { content: '\2212'; }
.tt-accordion__body { display: none; padding: 0 0 24px; }
.tt-accordion__panel.is-open .tt-accordion__body { display: block; }

/* --------------------------------------------------------------------------
   最終CTA帯（アクセント #967100）
   -------------------------------------------------------------------------- */
.tt-final-cta {
    background-color: var(--color-accent);
    padding: var(--section-pad-y) 0;
    text-align: center;
}
.tt-final-cta__heading { color: #ffffff; font-size: var(--fs-final-cta); font-weight: 700; }
.tt-final-cta__text { color: rgba(255, 255, 255, 0.9); max-width: 760px; margin: 0 auto 32px; }
.tt-final-cta__text strong { color: #ffffff; }
.tt-final-cta .tt-btn {
    background-color: var(--color-body-base);
    color: #ffffff !important;
}
.tt-final-cta .tt-btn:hover { background-color: #000000; }

/* --------------------------------------------------------------------------
   詳細ページ（実測: 価格のみ #f0f5ff、1カラム縦積みヒーロー）
   コンテンツ幅は全セクション 900px に統一して文字の開始位置を揃える
   -------------------------------------------------------------------------- */
.tt-detail-hero .tt-container,
.tt-section .tt-container {
    max-width: 948px; /* 900px + 左右padding 24px */
    position: relative; /* セクション上端グラデーションより手前に */
}
.tt-detail-hero { padding: 144px 0 108px; }
.tt-detail-hero__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}
.tt-detail-hero__text { max-width: 900px; text-align: center; }
.tt-detail-hero__media { width: 100%; max-width: 900px; text-align: center; }
.tt-detail-hero__media img, .tt-detail-hero__media video { border-radius: 12px; }
.tt-detail-hero__media img { max-width: min(640px, 100%); } /* 静止画は動画より控えめに */

/* セクション切替の上端グラデーション（旧サイトのSVGディバイダー実測:
   高さ30%・上端が色100%→下へフェード。特徴=#f0f5ff / 利用シーン=#d8d8ad / 価格・導入=#eaeaea） */
.tt-section { position: relative; }
.tt-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    pointer-events: none;
}
.tt-features::before { background: linear-gradient(to bottom, #f0f5ff, rgba(240, 245, 255, 0)); }
.tt-function-cards::before { background: linear-gradient(to bottom, #f0f5ff, rgba(240, 245, 255, 0)); }
.tt-plugin-comparison::before { background: linear-gradient(to bottom, #f0f5ff, rgba(240, 245, 255, 0)); }
.tt-use-cases::before { background: linear-gradient(to bottom, #d8d8ad, rgba(216, 216, 173, 0)); }
.tt-price::before,
.tt-install::before { background: linear-gradient(to bottom, #eaeaea, rgba(234, 234, 234, 0)); }
.tt-related-blog::before { background: linear-gradient(to bottom, #f0f5ff, rgba(240, 245, 255, 0)); }
.tt-detail-hero__title {
    font-size: var(--fs-hero-detail);
    font-weight: 700;
    line-height: 1.25;
}
.tt-detail-hero__icon { width: 1.1em; height: 1.1em; vertical-align: -0.15em; margin-right: 0.15em; }
.tt-detail-hero__catch { font-size: var(--fs-lead); color: var(--color-heading); font-weight: 600; }
.tt-detail-hero__summary { text-align: left; }
.tt-detail-hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.tt-features__intro-image, .tt-features__image, .tt-install__image { margin: 24px auto; text-align: center; }
.tt-features__intro-image img {
    border: 1px solid rgba(48, 49, 51, 0.35);
    display: inline-block;
    vertical-align: top;
}
.tt-features__item { margin-bottom: 48px; }
.tt-features__title { font-size: clamp(18px, 3vw, 24px); font-weight: 700; }
.tt-feature-article {
    margin: 28px 0 0;
    padding: 22px 24px;
    background: #f7f9fc;
    border: 1px solid rgba(119, 119, 119, 0.16);
    border-left: 4px solid var(--color-accent);
    border-radius: 10px;
}
.tt-feature-article__label {
    margin: 0 0 6px;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.tt-feature-article__title {
    margin: 0 0 8px;
    color: var(--color-heading);
    font-size: clamp(17px, 2.2vw, 20px);
    font-weight: 700;
    line-height: 1.5;
}
.tt-feature-article__text {
    margin: 0 0 12px;
    color: var(--color-dark);
    font-size: 15px;
    line-height: 1.75;
}
.tt-feature-article__image {
    margin: 0 0 14px;
    text-align: center;
}
.tt-feature-article__image img {
    display: inline-block;
    max-width: min(100%, 520px);
    height: auto;
    vertical-align: top;
    border: 1px solid rgba(48, 49, 51, 0.2);
    border-radius: 6px;
}
.tt-feature-article__link {
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.tt-feature-article__link::after { content: ' →'; }
.tt-feature-article__link:hover { color: var(--color-accent-hover); }

/* 組み合わせ導線（関連プラグインへの目立つCTA） */
.tt-combo {
    background-color: var(--color-dark);
    padding: 72px 0;
    text-align: center;
}
.tt-combo__inner { max-width: 900px; }
.tt-combo__label {
    display: inline-block;
    margin: 0 0 16px;
    padding: 4px 14px;
    border-radius: var(--radius-badge);
    background-color: var(--color-badge-pro);
    color: var(--color-body-base);
    font-size: var(--fs-badge);
    font-weight: 700;
    letter-spacing: 0.04em;
}
.tt-combo__heading {
    color: #ffffff;
    font-size: var(--fs-section-heading);
    font-weight: 700;
    margin-bottom: 16px;
}
.tt-combo__text {
    color: rgba(255, 255, 255, 0.88);
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: left;
}
.tt-combo__text strong { color: #ffffff; }
.tt-combo__image {
    margin: 0 auto 32px;
    max-width: 860px;
}
.tt-combo__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.tt-combo__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.tt-combo .tt-btn {
    background-color: var(--color-accent);
    color: #ffffff !important;
}
.tt-combo .tt-btn:hover { background-color: var(--color-accent-hover); }

.tt-price { background-color: var(--color-tint); }
.tt-price__heading { font-size: var(--fs-section-heading); font-weight: 700; }
.tt-price__subline { font-size: var(--fs-lead); }
.tt-install__label { font-weight: 700; color: var(--color-heading); margin-top: 1.6em; }
.tt-install__list { padding-left: 1.4em; margin-bottom: 1.4em; }

/* プラグイン詳細 → 関連ブログ（カテゴリ名＝プラグイン名で自動抽出） */
.tt-related-blog__lead {
    margin: 0.6em 0 1.4em;
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.7;
    max-width: 40em;
}
.tt-related-blog__items {
    display: flex;
    flex-direction: column;
    max-width: 760px;
}
.tt-related-blog__item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(119, 119, 119, 0.18);
}
.tt-related-blog__item:first-child { padding-top: 4px; }
.tt-related-blog__item .tt-blog-labels { margin-bottom: 10px; }
.tt-related-blog__link {
    display: block;
    color: inherit;
    transition: opacity 0.2s ease;
}
.tt-related-blog__link:hover { color: inherit; opacity: 0.88; }
.tt-related-blog__link:hover .tt-related-blog__title { color: var(--color-accent); }
.tt-related-blog__title {
    font-size: clamp(17px, 2.2vw, 20px);
    font-weight: 700;
    line-height: 1.55;
    margin: 0 0 0.4em;
    color: var(--color-heading);
    transition: color 0.2s ease;
}
.tt-related-blog__link:hover .tt-blog-title__sub { color: var(--color-accent-hover); }
.tt-related-blog__summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-soft);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.tt-related-blog__more {
    margin: 28px 0 0;
    font-size: 14px;
    font-weight: 600;
}
.tt-related-blog__more a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.tt-related-blog__more a:hover { color: var(--color-accent-hover); }
.tt-install__list li { margin-bottom: 0.4em; }

/* --------------------------------------------------------------------------
   定額使い放題プラン
   -------------------------------------------------------------------------- */
.tt-unlimited-promo {
    background: var(--color-dark);
    color: #ffffff;
    padding: 64px 0;
}
.tt-unlimited-promo__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    max-width: 948px;
}
.tt-unlimited-promo__eyebrow,
.tt-unlimited-hero__eyebrow {
    margin: 0 0 12px;
    color: var(--color-badge-pro);
    font-size: var(--fs-badge);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.tt-unlimited-promo__heading {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
    line-height: 1.45;
}
.tt-unlimited-promo__prices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.tt-unlimited-promo__prices li {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.tt-unlimited-promo__price-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0.82;
}
.tt-unlimited-promo__price-amount {
    font-size: 16px;
    font-weight: 900;
}
.tt-unlimited-promo__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}
.tt-unlimited-promo .tt-btn {
    background: var(--color-accent);
    color: #ffffff !important;
}
.tt-unlimited-promo .tt-btn:hover { background: var(--color-accent-hover); }

.tt-unlimited-hero {
    background: var(--color-dark);
    padding: 156px 0 96px;
    text-align: center;
}
.tt-unlimited-hero__inner { max-width: 900px; }
.tt-unlimited-hero__heading {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(38px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.025em;
}
.tt-unlimited-hero__lead {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--fs-lead);
    line-height: 1.9;
}
.tt-unlimited-plans {
    position: relative;
    padding: 96px 0;
    background: var(--color-page-bg);
}
.tt-unlimited-plans::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 35%;
    background: linear-gradient(to bottom, #f0f5ff, rgba(240, 245, 255, 0));
    pointer-events: none;
}
.tt-unlimited-plans > .tt-container { position: relative; }
.tt-unlimited-plans__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}
.tt-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 48px;
    overflow: hidden;
    border: 1px solid rgba(48, 49, 51, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(20, 22, 24, 0.08);
}
.tt-plan-card.is-recommended {
    border: 2px solid var(--color-accent);
    box-shadow: 0 30px 90px rgba(150, 113, 0, 0.18);
}
.tt-plan-card__recommended {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 8px 20px;
    border-radius: 0 16px 0 16px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.tt-plan-card__badge {
    align-self: flex-start;
    margin: 0 0 20px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--color-dark);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}
.tt-plan-card--max .tt-plan-card__badge { background: var(--color-accent); }
.tt-plan-card__name {
    margin: 0;
    color: var(--color-heading);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    line-height: 1.3;
}
.tt-plan-card__price {
    margin: 24px 0 0;
}
.tt-plan-card__price-monthly {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    color: var(--color-heading);
}
.tt-plan-card__price-amount {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.tt-plan-card__price-unit {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-soft);
}
.tt-plan-card__price-yearly {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 10px 0 0;
    color: var(--color-heading);
    font-size: 15px;
    font-weight: 700;
}
.tt-plan-card__price-saving {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(150, 113, 0, 0.12);
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.tt-plan-card__price-scope {
    margin: 10px 0 0;
    color: var(--color-text-soft);
    font-size: 14px;
}
.tt-plan-card__catch {
    margin: 28px 0 16px;
    color: var(--color-heading);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.6;
}
.tt-plan-card__description { margin: 0 0 20px; }
.tt-plan-card__notes {
    margin: 0 0 32px;
    padding-left: 1.3em;
    color: var(--color-text-soft);
    font-size: 14px;
}
.tt-plan-card__notes li { margin-bottom: 7px; }
.tt-plan-card__action { margin-top: auto; }
.tt-plan-card__action .tt-btn { width: 100%; min-width: 0 !important; }
.tt-unlimited-plans__notice {
    max-width: 900px;
    margin: 28px auto 0;
    color: var(--color-text-soft);
    font-size: 13px;
    text-align: center;
}
.tt-unlimited-comparison {
    padding: 96px 0;
    background: var(--color-dark);
}
.tt-unlimited-comparison__heading {
    margin: 0 0 48px;
    color: #ffffff;
    font-size: var(--fs-section-heading);
    font-weight: 700;
    text-align: center;
}
.tt-unlimited-comparison__scroll {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}
.tt-unlimited-comparison__table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: #ffffff;
}
.tt-unlimited-comparison__table th,
.tt-unlimited-comparison__table td {
    padding: 22px 24px;
    border-right: 1px solid #e2e5eb;
    border-bottom: 1px solid #e2e5eb;
    text-align: left;
    vertical-align: middle;
}
.tt-unlimited-comparison__table th:last-child,
.tt-unlimited-comparison__table td:last-child { border-right: 0; }
.tt-unlimited-comparison__table tbody tr:last-child th,
.tt-unlimited-comparison__table tbody tr:last-child td { border-bottom: 0; }
.tt-unlimited-comparison__table thead th {
    background: var(--color-accent);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}
.tt-unlimited-comparison__table thead th:first-child {
    background: #25282c;
}
.tt-unlimited-comparison__table tbody th {
    width: 28%;
    background: #f4f5f7;
    color: var(--color-heading);
    font-weight: 700;
}
.tt-unlimited-comparison__extra {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
    gap: 32px;
    align-items: center;
    margin-top: 24px;
    padding: 28px 32px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
}
.tt-unlimited-comparison__extra h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}
.tt-unlimited-comparison__extra p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}
.tt-unlimited-comparison__extra-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.tt-unlimited-comparison__extra + .tt-unlimited-comparison__extra {
    margin-top: 16px;
}
.tt-unlimited-comparison__extra-list a {
    display: block;
    padding: 14px 18px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--color-heading);
    font-weight: 700;
}
.tt-unlimited-comparison__extra-list a::after {
    content: '\2192';
    float: right;
    color: var(--color-accent);
}
.tt-unlimited-comparison__extra-list a:hover {
    color: var(--color-accent);
}
@media (max-width: 767px) {
    .tt-unlimited-promo { padding: 52px 0; }
    .tt-unlimited-promo__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .tt-unlimited-promo__action .tt-btn { min-width: min(300px, 100%) !important; }
    .tt-unlimited-hero { padding: 132px 0 72px; }
    .tt-unlimited-plans { padding: 64px 0; }
    .tt-unlimited-plans__grid { grid-template-columns: 1fr; }
    .tt-plan-card { padding: 36px 28px; }
    .tt-plan-card__recommended { position: static; align-self: flex-start; margin: -36px 0 24px -28px; border-radius: 0 0 16px 0; }
    .tt-unlimited-comparison { padding: 64px 0; }
    .tt-unlimited-comparison__heading { margin-bottom: 28px; text-align: left; }
    .tt-unlimited-comparison__table th,
    .tt-unlimited-comparison__table td { padding: 18px; }
    .tt-unlimited-comparison__extra {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* --------------------------------------------------------------------------
   固定ページ・記事
   -------------------------------------------------------------------------- */
.tt-page, .tt-article { padding: 144px 0 var(--section-pad-y); }
.tt-page__container { max-width: 860px; }
.tt-page__title { font-weight: 700; letter-spacing: 0.06em; }
.tt-page__content h2 { font-size: 22px; margin-top: 2em; }
.tt-page__content table { border-collapse: collapse; width: 100%; background: #ffffff; }
.tt-page__content th, .tt-page__content td { border: 1px solid #d9dee8; padding: 12px 16px; text-align: left; vertical-align: top; }
.tt-page__content th { background: #f5f7fb; color: var(--color-heading); }
.tt-page__content ol, .tt-page__content ul { padding-left: 1.6em; }
.tt-page__content li { margin-bottom: 0.4em; }

.tt-page-hero { padding: 144px 0 40px; }
.tt-page-hero__title { font-weight: 700; font-size: clamp(28px, 5vw, 48px); }
.tt-page-hero__mark { width: 1.4em; vertical-align: -0.2em; margin-right: 0.15em; }

/* ブログ一覧（本文左＋絞り込み右） */
.tt-blog-list { padding: 24px 0 var(--section-pad-y); }
.tt-blog-list__layout {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 48px;
    align-items: start;
}
.tt-page-hero .tt-blog-list__layout { display: block; max-width: 1100px; }
.tt-page-hero .tt-blog-list__main { max-width: 720px; }
.tt-blog-list__main { min-width: 0; }
.tt-blog-list__side {
    position: sticky;
    top: 96px;
    /* ビューポートより長い絞り込みでも、ホバー中はパネル内をスクロールできるようにする */
    max-height: calc(100vh - 112px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}
.tt-blog-filters {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0 0 0 20px;
    border-left: 1px solid rgba(119, 119, 119, 0.16);
}
.tt-blog-filters__heading {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-heading);
}
.tt-blog-filters__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.tt-blog-filters__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-text-soft);
}
.tt-blog-filters__chips {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}
.tt-blog-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0.45em 0.75em;
    border: 1px solid rgba(119, 119, 119, 0.28);
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-heading);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tt-blog-filter:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.tt-blog-filter.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}
.tt-blog-filter--topic.is-active {
    background: rgba(150, 113, 0, 0.08);
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.tt-blog-filter__icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}
.tt-blog-filter.is-active .tt-blog-filter__icon {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.tt-blog-list__empty {
    margin: 24px 0 0;
    color: var(--color-text-soft);
    font-size: 14px;
}
.tt-blog-list__items { display: flex; flex-direction: column; }
.tt-blog-item {
    display: block;
    padding: 28px 0;
    border-bottom: 1px solid rgba(119, 119, 119, 0.18);
}
.tt-blog-item[hidden] { display: none !important; }
.tt-blog-item:first-child { padding-top: 8px; }
.tt-blog-item .tt-blog-labels { margin-bottom: 12px; }
.tt-blog-item__link {
    display: block;
    color: inherit;
    transition: opacity 0.2s ease;
}
.tt-blog-item__link:hover { color: inherit; opacity: 0.88; }
.tt-blog-item__link:hover .tt-blog-item__title { color: var(--color-accent); }
.tt-blog-item__title {
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 700;
    line-height: 1.55;
    margin: 0 0 0.45em;
    color: var(--color-heading);
    transition: color 0.2s ease;
}
.tt-blog-title__main,
.tt-blog-title__sub { display: block; }
.tt-blog-title__sub {
    margin-top: 0.4em;
    font-size: 0.88em;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-accent);
    letter-spacing: 0.02em;
}
.tt-blog-item__link:hover .tt-blog-title__sub { color: var(--color-accent-hover); }
.tt-article__title .tt-blog-title__sub {
    margin-top: 0.45em;
    font-size: 0.72em;
    font-weight: 700;
}
.tt-blog-item__summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-soft);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 一覧・記事共通ラベル */
.tt-blog-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.tt-blog-topic {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-accent);
    border: 1px solid rgba(150, 113, 0, 0.45);
    border-radius: var(--radius-badge);
    padding: 0.2em 0.7em;
    background: transparent;
}
.tt-blog-plugin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-heading);
    background: var(--color-tint);
    border-radius: 999px;
    padding: 0.2em 0.75em 0.2em 0.35em;
    line-height: 1.4;
    text-decoration: none;
}
a.tt-blog-plugin:hover {
    color: var(--color-heading);
    background: #e4ecff;
}
.tt-blog-plugin__icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}
.tt-blog-plugin__name { white-space: nowrap; }
.tt-blog-plugin:not(:has(.tt-blog-plugin__icon)) {
    padding-left: 0.75em;
}

/* ブログ記事 */
/* 本文・図版とも同じ幅に揃える。幅を広げたぶんだけ文字も大きくして、1行あたりの文字数（約44字）は変えない */
.tt-article__container { max-width: 800px; }
.tt-article__header { margin-bottom: 40px; }
.tt-article__header .tt-blog-labels { margin-bottom: 16px; }
.tt-article__title {
    font-size: clamp(27px, 4.1vw, 36px);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.45;
    margin: 0 0 0.55em;
    color: var(--color-heading);
}
.tt-article__lead {
    margin: 0 0 1em;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-soft);
}
.tt-article__date {
    display: block;
    font-size: 13px;
    color: var(--color-text-soft);
}
.tt-article__content {
    word-break: break-word;
    /* 本文幅が狭まる画面では文字も一緒に縮め、1行の文字数を一定に保つ */
    font-size: clamp(16.5px, 2.2vw, 18px);
    line-height: 1.95;
    color: var(--color-dark);
}
.tt-article__content > *:first-child { margin-top: 0; }
.tt-article__content p { margin: 0 0 1.35em; }
/* 強調文は見出し（左縦線）と差別化：縦線なし・薄い地色のみ */
.tt-article__content p.tt-keyline {
    padding: 0.9em 1.1em;
    background: #f7f9fc;
    border: 1px solid rgba(119, 119, 119, 0.12);
    border-radius: 10px;
    color: var(--color-heading);
    font-weight: 700;
    font-size: 1.02em;
    line-height: 1.75;
}
.tt-article__content h2 {
    font-size: clamp(21px, 2.7vw, 26px);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.45;
    border-left: 4px solid var(--color-accent);
    padding-left: 14px;
    margin: 2.8em 0 1em;
    color: var(--color-heading);
}
.tt-article__content h2.tt-method {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 12px;
    border-left: 0;
    padding: 16px 18px;
    margin: 2.8em 0 1em;
    background: #f7f9fc;
    border-radius: 10px;
    border: 1px solid rgba(119, 119, 119, 0.12);
}
.tt-method__num {
    display: inline-block;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff;
    background: var(--color-accent);
    border-radius: 999px;
    padding: 0.35em 0.85em;
    line-height: 1.3;
}
.tt-method__label {
    flex: 1 1 12em;
    font-size: clamp(18.5px, 2.5vw, 23px);
}
.tt-article__content h2.tt-closing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4em;
}
.tt-closing__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.3;
    color: var(--color-accent);
}
.tt-closing__title {
    display: block;
    font-size: inherit;
    font-weight: 700;
    line-height: 1.45;
}
.tt-article__content h3 {
    font-size: clamp(17.5px, 2.3vw, 20.5px);
    font-weight: 700;
    margin: 2em 0 0.75em;
    padding-bottom: 0.35em;
    border-bottom: 1px solid rgba(119, 119, 119, 0.16);
    color: var(--color-heading);
}
.tt-article__content h3.tt-numbered {
    padding-bottom: 0;
    border-bottom: 0;
}
.tt-article__content h4 {
    font-size: 17.5px;
    font-weight: 700;
    margin: 1.8em 0 0.6em;
    color: var(--color-heading);
}
.tt-article__content ul,
.tt-article__content ol {
    margin: 0 0 1.5em;
    padding: 14px 18px 14px 1.5em;
    background: #f7f9fc;
    border-radius: 10px;
    border: 1px solid rgba(119, 119, 119, 0.1);
}
.tt-article__content li { margin: 0.45em 0; padding-left: 0.15em; }
.tt-article__content li::marker { color: var(--color-accent); font-weight: 700; }
.tt-article__content ol {
    list-style: none;
    padding-left: 18px;
    counter-reset: tt-ol;
}
.tt-article__content ol > li {
    display: flex;
    align-items: center;
    gap: 0.55em;
    padding-left: 0;
    counter-increment: tt-ol;
    /* 本文(1.95)より行高を詰め、番号円と日本語を同じ高さで揃えやすくする */
    line-height: 1.5;
}
.tt-article__content ol > li::before {
    content: counter(tt-ol);
    flex: 0 0 18px;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    /* font-size 変更後の em/lh 再計算を避け、px で光学補正 */
    margin-top: 2px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tt-article__content li > ul,
.tt-article__content li > ol {
    margin: 0.5em 0 0.6em;
    padding: 8px 12px 8px 1.3em;
    background: #ffffff;
}
.tt-article__content ol > li > ol { padding-left: 18px; }
.tt-article__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 1.6em;
}
.tt-article__card {
    background: #f7f9fc;
    border: 1px solid rgba(119, 119, 119, 0.12);
    border-top: 3px solid var(--color-accent);
    border-radius: 12px;
    padding: 16px 16px 18px;
    box-shadow: 0 8px 20px rgba(48, 49, 51, 0.04);
}
.tt-article__content .tt-article__card-title {
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-heading);
}
.tt-article__content .tt-article__card-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--color-dark);
}
.tt-article__content img {
    display: block;
    margin: 1.8em auto;
    border-radius: 8px;
    border: 1px solid rgba(119, 119, 119, 0.12);
    background: #ffffff;
}
.tt-article__content pre {
    background: #23272d;
    color: #eeeeee;
    padding: 16px 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0 0 1.4em;
    font-size: 13px;
    line-height: 1.6;
}
.tt-article__content code {
    font-size: 0.92em;
    background: rgba(150, 113, 0, 0.08);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}
.tt-article__content pre code { background: transparent; padding: 0; }
.tt-table-wrap {
    margin: 1.5em 0 1.8em;
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #d9dee8;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}
.tt-article__content table.tt-table,
.tt-article__content .tt-table-wrap table {
    border-collapse: collapse;
    width: 100%;
    min-width: 520px;
    background: #ffffff;
    margin: 0;
    font-size: 15px;
}
.tt-article__content th,
.tt-article__content td {
    border: 0;
    border-bottom: 1px solid #e6ebf2;
    border-right: 1px solid #eef2f7;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}
.tt-article__content tr > *:last-child { border-right: 0; }
.tt-article__content tbody tr:last-child > * { border-bottom: 0; }
.tt-article__content th {
    background: #f0f3f8;
    font-weight: 700;
    color: var(--color-heading);
    white-space: nowrap;
}
.tt-article__content td.tt-table__rowhead {
    font-weight: 600;
    color: var(--color-heading);
    background: #fafbfd;
    white-space: nowrap;
}
.tt-article__content th.tt-table__subcol {
    background: #e8f2ec;
    color: #2a5a45;
}
.tt-article__content td.tt-table__subcol {
    background: #f3faf6;
    color: #2a5a45;
}
.tt-article__content a:has(> img) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
    padding: 0.45em 0.85em 0.45em 0.55em;
    border: 1px solid rgba(119, 119, 119, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-heading);
}
.tt-article__content a:has(> img):hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.tt-article__content a:has(> img) img {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
}
.tt-article__content table.tt-table--compare td:not(.tt-table__rowhead) {
    text-align: center;
    vertical-align: middle;
}
.tt-mark {
    font-weight: 700;
    font-size: 16px;
}
.tt-mark--ok { color: #2f7d32; background: rgba(47, 125, 50, 0.06); }
.tt-mark--best { color: #1b5e20; background: rgba(27, 94, 32, 0.1); }
.tt-mark--mid { color: #b78100; background: rgba(183, 129, 0, 0.08); }
.tt-mark--ng { color: #9a9a9a; background: #f6f6f6; }

/* 細かい機能カード一覧 */
.tt-function-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.tt-function-card {
    background: #ffffff;
    border: 1px solid rgba(119, 119, 119, 0.16);
    border-radius: 16px;
    padding: 16px 16px 20px;
    box-shadow: 0 10px 28px rgba(48, 49, 51, 0.06);
}
.tt-function-card__image {
    margin: 0 0 14px;
    overflow: hidden;
    border-radius: 12px;
    background: #eef3fb;
}
.tt-function-card__image img {
    display: block;
    width: 100%;
    height: auto;
}
.tt-function-card__title {
    margin: 0 0 8px;
    color: var(--color-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}
.tt-function-card__text {
    margin: 0;
    color: var(--color-dark);
    font-size: 14px;
    line-height: 1.7;
}

/* プラグイン詳細の比較表 */
.tt-plugin-comparison .tt-table-wrap {
    margin-top: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.tt-plugin-comparison table.tt-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 520px;
    background: #ffffff;
    margin: 0;
    font-size: 14px;
}
.tt-plugin-comparison th,
.tt-plugin-comparison td {
    border: 0;
    border-bottom: 1px solid #e6ebf2;
    border-right: 1px solid #eef2f7;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}
.tt-plugin-comparison tr > *:last-child { border-right: 0; }
.tt-plugin-comparison tbody tr:last-child > * { border-bottom: 0; }
.tt-plugin-comparison th {
    background: #f0f3f8;
    font-weight: 700;
    color: var(--color-heading);
    white-space: nowrap;
}
.tt-plugin-comparison td.tt-table__rowhead {
    font-weight: 600;
    color: var(--color-heading);
    background: #fafbfd;
    white-space: nowrap;
}
.tt-plugin-comparison table.tt-table--compare td:not(.tt-table__rowhead) {
    text-align: center;
    vertical-align: middle;
}

/* 対応機能表（価格前のコンパクト一覧） */
.tt-plugin-comparison--compact {
    padding-top: 64px;
    padding-bottom: 64px;
}
.tt-plugin-comparison--compact::before { background: linear-gradient(to bottom, #f0f5ff, rgba(240, 245, 255, 0)); }
.tt-plugin-comparison--compact .tt-table-wrap {
    max-width: 520px;
}
.tt-plugin-comparison--compact table.tt-table {
    min-width: 0;
    font-size: 13px;
}
.tt-plugin-comparison--compact th,
.tt-plugin-comparison--compact td {
    padding: 8px 12px;
}
.tt-article__faq {
    margin: 2.4em 0 0;
    padding-top: 0.2em;
    border-top: 1px solid rgba(119, 119, 119, 0.14);
}
.tt-article__faq-summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: 1em 1.8em 1em 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    color: var(--color-text-soft);
}
.tt-article__faq-summary::-webkit-details-marker,
.tt-article__faq-summary::marker { display: none; content: ''; }
.tt-article__faq-summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-soft);
}
.tt-article__faq[open] .tt-article__faq-summary::after { content: '\2212'; }
.tt-article__faq-body { padding: 0 0 0.4em; }
.tt-article__content .tt-article__faq-q {
    margin: 1.15em 0 0.4em;
    padding: 0;
    border: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--color-heading);
}
.tt-article__faq-item:first-child .tt-article__faq-q { margin-top: 0.2em; }
.tt-article__content .tt-article__faq-item p {
    margin: 0 0 0.85em;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-dark);
}
.tt-article__content .tt-flow {
    margin: 0 0 1.8em;
    padding: 22px 24px 24px;
    background: #f7f9fc;
    border: 1px solid rgba(119, 119, 119, 0.12);
    border-radius: 12px;
}
.tt-article__content .tt-flow__lead {
    margin: 0 0 18px;
    color: var(--color-heading);
    font-weight: 700;
    font-size: 1em;
    line-height: 1.7;
}
.tt-article__content .tt-flow__steps {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tt-flow__step {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid rgba(119, 119, 119, 0.14);
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(48, 49, 51, 0.04);
}
.tt-flow__step + .tt-flow__step { margin-top: 28px; }
.tt-flow__step + .tt-flow__step::before {
    content: "";
    position: absolute;
    left: 29px;
    top: -28px;
    width: 2px;
    height: 28px;
    background: rgba(150, 113, 0, 0.3);
}
.tt-flow__step + .tt-flow__step::after {
    content: "";
    position: absolute;
    left: 26px;
    top: -14px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(150, 113, 0, 0.55);
    border-bottom: 2px solid rgba(150, 113, 0, 0.55);
    transform: rotate(45deg);
}
.tt-flow__num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}
.tt-flow__tag {
    flex: 0 0 auto;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(150, 113, 0, 0.1);
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 700;
}
.tt-flow__text {
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.6;
}
.tt-flow__step--kintone { border-color: rgba(47, 127, 208, 0.35); }
.tt-flow__step--kintone .tt-flow__num { background: #2f7fd0; }
.tt-flow__step--kintone .tt-flow__tag {
    background: rgba(47, 127, 208, 0.1);
    color: #2f7fd0;
}
.tt-article__content blockquote {
    margin: 0 0 1.5em;
    padding: 0.85em 1em;
    border-left: 3px solid rgba(150, 113, 0, 0.45);
    background: #faf8f3;
    border-radius: 0 8px 8px 0;
    color: var(--color-dark);
}
.tt-article__content blockquote.tt-callout {
    border-left-color: var(--color-accent);
    background: rgba(150, 113, 0, 0.07);
}
.tt-article__content blockquote.tt-callout strong {
    display: block;
    margin-bottom: 0.35em;
    color: var(--color-accent);
    font-size: 0.92em;
    letter-spacing: 0.04em;
}
.tt-article__content blockquote.tt-article__aside {
    border-left: 0;
    border: 1px dashed rgba(119, 119, 119, 0.38);
    background: #f4f5f7;
    border-radius: 10px;
    padding: 16px 18px;
    color: var(--color-text-soft);
    font-size: 0.94em;
}
.tt-article__content blockquote.tt-article__aside strong {
    display: block;
    margin-bottom: 0.4em;
    color: var(--color-text-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.tt-article__content hr {
    border: 0;
    border-top: 1px solid rgba(119, 119, 119, 0.18);
    margin: 2.6em 0;
}
.tt-article__content a { text-decoration: underline; text-underline-offset: 0.15em; }
.tt-article__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1.2em 0 1.6em;
}
/* 区切り線の直後のCTA帯は余白を抑え、しつこい塊に見えないようにする */
.tt-article__content hr + p + .tt-article__ctas,
.tt-article__content hr + .tt-article__ctas {
    margin-top: 0.85em;
}
.tt-article__cta-btn {
    text-decoration: none !important;
}
.tt-article__unlimited {
    flex: 1 0 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin: 18px 0;
    padding: 22px 26px;
    border: 1px solid rgba(150, 113, 0, 0.2);
    border-radius: 14px;
    background: #fdfbf5;
}
.tt-article__unlimited .tt-article__unlimited-copy p { margin: 0; }
.tt-article__unlimited .tt-article__unlimited-eyebrow {
    margin-bottom: 6px;
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}
.tt-article__unlimited .tt-article__unlimited-heading {
    color: var(--color-heading);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.65;
}
.tt-article__unlimited .tt-article__unlimited-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    list-style: none;
}
.tt-article__unlimited .tt-article__unlimited-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.tt-article__unlimited-price-name {
    color: var(--color-text-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.tt-article__unlimited-price-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: var(--color-heading);
    white-space: nowrap;
}
.tt-article__unlimited-price-num {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}
.tt-article__unlimited-price-unit {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--color-text-soft);
}
.tt-article__unlimited .tt-article__unlimited-btn {
    display: inline-block;
    padding: 13px 26px;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--color-accent);
    font-family: var(--font-btn);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.tt-article__unlimited .tt-article__unlimited-btn:hover,
.tt-article__unlimited .tt-article__unlimited-btn:focus {
    background: var(--color-accent);
    color: #ffffff;
}
.tt-article__nav { margin: 0 0 28px; }
.tt-article__related {
    margin-top: 72px;
    padding: 24px 24px 8px;
    background: var(--color-tint);
    border: 1px solid rgba(119, 119, 119, 0.12);
    border-radius: 12px;
}
.tt-article__related-heading {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-accent);
}
.tt-article__related .tt-related-blog__items { max-width: none; }
.tt-article__related .tt-related-blog__item {
    margin: 12px 0;
    padding: 0;
    border-bottom: 0;
    background: #ffffff;
    border: 1px solid rgba(119, 119, 119, 0.12);
    border-radius: 10px;
}
.tt-article__related .tt-related-blog__item:first-child { padding-top: 0; }
.tt-article__related .tt-related-blog__item:hover { border-color: var(--color-accent); }
.tt-article__related .tt-related-blog__link {
    padding: 16px 40px 16px 18px;
    position: relative;
}
.tt-article__related .tt-related-blog__link:hover { opacity: 1; }
.tt-article__related .tt-related-blog__link::after {
    content: "→";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 14px;
}
.tt-article__related .tt-related-blog__item .tt-blog-labels { margin-bottom: 8px; }
.tt-article__related .tt-related-blog__title {
    font-size: 18px;
    margin: 0 0 0.3em;
}
.tt-article__related .tt-related-blog__title .tt-blog-title__sub {
    margin-top: 0.25em;
    font-size: 0.9em;
}
.tt-article__related .tt-related-blog__summary { font-size: 14.5px; }
.tt-article__related + .tt-article__footer { margin-top: 28px; }
.tt-article__footer {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(119, 119, 119, 0.18);
}
.tt-article__back {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
}
.tt-article__back::before { content: "← "; }

/* --------------------------------------------------------------------------
   フッター（#1b1d1f）
   -------------------------------------------------------------------------- */
.tt-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-soft);
    padding: 80px 0 60px;
}
.tt-footer__top { display: flex; gap: 64px; flex-wrap: wrap; }
.tt-footer__brand { flex: 1.2; min-width: 260px; }
.tt-footer__brand img { width: 200px; margin-bottom: 20px; }
.tt-footer__heading { color: #ffffff; font-weight: 700; font-size: clamp(18px, 3vw, 24px); }
.tt-footer__columns {
    flex: 2;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}
.tt-footer__col { min-width: 0; }
.tt-footer__col-heading { color: #ffffff; font-size: 17px; font-weight: 700; }
.tt-footer__links { line-height: 2.1; }
.tt-footer__links a {
    color: var(--color-text-soft);
    overflow-wrap: anywhere;
}
.tt-footer__links a:hover { color: #ffffff; }

/* --------------------------------------------------------------------------
   ページネーション
   -------------------------------------------------------------------------- */
.tt-pagination { text-align: center; margin-top: 40px; }
.tt-pagination .page-numbers {
    display: inline-block;
    min-width: 40px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(119, 119, 119, 0.2);
    color: var(--color-heading);
    margin: 0 4px;
}
.tt-pagination .page-numbers.current { background: var(--color-accent); border-color: var(--color-accent); color: #ffffff; }

/* --------------------------------------------------------------------------
   レスポンシブ（959px / 569px）
   -------------------------------------------------------------------------- */
@media (min-width: 1500px) {
    :root { --section-pad-y: 144px; }
}
@media (max-width: 959px) {
    :root { --section-pad-y: 72px; }
    .tt-header__inner { padding-left: 20px; padding-right: 20px; }
    .tt-mosaic__grid { grid-template-columns: repeat(2, 1fr); }
    .tt-plugin-list__cards { grid-template-columns: 1fr; }
    .tt-detail-hero__grid { flex-direction: column; }
    .tt-function-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tt-tabs__row, .tt-tabs__row:nth-child(even) { flex-direction: column; }
    .tt-about__grid, .tt-about__points { grid-template-columns: 1fr; }
    .tt-about__points { margin-left: 0; }
    .tt-footer__top { flex-direction: column; gap: 40px; }
    .tt-hero { min-height: auto; padding: 120px 0 72px; }
}
@media (max-width: 569px) {
    .tt-footer__columns { grid-template-columns: 1fr; gap: 32px; }
    .tt-mosaic__grid { grid-template-columns: 1fr; }
    .tt-function-cards__grid { grid-template-columns: 1fr; }
    .tt-blog-item { padding: 22px 0; }
    .tt-blog-list__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .tt-blog-list__side {
        position: static;
        order: -1;
        max-height: none;
        overflow: visible;
        overscroll-behavior: auto;
    }
    .tt-blog-filters {
        padding: 0 0 16px;
        border-left: 0;
        border-bottom: 1px solid rgba(119, 119, 119, 0.16);
    }
    .tt-blog-filters__chips { flex-direction: row; flex-wrap: wrap; }
    .tt-blog-filter { border-radius: 999px; }
    .tt-blog-plugin__name { white-space: normal; }
    .tt-article { padding-top: 120px; }
    .tt-article__related { padding: 20px 16px 4px; }
    .tt-article__related .tt-related-blog__link { padding: 14px 36px 14px 14px; }
    .tt-article__content { font-size: 15.5px; line-height: 1.9; }
    .tt-article__content h2.tt-method { padding: 14px; }
    .tt-article__cards { grid-template-columns: 1fr; }
    .tt-article__content .tt-flow { padding: 18px 16px 20px; }
    .tt-flow__step { padding: 11px 12px; gap: 10px; }
    .tt-article__content ul,
    .tt-article__content ol { padding-left: 1.35em; }
    .tt-article__ctas { flex-direction: column; align-items: stretch; }
    .tt-article__cta-btn { width: 100%; max-width: 360px; }
    .tt-article__unlimited {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 20px;
    }
    .tt-article__unlimited .tt-article__unlimited-btn { display: block; }
    .tt-header__btn { font-size: 12px; padding: 7px 14px; }
    .tt-header__logo img { width: 150px; }
    .tt-btn { min-width: 0 !important; width: 100%; max-width: 300px; }
}
