/* ==========================================================================
   特徴別税理士ページ（/zeikin/ /zeimusho/ /tashigyo/ /listed/）の共通部品
   各ページは .tk-adv に --adv-* を上書きしてアクセント色を切り替える。
   ========================================================================== */

.tk-adv {
    --adv-accent: #0b55d9;
    --adv-accent-dark: #0843ad;
    --adv-tint: #eef3fb;
    --adv-tint-2: #f6f8fb;
    --adv-ink: #101a26;
    --adv-muted: #4f5b68;
    --adv-line: #dfe4ea;
    --adv-space: clamp(44px, 5.8vw, 86px);
    --adv-space-sm: clamp(34px, 4.2vw, 62px);
    color: var(--adv-ink);
}

.tk-adv h2 { font-size: clamp(27px, 3.15vw, 45px); font-weight: 800; line-height: 1.42; letter-spacing: .02em; }
.tk-adv h3 { font-size: clamp(17px, 1.42vw, 20px); font-weight: 800; line-height: 1.55; letter-spacing: .02em; }
.tk-adv p, .tk-adv dd, .tk-adv td { color: var(--adv-muted); font-size: 15px; line-height: 1.95; }
.tk-adv strong { color: var(--adv-ink); }
.tk-adv .tk-panel--dark p, .tk-adv .tk-panel--dark dd { color: #f4f7fb; }
.tk-adv .tk-panel--dark strong, .tk-adv .tk-panel--dark h2, .tk-adv .tk-panel--dark h3 { color: #fff; }

.tk-adv-sec { padding-block: var(--adv-space); }
.tk-adv-sec:not(.tk-adv-sec--tint):not(.tk-adv-sec--panel) + .tk-adv-sec:not(.tk-adv-sec--tint):not(.tk-adv-sec--panel) { padding-top: 0; }
.tk-adv-sec--tint { background: var(--adv-tint-2); border-block: 1px solid var(--adv-line); }
.tk-adv-sec--panel { padding-block: calc(var(--adv-space) * .55); }

/* ---------- Section heading ---------- */
.tk-adv-head { max-width: 760px; margin-bottom: clamp(30px, 3.6vw, 54px); }
.tk-adv-head--center { margin-inline: auto; text-align: center; }
.tk-adv-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: end;
    gap: 18px clamp(28px, 5vw, 80px);
    max-width: none;
}
.tk-site .tk-adv-head p.tk-adv-head-lead { margin-top: 16px; }
.tk-site .tk-adv-head--split p.tk-adv-head-lead { margin-top: 0; }

.tk-adv h2 em, .tk-adv-intro h2 em { color: var(--adv-accent); font-style: normal; }
.tk-adv .tk-panel--dark h2 em { color: #8db8ff; }

/* ---------- Intro ---------- */
.tk-adv-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
    gap: clamp(32px, 5.4vw, 88px);
    padding-block: clamp(48px, 6vw, 96px) clamp(34px, 4.2vw, 62px);
}
.tk-site .tk-adv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 7px 14px 7px 10px;
    border: 1px solid var(--adv-line);
    border-radius: 999px;
    background: #fff;
    color: var(--adv-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}
.tk-adv-kicker::before { width: 8px; height: 8px; border-radius: 50%; background: var(--adv-accent); box-shadow: 0 0 0 4px var(--adv-tint); content: ""; }
.tk-adv-intro h2 { font-size: clamp(28px, 3.25vw, 46px); line-height: 1.38; letter-spacing: .01em; }
.tk-site .tk-adv-intro-text > h2 + p { margin-top: 17px; }
.tk-adv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tk-adv-actions .tk-button, .tk-adv-cta-actions .tk-button { gap: 14px; white-space: normal; }
.tk-site .tk-adv-tel {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 6px 20px;
    border: 1px solid var(--adv-line);
    border-radius: 6px;
    background: #fff;
    transition: border-color .25s ease;
}
.tk-site .tk-adv-tel:is(:hover, :focus-visible) { border-color: var(--adv-ink); }
.tk-adv-tel img { width: 34px; height: auto; }
.tk-adv-tel span { display: grid; font: 800 19px/1.15 var(--latin); letter-spacing: .01em; }
.tk-adv-tel small { color: var(--adv-muted); font: 500 11px/1.4 var(--jp); }

.tk-adv-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--adv-line);
}
.tk-site .tk-adv-badges { margin-top: 22px; }
.tk-adv-badges li { padding: 16px 12px 0 0; }
.tk-adv-badges li + li { padding-left: 16px; border-left: 1px solid var(--adv-line); }
.tk-adv-badges strong { display: block; font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; line-height: 1.4; }
.tk-adv-badges span { display: block; margin-top: 2px; color: var(--adv-muted); font-size: 12.5px; line-height: 1.6; }

.tk-adv-intro-photo { position: relative; }
.tk-adv-intro-photo > img {
    width: 100%;
    aspect-ratio: 1.12;
    border-radius: calc(var(--radius) * 1.4);
    object-fit: cover;
}
.tk-adv-intro-photo::before {
    position: absolute;
    inset: 22px -22px -22px 22px;
    z-index: -1;
    border-radius: calc(var(--radius) * 1.4);
    background: repeating-linear-gradient(135deg, var(--adv-tint) 0 2px, transparent 2px 11px);
    content: "";
}
.tk-adv-float {
    position: absolute;
    left: clamp(-36px, -2.4vw, -12px);
    bottom: clamp(18px, 2.6vw, 38px);
    display: grid;
    gap: 8px;
    max-width: min(330px, 78%);
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 48px -20px rgba(16, 26, 38, .35);
    backdrop-filter: blur(8px);
}
.tk-site .tk-adv-float p { color: var(--adv-ink); font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.tk-adv-float small { color: var(--adv-accent-dark); font-size: 12px; font-weight: 800; line-height: 1.5; }

/* ---------- Concern checklist ---------- */
.tk-adv-checks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.tk-adv-checks li {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 22px 22px 22px 20px;
    border: 1px solid var(--adv-line);
    border-radius: var(--radius);
    background: #fff;
}
.tk-adv-checks li::before {
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--adv-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
    content: "";
}
.tk-site .tk-adv-checks p { color: var(--adv-ink); font-size: 15px; font-weight: 700; line-height: 1.7; }
.tk-site .tk-adv-checks small { display: block; margin-top: 4px; color: var(--adv-muted); font-size: 13px; font-weight: 400; line-height: 1.75; }
.tk-adv-answer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px 28px;
    margin-top: 28px;
    padding: clamp(20px, 2.4vw, 30px) clamp(20px, 3vw, 40px);
    border-radius: var(--radius);
    background: var(--adv-tint);
}
.tk-adv-answer > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--adv-accent);
    color: #fff;
}
.tk-adv-answer .tk-icon { width: 28px; height: 28px; }
.tk-site .tk-adv-answer p { color: var(--adv-ink); font-size: clamp(15px, 1.25vw, 17px); font-weight: 700; line-height: 1.8; }

/* ---------- Feature cards (dark panel) ---------- */
.tk-adv-panel { padding: clamp(48px, 6.4vw, 104px) 0; }
.tk-adv-panel .tk-adv-head { position: relative; }
.tk-adv-panel::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 70% at 100% 0%, color-mix(in srgb, var(--adv-accent) 34%, transparent), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
    content: "";
}
.tk-adv-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
}
.tk-adv-features > li {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(24px, 2.8vw, 40px);
    background: #10151d;
    transition: background .3s ease;
}
.tk-adv-features > li:hover { background: #151c27; }
.tk-adv-features-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tk-adv-features-top b { color: rgba(255, 255, 255, .65); font: 800 clamp(34px, 3.4vw, 50px)/1 var(--latin); letter-spacing: -.02em; }
.tk-adv-features .tk-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: #8db8ff;
}
.tk-site .tk-adv-features p { font-size: 14.5px; }

/* ---------- Generic card grid ---------- */
.tk-adv-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(14px, 1.5vw, 22px); }
.tk-adv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(22px, 2.3vw, 32px);
    border: 1px solid var(--adv-line);
    border-radius: var(--radius);
    background: #fff;
    transition: background-color .24s ease, box-shadow .28s var(--ease), border-color .24s ease;
}
.tk-adv-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    border-radius: 12px;
    background: var(--adv-tint);
    color: var(--adv-accent);
}
.tk-adv-card-icon .tk-icon { width: 26px; height: 26px; }
.tk-adv-card-tag {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--adv-tint);
    color: var(--adv-accent-dark);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}
.tk-site .tk-adv-card p { font-size: 14.5px; line-height: 1.9; }
.tk-adv-card ul { display: grid; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--adv-line); }
.tk-adv-card ul li { position: relative; padding-left: 16px; color: var(--adv-ink); font-size: 13.5px; font-weight: 500; line-height: 1.7; }
.tk-adv-card ul li::before { position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 1px; background: var(--adv-accent); content: ""; }
.tk-site a.tk-adv-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    color: var(--adv-accent-dark);
    font-size: 14px;
    font-weight: 700;
}
.tk-adv-more:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.tk-adv-more .tk-mini-arrow { width: 16px; height: 16px; }

/* ---------- Media + text split ---------- */
.tk-adv-split {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(28px, 5.4vw, 88px);
}
.tk-adv-split--reverse > figure { order: 2; }
.tk-adv-split figure { overflow: hidden; border-radius: calc(var(--radius) * 1.3); }
.tk-adv-split figure img { width: 100%; aspect-ratio: 1.18; object-fit: cover; }
.tk-site .tk-adv-split-text > p { margin-top: 16px; }

/* ---------- Definition rows ---------- */
.tk-adv-rows { margin: 26px 0 0; border-top: 1px solid var(--adv-line); }
.tk-adv-rows > div {
    display: grid;
    grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
    gap: 6px 24px;
    padding-block: 16px;
    border-bottom: 1px solid var(--adv-line);
}
.tk-adv-rows dt { font-size: 15px; font-weight: 800; line-height: 1.7; }
.tk-adv-rows dd { margin: 0; font-size: 14.5px; line-height: 1.85; }

/* ---------- Timeline ---------- */
.tk-adv-timeline { position: relative; display: grid; gap: 0; counter-reset: tl; }
.tk-adv-timeline > li {
    position: relative;
    display: grid;
    grid-template-columns: clamp(110px, 14vw, 190px) 44px minmax(0, 1fr);
    gap: 0 clamp(14px, 2vw, 28px);
    padding-bottom: clamp(26px, 3vw, 40px);
}
.tk-adv-timeline > li::after {
    position: absolute;
    top: 46px;
    bottom: 4px;
    left: calc(clamp(110px, 14vw, 190px) + clamp(14px, 2vw, 28px) + 21px);
    width: 2px;
    background: linear-gradient(var(--adv-line), var(--adv-line)) 0 0 / 2px 100% no-repeat;
    content: "";
}
.tk-adv-timeline > li:last-child { padding-bottom: 0; }
.tk-adv-timeline > li:last-child::after { display: none; }
.tk-adv-tl-when { padding-top: 10px; color: var(--adv-accent-dark); font-size: 13px; font-weight: 800; line-height: 1.6; text-align: right; }
.tk-adv-tl-dot {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--adv-accent);
    border-radius: 50%;
    background: #fff;
    color: var(--adv-accent);
    font: 800 14px/1 var(--latin);
}
.tk-adv-timeline > li.is-key .tk-adv-tl-dot { background: var(--adv-accent); color: #fff; box-shadow: 0 0 0 6px var(--adv-tint); }
.tk-adv-tl-body {
    padding: 18px clamp(18px, 2.2vw, 28px);
    border: 1px solid var(--adv-line);
    border-radius: var(--radius);
    background: #fff;
}
.tk-site .tk-adv-tl-body p { margin-top: 6px; font-size: 14.5px; }
.tk-adv-tl-body .tk-adv-chips { margin-top: 12px; }

.tk-adv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-adv-chips li {
    padding: 3px 11px;
    border: 1px solid var(--adv-line);
    border-radius: 999px;
    background: var(--adv-tint-2);
    color: var(--adv-ink);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.6;
}

/* ---------- Table ---------- */
.tk-adv-table-wrap { overflow-x: auto; border: 1px solid var(--adv-line); border-radius: var(--radius); background: #fff; }
.tk-adv-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; line-height: 1.75; text-align: left; }
.tk-adv-table :is(th, td) { padding: clamp(14px, 1.5vw, 20px) clamp(14px, 1.6vw, 22px); vertical-align: top; }
.tk-adv-table thead th { background: var(--adv-ink); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.tk-adv-table thead th:first-child { width: 20%; }
.tk-adv-table tbody tr + tr :is(th, td) { border-top: 1px solid var(--adv-line); }
.tk-adv-table tbody th { background: var(--adv-tint-2); color: var(--adv-ink); font-weight: 800; }
.tk-adv-table td { font-size: 14px; line-height: 1.8; }
.tk-adv-table td + td, .tk-adv-table th + td { border-left: 1px solid var(--adv-line); }
.tk-site .tk-adv-scroll-hint { display: none; margin-bottom: 8px; font-size: 12px; }

@media (max-width: 850px) {
    .tk-site .tk-adv-scroll-hint { display: block; }
}

/* ---------- Note ---------- */
.tk-adv-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding: 16px 20px;
    border-left: 3px solid var(--adv-accent);
    border-radius: 0 8px 8px 0;
    background: var(--adv-tint-2);
}
.tk-adv-note .tk-icon { width: 20px; height: 20px; margin-top: 3px; color: var(--adv-accent); }
.tk-site .tk-adv-note p { font-size: 13.5px; line-height: 1.85; }

/* ---------- Selection checklist (numbered rows) ---------- */
.tk-adv-points { counter-reset: pt; border-top: 1px solid var(--adv-line); }
.tk-adv-points > li {
    display: grid;
    grid-template-columns: 72px minmax(0, .9fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 8px clamp(18px, 3vw, 44px);
    padding-block: clamp(20px, 2.4vw, 30px);
    border-bottom: 1px solid var(--adv-line);
}
.tk-adv-points > li::before {
    counter-increment: pt;
    content: counter(pt, decimal-leading-zero);
    color: var(--adv-accent);
    font: 800 clamp(26px, 2.6vw, 38px)/1 var(--latin);
    letter-spacing: -.02em;
}
.tk-site .tk-adv-points p { font-size: 14.5px; }
.tk-adv-points h3 { padding-top: 2px; }

/* ---------- Flow steps ---------- */
.tk-adv-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.tk-adv-steps li {
    position: relative;
    padding: 26px clamp(18px, 1.8vw, 26px);
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--adv-line);
}
.tk-adv-steps li::before {
    counter-increment: st;
    content: "Step " counter(st, decimal-leading-zero);
    display: block;
    margin-bottom: 14px;
    color: var(--adv-accent);
    font: 800 13px/1 var(--latin);
    letter-spacing: .04em;
}
.tk-adv-steps li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -12px;
    z-index: 1;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--adv-accent);
    border-right: 2px solid var(--adv-accent);
    transform: translateY(-50%) rotate(45deg);
    content: "";
}
.tk-site .tk-adv-steps p { margin-top: 8px; font-size: 13.5px; line-height: 1.85; }
.tk-adv-steps-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; }
.tk-site .tk-adv-steps-foot p { font-size: 14px; }

/* ---------- FAQ ---------- */
.tk-adv-faq { display: grid; gap: 12px; max-width: 960px; margin-inline: auto; }
.tk-adv-faq details { border: 1px solid var(--adv-line); border-radius: var(--radius); background: #fff; transition: border-color .25s ease; }
.tk-adv-faq details[open] { border-color: color-mix(in srgb, var(--adv-accent) 45%, var(--adv-line)); }
.tk-adv-faq summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 20px clamp(18px, 2.2vw, 28px);
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.65;
    list-style: none;
}
.tk-adv-faq summary::-webkit-details-marker { display: none; }
.tk-adv-faq summary::before,
.tk-adv-faq-a::before {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font: 800 15px/1 var(--latin);
}
.tk-adv-faq summary::before { background: var(--adv-ink); color: #fff; content: "Q"; }
.tk-adv-faq summary::after {
    width: 22px;
    height: 22px;
    background:
        linear-gradient(var(--adv-accent), var(--adv-accent)) center / 14px 2px no-repeat,
        linear-gradient(var(--adv-accent), var(--adv-accent)) center / 2px 14px no-repeat;
    transition: transform .3s var(--ease);
    content: "";
}
.tk-adv-faq details[open] summary::after { transform: rotate(45deg); }
.tk-adv-faq-a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    margin: 0 clamp(18px, 2.2vw, 28px);
    padding: 18px 0 22px;
    border-top: 1px dashed var(--adv-line);
}
.tk-adv-faq-a::before { background: var(--adv-tint); color: var(--adv-accent); content: "A"; }
.tk-site .tk-adv-faq-a p { font-size: 14.5px; }
.tk-site .tk-adv-faq-a p + p { margin-top: 8px; }

/* ---------- Inline CTA ---------- */
.tk-adv-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px clamp(24px, 4vw, 64px);
    padding: clamp(26px, 3.2vw, 46px) clamp(22px, 4vw, 60px);
    border-radius: calc(var(--radius) * 1.3);
    background: var(--adv-accent);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.tk-adv-cta::before {
    position: absolute;
    right: -6%;
    top: -60%;
    z-index: -1;
    width: 46%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(255, 255, 255, .05), 0 0 0 80px rgba(255, 255, 255, .04);
    content: "";
}
.tk-site .tk-adv-cta p.tk-adv-cta-title { color: #fff; font-size: clamp(19px, 1.9vw, 27px); font-weight: 800; line-height: 1.5; }
.tk-site .tk-adv-cta p { margin-top: 6px; color: #f4f7fb; font-size: 14px; }
.tk-adv-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tk-site .tk-adv-cta .tk-button { background: #fff; color: var(--adv-ink); }
.tk-site .tk-adv-cta .tk-button .tk-arrow { color: var(--adv-accent); }
.tk-site .tk-adv-cta .tk-button:is(:hover, :focus-visible) { background: var(--adv-ink); color: #fff; }
.tk-site .tk-adv-cta-tel { display: grid; color: #fff; font: 800 24px/1.1 var(--latin); letter-spacing: .01em; }
.tk-adv-cta-tel small { margin-top: 4px; color: #f4f7fb; font: 500 11.5px/1.4 var(--jp); }

/* ---------- Buttons on page accent ---------- */
.tk-adv .tk-button--ghost .tk-arrow { color: var(--adv-accent); }

/* ---------- Related ---------- */
.tk-adv-related { padding-bottom: var(--space-sm); }
.tk-site .tk-adv-related h2 { margin-bottom: 12px; font-size: 19px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .tk-adv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tk-adv-steps li:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
    .tk-adv-intro, .tk-adv-split, .tk-adv-head--split { grid-template-columns: minmax(0, 1fr); }
    .tk-adv-split--reverse > figure { order: 0; }
    .tk-adv-intro-photo { order: -1; }
    .tk-adv-intro-photo > img { aspect-ratio: 1.5; }
    .tk-adv-float { left: 12px; bottom: 12px; }
    .tk-adv-checks, .tk-adv-features { grid-template-columns: minmax(0, 1fr); }
    .tk-adv-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
    .tk-adv-points > li { grid-template-columns: 52px minmax(0, 1fr); }
    .tk-adv-points > li > p { grid-column: 2; }
}

@media (max-width: 640px) {
    .tk-adv-intro-photo::before { inset: 12px -10px -12px 12px; }
    .tk-adv-badges { grid-template-columns: minmax(0, 1fr); }
    .tk-adv-badges li + li { padding-left: 0; border-left: 0; }
    .tk-adv-badges li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--adv-line); }
    .tk-adv-actions > * { flex: 1 1 100%; }
    .tk-adv-grid, .tk-adv-steps { grid-template-columns: minmax(0, 1fr); }
    .tk-adv-steps li::after { display: none; }
    .tk-adv-rows > div { grid-template-columns: minmax(0, 1fr); }
    .tk-adv-timeline > li { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; }
    .tk-adv-tl-when { grid-column: 2; grid-row: 1; padding-top: 0; text-align: left; }
    .tk-adv-tl-dot { grid-column: 1; grid-row: 1 / span 2; }
    .tk-adv-tl-body { grid-column: 2; }
    .tk-adv-timeline > li::after { left: 21px; }
    .tk-adv-answer { grid-template-columns: minmax(0, 1fr); }
    .tk-adv-cta { grid-template-columns: minmax(0, 1fr); }
    .tk-adv-cta-actions .tk-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .tk-adv-card, .tk-adv-faq summary::after { transition: none; }
}

/* リンクのない項目は、カード全体を持ち上げず、配色やアイコンで反応を示す。 */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .tk-adv :is(.tk-adv-checks li, .tk-adv-tl-body, .tk-adv-steps li, .tk-adv-points > li, .tk-adv-rows > div) {
        transition: background-color .22s ease, border-color .22s ease;
    }

    .tk-adv .tk-adv-card:hover {
        border-color: color-mix(in srgb, var(--adv-accent) 37%, var(--adv-line));
        box-shadow: 0 13px 28px -24px color-mix(in srgb, var(--adv-ink) 55%, transparent);
    }

    .tk-adv :is(.tk-adv-checks li, .tk-adv-tl-body, .tk-adv-steps li, .tk-adv-points > li, .tk-adv-rows > div):hover {
        background-color: var(--adv-tint);
    }

    .tk-adv :is(.tk-adv-card-icon .tk-icon, .tk-adv-features-top .tk-icon),
    .tk-adv-checks li::before {
        transition: transform .28s var(--ease);
    }

    .tk-adv :is(.tk-adv-card:hover .tk-adv-card-icon .tk-icon, .tk-adv-features > li:hover .tk-adv-features-top .tk-icon) {
        transform: scale(1.09);
    }

    .tk-adv-checks li:hover::before { transform: scale(1.08); }
}
