
:root {
    --poi-green: #0e8f70;
    --poi-green-dark: #08745b;
    --poi-green-soft: #e9f8f3;
    --poi-mint: #f3fbf8;
    --poi-ink: #18241f;
    --poi-muted: #607169;
    --poi-line: #d7e7df;
    --poi-cream: #fff8e7;
    --poi-orange: #e59b19;
    --poi-white: #ffffff;
    --poi-shadow: 0 14px 40px rgba(27, 82, 63, 0.08);
}

body.poimichi-top-portal-page .p-breadcrumb,
body.poimichi-top-portal-page .c-pageTitle,
body.poimichi-top-portal-page .p-articleHead,
body.poimichi-top-portal-page .l-topTitleArea,
body.poimichi-top-portal-page .postTitle,
body.poimichi-top-portal-page .c-postTitle,
body.poimichi-top-portal-page .l-sidebar,
body.poimichi-top-portal-page #sidebar {
    display: none !important;
}

body.poimichi-top-portal-page .l-content,
body.poimichi-top-portal-page #content,
body.poimichi-top-portal-page .l-mainContent,
body.poimichi-top-portal-page .l-mainContent__inner {
    max-width: none !important;
    width: 100% !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.poimichi-top-portal-page .l-content {
    gap: 0 !important;
}

body.poimichi-top-portal-page .post_content,
body.poimichi-top-portal-page .entry-content {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.poimichi-top-shell,
.poimichi-top-shell * {
    box-sizing: border-box;
}

.poimichi-top-shell {
    width: min(1200px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 30px 0 80px;
    color: var(--poi-ink);
    font-size: 15px;
    line-height: 1.75;
}

.poimichi-top-shell a {
    text-decoration: none;
}

.poimichi-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--poi-line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 12%, rgba(83, 201, 164, 0.24), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f4fcf9 60%, #e9f8f3 100%);
    box-shadow: var(--poi-shadow);
}

.poimichi-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    border: 60px solid rgba(14, 143, 112, 0.05);
    pointer-events: none;
}

.poimichi-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 56px 44px;
    text-align: center;
}

.poimichi-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--poi-green-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.poimichi-eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 99px;
    background: #35b992;
}

.poimichi-hero h1 {
    max-width: 800px;
    margin: 0 auto;
    color: var(--poi-ink);
    font-size: clamp(31px, 4.2vw, 52px);
    line-height: 1.28;
    letter-spacing: -0.035em;
}

.poimichi-hero-copy {
    max-width: 680px;
    margin: 18px auto 28px;
    color: #42564d;
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 600;
}

.poimichi-mobile-break {
    display: none;
}

.poimichi-hero-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto;
    padding: 9px;
    border: 1px solid #badfd2;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(14, 143, 112, 0.10);
}

.poimichi-hero-search input {
    min-width: 0;
    height: 54px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--poi-ink);
    font-size: 16px;
}

.poimichi-hero-search input::placeholder {
    color: #85958e;
}

.poimichi-hero-search button {
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    background: var(--poi-green);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.poimichi-hero-search button:hover {
    background: var(--poi-green-dark);
    transform: translateY(-1px);
}

.poimichi-popular-searches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    margin: 16px auto 0;
    color: var(--poi-muted);
    font-size: 13px;
}

.poimichi-popular-searches a {
    color: var(--poi-green-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.poimichi-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.poimichi-hero-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid #b9d9ce;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--poi-green-dark);
    font-weight: 800;
}

.poimichi-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 32px;
    text-align: left;
}

.poimichi-stat-grid > div {
    min-height: 92px;
    padding: 16px 18px;
    border: 1px solid #d8eee6;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.76);
}

.poimichi-stat-grid span {
    display: block;
    color: var(--poi-muted);
    font-size: 12px;
    font-weight: 700;
}

.poimichi-stat-grid strong {
    display: block;
    margin-top: 3px;
    color: var(--poi-green-dark);
    font-size: 21px;
    line-height: 1.35;
}

.poimichi-stat-grid .poimichi-stat-date {
    font-size: 16px;
}

.poimichi-stat-note {
    margin: 12px 0 0;
    color: var(--poi-muted);
    font-size: 12px;
}

.poimichi-top-section {
    margin-top: 72px;
}

.poimichi-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.poimichi-section-heading h2,
.poimichi-method-copy h2,
.poimichi-editorial-box h2 {
    margin: 0;
    color: var(--poi-ink);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.poimichi-section-heading p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--poi-muted);
}

.poimichi-text-link {
    flex: 0 0 auto;
    color: var(--poi-green-dark);
    font-weight: 800;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.poimichi-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.poimichi-popular-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--poi-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(33, 82, 65, 0.05);
}

.poimichi-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--poi-muted);
    font-size: 11px;
}

.poimichi-card-top > span {
    display: inline-flex;
    max-width: 65%;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--poi-green-soft);
    color: var(--poi-green-dark);
    font-weight: 800;
}

.poimichi-popular-card h3 {
    margin: 15px 0 14px;
    font-size: 18px;
    line-height: 1.5;
}

.poimichi-popular-card h3 a {
    color: var(--poi-ink);
}

.poimichi-reward-boxes {
    display: grid;
    gap: 9px;
}

.poimichi-reward-boxes > div {
    padding: 13px 14px;
    border: 1px solid #d9e9e2;
    border-radius: 13px;
    background: var(--poi-mint);
}

.poimichi-reward-boxes span,
.poimichi-reward-boxes small {
    display: block;
    color: var(--poi-muted);
    font-size: 11px;
}

.poimichi-reward-boxes strong {
    display: block;
    margin: 2px 0;
    color: var(--poi-green-dark);
    font-size: 22px;
    line-height: 1.3;
}

.poimichi-card-condition {
    margin: 13px 0 0;
    color: var(--poi-muted);
    font-size: 13px;
}

.poimichi-card-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0 16px;
    border-radius: 11px;
    background: var(--poi-green);
    color: #fff !important;
    font-weight: 800;
}

.poimichi-card-condition + .poimichi-card-link {
    margin-top: 18px;
}

.poimichi-category-section {
    padding: 36px;
    border-radius: 22px;
    background: var(--poi-mint);
}

.poimichi-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.poimichi-category-card {
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid var(--poi-line);
    border-radius: 15px;
    background: #fff;
    color: var(--poi-ink) !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.poimichi-category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--poi-shadow);
}

.poimichi-category-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--poi-green-soft);
    font-size: 22px;
}

.poimichi-category-card strong,
.poimichi-category-card small {
    display: block;
}

.poimichi-category-card strong {
    font-size: 15px;
}

.poimichi-category-card small {
    margin-top: 2px;
    color: var(--poi-muted);
    font-size: 12px;
}

.poimichi-change-list {
    overflow: hidden;
    border: 1px solid var(--poi-line);
    border-radius: 18px;
    background: #fff;
}

.poimichi-change-row {
    display: grid;
    grid-template-columns: 86px minmax(180px, 1.4fr) minmax(230px, 1fr) 120px;
    align-items: center;
    gap: 15px;
    min-height: 82px;
    padding: 14px 20px;
    border-bottom: 1px solid #e8f0ec;
    color: var(--poi-ink) !important;
}

.poimichi-change-row:last-child {
    border-bottom: 0;
}

.poimichi-change-status {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.poimichi-change-status.is-up {
    background: #e7f7ef;
    color: #087448;
}

.poimichi-change-status.is-down {
    background: #fff0ed;
    color: #b33c25;
}

.poimichi-change-status.is-change {
    background: #fff7df;
    color: #8a6200;
}

.poimichi-change-main strong,
.poimichi-change-main small {
    display: block;
}

.poimichi-change-main strong {
    font-size: 15px;
}

.poimichi-change-main small,
.poimichi-change-row time {
    color: var(--poi-muted);
    font-size: 12px;
}

.poimichi-change-values {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.poimichi-change-values span {
    color: var(--poi-muted);
}

.poimichi-change-values strong {
    color: var(--poi-green-dark);
    font-size: 18px;
}

.poimichi-site-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.poimichi-site-card {
    display: block;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--poi-line);
    border-radius: 16px;
    background: #fff;
    color: var(--poi-ink) !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

a.poimichi-site-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--poi-shadow);
}

.poimichi-site-card.is-disabled {
    background: #f8faf9;
    opacity: .72;
}

.poimichi-site-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.poimichi-site-card-head strong {
    font-size: 16px;
}

.poimichi-site-card-head span {
    color: var(--poi-green);
    font-size: 20px;
}

.poimichi-site-card dl,
.poimichi-site-card dl > div {
    margin: 0;
}

.poimichi-site-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-top: 1px dashed #dce9e3;
}

.poimichi-site-card dt,
.poimichi-site-card dd {
    margin: 0;
    font-size: 11px;
}

.poimichi-site-card dt {
    color: var(--poi-muted);
}

.poimichi-site-card dd {
    flex: 0 0 auto;
    color: var(--poi-green-dark);
    font-weight: 800;
}

.poimichi-site-card > small {
    color: var(--poi-muted);
}

.poimichi-method-section {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
    gap: 30px;
    padding: 38px;
    border: 1px solid #cfe8df;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(88, 199, 164, .14), transparent 34%),
        linear-gradient(135deg, #f5fcf9 0%, #ffffff 58%, #eef9f5 100%);
    color: var(--poi-ink);
    box-shadow: 0 12px 34px rgba(27, 82, 63, .06);
}

.poimichi-method-copy h2 {
    color: var(--poi-ink) !important;
}

.poimichi-method-copy .poimichi-eyebrow {
    color: var(--poi-green-dark);
}

.poimichi-method-copy p {
    margin: 14px 0 22px;
    color: #42584f;
}

.poimichi-primary-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 11px;
    background: var(--poi-green);
    color: #fff !important;
    font-weight: 800;
}

.poimichi-primary-link:hover {
    background: var(--poi-green-dark);
}

.poimichi-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.poimichi-method-grid > div {
    padding: 18px;
    border: 1px solid #d4e9e1;
    border-radius: 15px;
    background: rgba(255, 255, 255, .88);
}

.poimichi-method-grid span {
    color: var(--poi-green);
    font-size: 12px;
    font-weight: 800;
}

.poimichi-method-grid strong {
    display: block;
    margin: 4px 0 7px;
    color: var(--poi-ink);
    font-size: 15px;
}

.poimichi-method-grid p {
    margin: 0;
    color: var(--poi-muted);
    font-size: 12px;
}

.poimichi-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.poimichi-recent-card {
    display: flex;
    min-height: 138px;
    flex-direction: column;
    padding: 19px;
    border: 1px solid var(--poi-line);
    border-radius: 16px;
    background: #fff;
    color: var(--poi-ink) !important;
}

.poimichi-recent-card > span {
    color: var(--poi-green-dark);
    font-size: 11px;
    font-weight: 800;
}

.poimichi-recent-card > strong {
    margin: 8px 0 auto;
    font-size: 16px;
    line-height: 1.5;
}

.poimichi-recent-card > small {
    margin-top: 12px;
    color: var(--poi-muted);
}

.poimichi-beginner-section {
    padding: 36px;
    border: 1px solid var(--poi-line);
    border-radius: 22px;
    background: #fffdf8;
}

.poimichi-beginner-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.poimichi-beginner-card {
    display: flex;
    min-height: 170px;
    flex-direction: column;
    padding: 17px;
    border: 1px solid #eadfc8;
    border-radius: 15px;
    background: #fff;
    color: var(--poi-ink) !important;
}

.poimichi-beginner-card > span {
    color: var(--poi-orange);
    font-weight: 900;
}

.poimichi-beginner-card > strong {
    margin: 10px 0 auto;
    font-size: 14px;
    line-height: 1.55;
}

.poimichi-beginner-card > small {
    margin-top: 12px;
    color: var(--poi-green-dark);
    font-weight: 800;
}

.poimichi-faq-list {
    overflow: hidden;
    border: 1px solid var(--poi-line);
    border-radius: 18px;
    background: #fff;
}

.poimichi-faq-list details {
    border-bottom: 1px solid #e5eee9;
}

.poimichi-faq-list details:last-child {
    border-bottom: 0;
}

.poimichi-faq-list summary {
    position: relative;
    padding: 20px 54px 20px 22px;
    list-style: none;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.poimichi-faq-list summary::-webkit-details-marker {
    display: none;
}

.poimichi-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    color: var(--poi-green);
    font-size: 24px;
    transform: translateY(-50%);
}

.poimichi-faq-list details[open] summary::after {
    content: "−";
}

.poimichi-faq-list details > div {
    padding: 0 22px 20px;
    color: var(--poi-muted);
}

.poimichi-faq-list details p {
    margin: 0;
}

.poimichi-editorial-box {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 30px;
    margin-top: 72px;
    padding: 34px;
    border: 1px solid var(--poi-line);
    border-radius: 22px;
    background: var(--poi-mint);
}

.poimichi-editorial-box p {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--poi-muted);
}

.poimichi-editorial-box nav {
    display: grid;
    align-content: center;
    gap: 7px;
}

.poimichi-editorial-box nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    border-radius: 10px;
    background: #fff;
    color: var(--poi-green-dark);
    font-size: 13px;
    font-weight: 800;
}

.poimichi-data-notice {
    max-width: 720px;
    margin: 26px auto 0;
    padding: 18px;
    border: 1px solid #dfcf9a;
    border-radius: 12px;
    background: var(--poi-cream);
    color: #67521f;
}

@media (max-width: 1000px) {
    .poimichi-popular-grid,
    .poimichi-recent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .poimichi-site-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .poimichi-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .poimichi-beginner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .poimichi-method-section {
        grid-template-columns: 1fr;
    }

    .poimichi-change-row {
        grid-template-columns: 76px minmax(170px, 1fr) minmax(210px, 1fr);
    }

    .poimichi-change-row time {
        grid-column: 2 / -1;
    }
}

@media (max-width: 720px) {
    .poimichi-top-shell {
        width: min(100% - 24px, 1200px);
        padding-top: 16px;
        padding-bottom: 50px;
    }

    .poimichi-hero {
        border-radius: 20px;
    }

    .poimichi-hero-inner {
        padding: 40px 18px 28px;
    }

    .poimichi-hero h1 {
        font-size: 30px;
    }

    .poimichi-mobile-break {
        display: inline;
    }

    .poimichi-hero-search {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .poimichi-hero-search input {
        height: 50px;
        padding: 0 12px;
        font-size: 15px;
    }

    .poimichi-hero-search button {
        min-height: 48px;
    }

    .poimichi-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .poimichi-stat-grid > div {
        min-height: 82px;
        padding: 13px;
    }

    .poimichi-stat-grid strong {
        font-size: 18px;
    }

    .poimichi-top-section {
        margin-top: 52px;
    }

    .poimichi-section-heading {
        display: block;
    }

    .poimichi-section-heading .poimichi-text-link {
        display: inline-block;
        margin-top: 12px;
    }

    .poimichi-popular-grid,
    .poimichi-recent-grid,
    .poimichi-site-grid {
        grid-template-columns: 1fr;
    }

    .poimichi-category-section,
    .poimichi-beginner-section {
        padding: 22px 16px;
    }

    .poimichi-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .poimichi-category-card {
        min-height: 94px;
        align-items: flex-start;
        gap: 9px;
        padding: 13px 10px;
    }

    .poimichi-category-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 18px;
    }

    .poimichi-change-row {
        grid-template-columns: 74px 1fr;
        gap: 9px 12px;
        padding: 16px;
    }

    .poimichi-change-values,
    .poimichi-change-row time {
        grid-column: 2;
    }

    .poimichi-change-values {
        white-space: normal;
        font-size: 13px;
    }

    .poimichi-method-section {
        padding: 26px 18px;
    }

    .poimichi-method-grid {
        grid-template-columns: 1fr;
    }

    .poimichi-beginner-grid {
        grid-template-columns: 1fr;
    }

    .poimichi-beginner-card {
        min-height: 112px;
    }

    .poimichi-editorial-box {
        grid-template-columns: 1fr;
        margin-top: 52px;
        padding: 24px 18px;
    }
}

@media (max-width: 410px) {
    .poimichi-stat-grid,
    .poimichi-category-grid {
        grid-template-columns: 1fr;
    }
}


/* v1.1.0: SWELLの見出し装飾をリセットし、ポータル専用デザインに統一 */
body.poimichi-top-portal-page .poimichi-top-shell h2,
body.poimichi-top-portal-page .poimichi-top-shell h3 {
    position: static !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--poi-ink);
}

body.poimichi-top-portal-page .poimichi-top-shell h2::before,
body.poimichi-top-portal-page .poimichi-top-shell h2::after,
body.poimichi-top-portal-page .poimichi-top-shell h3::before,
body.poimichi-top-portal-page .poimichi-top-shell h3::after {
    display: none !important;
    content: none !important;
}

.poimichi-section-heading > div:first-child {
    position: relative;
    padding-left: 20px;
}

.poimichi-section-heading > div:first-child::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 5px;
    border-radius: 99px;
    background: linear-gradient(180deg, #34c39a 0%, #0e8f70 100%);
}

.poimichi-page-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 18px auto 0;
}

.poimichi-page-nav a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--poi-line);
    border-radius: 999px;
    background: #fff;
    color: var(--poi-green-dark);
    font-size: 13px;
    font-weight: 800;
}

.poimichi-method-section-early {
    margin-top: 30px;
}

.poimichi-primary-link-dark {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 15px;
}

.poimichi-change-row {
    transition: background .18s ease, transform .18s ease;
}

.poimichi-change-row:hover {
    background: #f2fbf7;
}

.poimichi-change-main small + small {
    margin-top: 2px;
}

.poimichi-change-values {
    flex-wrap: wrap;
}

.poimichi-change-values em {
    flex-basis: 100%;
    color: #087448;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.poimichi-site-card-link {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border-radius: 10px;
    background: var(--poi-green-soft);
    color: var(--poi-green-dark);
    font-size: 12px;
    font-weight: 800;
}

.poimichi-preparing-sites {
    margin-top: 14px;
    padding: 13px 16px;
    border: 1px dashed #c7ddd4;
    border-radius: 12px;
    background: #f8fbfa;
    color: var(--poi-muted);
    font-size: 13px;
}

.poimichi-editorial-profile {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.poimichi-editorial-avatar {
    display: inline-flex;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #cfe5db;
    border-radius: 50%;
    background: #fff;
    color: var(--poi-green-dark);
    font-size: 24px;
    font-weight: 900;
}

.poimichi-editorial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.poimichi-top-portal-page .l-footer,
body.poimichi-top-portal-page .l-footer a,
body.poimichi-top-portal-page footer,
body.poimichi-top-portal-page footer a {
    font-size: max(13px, 1em);
}

@media (max-width: 1100px) {
    .poimichi-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .poimichi-page-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .poimichi-page-nav a {
        flex: 0 0 auto;
    }

    .poimichi-section-heading > div:first-child {
        padding-left: 15px;
    }

    .poimichi-change-values em {
        flex-basis: auto;
    }

    .poimichi-editorial-profile {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 13px;
    }

    .poimichi-editorial-avatar {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }
}


/* v1.2.0: 見出し、還元アップ、ポイントサイト画像カード */
body.poimichi-top-portal-page .poimichi-section-heading > div:first-child {
    position: relative;
    padding: 0 0 0 18px !important;
    border-left: 4px solid #35b992;
}

body.poimichi-top-portal-page .poimichi-section-heading > div:first-child::before,
body.poimichi-top-portal-page .poimichi-section-heading > div:first-child::after {
    display: none !important;
    content: none !important;
}

body.poimichi-top-portal-page .poimichi-section-heading .poimichi-eyebrow {
    display: inline-flex;
    margin: 0 0 4px !important;
    line-height: 1.4;
}

body.poimichi-top-portal-page .poimichi-section-heading h2 {
    display: block !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    background: none !important;
    line-height: 1.34 !important;
    text-decoration: none !important;
}

body.poimichi-top-portal-page .poimichi-section-heading h2::before,
body.poimichi-top-portal-page .poimichi-section-heading h2::after {
    display: none !important;
    content: none !important;
}

body.poimichi-top-portal-page .poimichi-section-heading p {
    margin: 0 !important;
}

.poimichi-chance-label {
    padding: 5px 11px;
    border-radius: 999px;
    background: #fff2d7;
    color: #9a5a00 !important;
    letter-spacing: .04em;
}

.poimichi-chance-label::before {
    width: 8px;
    height: 8px;
    background: #f0a51c;
}

.poimichi-change-section {
    padding: 26px;
    border: 1px solid #d5e9e1;
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfefc 0%, #f5fbf8 100%);
}

.poimichi-change-list {
    margin-top: 20px;
    box-shadow: 0 10px 28px rgba(27, 82, 63, .05);
}

.poimichi-change-status.is-up {
    background: #dff6eb;
    color: #087448;
}

.poimichi-change-values em {
    color: #087448;
    font-size: 13px;
}

.poimichi-site-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.poimichi-site-card {
    overflow: hidden;
    padding: 0;
    border-radius: 19px;
}

.poimichi-site-card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 640;
    overflow: hidden;
    border-bottom: 1px solid var(--poi-line);
    background:
        radial-gradient(circle at 85% 15%, rgba(61, 190, 151, .22), transparent 32%),
        linear-gradient(135deg, #f2fbf7 0%, #e5f6ef 100%);
}

.poimichi-site-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
}

a.poimichi-site-card:hover .poimichi-site-card-image {
    transform: scale(1.025);
}

.poimichi-site-card-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--poi-green-dark);
    text-align: center;
}

.poimichi-site-card-placeholder b {
    font-size: 24px;
    line-height: 1.35;
}

.poimichi-site-card-placeholder small {
    margin-top: 8px;
    color: var(--poi-muted);
    font-size: 12px;
}

.poimichi-site-card-body {
    padding: 18px;
}

.poimichi-site-card-description {
    min-height: 3.2em;
    margin: -2px 0 14px;
    color: var(--poi-muted);
    font-size: 13px;
    line-height: 1.6;
}

.poimichi-site-card-head strong {
    font-size: 18px;
}

.poimichi-site-card dt,
.poimichi-site-card dd {
    font-size: 12px;
}

.poimichi-site-card-link {
    min-height: 46px;
    font-size: 13px;
}

@media (max-width: 920px) {
    .poimichi-site-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.poimichi-top-portal-page .poimichi-section-heading > div:first-child {
        padding-left: 14px !important;
    }

    .poimichi-method-section {
        padding: 24px 18px;
    }

    .poimichi-change-section {
        padding: 20px 14px;
    }

    .poimichi-site-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .poimichi-site-card-description {
        min-height: 0;
    }
}


/* v1.2.1: SWELL見出し装飾を完全に分離 */
body.poimichi-top-portal-page .poimichi-top-shell h2.poimichi-portal-heading {
    all: unset !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 0 9px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--poi-ink) !important;
    font-family: inherit !important;
    font-size: clamp(24px, 3vw, 34px) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
}

body.poimichi-top-portal-page .poimichi-top-shell h2.poimichi-portal-heading::before,
body.poimichi-top-portal-page .poimichi-top-shell h2.poimichi-portal-heading::after {
    display: none !important;
    content: none !important;
}

body.poimichi-top-portal-page .poimichi-section-heading > div:first-child {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.poimichi-top-portal-page .poimichi-section-heading > div:first-child::before,
body.poimichi-top-portal-page .poimichi-section-heading > div:first-child::after {
    display: none !important;
    content: none !important;
}

body.poimichi-top-portal-page .poimichi-section-heading .poimichi-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--poi-green-dark) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    line-height: 1.4 !important;
}

body.poimichi-top-portal-page .poimichi-section-heading .poimichi-eyebrow::before {
    display: block !important;
    width: 17px !important;
    height: 3px !important;
    flex: 0 0 17px !important;
    border-radius: 999px !important;
    background: #35b992 !important;
    content: "" !important;
}

body.poimichi-top-portal-page .poimichi-section-heading .poimichi-chance-label {
    padding: 5px 11px !important;
    border: 1px solid #f0d7a5 !important;
    border-radius: 999px !important;
    background: #fff7e8 !important;
    color: #8b5600 !important;
    letter-spacing: .04em !important;
}

body.poimichi-top-portal-page .poimichi-section-heading .poimichi-chance-label::before {
    width: 7px !important;
    height: 7px !important;
    flex-basis: 7px !important;
    background: #efa31a !important;
}

body.poimichi-top-portal-page .poimichi-method-copy h2.poimichi-portal-heading,
body.poimichi-top-portal-page .poimichi-editorial-profile h2.poimichi-portal-heading {
    font-size: clamp(24px, 2.8vw, 33px) !important;
}

.poimichi-change-empty {
    margin-top: 18px;
    padding: 22px;
    border: 1px dashed #c5dfd5;
    border-radius: 15px;
    background: #fff;
    color: var(--poi-muted);
}

.poimichi-change-empty strong {
    display: block;
    margin-bottom: 5px;
    color: var(--poi-ink);
    font-size: 16px;
}

.poimichi-change-empty p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 720px) {
    body.poimichi-top-portal-page .poimichi-top-shell h2.poimichi-portal-heading {
        font-size: 23px !important;
    }
}


/* v1.2.2: section heading design cleanup */
body.poimichi-top-portal-page .poimichi-section-heading {
    align-items: flex-start !important;
    gap: 18px !important;
}

body.poimichi-top-portal-page .poimichi-section-heading > div:first-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

body.poimichi-top-portal-page .poimichi-top-shell h2.poimichi-portal-heading,
body.poimichi-top-portal-page .poimichi-top-shell .poimichi-section-heading h2 {
    position: relative !important;
    z-index: 2 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 14px 0 0 !important;
    border: 0 !important;
    background: var(--poi-mint) !important;
    background-image: none !important;
    box-shadow: none !important;
    color: var(--poi-ink) !important;
    line-height: 1.34 !important;
    text-decoration: none !important;
    isolation: isolate !important;
}

body.poimichi-top-portal-page .poimichi-top-shell .poimichi-section-heading h2::before,
body.poimichi-top-portal-page .poimichi-top-shell .poimichi-section-heading h2::after {
    display: none !important;
    content: none !important;
}

body.poimichi-top-portal-page .poimichi-section-heading p {
    position: relative !important;
    z-index: 1 !important;
    max-width: 760px !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.poimichi-top-portal-page .poimichi-section-heading .poimichi-eyebrow {
    margin-bottom: 8px !important;
}

body.poimichi-top-portal-page .poimichi-section-heading .poimichi-text-link {
    margin-top: 8px !important;
    white-space: nowrap !important;
}

@media (max-width: 720px) {
    body.poimichi-top-portal-page .poimichi-top-shell h2.poimichi-portal-heading,
    body.poimichi-top-portal-page .poimichi-top-shell .poimichi-section-heading h2 {
        padding-right: 8px !important;
    }
}
