:root {
    color-scheme: light;
    --bg-gradient: linear-gradient(180deg, #f9f5ff 0%, #fff9fb 100%);
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --accent: #7c3aed;
    --accent-soft: rgba(124, 58, 237, 0.08);
    --accent-strong: #5b21b6;
    --text: #1e1b2c;
    --text-muted: #5f5c72;
    --border: rgba(124, 58, 237, 0.14);
    --shadow-soft: 0 20px 45px -20px rgba(76, 29, 149, 0.35);
    --radius-large: 24px;
    --radius-medium: 16px;
    --radius-small: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "游ゴシック体", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-gradient);
    color: var(--text);
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(249, 245, 255, 0.82);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 24px 22px;
    display: grid;
    gap: 12px;
}

.site-header h1 {
    margin: 0;
    font-size: clamp(20px, 4vw + 0.5rem, 46px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-header h1 a {
    color: var(--accent-strong);
}

.site-tagline {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
}

.site-nav a {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--accent-strong);
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(124, 58, 237, 0.15);
    transform: translateY(-1px);
}

.page-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    display: grid;
    gap: 8px;
}
#kokoku1 {
    /* margin: 10px auto; */
    margin-bottom: 0px;;
    /* padding: 0px; */
}
.section-heading {
    font-size: 10px;
    font-weight: 700;
    margin: 0 0 0px;
    color: var(--accent-strong);
}
#h2_about {
    font-size: 12px;;
}
.section-subheading {
    margin: -6px 0 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.ad-strip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    padding: 14px 14px 12px;
    box-shadow: var(--shadow-soft);
}

.ad-strip__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    align-items: center;
}

.ad-tile {
    background: var(--surface-strong);
    border-radius: var(--radius-medium);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.35);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(240px, 0.9fr);
    gap: 32px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(56, 189, 248, 0.08));
    border-radius: var(--radius-large);
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.hero-panel__copy {
    display: grid;
    gap: 18px;
}

.eyebrow {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 12px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.52);
}

.hero-panel h2 {
    margin: 0;
    font-size: clamp(24px, 3vw + 0.5rem, 40px);
    line-height: 1.25;
}

.hero-panel p {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 18px 24px -16px rgba(124, 58, 237, 0.65);
}

.button.primary:hover,
.button.primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 30px -18px rgba(124, 58, 237, 0.75);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.65);
    color: var(--accent-strong);
    border: 1px solid rgba(124, 58, 237, 0.18);
}

.button.ghost:hover,
.button.ghost:focus-visible {
    background: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 0;
}

.hero-stats div {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-medium);
    padding: 12px 16px;
    border: 1px solid rgba(124, 58, 237, 0.12);
}

.hero-stats dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(15, 23, 42, 0.6);
    margin-bottom: 6px;
}

.hero-stats dd {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-strong);
}

.hero-panel__media {
    display: grid;
    place-items: center;
}

.hero-preview-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 14px;
}

.hero-preview-grid img {
    border-radius: var(--radius-medium);
    object-fit: cover;
    aspect-ratio: 3 / 4;
    box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.55);
}

.site-description {
    background: var(--surface);
    border-radius: var(--radius-large);
    padding: 14px 14px 13px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.site-description p {
    margin: 0;
    font-size: 8px;
    color: var(--text-muted);
}

.site-description a {
    color: var(--accent-strong);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 18px -14px rgba(124, 58, 237, 0.65);
}

.gallery-grid {
    display: grid;
    gap: 24px;
}

.gallery-grid__head {
    display: grid;
    gap: 6px;
}

.gallery-grid__wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.gallery-card {
    background: var(--surface-strong);
    border-radius: var(--radius-large);
    border: 1px solid rgba(124, 58, 237, 0.12);
    display: grid;
    gap: 0;
    overflow: hidden;
    box-shadow: 0 22px 40px -26px rgba(15, 23, 42, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover,
.gallery-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 32px 50px -30px rgba(76, 29, 149, 0.5);
}

.card-visual {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #0f172a;
}

.affiliate-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-visual:hover .affiliate-image,
.gallery-card:focus-within .affiliate-image {
    transform: scale(1.04);
}

.card-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    border-radius: 999px;
    text-transform: uppercase;
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 8px;
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.78) 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-visual:hover .card-overlay,
.gallery-card:focus-within .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.overlay-action {
    font-size: 14px;
    font-weight: 700;
}

.card-body {
    padding: 22px 22px 24px;
    display: grid;
    gap: 14px;
}

.card-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.card-title a {
    color: var(--text);
}

.card-summary {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 12px;
    color: var(--text-muted);
}

.meta-label {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    color: rgba(94, 86, 125, 0.85);
}

.meta-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-strong);
}

.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    font-size: 13px;
    box-shadow: 0 18px 32px -28px rgba(15, 23, 42, 0.45);
}

.pagination__control,
.pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.08);
    font-weight: 600;
    color: var(--accent-strong);
    transition: background 0.2s ease, transform 0.2s ease;
}

.pagination__control:hover,
.pagination__page:hover,
.pagination__control:focus-visible,
.pagination__page:focus-visible {
    background: rgba(124, 58, 237, 0.16);
    transform: translateY(-1px);
}

.pagination__page.is-current {
    background: var(--accent);
    color: #fff;
}

.pagination__ellipsis {
    color: var(--text-muted);
    font-size: 16px;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
}

.site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.site-footer__inner a {
    color: var(--accent-strong);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .hero-panel {
        grid-template-columns: 1fr;
    }

    .hero-panel__media {
        order: -1;
    }
}

@media (max-width: 768px) {
    .site-header__inner {
        padding: 16px;
    }

    .page-body {
        padding: 36px 18px 60px;
        gap: 8px;
    }

    .hero-panel {
        padding: 28px;
    }

    .gallery-grid__wrap {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .ad-strip__grid {
        gap: 5px;
    }

@media (max-width: 520px) {
    .site-header__inner {
        gap: 10px;
    }

    .site-nav {
        font-size: 13px;
        gap: 10px;
    }

    .hero-panel {
        padding: 24px 20px;
    }

    .card-body {
        padding: 18px 18px 22px;
    }

    .pagination {
        flex-wrap: wrap;
        row-gap: 14px;
    }

    .pagination__control,
    .pagination__page {
        width: 34px;
        height: 34px;
    }
}

