/* ===========================
   Base
   =========================== */
html { font-size: 62.5%; }
body { font-family: "M PLUS Rounded 1c", sans-serif; color: #222; background: #fff; font-feature-settings: "palt"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; isolation: isolate; }

.container { max-width: 1200px; padding: 0 16px; margin: 0 auto; }

.section__head { margin-bottom: 32px; }
.section__title { display: inline-flex; align-items: center; gap: 8px; font-size: 2.4rem; line-height: 1.4; font-weight: 700; }
.section__title .mi { font-size: 3.8rem; }
.section__desc { color: #444; font-size: 1.6rem; line-height: 1.6; margin-top: 8px; }
.section__more { text-align: center; margin-top: 32px; }

.page-hero { margin-top: 32px; }
.page-hero .section__desc { margin-top: 16px; }

.bullets { margin: 0 0 12px 0; }
.bullets li { position: relative;  font-size: 1.6rem; line-height: 1.6; padding-left: 24px; margin: 8px 0; color: #444; }
.bullets li::before { content: ""; position: absolute; left: 8px; top: 0.8em; width: 8px; height: 8px; border-radius: 50%; background: #e68a2e; transform: translateY(-50%); }
.bullets li a { color: #0066cc; transition: .3s ease; }
.bullets li a:hover { opacity: .5; }

.list-ol { list-style: decimal; margin: 10px 0 0 1.6em; display: grid; gap: 8px; font-size: 1.6rem; line-height: 1.6; }

.pr__text { display: inline-block; font-size: 1.4rem; color: #666; margin-top: 16px; }

.arrow-link { position: relative; display: inline-block; padding: 0 0 0 16px;vertical-align: middle; font-size: 1.6rem; line-height: 1.6; font-weight: 700; color: #1e82be; transition: .3s ease; }
.arrow-link::before { position: absolute; top: 0; bottom: 0; left: 0; margin: auto; content: ""; vertical-align: middle; left: 0; width: 8px; height: 8px; border-top: 2px solid #666; border-right: 2px solid #666; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.arrow-link:hover { opacity: .5; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .section__title { font-size: 2.2rem; }
  .section__title .mi { font-size: 2.4rem; }
}

/* ===========================
   Buttons & Icons
   =========================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 24px; border-radius: 999px; background: #05574f; color: #fff; font-size: 1.6rem; font-weight: 700; border: 2px solid #05574f; transition: .3s ease; }
.btn:hover { background: transparent; color: #05574f; }
.btn--outline { background: transparent; color: #05574f; border-color: #05574f; }
.btn--outline:hover { background: #05574f; color: #fff; }
.btn--sm { padding: 8px 16px; font-weight: 700; }
.mi { font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; font-size: 2.4rem; line-height: 1; display: inline-flex; }

/* ===========================
   Header
   =========================== */
.site-header { position: sticky; top: 0; z-index: 2000; height: 64px; background: #fff; border-bottom: 1px solid #e8e6e0; }
.site-header__inner { display: flex; height: 100%; gap: 16px; align-items: center; justify-content: space-between; }
.site-header__brand { font-size: 3.2rem; font-weight: 700; }
.site-header__nav { display: flex; gap: 24px; align-items: center; z-index: 1000; box-shadow: none; }
.site-header__nav a { font-size: 1.6rem; font-weight: 700; transition: .3s ease; }
.site-header__nav a:hover { color: #e68a2e; }
.site-header__nav--home { display: none; }
.site-header__toggle { display: none; position: relative; width: 40px; height: 40px; border: none; background: #fff; }
.site-header__burger { position: absolute; inset: 0; margin: auto; width: 22px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 0 currentColor, 0 6px 0 0 currentColor; }
.site-header__scrim { position: fixed; inset: 0; z-index: 900; opacity: 0; background: rgba(0,0,0,.35); backdrop-filter: blur(2px); }
.site-header__ranking-link { display: none; align-items: center; gap: 0; font-size: 1.4rem; font-weight: 700; color: #e68a2e; margin-left: auto; margin-right: 16px; transition: .5s ease; }
.site-header__ranking-link:hover { opacity: .5; }
.site-header__ranking-link .mi { font-size: 1.8rem; line-height: 1; }

@media (max-width: 900px) {
  .site-header { height: 48px; }
  .site-header__inner { gap: 0; }
  .site-header__brand { font-size: 2.4rem; }
  .site-header__toggle { display: inline-block; order: 2; }
  .site-header__nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw,360px); padding: 72px 24px 24px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; background: #fff; border-left: 1px solid #e8e6e0; transform: translateX(100%); }
  .site-header__nav a { display: block; width: 100%; font-size: 1.8rem; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .site-header__nav--home { display: initial; }
  .site-header__scrim[hidden] { display: none; }
  .site-header__ranking-link { display: flex; order: 1; }
  body.is-nav-open .site-header__scrim { display: block; opacity: 1; }
  body.is-nav-open .site-header__nav { box-shadow: -8px 0 24px rgba(0,0,0,.08); transform: translateX(0); }
}
@media (prefers-reduced-motion: no-preference) { .site-header__nav { transition: transform .25s ease; } .site-header__scrim { transition: opacity .2s ease; } }

/* ===========================
   Home
   =========================== */
/* ============ Hero ============ */
.hero { position: relative; overflow: clip; height: 25vw; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 70%; }
.hero__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; height: 100%; align-items: center; }
.hero__title { display: flex; flex-direction: column; gap: .25em; font-size: 3.2vw; font-weight: 700; margin: 0 0 .2em 0; }
.hero__line { width: fit-content; background: #fff; padding: .1em .2em; }

@media (max-width: 900px) {
  .hero { height: 240px; }
  .hero__bg img { object-position: 50% 50%; }
  .hero__inner { height: 70%; }
  .hero__title { font-size: 3.0rem; }
}

/* ============ FAQ ============ */
.home-faq { padding: 40px 0; background: #fff; }

/* ============ Columns ============ */
.home-columns { padding: 40px 0; background: #faf7f2; }

/* ============ AI ============ */
.home-ai { padding: 40px 0; background: #fff; }

/* ===========================
   Ranking types
   =========================== */
.ranking-types { padding: 40px 0; background: #f9f8f5; }
.ranking-types__items { display: flex; flex-wrap: wrap; gap: 16px; }
.ranking-types__item { flex: 1 1 calc((100% - 32px) / 3); max-width: calc((100% - 32px) / 3); background: #fff; border: 1px solid #e8e6e0; border-radius: 16px; box-shadow: 0 8px 16px rgba(0,0,0,.06); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.ranking-types__name { font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ranking-types__desc { font-size: 1.5rem; line-height: 1.6; }
.ranking-types__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #fff8ef; color: #c46917; font-size: 1.2rem; font-weight: 700; }
.ranking-types__list { counter-reset: rank; display: flex; flex-direction: column; gap: 8px; }
.ranking-types__list a { position: relative; display: block; padding: 16px 8px 16px 40px; border-radius: 8px; border: 1px solid #e8e6e0; background: #fff; font-size: 1.6rem; font-weight: 700; color: #222; transition: .3s ease; }
.ranking-types__list a:hover { background: #fff7ed; border-color: #f0d4b1; }
.ranking-types__list a::before { counter-increment: rank; content: counter(rank); position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: #fff; background: #e68a2e; }
.ranking-types__list li:nth-child(n+4) a::before { background: #e8d8c3; color: #6b5a47; }
.ranking-types__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 2px solid #e68a2e; color: #e68a2e; font-size: 1.4rem; font-weight: 700; background: #fff; transition: .3s ease; }
.ranking-types__link:hover { background: #e68a2e; color: #fff; }
.ranking-types__more { text-align: center; }
.ranking-note { border: 1px solid #f0d4b1; border-radius: 16px; background: #fff8ef; padding: 16px; margin-top: 32px; }
.ranking-note__title { font-size: 1.6rem; font-weight: 700; color: #9d5a14; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ranking-note__text { font-size: 1.5rem; line-height: 1.6; }

@media (max-width: 900px) {
  .ranking-types__item { flex: 1 1 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
  .ranking-types__item { flex: 1 1 100%; max-width: 100%; }
}

/* ===========================
   Ranking Table
   =========================== */
.ranking-table { padding: 40px 0; background: #faf7f2; }
.ranking-table__title { font-size: 1.8rem; font-weight: 7800; margin-bottom: 16px; }
.ranking-table__wrap { overflow-x: auto; border: 1px solid #e8e6e0; background: #fff; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.ranking-table__table { width: 100%; border-collapse: collapse; min-width: 1280px; table-layout: auto; }
.ranking-table thead th { position: sticky; top: 0; background: #d9eef3; text-align: left; padding: 10px; font-size: 1.4rem; font-weight: 700; color: #444; border-bottom: 1px solid #e8e6e0; white-space: nowrap; }
.ranking-table tbody td { padding: 12px 10px; border-top: 1px solid #e8e6e0; vertical-align: middle; font-size: 1.4rem; white-space: nowrap; }
.ranking-table__rank { width: 64px; text-align: center; }
.ranking-table__rank-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 1.2rem; font-weight: 700; color: #fff; background: #e68a2e; }
.ranking-table tbody tr:nth-child(n+4) .ranking-table__rank-icon { background: #e8d8c3; color: #6b5a47; }
.ranking-table__name { color: #1e82be; font-size: 1.6rem; font-weight: 700; text-decoration: none; }
.ranking-table__name:hover { text-decoration: underline; }
.ranking-table__bar { --val: 0; position: relative; width: 72px; height: 10px; background: #f2f2f2; border-radius: 999px; overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 6px; }
.ranking-table__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--val) * 1%); background: #e68a2e; }
.ranking-table__num { font-variant-numeric: tabular-nums; font-size: 1.4rem; color: #666666; }
.ranking-table__tools { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; width: 100%; min-height: 24px; }
.ranking-table__tool { display: inline-flex; align-items: center; gap: 4px; background: #f4eadb; color: #9d5a14; border-radius: 999px; padding: 2px 8px; font-size: 1.3rem; }
.ranking-table__tool-icon { font-size: 18px; line-height: 1; }
.ranking-table__score { font-weight: 800; text-align: right; font-size: 1.6rem; }

/* ===========================
   Footer
   =========================== */
.site-footer { background: #333; color: #fff; padding: 56px 0; }
.site-footer__inner { display: flex; flex-direction: column; gap: 40px; align-items: center; text-align: center; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.site-footer__link { color: #fff; font-size: 1.6rem; transition: .3s ease; }
.site-footer__link:hover { opacity: .5; }
.site-footer__about { display: flex; flex-direction: column; gap: 8px; }
.site-footer__title { font-size: 1.5rem; line-height: 1.6; font-weight: 700; color: #ddd; margin-bottom: 8; }
.site-footer__text { font-size: 1.5rem; line-height: 1.6; color: #ccc; }
.site-footer__copy { text-align: center; font-size: 1.4rem; color: #999; }

@media (max-width: 900px) {
  .site-footer__text { text-align: left; }
}

/* ===========================
   Breadcrumb
   =========================== */
.breadcrumb { background: #05574f; }
.breadcrumb .container { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.breadcrumb__list { display: inline-flex; align-items: center; gap: 24px; white-space: nowrap; min-height: 40px; padding: 8px 0; }
.breadcrumb__item { display: inline-flex; align-items: center; gap: 4px; font-size: 1.5rem; line-height: 1; color: #82aba7; flex: 0 0 auto; }
.breadcrumb__item a { display: inline-flex; align-items: center; gap: 4px; color: #fff; transition: color .3s ease; }
.breadcrumb__item a:hover { color: #82aba7; }
.breadcrumb__item .mi { font-size: 1.4em; line-height: 1; vertical-align: middle; }

/* ===========================
   CTA Box
   =========================== */
.ranking-cta { padding: 40px 0; background: #fff; }
.ranking-cta__title { font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; }
.types-cta { padding: 24px 0; background: #faf7f2; }
.types-cta__title { font-size: 2.2rem; font-weight: 700; padding-bottom: 16px; }

.cta-box__container { display: flex; flex-wrap: wrap; gap: 24px; }
.cta-box { display: flex; align-items: center; gap: 24px; background-color: #fffbfc; border: 1px solid #f7cfe0; border-radius: 16px; padding: 16px; transition: .3s ease; }
.cta-box__media { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cta-box__media img { width: 100%; height: auto; max-width: 300px; max-height: 250px; object-fit: cover; display: block; }
.cta-box__text { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.cta-box__title { font-size: 1.9rem; line-height: 1.4; font-weight: 700; }
.cta-box__desc { font-size: 1.5rem; line-height: 1.6; }
.cta-box__btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; margin-left: auto; margin-right: auto; padding: 16px 24px; border-radius: 999px; background: #c62828; color: #fff; font-size: 1.6rem; font-weight: 700; border: 2px solid #c62828; margin-top: 8px; transition: .3s ease; }
.cta-box:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.cta-box:hover .cta-box__title { color: #c62828; transition: .3s ease; }
.cta-box:hover .cta-box__media img { filter: brightness(1.05) saturate(1.1); }
.cta-box:hover .cta-box__btn { background: transparent; color: #c62828; border-color: #c62828; }

@media (max-width: 1100px) {
  .cta-box { flex-direction: column; align-items: stretch; gap: 16px; padding: 24px 16px; }
  .cta-box__title { font-size: 2.0rem; }
  .cta-box__desc { font-size: 1.6rem; }
}

/* ===========================
   intlinks
   =========================== */
.intlinks { padding: 40px 0; background: #444; }
.intlinks__card { display: flex; flex-wrap: wrap; gap: 16px; }
.intlinks__item { flex: 1 1 calc((100% - 48px) / 4); max-width: calc((100% - 48px) / 4); }
.intlinks__link { display: flex; flex-direction: column; background: #fff; overflow: hidden; color: inherit; height: 100%; border-radius: 8px; transition: .3s ease; }
.intlinks__media { aspect-ratio: 16 / 9; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; overflow: hidden; }
.intlinks__label { position: relative; z-index: 2; color: #fff; font-weight: 800; font-size: 2.0rem; text-align: center; letter-spacing: .02em; padding: 0 16px; }
.intlinks__icon { position: absolute; right: -8px; bottom: -16px; z-index: 1; font-size: clamp(80px, 22vw, 200px); opacity: .12; transform: rotate(20deg); line-height: 1; pointer-events: none; transition: .3s ease; }
.intlinks__body { display: grid; gap: 8px; padding: 16px; }
.intlinks__title { font-size: 1.8rem; font-weight: 700; line-height: 1.4; transition: color .3s ease; }
.intlinks__desc { font-size: 1.5rem; line-height: 1.6; }
.intlinks__media--rank { background: #1e82be; }
.intlinks__media--ai { background: #6b4fd8; }
.intlinks__media--column { background: #f18f01; }
.intlinks__media--types { background: #1a936f; }
.intlinks__link:hover .intlinks__icon { transform: rotate(20deg) scale(1.1); opacity: .18; }
.intlinks__media--rank ~ .intlinks__body .intlinks__title { --hover-color: #1e82be; }
.intlinks__media--ai ~ .intlinks__body .intlinks__title { --hover-color: #6b4fd8; }
.intlinks__media--column ~ .intlinks__body .intlinks__title { --hover-color: #f18f01; }
.intlinks__media--types ~ .intlinks__body .intlinks__title { --hover-color: #1a936f; }
.intlinks__link:hover .intlinks__title { color: var(--hover-color); }
@media (max-width: 900px) {
  .intlinks__item { flex: 1 1 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
  .intlinks__icon { font-size: 28vw; }
}
@media (max-width: 600px) {
  .intlinks__label { font-size: 1.8rem; }
}

/* ===========================
   Types
   =========================== */
.type-groups { padding: 40px 0; background: #faf7f2; }
.type-groups__group + .type-groups__group { border-top: 1px solid #e2e0dc; margin-top: 32px; padding-top: 32px; }
.type-groups__title { font-size: 1.5rem; margin-bottom: 24px; }
.type-groups__subtitle { display: inline-flex; align-items: center; gap: 8px; font-size: 2.2rem; font-weight: 700; margin-bottom: 24px; color: #222; }
.type-groups__desc { font-size: 1.5rem; line-height: 1.6; margin-bottom: 16px; }
.type-groups__more { margin-top: 24px; }
.type-groups__link { display: inline-flex; align-items: center; gap: 6px; font-size: 1.6rem; font-weight: 700; color: #1e82be; transition: .3s ease; }
.type-groups__link:hover { opacity: .5; }

@media (max-width: 900px) {
  .type-groups__group + .type-groups__group { margin-top: 24px; padding-top: 24px; }
}

.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.type-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; transition: box-shadow 0.2s ease, transform 0.2s ease; overflow: hidden; }
.type-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.type-card__link { display: flex; flex-direction: column; height: 100%; padding: 20px; color: inherit; }
.type-card__title { font-size: 1.8rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.type-card__desc { font-size: 1.5rem; line-height: 1.6; margin-bottom: 12px; }

@media (max-width: 900px) {
  .type-grid { grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); gap: 8px; }
  .type-card__title { font-size: 1.6rem; }
  .type-card__desc { font-size: 1.4rem; }
}

/* ===========================
   Type Detail
   =========================== */

/* ============ Title ============ */
.type-title { font-size: 3.4rem; line-height: 1.4; font-weight: 700; }
.type-desc { font-size: 1.8rem; line-height: 1.6; margin-top: 16px; }

@media (max-width: 900px) {
  .type-title { font-size: 2.4rem; }
  .type-desc { font-size: 1.6rem; }
}

/* ============ Scores ============ */
.type-scores { margin-bottom: 16px; }
.type-scores__card { background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; padding: 24px; }
.type-scores__title { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.type-scores__list { display: flex; flex-direction: column; gap: 8px; }
.type-scores__row { display: flex; align-items: center; gap: 8px; }
.type-scores__name { width: 110px; flex: 0 0 110px; font-size: 1.6rem; font-weight: 700; }
.type-scores__bar { position: relative; flex: 1 1 auto; height: 32px; border-radius: 999px; background: #faf7f2; border: 1px solid #e8e6e0; display: flex; align-items: center; padding: 0 12px; }
.type-scores__fill { position: absolute; inset: 0; width: calc(var(--val, 0) * 1%); max-width: 100%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f1b477 0%, #e68a2e 100%); border-right: 1px solid rgba(0,0,0,.06); }
.type-scores__value { flex: 0 0 auto; margin-left: 4px; font-size: 1.6rem; font-weight: 700; }
.type-scores__note { color: #444; font-size: 1.4rem; line-height: 1.6; margin-top: 8px; }

/* ============ Content ============ */
.types-content section { margin-bottom: 8px; }

@media (max-width: 900px) {
  .types-content { margin: auto -16px;}
}

/* ============ Summary ============ */
.type-summary { padding: 16px 0 24px 0; background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; }
.type-summary__head { margin-bottom: 16px; }
.type-summary__title { font-size: 1.8rem; line-height: 1.4; font-weight: 800; margin-bottom: 24px; }
.type-summary__lead { font-size: 1.6rem; line-height: 1.6; }
.type-summary__flex { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.type-summary__card { flex: 1 1 560px; min-width: 300px; background: #fff; border: 1px solid #e8e6e0; border-radius: 16px; padding: 16px; }
.type-summary__card-title { display: inline-flex; align-items: center; gap: 8px; font-size: 2.0rem; font-weight: 700; margin-bottom: 8px; }
.type-summary__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.type-summary__chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 16px 6px 8px; border-radius: 999px; background: #fff8ef; color: #9d5a14; border: 1px solid #f0d4b1; font-size: 1.4rem; font-weight: 700; vertical-align: middle; }
.type-summary__chip .mi { display: inline-flex; align-items: center; justify-content: center; width: 1.4em; height: 1.4em; font-size: 1.6rem; flex: 0 0 auto; }

.type-summary__stats { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; box-sizing: border-box; }
.type-summary__kpi { background: #fff8ef; border: 1px solid #f0d4b1; border-radius: 16px; padding: 16px; flex: 1 1 calc(50% - 8px); box-sizing: border-box; }
.type-summary__kpi__label { font-size: 1.6rem; font-weight: 700; color: #9d5a14; display: block; margin-bottom: 12px; }
.type-summary__kpi__value { font-size: 2.2rem; font-weight: 700; display: block; }
.type-summary__kpi__value span { font-size: 1.4rem; font-weight: 700; color: #444; margin-left: 4px; }
.type-summary__kpi__note { font-size: 1.5rem; line-height: 1.6; color: #444; margin-top: 8px; }

.type-earnings { order: 3; flex: 0 0 100%; background: #fff; border: 1px solid #e8e6e0; border-radius: 16px; padding: 16px; }
.type-earnings__title { display: inline-flex; align-items: center; gap: 8px; font-size: 2.0rem; font-weight: 700; margin-bottom: 8px; }
.type-earnings__lead { font-size: 1.6rem; line-height: 1.6; margin-bottom: 16px; }
.type-earnings__cards { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; box-sizing: border-box; }
.type-earnings__card { display: flex; flex-direction: column; gap: 16px; background: #fff8ef; border: 1px solid #f0d4b1; border-radius: 16px; padding: 16px; flex: 1 1 calc(50% - 8px); box-sizing: border-box; }
.type-earnings__label { font-size: 1.6rem; font-weight: 700; color: #9d5a14; }
.type-earnings__kv { font-size: 1.3rem; line-height: 1.4; }
.type-earnings__approx { display: inline-flex; align-items: baseline; }
.type-earnings__approx span { font-size: 1.4rem; color: #444; }
.type-earnings__approx strong { font-size: 2.1rem; font-weight: 800; color: #222; }
.type-earnings__note { font-size: 1.3rem; line-height: 1.6; color: #444; }
.type-earnings__disclaimer { font-size: 1.4rem; line-height: 1.6; color: #444; margin-top: 16px; }

@media (max-width: 900px) {
  .type-summary { border-left: none; border-right: none; border-radius: 0; }
  .type-summary__stats { flex-direction: column; }
  .type-summary__kpi { flex: 1 1 100%; width: 100%; }
  .type-earnings__cards { flex-direction: column; }
  .type-earnings__card { flex: 1 1 100%; width: 100%; }
}

/* ============ Tasks ============ */
.type-tasks { padding: 16px 0 24px 0; background: #fff; border: 1px solid #e5e5e5; }
.type-tasks__title { font-size: 1.8rem; line-height: 1.4; font-weight: 800; margin-bottom: 24px; }
.type-tasks__list { display: flex; flex-wrap: wrap; gap: 16px; }
.type-tasks__item { flex: 1 1 460px; min-width: 280px; display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #e8e6e0; border-radius: 16px; padding: 16px; }
.type-tasks__icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; font-size: 3.2rem; color: #05574f; }
.type-tasks__name { font-size: 1.7rem; font-weight: 700; }
.type-tasks__text { font-size: 1.5rem; line-height: 1.6; margin-top: 8px; }
.type-tasks__body { display: flex; flex-direction: column; }

@media (max-width: 900px) {
  .type-tasks { border-left: none; border-right: none; }
}

/* ============ Aspects ============ */
.type-aspects { padding: 16px 0 24px 0; background: #fff; border: 1px solid #e5e5e5; }
.type-aspects__title { font-size: 1.8rem; line-height: 1.4; font-weight: 800; margin-bottom: 24px; }
.type-aspects__list { display: flex; flex-wrap: wrap; gap: 16px; }
.type-aspects__item { flex: 1 1 320px; min-width: 280px; background: #fff; border: 1px solid #e8e6e0; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.type-aspects__name { display: inline-flex; align-items: center; gap: 8px; font-size: 1.7rem; line-height: 1.6; font-weight: 700; }
.type-aspects__name .mi { font-size: 2.0rem; color: #c46917; }
.type-aspects__text { font-size: 1.5rem; line-height: 1.6; color: #444; }
.type-aspects__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.type-aspects__chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 16px 6px 8px; border-radius: 999px; background: #fff8ef; color: #9d5a14; border: 1px solid #f0d4b1; font-size: 1.3rem; font-weight: 700; vertical-align: middle; }
.type-aspects__chip .mi { display: inline-flex; align-items: center; justify-content: center; width: 1.4em; height: 1.4em; font-size: 1.6rem; flex: 0 0 auto; }

@media (max-width: 900px) {
  .type-aspects { border-left: none; border-right: none; }
}

/* ============ AI ============ */
.type-ai { padding: 16px 0 24px 0; background: #fff; border: 1px solid #e5e5e5; }
.type-ai__head { margin-bottom: 16px; }
.type-ai__title { font-size: 1.8rem; line-height: 1.4; font-weight: 800; margin-bottom: 24px; }
.type-ai__lead { font-size: 1.6rem; line-height: 1.6; }
.type-ai__overall { display: flex; align-items: center; gap: 16px; margin: 32px 0; }
.type-ai__label { font-size: 1.6rem; font-weight: 700; }
.type-ai__gauge { position: relative; flex: 1 1 auto; height: 36px; border-radius: 999px; background: #fff; border: 1px solid #e8e6e0; display: flex; align-items: center; padding: 0 16px; }
.type-ai__fill { position: absolute; inset: 0; width: calc(var(--val, 0) * 1%); max-width: 100%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #37c3e2 0%, #00abd0 100%); border-right: 1px solid rgba(0,0,0,.06); }
.type-ai__value { position: relative; z-index: 1; margin-left: auto; font-size: 1.6rem; font-weight: 700; }
.type-ai__list { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.type-ai__item { flex: 1 1 320px; min-width: 280px; background: #fff; border: 1px solid #e8e6e0; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.type-ai__name { font-size: 1.5rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.type-ai__text { font-size: 1.5rem; line-height: 1.6; color: #444; }
.type-ai__chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 16px 6px 8px; border-radius: 999px; background: #fff8ef; color: #9d5a14; border: 1px solid #f0d4b1; font-size: 1.3rem; font-weight: 700; vertical-align: middle; }
.type-ai__note { font-size: 1.4rem; line-height: 1.6; color: #444; margin-top: 8px; }

@media (max-width: 900px) {
  .type-ai { border-left: none; border-right: none; }
}

/* ============ Steps ============ */
.type-steps { padding: 16px 0 24px 0; background: #fff; border: 1px solid #e5e5e5; }
.type-steps__title { font-size: 1.8rem; line-height: 1.4; font-weight: 800; margin-bottom: 24px; }
.type-steps__list { display: flex; flex-direction: column; gap: 16px; }
.type-steps__item { display: flex; gap: 16px; background: #fff; border: 1px solid #e8e6e0; border-radius: 16px; padding: 16px; align-items: flex-start; flex-wrap: nowrap; }
.type-steps__num { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #e68a2e; color: #fff; font-weight: 700; font-size: 1.6rem; flex: 0 0 40px; min-width: 40px; flex-shrink: 0; }
.type-steps__body { flex: 1 1 auto; min-width: 0; }
.type-steps__item-title { font-size: 1.8rem; line-height: 1.6; font-weight: 700; margin-bottom: 8px; }
.type-steps__text { font-size: 1.5rem; line-height: 1.6; }
.type-steps .bullets { margin-top: 8px; }

@media (max-width: 900px) {
  .type-steps { border-left: none; border-right: none; }
  .type-steps__item { flex-wrap: wrap; }
  .type-steps__body { flex: 1 1 100%; }
}

/* ============ Pitfalls ============ */
.type-pitfalls { padding: 16px 0 24px 0; background: #fff; border: 1px solid #e5e5e5; }
.type-pitfalls__title { font-size: 1.8rem; line-height: 1.4; font-weight: 800; margin-bottom: 24px; }
.type-pitfalls__list { display: flex; flex-wrap: wrap; gap: 18px; }
.type-pitfalls__item { flex: 1 1 360px; min-width: 280px; display: flex; gap: 8px; align-items: flex-start; background: #fff; border: 1px solid #e8e6e0; border-radius: 16px; padding: 16px; }
.type-pitfalls__icon { font-size: 2.2rem; color: #c46917; }
.type-pitfalls__name { font-size: 1.8rem; font-weight: 700; color: #9d5a14; }
.type-pitfalls__text { font-size: 1.5rem; line-height: 1.6; color: #444; margin-top: 8px; }
.type-pitfalls__body { display: flex; flex-direction: column; }

@media (max-width: 900px) {
  .type-pitfalls { border-left: none; border-right: none; }
}

/* ============ FAQ ============ */
.type-faq { padding: 16px 0 24px 0; background: #fff; border: 1px solid #e5e5e5; }
.type-faq__title { font-size: 2.0rem; font-weight: 800; margin-bottom: 24px; }
.type-faq__item { background: #fff; border: 1px solid #e8e6e0; padding: 16px; margin: 8px 0; }
.type-faq__q { font-size: 1.8rem; line-height: 1.6; font-weight: 700; }
.type-faq__a { font-size: 1.6rem; line-height: 1.6; margin-top: 8px; }

@media (max-width: 900px) {
  .type-faq { border-left: none; border-right: none; }
  .type-faq__q { font-size: 1.6rem; }
}

/* ===============================
   Section Accordion
   =============================== */
section.type-tasks,
section.type-aspects,
section.type-ai,
section.type-steps,
section.type-pitfalls,
section.type-faq {
  overflow: hidden;
  transition: max-height .28s ease;
  will-change: max-height;
}

section.type-tasks h2,
section.type-aspects h2,
section.type-ai h2,
section.type-steps h2,
section.type-pitfalls h2,
section.type-faq h2 {
  cursor: pointer;
  position: relative;
  padding-right: 32px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

section.type-tasks h2::after,
section.type-aspects h2::after,
section.type-ai h2::after,
section.type-steps h2::after,
section.type-pitfalls h2::after,
section.type-faq h2::after {
  content: "expand_more";
  font-family: "Material Symbols Rounded", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.2rem;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transition: transform .25s ease;
}

section.type-tasks[data-expanded="true"] h2::after,
section.type-aspects[data-expanded="true"] h2::after,
section.type-ai[data-expanded="true"] h2::after,
section.type-steps[data-expanded="true"] h2::after,
section.type-pitfalls[data-expanded="true"] h2::after,
section.type-faq[data-expanded="true"] h2::after {
  transform: translateY(-50%) rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
  section.type-tasks,
  section.type-aspects,
  section.type-ai,
  section.type-steps,
  section.type-pitfalls,
  section.type-faq { transition: none; }
}

/* ===========================
   Category chips
   =========================== */
.cats { padding: 40px 0; background: #fff; }
.cats__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cats__chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #fff8ef; color: #9d5a14; border: 1px solid #f0d4b1; font-size: 1.4rem; font-weight: 700; transition: .3s ease; }
.cats__chip:hover { background: #e68a2e; color: #fff; }
.cats__chip .mi { font-size: 1.8rem; }

/* ===========================
   About
   =========================== */
.about { padding: 40px 0; background: #faf7f2; }
.about__section-title { font-size: 2.0rem; line-height: 1.6; font-weight: 700; margin-bottom: 16px; }
.about__table { border: 1px solid #e5e5e5; border-radius: 16px; overflow: hidden; background: #fff; }
.about__table-inner { width: 100%; }
.about__table-body { }
.about__table-row { border-top: 1px solid #f0f0f0; }
.about__table-row:first-child { border-top: none; }
.about__table-th { font-size: 1.6rem; line-height: 1.6; font-weight: 700; width: 28%; padding: 16px 16px; vertical-align: top; background: #fafafa; }
.about__table-td { font-size: 1.6rem; line-height: 1.6; width: 72%; padding: 16px 16px; vertical-align: top; }
.about__table-link { font-size: 1.6rem; line-height: 1.6; text-decoration: underline; text-underline-offset: 2px; }
.about__profile { padding: 40px 0 }
.about__profile-body { display: flex; align-items: flex-start; gap: 24px; }
.about__profile-media { flex: 0 0 auto; }
.about__profile-img { display: block; width: 120px; height: 120px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; }
.about__profile-title { font-size: 2.0rem; line-height: 1.6; font-weight: 700; margin-bottom: 12px; }
.about__profile-link { font-weight: 700; color: #1e82be; transition: .3s ease; }
.about__profile-link:hover { opacity: .5; }
.about__profile-text { font-size: 1.6rem; line-height: 1.6; }

@media (max-width: 900px) {
  .about__section-title { font-size: 1.8rem; }
  .about__table-th { font-size: 1.4rem; width: 36%; }
  .about__table-td { font-size: 1.5rem; width: 64%; }
  .about__profile-title { font-size: 1.8rem; }
  .about__profile-body { flex-direction: column; align-items: center; gap: 16px; }
  .about__profile-media { }
  .about__profile-img { width: 160px; height: 160px; }
}

/* ===========================
   FAQ
   =========================== */
.faq { padding: 40px 0; background: #faf7f2; }
.faq__title { font-size: 2.0rem; line-height: 1.6; font-weight: 700; margin-bottom: 16px; }
.faq-group { background: transparent; margin-top: 28px; }
.faq-group:first-of-type { margin-top: 0; }
.faq-group__title { display: flex; align-items: center; gap: 8px; font-size: 1.8rem; line-height: 1.6; font-weight: 700; margin-bottom: 12px; }
.faq-group__title .mi { font-size: 1.4em; line-height: 1; vertical-align: middle; opacity: 0.9; }
.columns__link { font-size: 1.4rem; line-height: 1.6; color: #1e82be; text-decoration: underline; text-underline-offset: 2px; }

.faq__item { border: 1px solid #e5e5e5; border-radius: 14px; background: #fff; overflow: clip; transition: box-shadow .2s ease; }
.faq__item + .faq__item { margin-top: 10px; }
.faq__item[open] { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05); }

.faq__q { list-style: none; display: block; position: relative; cursor: pointer; font-size: 1.6rem; line-height: 1.6; font-weight: 700; padding: 16px 48px 16px 16px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-50%) rotate(-45deg); opacity: 0.6; transition: transform .2s ease, opacity .2s ease; }
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); opacity: 1; }
.faq__q:focus-visible { outline: 2px solid #1e82be; outline-offset: 2px; }
.faq__item:hover .faq__q { background: #fcfcfc; }

.faq__a { font-size: 1.6rem; line-height: 1.8; color: #333; padding: 14px 16px 16px 16px; border-top: 1px solid #f0f0f0; background: #fff; }

#cat-start .faq-group__title { color: #0e7a65; }
#cat-tax .faq-group__title { color: #5a4fb3; }
#cat-legal .faq-group__title { color: #a0493c; }
#cat-get .faq-group__title { color: #1e82be; }
#cat-media .faq-group__title { color: #cd1cfa; }
#cat-trouble .faq-group__title { color: #b35b00; }
#cat-tools .faq-group__title { color: #05574f; }
#cat-pay .faq-group__title { color: #8a2a7b; }
#cat-schedule .faq-group__title { color: #3a6f9b; }

@media (max-width: 900px) {
  .faq__title { font-size: 1.8rem; line-height: 1.6; margin-bottom: 12px; }
  .faq-group { margin-top: 24px; }
  .faq-group__title { font-size: 1.6rem; line-height: 1.6; margin-bottom: 10px; }
  .columns__link { font-size: 1.4rem; line-height: 1.6; }
  .faq__item { border-radius: 12px; }
  .faq__q { font-size: 1.6rem; line-height: 1.6; padding: 14px 44px 14px 14px; }
  .faq__a { font-size: 1.6rem; line-height: 1.8; padding: 12px 14px 14px 14px; }
}

/* ===========================
   Contact
   =========================== */
.contact { padding: 40px 0; background: #faf7f2; }
.contact__lead { font-size: 1.6rem; line-height: 1.6; margin-bottom: 16px; }
.contact__required-badge { font-size: 1.4rem; line-height: 1.6; margin-left: 4px; color: #ff0000; }
.contact__required { color: #ff0000; vertical-align: super; font-size: 1.3rem; line-height: 1; }

/* ============ Contact Form 7 base ============ */
form.wpcf7-form { display: flex; flex-direction: column; gap: 20px; background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; padding: 32px 48px; max-width: 720px; margin: 0 auto; }
form.wpcf7-form label { font-size: 1.6rem; line-height: 1.6; font-weight: 700; color: #333; display: block; margin-bottom: 8px; }
form.wpcf7-form input[type="text"], form.wpcf7-form input[type="email"], form.wpcf7-form textarea { display: block; width: 100%; font-size: 1.6rem; line-height: 1.6; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fafafa; transition: border-color .2s ease, background .2s ease; }
form.wpcf7-form input[type="text"]:focus, form.wpcf7-form input[type="email"]:focus, form.wpcf7-form textarea:focus { border-color: #1e82be; background: #fff; outline: none; }
form.wpcf7-form textarea { min-height: 160px; resize: vertical; }
form.wpcf7-form .wpcf7-acceptance { font-size: 1.4rem; line-height: 1.6; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #555; }
form.wpcf7-form .wpcf7-acceptance input[type="checkbox"] { width: 18px; height: 18px; accent-color: #1e82be; }
form.wpcf7-form .contact__policy-link { font-size: 1.6rem; line-height: 1.6; color: #1e82be; text-decoration: underline; text-underline-offset: 2px; }
form.wpcf7-form input[type="submit"] { font-size: 1.6rem; line-height: 1.6; font-weight: 700; color: #fff; background: #05574f; border: none; border-radius: 999px; padding: 12px 32px; align-self: center; transition: filter .2s ease; cursor: pointer; }
form.wpcf7-form input[type="submit"]:hover { filter: brightness(1.05); }
form.wpcf7-form input[type="submit"]:active { filter: brightness(0.9); }
form.wpcf7-form .wpcf7-response-output { font-size: 1.4rem; line-height: 1.6; color: #333; border: none; margin: 0; padding: 0; text-align: center; }

@media (max-width: 900px) {
  form.wpcf7-form { padding: 16px; border-radius: 12px; gap: 16px; max-width: 100%; }
  form.wpcf7-form textarea { min-height: 140px; }
}

.grecaptcha-badge { visibility: hidden; }

/* ===========================
   Contact Thanks
   =========================== */
.thanks { padding: 240px 0; background: #faf7f2; }
.thanks__body { display: flex; align-items: center; justify-content: center; gap: 40px; text-align: center; }
.thanks__title { font-size: 2.4rem; line-height: 1.4; font-weight: 700; color: #05574f; margin-bottom: 40px; }
.thanks__text { font-size: 1.6rem; line-height: 1.8; color: #333; margin-bottom: 40px; }
.thanks__actions { text-align: center; }
.thanks__btn { display: inline-block; font-size: 1.6rem; line-height: 1.6; font-weight: 700; color: #fff; background: #05574f; padding: 16px 24px; border-radius: 999px; transition: filter .2s ease; text-decoration: none; }
.thanks__btn:hover { filter: brightness(1.2); }

@media (max-width: 900px) {
  .thanks { padding: 40px 0; }
  .thanks__body { flex-direction: column; gap: 24px; text-align: left; }
  .thanks__title { font-size: 2.0rem; margin-bottom: 24px; }
  .thanks__text { margin-bottom: 24px; }
}

/* ===========================
   Privacy
   =========================== */
.privacy { padding: 40px 0; background: #faf7f2; }
.privacy__title { font-size: 2.0rem; line-height: 1.6; font-weight: 700; margin-bottom: 8px; }
.privacy__lead { font-size: 1.6rem; line-height: 1.6; color: #444; margin-bottom: 24px; }
.privacy__section { background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; padding: 24px; }
.privacy__section + .privacy__section { margin-top: 16px; }
.privacy__section-title { font-size: 1.8rem; line-height: 1.6; font-weight: 700; margin-bottom: 10px; }
.privacy__text { font-size: 1.6rem; line-height: 1.8; color: #333; }
.privacy__list { font-size: 1.6rem; line-height: 1.6; margin-top: 8px; }
.privacy__dt { font-size: 1.6rem; line-height: 1.6; font-weight: 700; margin-top: 6px; }
.privacy__dd { font-size: 1.6rem; line-height: 1.8; margin-top: 4px; color: #333; }
.privacy__bullets { font-size: 1.6rem; line-height: 1.6; padding-left: 1.2em; list-style: disc; }
.privacy__bullet { font-size: 1.6rem; line-height: 1.8; }
.privacy__link { font-size: 1.6rem; line-height: 1.6; text-decoration: underline; text-underline-offset: 2px; }
.privacy__updated { font-size: 1.4rem; line-height: 1.6; color: #666; margin-top: 16px; text-align: right; }

@media (max-width: 900px) {
  .privacy { padding: 32px 0; }
  .privacy__title { font-size: 1.8rem; }
  .privacy__section { padding: 16px; }
  .privacy__section + .privacy__section { margin-top: 12px; }
  .privacy__section-title { font-size: 1.7rem; }
  .privacy__updated { text-align: left; }
}

/* ===========================
   Disclaimer
   =========================== */
.disclaimer { padding: 40px 0; background: #faf7f2; }
.disclaimer__title { font-size: 2.0rem; line-height: 1.6; font-weight: 700; margin-bottom: 8px; }
.disclaimer__lead { font-size: 1.6rem; line-height: 1.6; color: #444; margin-bottom: 20px; }
.disclaimer__section { background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; padding: 24px; }
.disclaimer__section + .disclaimer__section { margin-top: 16px; }
.disclaimer__section-title { font-size: 1.8rem; line-height: 1.6; font-weight: 700; margin-bottom: 10px; }
.disclaimer__text { font-size: 1.6rem; line-height: 1.8; color: #333; }
.disclaimer__link { font-size: 1.6rem; line-height: 1.6; text-decoration: underline; text-underline-offset: 2px; }
.disclaimer__updated { font-size: 1.4rem; line-height: 1.6; color: #666; margin-top: 16px; text-align: right; }

@media (max-width: 900px) {
  .disclaimer__title { font-size: 1.8rem; }
  .disclaimer__section { padding: 16px; }
  .disclaimer__section + .disclaimer__section { margin-top: 12px; }
  .disclaimer__section-title { font-size: 1.7rem; }
  .disclaimer__updated { text-align: left; }
}

/* ===========================
   404 Not Found
   =========================== */
.notfound { padding: 240px 0; background: #faf7f2; }
.notfound__body { display: flex; align-items: center; justify-content: center; gap: 40px; text-align: center; }
.notfound__title { font-size: 2.4rem; line-height: 1.4; font-weight: 700; color: #05574f; margin-bottom: 40px; }
.notfound__text { font-size: 1.6rem; line-height: 1.8; color: #333; margin-bottom: 40px; }
.notfound__actions { text-align: center; }
.notfound__btn { display: inline-block; font-size: 1.6rem; line-height: 1.6; font-weight: 700; color: #fff; background: #05574f; padding: 16px 24px; border-radius: 999px; transition: filter .2s ease; text-decoration: none; }
.notfound__btn:hover { filter: brightness(1.2); }

@media (max-width: 900px) {
  .notfound { padding: 40px 0; }
  .notfound__body { flex-direction: column; gap: 24px; text-align: left; }
  .notfound__title { font-size: 2.0rem; margin-bottom: 24px; }
  .notfound__text { margin-bottom: 24px; }
}

/* ===========================
   Cards
   =========================== */
.card { display: flex; flex-wrap: wrap; gap: 16px; }
.card__item { flex: 1 1 calc((100% - 32px) / 3); max-width: calc((100% - 32px) / 3); }
.card__link { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8e6e0; overflow: hidden; color: inherit; height: 100%; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card__media { aspect-ratio: 3 / 1; overflow: hidden; background: #f4f4f4; }
.card__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.card__body { display: grid; gap: 8px; padding: 16px 16px; }
.card__badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: #fff8ef; border: 1px solid #f0d4b1; color: #c46917; font-size: 1.2rem; font-weight: 700; width: max-content; }
.card__badge .mi { font-size: 2.0rem; }
.card__title { font-size: 1.8rem; line-height: 1.4; font-weight: 700; }
.card__desc { font-size: 1.5rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__date { font-size: 1.2rem; color: #666; }
.card__link:hover .card__media img { transform: scale(1.04); }
.card__more { text-align: center; margin-top: 8px; }
.card__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 2px solid #222; color: #222; font-size: 1.5rem; font-weight: 700; background: transparent; transition: .3s ease; }
.card__link:hover .card__btn { background: #222; color: #fff; }

@media (max-width: 900px) {
  .card__item { flex: 1 1 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
  .card__item { flex: 1 1 100%; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .card__media img { transition: none; } }

/* ===========================
   Columns Archive
   =========================== */
.archive-columns { padding: 40px 0; background: #faf7f2; }
.archive-header { margin-bottom: 24px; }
.archive-title { display: inline-flex; align-items: center; gap: 8px; font-size: 2.4rem; font-weight: 700; }
.archive-title .mi { font-size: 3.8rem; }
.archive-desc { font-size: 1.6rem; line-height: 1.6; margin-top: 16px; }

.cat-nav { margin-bottom: 24px; }
.cat-nav__list { display: flex; align-items: center; flex-wrap: wrap; row-gap: 8px; }
.cat-nav__item { display: flex; align-items: center; margin-right: 8px; }
.cat-nav__item + .cat-nav__item::before { content: "｜"; opacity: .5;  margin-right: 8px; }
.cat-nav__link { font-size: 1.6rem; font-weight: 700; color: #1e82be; transition: .3s ease; }
.catnav__link:hover { filter: saturate(1.2) brightness(0.98); }
.cat-nav__current { font-size: 1.6rem; font-weight: 700; }
.cat-nav__link:hover { opacity: .5; }
.cat-nav__current { pointer-events: none; }

@media (max-width: 900px) {
  .cat-nav__link { font-size: 1.5rem; }
  .cat-nav__current { font-size: 1.5rem; }
}

.cat--basic { background: #f5f5ff; border-color: #d9d9ff; color: #3939d6; }
.cat--tools { background: #f3fff2; border-color: #c8f0c4; color: #1b6b1b; }
.cat--law { background: #fff6ef; border-color: #ffd9b7; color: #b55a0f; }
.cat--default { background: #f7f7f7; border-color: #e3e3e3; color: #333; }

/* ===========================
   Columns
   =========================== */
.page-section { background-color: #faf7f2; padding: 40px 0; }
.content-layout { display: flex; gap: 24px; align-items: flex-start; }
.content-layout__main { flex: 1 1 auto; min-width: 0; }
.content-layout__sidebar { flex: 0 0 320px; }
.sidebar { display: block; }
.sidebar__section { margin-bottom: 40px; }
.sidebar__section:last-child { margin-bottom: 0; }
.sidebar__title { display: flex; align-items: center; gap: 6px; font-size: 1.6rem; line-height: 1.4; font-weight: 700; margin-bottom: 12px; }

@media (max-width: 1200px) {
  .content-layout { gap: 16px; }
  .content-layout__sidebar { flex-basis: 280px; }
}
@media (max-width: 900px) {
  .content-layout { display: block; }
  .content-layout__sidebar { flex: none; width: auto; margin-top: 32px; }
  .sidebar__section { border-radius: 10px; }
}

.sidebar__list { display: grid; gap: 0; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px; }
.sidebar__item { font-size: 1.6rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar__item + .sidebar__item { border-top: 1px solid #ddd; padding-top: 8px; margin-top: 8px; }
.sidebar__link { display: block; }
.sidebar__link:hover { color: #0066cc; }

.sidebar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar__chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #fff8ef; color: #9d5a14; border: 1px solid #f0d4b1; font-size: 1.4rem; font-weight: 700; transition: .3s ease; }
.sidebar__chip:hover { background: #e68a2e; color: #fff; }

.sidebar__ranking { counter-reset: rank; display: grid; gap: 2px; }
.sidebar__ranking-item { position: relative; padding: 10px 12px 10px 46px; border: 1px solid #e5e5e5; border-radius: 8px; background: #fff; font-size: 1.6rem; line-height: 1.5; }
.sidebar__ranking-item::before { counter-increment: rank; content: counter(rank); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: #fff; background: #e68a2e; }
.sidebar__ranking-item:nth-child(n+4)::before { background: #e8d8c3; color: #6b5a47; }
.sidebar__ranking-item a { display: inline-block; width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar__ranking-item a:hover { color: #0066cc; }

.sidebar__section.is-collapsed .sidebar__item:nth-child(n+6) { display: none; }
.sidebar__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; background: none; border: none; color: #0066cc; font-weight: 600; cursor: pointer; font-size: 1.4rem; }
.sidebar__more:hover { text-decoration: underline; }

.sidebar__list--archive { display: block; }
.sidebar__list--archive li { font-size: 1.6rem; margin-bottom: 8px; }
.sidebar__list--archive li:last-child { margin-bottom: 0; }
.sidebar__list--archive a { }
.sidebar__list--archive a:hover { color: #0066cc; }

.sidebar-ranktypes { display: grid; gap: 8px; }
.sidebar-ranktypes__item { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px 16px; display: grid; gap: 12px; }
.sidebar-ranktypes__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sidebar-ranktypes__name { display: flex; align-items: center; gap: 6px; font-size: 1.6rem; font-weight: 700; }
.sidebar-ranktypes__name .mi { font-size: 2.2rem; }
.sidebar-ranktypes__badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #fff8ef; border: 1px solid #f0d4b1; color: #c46917; font-size: 1.3rem; font-weight: 700; }
.sidebar-ranktypes__desc { font-size: 1.5rem; line-height: 1.6; color: #555; }
.sidebar-ranktypes__list { counter-reset: rank; display: grid; gap: 6px; margin: 0; padding: 0; }
.sidebar-ranktypes__list li { }
.sidebar-ranktypes__list a { position: relative; display: block; padding: 9px 8px 9px 36px; border-radius: 999px; border: 1px solid #e5e5e5; background: #fff; font-size: 1.7rem; font-weight: 700; transition: .3s ease; }
.sidebar-ranktypes__list a::before { counter-increment: rank; content: counter(rank); position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; color: #fff; background: #e68a2e; }
.sidebar-ranktypes__list li:nth-child(n+4) a::before { background: #e8d8c3; color: #6b5a47; }
.sidebar-ranktypes__list a:hover { background: #fff7ed; border-color: #f0d4b1; }
.sidebar-ranktypes__more { text-align: center; margin-top: 4px; }
.sidebar-ranktypes__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; border: 2px solid #e68a2e; color: #e68a2e; font-size: 1.4rem; font-weight: 700; background: #fff; text-decoration: none; transition: .3s ease; }
.sidebar-ranktypes__link:hover { background: #e68a2e; color: #fff; }

.column { padding-bottom: 24px; }
.column-hero { margin-bottom: 40px; }
.column-hero__eyebrow { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.column-hero__eyebrow-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; transition: .3s ease; }
.column-hero__eyebrow-link:hover { opacity: .5; }
.column-hero__eyebrow .mi { font-size: 1.2em; line-height: 1; vertical-align: middle; }

.column-hero__title { font-size: 2.8rem; line-height: 1.4; font-weight: 700; }
.column-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 16px; }
.column-hero__meta-item { display: inline-flex; align-items: center; gap: 4px; font-size: 1.3rem; color: #333; }
.column-hero__meta-item .mi { font-size: 1.6rem; }
.column__container { }
.column__body { background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; padding: 40px 40px; }
.column-hero__lead { font-size: 1.8rem; line-height: 1.7; margin-bottom: 24px; }
.column-hero__fig { width: 100%; aspect-ratio: 16 / 9; overflow: visible; background: transparent; }
.column-hero__fig img { display: block; width: 100%; height: 100%; border-radius: 16px; object-fit: cover; }
.column-hero__cap { margin-top: 8px; font-size: 1.2rem; line-height: 1.4; color: #777; }
.toc { margin: 24px 0; }
.toc__title { display: inline-flex; align-items: center; gap: 6px; font-size: 1.7rem; line-height: 1.4; font-weight: 700; color: #1e82be; margin-bottom: 16px; }
.toc__list { list-style: none; padding: 16px 16px 16px 24px; border: 1px solid #e6eef6; border-radius: 8px; background: #f9fcff; display: grid; row-gap: 4px; counter-reset: toc; }
.toc__item { display: grid; grid-template-columns: minmax(2ch, 3ch) 1fr; column-gap: 8px; align-items: baseline; }
.toc__item::before { content: counter(toc) "."; counter-increment: toc; justify-self: end; align-self: baseline; color: #1e82be; font-size: 1.6rem; line-height: 1.6; font-weight: 700; font-variant-numeric: tabular-nums; }
.toc__link { display: inline; text-decoration: none; color: #1e82be; font-size: 1.6rem; line-height: 1.6; }
.toc__link:hover { opacity: .5; }
.toc__link:focus-visible { outline: 2px solid #1e82be; outline-offset: 2px; }
.column .section { padding: 24px 0; border-top: 1px solid #f0efec; }
.column .section:first-of-type { border-top: none; }
.column .section__title { font-size: 2.2rem; line-height: 1.4; font-weight: 700; margin-bottom: 16px; }
.column .section__text { font-size: 1.8rem; line-height: 1.7; margin-bottom: 16px; }
.column .section__text a { color: #1e82be; transition: .3s; }
.column .section__text a:hover { opacity: .5; }
.column .section__link { font-size: 1.6rem; color: #1e82be; text-decoration: underline; text-underline-offset: 2px; }
.column .section__list { margin-top: 8px; }
.column .section__fig { margin-top: 16px; width: 100%; aspect-ratio: 16 / 9; overflow: visible; }
.column .section__fig img { display: block; width: 100%; height: 100%; border-radius: 16px; object-fit: cover; }
.column .section__cap { margin-top: 8px; font-size: 1.3rem; line-height: 1.4; color: #777; }
.column .section__steps { margin: 8px 0 0 1.6em; padding: 0; display: grid; gap: 6px; font-size: 1.6rem; line-height: 1.6; list-style: decimal; margin-bottom: 16px; }

.column-related { background: #faf7f2; }
.column-related__title { font-size: 1.8rem; line-height: 1.4; font-weight: 700; margin-bottom: 16px; }
.column-related__list { display: grid; gap: 12px; }
.column-related__item { font-size: 1.6rem; line-height: 1.6; }
.column-related__link { color: #1e82be; transition: .3s ease; }
.column-related__link:hover { opacity: .5; }

.column-author { padding: 40px 0; background: #faf7f2; }
.column-author .container { display: flex; flex-direction: column; gap: 16px; }
.column-author__name { font-size: 1.6rem; line-height: 1.4; font-weight: 700; margin-bottom: 16px; }
.column-author__content { display: flex; align-items: flex-start; gap: 24px; }
.column-author__avatar { display: block; width: 120px; height: 120px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; }
.column-author__text { font-size: 1.6rem; line-height: 1.6; }
.column-author__link { font-weight: 700; color: #1e82be; transition: .3s ease; }
.column-author__linkk:hover { opacity: .5; }

.column .cta-box__container { margin-top: 24px;}
.column .sns-share { margin: 0; }

.column__link { font-size: 1.6rem; line-height: 1.6; font-weight: 700; color: #1e82be; transition: .3s ease; }
.column__link:hover { opacity: .5; }

html:has(.column) { scroll-behavior: smooth; }
:target { scroll-margin-top: 80px; }

@media (max-width: 1200px) {
  .column__body { padding: 40px 16px; }
}
@media (max-width: 900px) {
  .column-hero { margin-bottom: 24px; }
  .column-hero__title { font-size: 2.2rem; }
  .column-hero__meta-item { font-size: 1.2rem; }
  .column__body { border: none; border-radius: 0; padding: 24px 16px; margin: auto -16px; }
  .column-hero__lead { font-size: 1.6rem; }
  .column-hero__fig img { border-radius: 8px; }
  .toc { margin-bottom: 8px; }
  .toc__title { font-size: 1.6rem; }
  .toc__list { padding: 8px 8px 8px 16px; row-gap: 4px; }
  .toc__item { grid-template-columns: minmax(2ch, 2.8ch) 1fr; column-gap: 6px; }
  .toc__item::before { font-size: 1.55rem; line-height: 1.6; }
  .toc__link { font-size: 1.5rem; line-height: 1.6; }
  .column .section { padding: 24px 0; }
  .column .section__title { font-size: 1.8rem; }
  .column .section__text { font-size: 1.6rem; }
  .column .section__fig { margin-top: 12px; }
  .column .section__fig img { border-radius: 8px; }
  .column-author { padding: 24px 0; }
  .column-author__content { gap: 8px; }
  .column-author__avatar { width: 64px; height: 64px; }
  .column-author__text { font-size: 1.4rem; }
}

/* ===========================
   AI
   =========================== */
.ai-article__content .column-hero__fig { margin-bottom: 24px; }
.ai-article__content h2 { font-size: 2.0rem; line-height: 1.4; margin: 32px 0 16px; border-left: 6px solid #05574f; padding-left: 12px; } 
.ai-article__content h3 { font-size: 1.8rem; line-height: 1.4; margin: 24px 0 16px; font-weight: 700; color: #05574f; } 
.ai-article__content p { font-size: 1.6rem; line-height: 1.7; margin-bottom: 16px; } 
.ai-article__content pre { overflow: auto; background: #fff8ef; border: 1px solid #f0d4b1; padding: 16px 16px;font-size: 1.5rem; line-height: 1.6; } 
.ai-article__content code { font-size: 1.5rem; line-height: 1.6; } 
.ai-article__content ul { margin: 0 0 12px 0; }
.ai-article__content ul li { position: relative; font-size: 1.6rem; line-height: 1.6; padding-left: 24px; margin: 8px 0; color: #444; }
.ai-article__content ul li::before { content: ""; position: absolute; left: 8px; top: 0.8em; width: 8px; height: 8px; border-radius: 50%; background: #e68a2e; transform: translateY(-50%); }
.ai-article__content ol { list-style: decimal; margin: 10px 0 0 2.4em; display: grid; gap: 8px; }
.ai-article__content ol li { font-size: 1.6rem; line-height: 1.6; color: #444; }

.ai-tags-under { background: #faf7f2; padding-bottom: 40px; }
.ai-tags-under .chips { display: flex; flex-wrap: wrap; gap: 4px; } 
.ai-tags-under .chips__item { margin: 0; } 
.ai-tags-under .chip { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 999px; font-size: 1.2rem; line-height: 1; background: #f3f4f6; color: #333; } 
.ai-tags-under .chip--cat { background: #eef2ff; color: #3730a3; } 
.ai-tags-under .chip--tag { background: #fff8ef; color: #9d5a14; border: 1px solid #f0d4b1; } 

.code-block { position: relative; }
.copy-btn { position: absolute; top: 8px; right: 8px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; padding: 4px 8px; font-size: 1.2rem; cursor: pointer; }
.copy-btn:hover { background: #eee; }

.sns-share { margin-top: 32px; text-align: center; }
.sns-share__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 24px; border-radius: 999px; background: #05574f; color: #fff; font-size: 1.6rem; font-weight: 700; border: 2px solid #05574f; transition: .3s ease; }
.sns-share__btn:hover { background: transparent; color: #05574f; }

/* Pager */ 
.pager { display: flex; justify-content: center; margin: 28px 0 8px; } 
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; margin: 0 4px; padding: 0 10px; border-radius: 8px; background: #f3f4f6; color: #111827; } 
.pager .page-numbers:hover { background: #e5e7eb; text-decoration: none; } 
.pager .current { background: #111827; color: #fff; } 

/* Post meta / nav */ 
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: #6b7280; font-size: 1.3rem; } 
.post-meta__sep { opacity: 0.6; } 
.post-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; } 
.post-nav__prev a, .post-nav__next a { color: #1a73e8; } 

/* Utilities */ 
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 1px, 1px); white-space: nowrap; border: 0; } 
