@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap";
@import "https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;600&display=swap";
@import "https://fonts.googleapis.com/icon?family=Material+Icons";

.rurico-top {
    --primary-color: #1e1b4b;
    --primary-dark: #0f172a;
    --accent-color: #4f46e5;
    --accent-light: #e0e7ff;
    --pro-color: #8b5cf6;
    --cta-color: #f43f5e;
    --cta-hover: #e11d48;
    --bg-primary: #1e1b4b;
    --bg-secondary: #211d5a;
    --bg-accent: #312e81;
    --bg-deep: #0f0c32;
    --text-sub: rgba(255, 255, 255, .75);
    --text-muted-dark: rgba(255, 255, 255, .5);
    --border-dark: rgba(255, 255, 255, .1);
    --border-light: rgba(255, 255, 255, .2);
    --glass-bg: rgba(255, 255, 255, .08);
    --text-color: #1e293b;
    --text-muted: #64748b;
    --bg-gradient-end: #f8fafc;
    --border-color: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    --font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    --header-height: 72px;
    color: var(--text-color);
    font-family: var(--font-family);
    background-color: #fff;
    line-height: 1.7
}

.rurico-top * {
    box-sizing: border-box
}

.rurico-top a {
    cursor: pointer;
    text-decoration: none;
    transition: .3s
}

.rurico-top main {
    padding-top: 0
}

.rurico-top .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px
}

.rurico-top .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all .2s ease;
    letter-spacing: .02em
}

.rurico-top .btn-primary {
    background: var(--cta-color);
    color: #fff;
    box-shadow: 0 4px 6px -1px #0000001a
}

.rurico-top .btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px #0000001a
}

.rurico-top .btn-accent {
    background: var(--accent-color);
    color: #fff
}

.rurico-top .btn-accent:hover {
    background: var(--primary-dark)
}

.rurico-top .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    padding: 8px 18px;
    font-size: .9rem;
    border-radius: 6px
}

.rurico-top .btn-outline:hover {
    background: #ffffff1a;
    border-color: #fff
}

.rurico-top .btn-outline-dark {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 18px;
    font-size: .9rem;
    border-radius: 6px
}

.rurico-top .btn-outline-dark:hover {
    background: var(--accent-light)
}

.rurico-top .g-header {
    height: var(--header-height);
    background: #1e1b4bf2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    flex-shrink: 0;
    z-index: 1000;
    position: relative;
    overflow: visible
}

.rurico-top .g-header.scrolled {
    background: #1e1b4bf2
}

.rurico-top .g-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    gap: 16px;
    justify-content: flex-start;
    overflow: visible
}

.rurico-top .g-header-logo img {
    height: 28px
}

.rurico-top .g-header-feature-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
    border-left: 1px solid rgba(255, 255, 255, .15);
    border-right: 1px solid rgba(255, 255, 255, .15)
}

.rurico-top .g-header-feature-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    color: #ffffffb3;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    border-top: 3px solid transparent;
    transition: all .2s ease;
    white-space: nowrap
}

.rurico-top .g-header-feature-nav a:hover {
    color: #fff;
    background: #ffffff0f
}

.rurico-top .g-header-feature-nav a.active {
    color: #fff;
    border-bottom-color: var(--accent-color)
}

.rurico-top .g-header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    font-size: .85rem;
    white-space: nowrap;
    position: relative;
    color: #fffc;
    overflow: visible;
    z-index: 1001
}

.rurico-top .header-auth {
    display: flex;
    align-items: center;
    gap: 10px
}

.rurico-top .header-login-link {
    color: #ffffffd9;
    text-decoration: none;
    font-weight: 500
}

.rurico-top .header-register-btn {
    background: #f43f5e;
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .8rem
}

.rurico-top .g-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffffe6;
    position: relative
}

.rurico-top .header-user-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer
}

.rurico-top .header-user-caret {
    font-size: .75rem;
    opacity: .85;
    transition: transform .2s ease
}

.rurico-top .header-user-caret.is-open {
    transform: rotate(180deg)
}

.rurico-top .header-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #fff;
    color: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 20px #0f172a26;
    padding: 6px;
    display: none;
    z-index: 2000
}

.rurico-top .header-user-dropdown.is-open {
    display: block
}

.rurico-top .header-user-dropdown a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none;
    font-size: .85rem
}

.rurico-top .header-user-dropdown a:hover {
    background: #f1f5f9
}

.rurico-top .header-user-divider {
    display: block;
    height: 1px;
    background: var(--border-color);
    margin: 6px 0
}

.rurico-top .header-mypage-btn {
    border-radius: 4px;
    font-size: .75rem;
    padding: 3px 10px
}

.rurico-top .plan-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em
}

.rurico-top .plan-badge-free {
    background: #ffffff26;
    color: #fff
}

.rurico-top .plan-badge-pro {
    background: #f43f5e;
    color: #fff
}

.rurico-top .header-auth-loading {
    position: absolute;
    inset: -6px -8px;
    border-radius: 999px;
    background: #0000002e;
    pointer-events: none
}

.rurico-top .header-auth-loading:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    animation: header-auth-spin .8s linear infinite
}

.rurico-top .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: visible;
    padding: 56px 0 0;
    background: var(--primary-color);
    z-index: 10
}

.rurico-top .showvideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden
}

.rurico-top .showvideo video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.rurico-top .showvideo:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0c3299
}

.rurico-top .hero-section .container {
    position: relative;
    z-index: 2
}

.rurico-top .hero-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.35
}

.rurico-top .hero-subtitle {
    font-size: .95rem;
    color: #fffc;
    margin: 0 auto 10px;
    font-weight: 400;
    max-width: 640px
}

.rurico-top .hero-support {
    font-size: .78rem;
    color: #ffffffb8;
    margin: 0 auto 24px;
    letter-spacing: .02em;
    max-width: 620px
}

.rurico-top .hero-trust {
    font-size: .78rem;
    color: #ffffff8c;
    margin-top: 16px;
    letter-spacing: .03em
}

.rurico-top .hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%);
    z-index: 1;
    color: #ffffff80;
    font-size: .8rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none
}

.rurico-top .hero-scroll-hint .arrow {
    display: block;
    margin-top: 4px;
    animation: bounceArrow 2s ease-in-out infinite
}

@keyframes bounceArrow {
    0%, to {
        transform: translateY(0)
    }
    50% {
        transform: translateY(6px)
    }
}

.rurico-top .search-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 3
}

.rurico-top .search-container:before {
    content: "";
    position: absolute;
    inset: -18px -16px -20px;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 0%, #07061c8f, #07061c3d 52%, #07061c00 78%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 0
}

.rurico-top .search-tabs {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    width: 100%
}

.rurico-top .search-tab {
    min-width: 0;
    min-height: 68px;
    padding: 12px 16px;
    background: #ffffff09;
    color: #ffffff9e;
    cursor: pointer;
    font-weight: 600;
    font-size: .85rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    border: 1px solid rgba(255, 255, 255, .16);
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(14px)
}

.rurico-top .search-tab:first-child {
    border-top-left-radius: var(--radius-md)
}

.rurico-top .search-tab:last-child {
    border-top-right-radius: var(--radius-md)
}

.rurico-top .search-tab + .search-tab {
    border-left: none
}

.rurico-top .search-tab.active {
    background: linear-gradient(180deg, #ffffff38, #ffffff1f);
    color: #fff;
    border-color: #ffffff57;
    box-shadow: inset 0 1px #ffffff38, 0 18px 38px #08071c2e;
    transform: translateY(-2px)
}

.rurico-top .search-tab.active:after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 3px;
    border-radius: 999px;
    background: #a78bfa;
    box-shadow: 0 0 16px #a78bfa6b
}

.rurico-top #tab-suggest.active:after {
    background: #60a5fa;
    box-shadow: 0 0 16px #60a5fa6b
}

.rurico-top #tab-domain.active:after {
    background: #fb7185;
    box-shadow: 0 0 16px #fb718561
}

.rurico-top .search-tab:hover:not(.active) {
    background: #ffffff14;
    color: #ffffffe6
}

.rurico-top .tab-label {
    display: block;
    line-height: 1.25
}

.rurico-top .tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    background: #ffffff14;
    color: #ffffff9e;
    font-size: .68rem;
    padding: 0 8px;
    border-radius: 999px;
    margin-left: 0;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, .08)
}

.rurico-top .search-tab.active .tab-badge {
    background: #ffffff24;
    color: #fff;
    border-color: #ffffff29
}

.rurico-top .search-box {
    background: linear-gradient(180deg, #ffffff29, #ffffff1a);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .24);
    border-top: none;
    box-shadow: 0 28px 72px #05041657, inset 0 1px #ffffff14;
    padding: 22px 22px 20px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    text-align: left;
    position: relative;
    z-index: 2;
    min-height: 160px
}

.rurico-top .search-input-group {
    display: flex;
    gap: 0;
    align-items: stretch
}

.rurico-top .search-input-group.keyword-group {
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-sm);
    overflow: visible;
    background: #08071c57;
    box-shadow: inset 0 1px #ffffff0a
}

.rurico-top .search-input-group.keyword-group:focus-within {
    border-color: #ffffff57;
    box-shadow: 0 0 0 4px #4f46e538, 0 16px 32px #0504163d
}

.rurico-top .search-input-wrapper {
    flex: 1;
    position: relative
}

.rurico-top .form-input {
    width: 100%;
    padding: 16px 18px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: #fff;
    font-family: var(--font-family);
    background: transparent
}

.rurico-top .form-input::-moz-placeholder {
    color: #ffffff75
}

.rurico-top .form-input::placeholder {
    color: #ffffff75
}

.rurico-top .form-input:focus {
    outline: none
}

.rurico-top .search-submit-btn {
    min-height: 52px;
    border-radius: 0 5px 5px 0;
    position: relative
}

.rurico-top .search-submit-btn.is-loading {
    cursor: default;
    opacity: .9
}

.rurico-top .btn-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    animation: top-submit-spin .8s linear infinite;
    margin-right: 6px
}

@keyframes top-submit-spin {
    to {
        transform: rotate(360deg)
    }
}

.rurico-top .search-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 14px;
    align-items: center;
    min-height: 24px
}

.rurico-top .search-hints--placeholder {
    visibility: hidden
}

.rurico-top .search-hints-label {
    font-size: .72rem;
    color: #ffffff80;
    margin-right: 8px
}

.rurico-top .search-hint-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: #fffc;
    text-decoration: none;
    transition: all .2s ease;
    font-weight: 500;
    background: #ffffff14;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .12)
}

.rurico-top .search-hint-link:hover {
    background: #ffffff29;
    color: #fff
}

.rurico-top .form-domain-selector {
    position: relative;
    min-width: 120px;
    align-self: stretch
}

.rurico-top .form-domain-btn {
    width: 100%;
    height: 100%;
    min-height: 52px;
    border: none;
    background: #ffffff14;
    color: #fff;
    padding: 0 16px;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer
}

.rurico-top .form-domain-dropdown {
    position: absolute;
    left: 0;
    right: auto;
    width: 320px;
    min-width: 320px;
    top: calc(100% + 8px);
    background: #2d2a6e;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    padding: 6px;
    z-index: 1200;
    display: none;
    box-shadow: 0 16px 30px #08071c59
}

.rurico-top .form-domain-dropdown.show {
    display: block
}

.rurico-top .form-domain-option {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 12px 14px;
    color: #fff;
    cursor: pointer;
    border-radius: 8px
}

.rurico-top .form-domain-option.selected, .rurico-top .form-domain-option:hover {
    background: #ffffff1f
}

.rurico-top .form-domain-option-label {
    font-weight: 600;
    font-size: .9rem
}

.rurico-top .form-domain-option-desc {
    font-size: .72rem;
    color: #fff9;
    margin-top: 4px
}

.rurico-top .landing-section {
    padding: 60px 0;
    text-align: center
}

.rurico-top .landing-section--light {
    background: linear-gradient(to bottom, #fff, #e4e9fc);
    margin: -80px 0 0;
    padding: 100px 0 60px
}

.rurico-top .landing-section--dark {
    color: #fff;
    background-color: #1e0a6e;
    padding: 60px 0;
    background: url(/img/bg.png) center center no-repeat;
    background-size: cover
}

.rurico-top .landing-section h2 {
    letter-spacing: .1em;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 auto 40px;
    color: var(--text-color);
    font-size: 1.8rem;
    text-align: center;
    display: flex;
    justify-content: center
}

.rurico-top .landing-section h2 img {
    display: block;
    margin: 0 auto
}

.rurico-top #s_02 h2 img {
    width: 260px
}

.rurico-top #s_03 h2 img {
    width: 450px
}

.rurico-top .number {
    font-size: 3.5rem;
    line-height: 1.4;
    font-weight: 400;
    color: #3818d6;
    text-align: center;
    font-family: Barlow Semi Condensed, sans-serif;
    display: block;
    margin: 30px 0
}

.rurico-top .wrap {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 2
}

.rurico-top .landing-section--dark .wrap {
    text-align: center
}

.rurico-top .landing-section--dark .wrap p {
    margin-bottom: 20px
}

.rurico-top .landing-section--dark .wrap em {
    font-style: normal;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid #fff
}

.rurico-top .landing-section--dark .wrap span.ex {
    background-color: #ffffff26;
    display: block;
    padding: 2em;
    font-size: .9em;
    font-weight: 400;
    border: solid 1px transparent;
    box-shadow: 0 0 16px #23069873;
    border-radius: 4px;
    margin-top: 20px;
    color: #fff
}

.rurico-top .section {
    padding: 60px 0
}

.rurico-top .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-color);
    position: relative;
    letter-spacing: -.02em
}

.rurico-top .section-title:after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px
}

.rurico-top .section-gradient {
    background: linear-gradient(to bottom, #fff, var(--bg-gradient-end))
}

.rurico-top .plans {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap
}

.rurico-top .plan-card.featured {
    border: 2px solid var(--pro-color);
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 10px 30px #6435c926;
    z-index: 1
}

.rurico-top .plan-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translate(-50%);
    background: var(--pro-color);
    color: #fff;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700
}

.rurico-top .plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0;
    font-family: Barlow Semi Condensed, sans-serif
}

.rurico-top .plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400
}

.rurico-top .plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left
}

.rurico-top .plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--accent-light);
    color: var(--text-color);
    font-size: .9rem
}

.rurico-top .plan-features li:before {
    content: "✓";
    color: var(--pro-color);
    font-weight: 700;
    margin-right: 10px
}

.rurico-top .plan-cta {
    width: 100%;
    border-radius: 30px
}

.rurico-top footer {
    background: #0f0c32;
    color: #ffffff80;
    padding: 48px 0 24px;
    font-size: .85rem
}

.rurico-top .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px
}

.rurico-top .footer-links {
    display: flex;
    gap: 24px
}

.rurico-top .footer-links a {
    color: #ffffff80;
    text-decoration: none;
    font-size: .85rem
}

.rurico-top .footer-links a:hover {
    color: #fffc
}

.rurico-top .copyright {
    font-size: .8rem;
    color: #ffffff59
}

.rurico-top .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0c32bf;
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000
}

.rurico-top .modal {
    background: #2d2a6e;
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 40px;
    border-radius: 12px;
    max-width: 440px;
    width: 90%;
    text-align: center
}

.rurico-top .modal h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.2rem
}

.rurico-top .modal p {
    color: #ffffffbf;
    font-size: .95rem;
    margin-bottom: 24px
}

.rurico-top .feature-section {
    padding: 100px 0
}

.rurico-top .feature-section .feature-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 64px;
    align-items: center
}

.rurico-top .feature-section--reversed .feature-grid {
    direction: rtl
}

.rurico-top .feature-section--reversed .feature-grid > * {
    direction: ltr
}

.rurico-top .feature-label {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 12px
}

.rurico-top .feature-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4
}

.rurico-top .feature-plan-badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-family: "Inter", var(--font-family)
}

.rurico-top .badge-green {
    background: #10b98126;
    color: #10b981
}

.rurico-top .badge-rose {
    background: #f43f5e26;
    color: #f43f5e
}

.rurico-top .badge-dual {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.rurico-top .feature-text {
    font-size: .9375rem;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 24px
}

.rurico-top .feature-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 28px
}

.rurico-top .feature-checklist li {
    padding: 6px 0;
    color: #ffffffe6;
    font-size: .9375rem;
    display: flex;
    align-items: center;
    gap: 10px
}

.rurico-top .feature-checklist li svg {
    flex-shrink: 0;
    color: #10b981
}

.rurico-top .feature-inline-note {
    font-size: .82rem;
    color: var(--text-muted-dark)
}

.rurico-top .feature-image-wrap {
    position: relative
}

.rurico-top .feature-image-wrap img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px #0006
}

.rurico-top .feature-image-wrap--tilt-right {
    perspective: 1000px
}

.rurico-top .feature-image-wrap--tilt-right img {
    transform: rotateY(-3deg)
}

.rurico-top .feature-image-wrap--tilt-left {
    perspective: 1000px
}

.rurico-top .feature-image-wrap--tilt-left img {
    transform: rotateY(3deg)
}

.rurico-top .feature-image-caption {
    font-size: .8rem;
    color: var(--text-muted-dark);
    margin-top: 12px;
    text-align: center
}

.rurico-top .plan-section {
    padding: 100px 0;
    background: var(--bg-accent)
}

.rurico-top .plan-section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px
}

.rurico-top .plan-section-sub {
    text-align: center;
    color: #fffc;
    font-size: .95rem;
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto
}

.rurico-top .plan-cards {
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto
}

.rurico-top .plan-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    position: relative;
    width: 100%
}

.rurico-top .plan-card--guest {
    opacity: .85
}

.rurico-top .plan-card--pro {
    background: #ffffff1f;
    border-color: #a78bfa80
}

.rurico-top .plan-card-recommend {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translate(-50%);
    background: var(--cta-color);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap
}

.rurico-top .plan-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px
}

.rurico-top .plan-card-price {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    font-family: Barlow Semi Condensed, sans-serif;
    line-height: 1.2;
    margin-bottom: 24px
}

.rurico-top .plan-card-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-sub)
}

.rurico-top .plan-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px
}

.rurico-top .plan-card-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-dark);
    font-size: .9rem;
    color: #ffffffd9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.rurico-top .plan-card-features li:last-child {
    border-bottom: none
}

.rurico-top .plan-card-features .label {
    color: var(--text-sub)
}

.rurico-top .plan-card-features .value {
    font-weight: 600;
    color: #fff
}

.rurico-top .plan-card-features .value--muted {
    color: var(--text-muted-dark)
}

.rurico-top .plan-note {
    text-align: center;
    font-size: .85rem;
    color: var(--text-muted-dark);
    margin-top: 24px
}

.rurico-top .s-faq {
    padding: 100px 0;
    background: var(--bg-secondary)
}

.rurico-top .s-faq .section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 48px
}

.rurico-top .faq-list {
    max-width: 720px;
    margin: 0 auto
}

.rurico-top .faq-item {
    border-bottom: 1px solid var(--border-dark)
}

.rurico-top .faq-q {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    text-align: left;
    gap: 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.5;
    transition: color .2s
}

.rurico-top .faq-q:hover {
    color: #a78bfa
}

.rurico-top .faq-q-text {
    flex: 1
}

.rurico-top .faq-q-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff14;
    color: var(--text-muted-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    transition: all .3s ease
}

.rurico-top .faq-item.open .faq-q {
    color: #a78bfa
}

.rurico-top .faq-item.open .faq-q-icon {
    transform: rotate(45deg);
    background: #a78bfa33;
    color: #a78bfa
}

.rurico-top .faq-a {
    display: none;
    padding: 0 0 24px;
    color: var(--text-sub);
    font-size: .9375rem;
    line-height: 1.8
}

.rurico-top .faq-item.open .faq-a {
    display: block;
    animation: fadeIn .3s ease
}

.rurico-top .cta-bar {
    background: linear-gradient(135deg, #6d28d9, #4f46e5);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden
}

.rurico-top .cta-bar h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff
}

.rurico-top .cta-bar p {
    margin: 0 0 28px;
    color: #ffffffd9;
    font-size: 1rem
}

.rurico-top .cta-bar .cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap
}

.rurico-top .cta-bar .cta-login-link {
    color: #fffc;
    font-size: .9rem;
    text-decoration: none
}

.rurico-top .cta-bar .cta-login-link:hover {
    color: #fff
}

.rurico-top .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease
}

.rurico-top .fade-in.visible {
    opacity: 1;
    transform: translateY(0)
}

.rurico-top .fade-in-delay {
    transition-delay: .2s
}

@media (max-width: 1034px) {
    .rurico-top .g-header-inner {
        padding: 0 12px
    }

    .rurico-top .g-header-logo img {
        height: 24px
    }

    .rurico-top .feature-section .feature-grid {
        gap: 40px
    }

    .rurico-top .plan-cards {
        grid-template-columns:1fr 1fr;
        max-width: 700px
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.6rem
    }

    .hero-section {
        padding-top: 56px
    }

    .search-container:before {
        inset: -14px -10px -16px
    }

    .search-tab {
        min-height: 64px;
        padding: 12px 8px;
        font-size: .8rem;
        border-radius: 12px
    }

    .tab-label {
        font-size: .76rem
    }

    .tab-badge {
        font-size: .62rem;
        padding: 0 6px
    }

    .hero-support {
        font-size: .78rem;
        margin-bottom: 24px
    }

    .search-input-group {
        flex-direction: column
    }

    .search-submit-btn {
        width: 100%;
        border-radius: 0 0 5px 5px
    }

    .form-domain-selector {
        min-width: 100%
    }

    .form-domain-dropdown {
        width: 100%;
        min-width: 100%
    }

    .g-header-nav {
        gap: 12px;
        font-size: .85rem
    }

    .section {
        padding: 60px 0
    }

    .rurico-top .similarity-steps {
        grid-template-columns:1fr
    }

    .rurico-top .features-grid {
        grid-template-columns:1fr;
        gap: 20px
    }

    .rurico-top .demo-inner {
        grid-template-columns:1fr;
        gap: 40px
    }

    .rurico-top .usecase-grid {
        grid-template-columns:1fr
    }

    .rurico-top footer {
        padding: 32px 0
    }

    .rurico-top .footer-inner {
        flex-direction: column;
        text-align: center
    }

    .rurico-top .footer-links {
        flex-direction: column;
        gap: 12px
    }

    .rurico-top .search-box {
        min-height: 160px
    }

    .rurico-top .feature-section {
        padding: 64px 0
    }

    .rurico-top .feature-section .feature-grid {
        grid-template-columns:1fr;
        gap: 32px
    }

    .rurico-top .feature-section--reversed .feature-grid {
        direction: ltr
    }

    .rurico-top .feature-image-wrap--tilt-right img, .rurico-top .feature-image-wrap--tilt-left img {
        transform: none
    }

    .rurico-top .plan-section {
        padding: 64px 0
    }

    .rurico-top .plan-cards {
        grid-template-columns:1fr;
        max-width: 420px
    }

    .rurico-top .s-faq {
        padding: 64px 0
    }

    .rurico-top .cta-bar {
        padding: 48px 0
    }
}

.rurico-report {
    --header-height: 72px;
    --sidebar-width: 220px;
    --primary-color: #1e1b4b;
    --primary-dark: #0f172a;
    --accent-color: #4f46e5;
    --accent-light: #e0e7ff;
    --cta-color: #f43f5e;
    --cta-hover: #e11d48;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --section-bg: #f8fafc;
    --content-bg: #f1f5f9;
    --chart-bg: #ffffff;
    --error-color: #ef4444;
    --font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background: var(--content-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-color)
}

.rurico-report * {
    box-sizing: border-box
}

.rurico-report a {
    text-decoration: none;
    color: inherit
}

.rurico-report .material-icons {
    font-family: Material Icons;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle
}

.rurico-report .g-header {
    height: var(--header-height);
    background: #1e1b4bf2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    flex-shrink: 0;
    z-index: 1000;
    position: relative;
    overflow: visible
}

.rurico-report .g-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    gap: 16px;
    justify-content: flex-start;
    overflow: visible
}

.rurico-report .g-header-logo a {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap
}

.rurico-report .g-header-logo img {
    height: 28px
}

.rurico-report .g-header-feature-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
    border-left: 1px solid rgba(255, 255, 255, .15);
    border-right: 1px solid rgba(255, 255, 255, .15)
}

.rurico-report .g-header-feature-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    color: #ffffffb3;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    border-top: 3px solid transparent;
    transition: all .2s ease;
    white-space: nowrap
}

.rurico-report .g-header-feature-nav a:hover {
    color: #fff;
    background: #ffffff0f
}

.rurico-report .g-header-feature-nav a.active {
    color: #fff;
    border-bottom-color: var(--accent-color)
}

.rurico-report .g-header-search-wrapper {
    display: none !important
}

.rurico-report .g-header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    font-size: .85rem;
    white-space: nowrap;
    color: #fffc;
    position: relative;
    overflow: visible;
    z-index: 1001
}

.rurico-report .header-auth {
    display: flex;
    align-items: center;
    gap: 10px
}

.rurico-report .header-login-link {
    color: #ffffffd9;
    text-decoration: none;
    font-weight: 500
}

.rurico-report .header-register-btn {
    background: #f43f5e;
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .8rem
}

.rurico-report .g-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffffe6;
    position: relative
}

.rurico-report .g-header-user-name {
    font-weight: 600;
    font-size: .85rem
}

.rurico-report .header-mypage-btn {
    border-radius: 4px;
    font-size: .75rem;
    padding: 3px 10px
}

.rurico-report .plan-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em
}

.rurico-report .plan-badge-free {
    background: #ffffff26;
    color: #fff
}

.rurico-report .plan-badge-pro {
    background: #f43f5e;
    color: #fff
}

.rurico-report .header-auth-loading {
    position: absolute;
    inset: -6px -8px;
    border-radius: 999px;
    background: #0000002e;
    pointer-events: none
}

.rurico-report .header-auth-loading:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    animation: header-auth-spin .8s linear infinite
}

.rurico-report .app-body {
    display: flex;
    flex: 1;
    overflow: hidden
}

.rurico-report:not(.results-mode) .content-area, .rurico-report:not(.results-mode) .sidebar {
    display: none
}

.rurico-report.results-mode .empty-state {
    display: none
}

.empty-state-form select {
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 0 32px 0 12px;
    font-size: .84rem;
    font-family: var(--font-family);
    color: var(--text-color);
    background: #f8fafc;
    cursor: pointer;
    outline: none;
    line-height: normal;
    height: 44px !important;
    min-height: 44px;
    align-self: stretch;
    white-space: nowrap;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center
}

.sidebar {
    width: var(--sidebar-width);
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: #fff
}

.sidebar-nav {
    width: 100%;
    background: #fff;
    overflow: visible;
    flex: 1;
    display: flex;
    flex-direction: column
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: visible
}

.menu-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fcfcff
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 9px 12px;
    border-left: 4px solid transparent;
    font-size: .82rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: all .2s ease
}

.search-metric.quota {
    background: #4f46e514;
    border-color: #c7d2fe;
    color: var(--accent-color)
}

.search-metric.quota strong {
    color: var(--accent-color)
}

.content-search-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
    box-shadow: none;
    transition: border-color .2s ease;
    min-height: 44px
}

.content-search-bar input[type=text] {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 12px 0 0;
    font-size: .9rem;
    font-family: var(--font-family);
    color: var(--text-color);
    background: transparent;
    height: 44px;
    line-height: 44px
}

.content-search-bar select {
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 0 32px 0 12px;
    font-size: .84rem;
    font-family: var(--font-family);
    color: var(--text-color);
    background: #f8fafc;
    cursor: pointer;
    outline: none;
    line-height: normal;
    height: 44px !important;
    min-height: 44px;
    align-self: stretch;
    white-space: nowrap;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center
}

.content-search-bar button {
    border: none;
    background: var(--cta-color);
    color: #fff;
    padding: 0 18px;
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .15s ease;
    white-space: nowrap;
    height: 44px
}

.content-main {
    padding: 12px 20px 18px;
    flex: 1;
    overflow-y: auto
}

.table-area {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px #0000000f;
    overflow: hidden;
    margin-bottom: 4px
}

.rurico-report .table-action-btn .loading-spinner {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin: 0;
    flex-shrink: 0;
    border-color: currentColor;
    border-top-color: currentColor;
    border-right-color: currentColor
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all .2s ease;
    box-shadow: 0 1px 2px #0000000d
}

.btn-action:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a
}

.btn-action:disabled, .btn-action.disabled {
    opacity: .6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none
}

.table-scroll {
    overflow: auto;
    background: #fff
}

.rank-cell {
    font-weight: 700
}

.rank-1 {
    color: #d4af37
}

.rank-2 {
    color: silver
}

.rank-3 {
    color: #cd7f32
}

.url-text {
    font-size: .82rem;
    color: var(--accent-color);
    word-break: break-all;
    display: block
}

.desc-text {
    color: var(--text-muted);
    font-size: .85rem;
    margin: 0 16px 16px
}

.table-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 20px 10px
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: #ffffffbf;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10
}

.loading-spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(56, 24, 214, .2);
    border-top-color: var(--accent-color, #3818d6);
    border-right-color: var(--accent-color, #3818d6);
    animation: spin .9s linear infinite
}

.pagination-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px
}

.pagination-btn {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: .85rem;
    font-family: var(--font-family);
    transition: all .2s ease;
    box-shadow: 0 1px 2px #0000000d
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    transform: translateY(-1px)
}

.pagination-btn.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color)
}

.pagination-btn.disabled {
    cursor: not-allowed;
    opacity: .5
}

.pagination-info-bottom {
    text-align: left;
    color: var(--text-muted);
    font-size: .85rem;
    margin: 16px 0 0
}

.stats-area {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px #0000000f;
    border: 1px solid var(--border-color)
}

.stats-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px
}

.stats-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color)
}

.stats-subtitle {
    font-size: .85rem;
    color: var(--text-muted)
}

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

.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 2px #0000000d;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all .2s ease
}

.stat-card:hover {
    box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    transform: translateY(-2px)
}

.stat-card-title {
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px
}

.stat-card-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color)
}

.stat-card-sub {
    font-size: .75rem;
    color: #aaa;
    margin-top: 4px
}

.stat-card-sub.up {
    color: #2ecc71
}

.stat-card-sub.down {
    color: #e74c3c
}

.stats-charts-row {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 24px
}

.chart-box {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 2px #0000000d;
    border: 1px solid var(--border-color);
    transition: all .2s ease
}

.chart-box:hover {
    box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a
}

.chart-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px
}

.bar-chart-container {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.bar-row {
    display: flex;
    align-items: center;
    font-size: .8rem
}

.bar-label {
    width: 80px;
    flex-shrink: 0;
    color: var(--text-muted)
}

.bar-area {
    flex: 1;
    background: #f0f2fa;
    border-radius: 4px;
    height: 18px;
    position: relative;
    overflow: hidden
}

.bar-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    width: 0;
    transition: width .5s ease-out
}

.bar-value {
    margin-left: 8px;
    font-weight: 700;
    color: #555;
    width: 50px;
    text-align: right
}

.report-alert {
    background: #fff7f7;
    border: 1px solid #f2c2c2;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px
}

.report-alert-title {
    font-weight: 700;
    color: #b42318
}

.report-alert-text {
    margin: 4px 0 0;
    color: #7a1a1a
}

.report-alert-link {
    display: inline-flex;
    margin-top: 8px;
    font-weight: 700;
    color: var(--primary-color)
}

.rurico-report .result-table .url-title, .rurico-report .result-table .url-title:visited, .rurico-report .result-table .url-title:hover, .rurico-report .result-table .url-title:active {
    color: var(--accent-color) !important
}

@media (max-width: 960px) {
    .analysis-shell {
        margin: 12px 16px 0
    }

    .search-info-bar, .content-search-band {
        padding-left: 16px;
        padding-right: 16px
    }

    .content-main {
        padding: 16px
    }
}

@media (max-width: 720px) {
    .summary-item {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px
    }

    .table-header-panel {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .table-header-actions {
        width: 100%;
        margin-left: 0
    }

    .content-search-bar {
        flex-wrap: wrap
    }

    .content-search-bar .csb-icon {
        display: none
    }

    .content-search-bar input[type=text] {
        width: 100%;
        padding-left: 12px
    }

    .content-search-bar select, .content-search-bar button {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-color)
    }

    .content-search-bar button {
        justify-content: center
    }
}

.url-block {
    max-width: 400px
}

.url-title {
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
    color: var(--accent-color);
    text-decoration: none
}

.url-title:visited, .url-title:hover, .url-title:active {
    color: var(--accent-color)
}

.url-sub {
    font-size: .78rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block
}

.analysis-summary-note {
    width: 100%;
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .02em
}

.form-error {
    color: #ef4444;
    font-size: .9rem;
    margin-top: 8px
}

.rurico-report .header-user-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer
}

.rurico-report .header-user-caret {
    font-size: .75rem;
    opacity: .85;
    transition: transform .2s ease
}

.rurico-report .header-user-caret.is-open {
    transform: rotate(180deg)
}

.rurico-report .header-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #fff;
    color: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 20px #0f172a26;
    padding: 6px;
    display: none;
    z-index: 2000
}

.rurico-report .header-user-dropdown.is-open {
    display: block
}

.rurico-report .header-user-dropdown a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none;
    font-size: .85rem
}

.rurico-report .header-user-dropdown a:hover {
    background: #f1f5f9
}

.rurico-report .header-user-divider {
    display: block;
    height: 1px;
    background: var(--border-color);
    margin: 6px 0
}

.rurico-report .pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 16px 0 8px
}

.rurico-report .pagination-button {
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: .85rem;
    cursor: pointer;
    transition: all .2s ease
}

.rurico-report .pagination-button:hover:not(:disabled) {
    border-color: var(--accent-color);
    color: var(--accent-color)
}

.rurico-report .pagination-button:disabled {
    opacity: .5;
    cursor: not-allowed
}

.rurico-report .pagination-button.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    font-weight: 600
}

.rurico-report .pagination-ellipsis {
    color: var(--text-muted);
    padding: 0 4px
}

.rurico-report .pagination-info-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: .85rem;
    padding-bottom: 12px
}

.rurico-report .preview-badge {
    background: #f43f5e1f;
    color: #c0264a;
    font-weight: 700
}

.rurico-report .preview-note {
    margin: 6px 0 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff7f5;
    color: #c0264a;
    font-size: .85rem;
    font-weight: 600
}

.rurico-report .preview-row td {
    background: #fff
}

.rurico-report .preview-mask {
    display: block;
    width: 100%;
    height: 14px;
    border-radius: 6px;
    background-image: repeating-linear-gradient(135deg, #e2e8f0 0 6px, #f1f5f9 6px 12px);
    box-shadow: inset 0 0 0 1px #e5e7eb
}

.rurico-report .preview-message-row td {
    padding: 12px 16px;
    background: #fff7f5;
    border-top: 1px solid #fecaca;
    border-bottom: 1px solid #fecaca;
    text-align: center
}

.rurico-report .preview-message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 700;
    font-size: .85rem
}

.keyword-search {
    --header-height: 72px;
    --sidebar-width: 220px;
    --primary-color: #1e1b4b;
    --primary-dark: #0f172a;
    --accent-color: #4f46e5;
    --accent-light: #e0e7ff;
    --pro-color: #8b5cf6;
    --cta-color: #f43f5e;
    --cta-hover: #e11d48;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --section-bg: #f8fafc;
    --content-bg: #f1f5f9;
    --chart-bg: #ffffff;
    --chart-bar: #4f46e5;
    --chart-bar-alt: #8b5cf6;
    --chart-text: #1e293b;
    --error-color: #ef4444;
    font-family: Inter, Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
    background: var(--content-bg);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.keyword-search * {
    box-sizing: border-box
}

.keyword-search .material-icons {
    font-family: Material Icons;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle
}

.keyword-search .g-header {
    height: var(--header-height);
    background: #1e1b4bf2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    flex-shrink: 0;
    z-index: 1000;
    position: relative;
    overflow: visible
}

.keyword-search .g-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    gap: 16px;
    justify-content: flex-start;
    overflow: visible
}

.keyword-search .g-header-logo img {
    height: 28px
}

.keyword-search .g-header-feature-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
    border-left: 1px solid rgba(255, 255, 255, .15);
    border-right: 1px solid rgba(255, 255, 255, .15)
}

.keyword-search .g-header-feature-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    color: #ffffffb3;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    border-top: 3px solid transparent;
    transition: all .2s ease;
    white-space: nowrap
}

.keyword-search .g-header-feature-nav a:hover {
    color: #fff;
    background: #ffffff0f
}

.keyword-search .g-header-feature-nav a.active {
    color: #fff;
    border-bottom-color: var(--accent-color)
}

.keyword-search .g-header-search-wrapper {
    display: none !important
}

.keyword-search .g-header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    font-size: .85rem;
    white-space: nowrap;
    position: relative;
    overflow: visible;
    z-index: 1001
}

.keyword-search .g-header-nav a {
    color: #fffc;
    text-decoration: none
}

.keyword-search .g-header-nav a:hover {
    color: #fff
}

.keyword-search .header-auth {
    display: flex;
    align-items: center;
    gap: 10px
}

.keyword-search .header-login-link {
    color: #ffffffd9;
    text-decoration: none;
    font-weight: 500
}

.keyword-search .header-register-btn {
    background: #f43f5e;
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .8rem
}

.keyword-search .g-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffffe6;
    position: relative
}

.keyword-search .g-header-user-name {
    font-weight: 600;
    font-size: .85rem
}

.keyword-search .header-mypage-btn {
    border-radius: 4px;
    font-size: .75rem;
    padding: 3px 10px
}

.keyword-search .plan-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em
}

.keyword-search .plan-badge-free {
    background: #ffffff26;
    color: #fff
}

.keyword-search .plan-badge-pro {
    background: #f43f5e;
    color: #fff
}

.keyword-search .header-auth-loading {
    position: absolute;
    inset: -6px -8px;
    border-radius: 999px;
    background: #0000002e;
    pointer-events: none
}

.keyword-search .header-auth-loading:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    animation: header-auth-spin .8s linear infinite
}

.keyword-search .app-body {
    display: flex;
    flex: 1;
    overflow: hidden
}

.keyword-search:not(.results-mode) .content-area, .keyword-search:not(.results-mode) .sidebar {
    display: none
}

.keyword-search.results-mode .empty-state {
    display: none
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 20px;
    background: var(--content-bg)
}

.empty-state-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    text-align: center
}

.empty-state-desc {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    text-align: center
}

.empty-state-form {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 10px 15px -3px #0000001a;
    transition: border-color .2s ease
}

.empty-state-form:focus-within {
    border-color: var(--accent-color)
}

.empty-state-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--text-color)
}

.empty-state-form input::-moz-placeholder {
    color: var(--text-muted)
}

.empty-state-form input::placeholder {
    color: var(--text-muted)
}

.empty-state-form button {
    border: none;
    background: var(--cta-color);
    color: #fff;
    padding: 14px 24px;
    font-size: .95rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .15s ease;
    white-space: nowrap
}

.empty-state-form button:hover {
    background: var(--cta-hover)
}

.sidebar {
    width: var(--sidebar-width);
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff
}

.sidebar-nav {
    width: 100%;
    background: #fff;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-left: 4px solid transparent;
    font-size: .82rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: all .2s ease
}

.menu-item:hover {
    background: linear-gradient(90deg, var(--accent-light) 0%, transparent 100%);
    color: var(--accent-color)
}

.menu-item.active {
    background: linear-gradient(90deg, var(--accent-light) 0%, transparent 100%);
    color: var(--accent-color);
    font-weight: 700;
    border-left: 4px solid var(--accent-color);
    padding-left: 12px
}

.menu-item.feature-item {
    font-size: .82rem;
    padding: 9px 12px;
    white-space: nowrap
}

.content-area {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: var(--content-bg)
}

.analysis-shell {
    margin: 8px 20px 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 1px 2px #0000000d;
    overflow: hidden;
    flex-shrink: 0
}

.search-info-bar {
    background: linear-gradient(180deg, #fff, #f8fbff);
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0
}

.search-feature-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--accent-color)
}

.analysis-copy {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.analysis-title {
    font-size: clamp(1.24rem, 2.2vw, 1.68rem);
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    margin: 0
}

.section-description {
    margin: 0;
    font-size: .82rem;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 760px
}

.analysis-summary {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap
}

.summary-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #dbe4f0;
    background: #fff
}

.summary-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: .02em;
    white-space: nowrap
}

.summary-value {
    font-size: .96rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    word-break: break-word
}

.search-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.search-metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dbe4f0;
    font-size: .76rem;
    color: var(--text-muted)
}

.search-metric strong {
    color: var(--text-color);
    font-size: .82rem
}

.feature-tabs {
    display: none;
    background: #fff;
    padding: 12px 16px;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap
}

.feature-tabs.active {
    display: flex;
    border-top: 1px solid var(--border-color)
}

.feature-tab {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    transition: all .2s ease
}

.feature-tab:hover {
    border-color: #c7d2fe;
    background: #eef2ff;
    color: var(--accent-color)
}

.feature-tab.active {
    background: var(--accent-light);
    color: var(--accent-color);
    border-color: #c7d2fe
}

.content-search-band {
    padding: 10px 16px 12px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color)
}

.content-search-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
    box-shadow: none;
    transition: border-color .2s ease
}

.content-search-bar:focus-within {
    border-color: var(--accent-color)
}

.content-search-bar .csb-icon {
    padding: 0 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center
}

.content-search-bar input[type=text] {
    flex: 1;
    border: none;
    outline: none;
    padding: 9px 12px 9px 0;
    font-size: .9rem;
    font-family: var(--font-family);
    color: var(--text-color);
    background: transparent
}

.content-search-bar input[type=text]::-moz-placeholder {
    color: var(--text-muted)
}

.content-search-bar input[type=text]::placeholder {
    color: var(--text-muted)
}

.content-search-bar button {
    border: none;
    background: var(--cta-color);
    color: #fff;
    padding: 10px 18px;
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .15s ease;
    white-space: nowrap
}

.content-search-bar button:hover {
    background: var(--cta-hover)
}

.content-wrapper {
    padding: 12px 20px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.graph-area {
    background: #fff;
    color: var(--chart-text);
    border-radius: 12px;
    padding: 18px 20px;
    min-height: 204px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px #0000000d;
    transition: all .2s ease
}

.graph-area:hover {
    box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a
}

.graph-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: .96rem;
    color: var(--chart-text)
}

.chart-container {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start
}

.chart-plot {
    position: relative;
    flex: 1;
    display: grid;
    grid-template-rows:150px auto;
    min-width: 0;
    width: 100%;
    --chart-gap: 32px
}

.chart-plot .chart-line {
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 150px;
    width: calc(100% - 24px);
    pointer-events: none
}

.chart-plot .chart-line polyline {
    fill: none;
    stroke: var(--chart-text);
    stroke-width: 2
}

.chart-plot .chart-line-points {
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 150px;
    width: calc(100% - 24px);
    pointer-events: none
}

.chart-plot .chart-line-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #111;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto
}

.chart-plot .chart-tooltip {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -100%);
    margin-top: -8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #0f172aeb;
    color: #fff;
    font-size: .72rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .1s ease, visibility .1s ease;
    white-space: nowrap
}

.chart-plot .chart-tooltip.is-visible {
    opacity: 1;
    visibility: visible
}

.chart-x-axis {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    justify-items: center;
    align-items: start;
    gap: var(--chart-gap);
    padding: 0 12px;
    margin-top: 6px
}

.chart-x-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 40px;
    height: 150px;
    padding-right: 8px;
    font-size: .75rem;
    color: var(--chart-text);
    font-weight: 500;
    line-height: 1
}

.chart-y-axis--page-rank {
    height: 150px;
    padding-bottom: 12px;
    box-sizing: border-box
}

.css-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: var(--chart-gap);
    height: 150px;
    flex: 1;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, transparent calc(20% - 1px), #f1f5f9 calc(20% - 1px), #f1f5f9 calc(20% + 1px), transparent calc(20% + 1px), transparent calc(40% - 1px), #f1f5f9 calc(40% - 1px), #f1f5f9 calc(40% + 1px), transparent calc(40% + 1px), transparent calc(60% - 1px), #f1f5f9 calc(60% - 1px), #f1f5f9 calc(60% + 1px), transparent calc(60% + 1px), transparent calc(80% - 1px), #f1f5f9 calc(80% - 1px), #f1f5f9 calc(80% + 1px), transparent calc(80% + 1px));
    border-left: 2px solid var(--chart-text);
    border-bottom: 2px solid var(--chart-text);
    padding: 0 12px 12px;
    margin: 0
}

.chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    gap: 4px
}

.chart-bar {
    width: 60px;
    background: var(--chart-bar);
    opacity: 1;
    border-radius: 6px;
    min-width: 45px;
    transition: opacity .2s
}

.chart-bar:hover {
    opacity: .8
}

.css-chart.page-rank-chart {
    gap: 8px !important;
    padding-bottom: 12px
}

.css-chart.page-rank-chart .chart-bar {
    width: 28px;
    min-width: 28px
}

.chart-bar.alt {
    background: var(--chart-bar)
}

.chart-label {
    margin-top: 8px;
    font-size: .8rem;
    color: var(--chart-text);
    font-weight: 500
}

.chart-val {
    font-size: .9rem;
    font-weight: 700;
    color: var(--chart-text)
}

.table-area {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px #0000000f;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.table-header-panel {
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700;
    color: var(--text-color);
    font-size: .84rem;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.table-header-title {
    min-width: 0
}

.table-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto
}

.table-action-btn {
    padding: 6px 12px;
    font-size: .78rem;
    box-shadow: none
}

.table-action-btn:hover {
    box-shadow: 0 1px 2px #0000000d
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all .2s ease;
    font-family: inherit
}

.btn-action:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px)
}

.btn-action.success {
    background: transparent;
    color: #16a34a;
    border-color: #86efac;
    border-width: 2px
}

.btn-action.success:hover {
    background: #16a34a0d;
    border-color: #16a34a
}

.btn-action:disabled, .btn-action.disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none
}

.table-scroll {
    overflow: auto;
    flex: 1;
    background: #fff
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    table-layout: fixed
}

.result-table th, .result-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color)
}

.result-table th:last-child, .result-table td:last-child {
    border-right: none
}

.result-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 1px 0 var(--border-color)
}

.result-table.similarity-table th:first-child, .result-table.similarity-table td:first-child {
    width: 140px
}

.result-table.similarity-table th:nth-child(2), .result-table.similarity-table td:nth-child(2) {
    width: 90px
}

.result-table.similarity-table th:nth-child(3), .result-table.similarity-table td:nth-child(3) {
    width: 70px
}

.result-table.similarity-table th:nth-child(n+4), .result-table.similarity-table td:nth-child(n+4) {
    width: 44px
}

.search-result-table th:first-child, .search-result-table td:first-child {
    width: 60px
}

.search-result-table th:nth-child(2), .search-result-table td:nth-child(2) {
    width: 360px
}

.search-result-table th:nth-child(3), .search-result-table td:nth-child(3) {
    width: 160px
}

.search-result-table th:nth-child(4), .search-result-table td:nth-child(4) {
    width: 120px;
    text-align: center
}

.keyword-cell {
    background: var(--accent-light);
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    font-family: monospace;
    font-size: .82rem;
    color: var(--accent-color)
}

.similarity-title-table th:first-child, .similarity-title-table td:first-child {
    width: 320px !important
}

.similarity-title-table th:nth-child(2), .similarity-title-table td:nth-child(2) {
    width: 90px !important
}

.similarity-title-table th:nth-child(3), .similarity-title-table td:nth-child(3) {
    width: 120px !important
}

.similarity-title-table th:nth-child(4), .similarity-title-table td:nth-child(4) {
    width: auto !important
}

.view-section {
    display: none;
    flex: 1;
    flex-direction: column;
    gap: 16px
}

.view-section.active {
    display: flex
}

.rank-circle {
    width: 14px;
    height: 14px;
    border: 2px solid #aaa;
    border-radius: 50%;
    display: inline-block
}

.rank-circle.filled {
    border-color: var(--accent-color);
    background: var(--accent-light);
    position: relative
}

.rank-circle.filled:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%
}

.rank-match {
    background-color: #fffcd5 !important;
    color: #d4a017;
    text-align: center !important;
    font-weight: 900;
    position: relative
}

.keyword-highlight {
    color: #db2828 !important;
    font-weight: 700;
    font-style: normal
}

.content-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    text-align: center;
    color: #222;
    width: 100%
}

.content-status-text {
    font-size: 1.1rem;
    font-weight: 600
}

.content-status-action {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 4px;
    background: #1f6feb;
    color: #fff;
    text-decoration: none
}

.loading-spinner {
    margin-top: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(56, 24, 214, .2);
    border-top-color: var(--accent-color, #3818d6);
    border-right-color: var(--accent-color, #3818d6);
    animation: spin .9s linear infinite
}

@media (max-width: 960px) {
    .analysis-shell {
        margin: 12px 16px 0
    }

    .search-info-bar, .feature-tabs, .content-search-band {
        padding-left: 16px;
        padding-right: 16px
    }

    .content-wrapper {
        padding: 16px
    }
}

@media (max-width: 720px) {
    .summary-item {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px
    }

    .table-header-panel {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .table-header-actions {
        width: 100%;
        margin-left: 0
    }

    .content-search-bar {
        flex-wrap: wrap
    }

    .content-search-bar .csb-icon {
        display: none
    }

    .content-search-bar input[type=text] {
        width: 100%;
        padding-left: 12px
    }

    .content-search-bar button {
        width: 100%;
        justify-content: center
    }
}

.chart-legend {
    text-align: center;
    font-size: .82rem;
    color: var(--chart-text);
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 18px
}

.chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.chart-legend-color {
    width: 12px;
    height: 12px;
    background: var(--chart-bar);
    border-radius: 2px
}

.chart-legend-color--mint {
    background: var(--chart-bar)
}

.chart-legend-line {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--chart-text);
    border-radius: 999px;
    position: relative
}

.chart-legend-line:after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--chart-text);
    border-radius: 50%;
    transform: translateY(-50%)
}

.chart-bar--mint {
    background: var(--chart-bar)
}

.title-keyword-table th:first-child, .title-keyword-table td:first-child {
    width: 300px
}

.title-keyword-table th:nth-child(2), .title-keyword-table td:nth-child(2) {
    width: 90px
}

.title-keyword-table th:nth-child(n+3), .title-keyword-table td:nth-child(n+3) {
    width: 44px;
    text-align: center
}

.title-word-table th:first-child, .title-word-table td:first-child {
    width: 240px
}

.title-word-table th:nth-child(2), .title-word-table td:nth-child(2) {
    width: 160px
}

.title-word-table th:nth-child(3), .title-word-table td:nth-child(3) {
    width: 90px
}

.title-word-table th:nth-child(n+4), .title-word-table td:nth-child(n+4) {
    width: 44px;
    text-align: center
}

.keyword-search .g-header-user {
    position: relative
}

.keyword-search .header-user-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer
}

.keyword-search .header-user-caret {
    font-size: .75rem;
    opacity: .85;
    transition: transform .2s ease
}

.keyword-search .header-user-caret.is-open {
    transform: rotate(180deg)
}

.keyword-search .header-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #fff;
    color: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 20px #0f172a26;
    padding: 6px;
    display: none;
    z-index: 2000
}

.keyword-search .header-user-dropdown.is-open {
    display: block
}

.keyword-search .header-user-dropdown a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none;
    font-size: .85rem
}

.keyword-search .header-user-dropdown a:hover {
    background: #f1f5f9
}

.keyword-search .header-user-divider {
    display: block;
    height: 1px;
    background: var(--border-color);
    margin: 6px 0
}

.keyword-search .pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 16px 0 8px
}

.keyword-search .pagination-button {
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: .85rem;
    cursor: pointer;
    transition: all .2s ease
}

.keyword-search .pagination-button:hover:not(:disabled) {
    border-color: var(--accent-color);
    color: var(--accent-color)
}

.keyword-search .pagination-button:disabled {
    opacity: .5;
    cursor: not-allowed
}

.keyword-search .pagination-button.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    font-weight: 600
}

.keyword-search .pagination-ellipsis {
    color: var(--text-muted);
    padding: 0 4px
}

.keyword-search .pagination-info-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: .85rem;
    padding-bottom: 12px
}

.keyword-search .table-action-btn .loading-spinner {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin: 0;
    flex-shrink: 0;
    border-color: currentColor;
    border-top-color: currentColor;
    border-right-color: currentColor
}

.suggest-keyword-page {
    --primary-color: #1e1b4b;
    --accent-color: #4f46e5;
    --accent-light: #e0e7ff;
    --cta-color: #f43f5e;
    --cta-hover: #e11d48;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --content-bg: #f1f5f9;
    --chart-bg: #ffffff;
    --error-color: #ef4444;
    --header-height: 70px;
    font-family: Inter, Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
    background: var(--content-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-color)
}

.suggest-keyword-page, .suggest-keyword-page * {
    box-sizing: border-box
}

.suggest-keyword-page .material-icons {
    font-family: Material Icons;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle
}

.suggest-keyword-page .g-header {
    height: var(--header-height);
    background: var(--primary-color);
    box-shadow: 0 3px 6px #0003;
    flex-shrink: 0;
    position: relative;
    z-index: 1000;
    overflow: visible
}

.suggest-keyword-page .g-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 16px;
    justify-content: flex-start;
    max-width: none;
    margin: 0;
    overflow: visible
}

.suggest-keyword-page .g-header-logo img {
    height: 28px;
    width: auto
}

.suggest-keyword-page .g-header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    font-size: .85rem;
    color: #fffc;
    white-space: nowrap;
    font-weight: 500;
    position: relative;
    overflow: visible;
    z-index: 1001
}

.suggest-keyword-page .g-header-feature-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
    border-left: 1px solid rgba(255, 255, 255, .15);
    border-right: 1px solid rgba(255, 255, 255, .15)
}

.suggest-keyword-page .g-header-feature-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    color: #ffffffb3;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    border-top: 3px solid transparent;
    transition: all .2s ease;
    white-space: nowrap
}

.suggest-keyword-page .g-header-feature-nav a:hover {
    color: #fff;
    background: #ffffff0f
}

.suggest-keyword-page .g-header-feature-nav a.active {
    color: #fff;
    border-bottom-color: var(--accent-color)
}

.suggest-keyword-page .header-auth {
    display: flex;
    align-items: center;
    gap: 10px
}

.suggest-keyword-page .header-login-link {
    color: #ffffffd9;
    text-decoration: none;
    font-weight: 500
}

.suggest-keyword-page .header-register-btn {
    background: #f43f5e;
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .8rem
}

.suggest-keyword-page .g-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffffe6;
    position: relative
}

.suggest-keyword-page .g-header-user-name {
    font-weight: 600;
    font-size: .85rem
}

.suggest-keyword-page .header-mypage-btn {
    border-radius: 4px;
    font-size: .75rem;
    padding: 3px 10px
}

.suggest-keyword-page .plan-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em
}

.suggest-keyword-page .plan-badge-free {
    background: #ffffff26;
    color: #fff
}

.suggest-keyword-page .plan-badge-pro {
    background: #f43f5e;
    color: #fff
}

.suggest-keyword-page .header-auth-loading {
    position: absolute;
    inset: -6px -8px;
    border-radius: 999px;
    background: #0000002e;
    pointer-events: none
}

.suggest-keyword-page .header-auth-loading:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    animation: header-auth-spin .8s linear infinite
}

.suggest-keyword-page .g-header-search-wrapper {
    display: none !important
}

.suggest-keyword-page:not(.results-mode) .content-area, .suggest-keyword-page:not(.results-mode) .sidebar {
    display: none
}

.suggest-keyword-page .sidebar {
    width: 220px;
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff
}

.suggest-keyword-page .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0
}

.suggest-keyword-page .menu-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-left: 4px solid transparent;
    font-size: .82rem;
    color: var(--text-muted);
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

.suggest-keyword-page .menu-item.is-active {
    background: linear-gradient(90deg, var(--accent-light) 0%, transparent 100%);
    color: var(--accent-color);
    font-weight: 700;
    border-left-color: var(--accent-color)
}

.suggest-keyword-page .menu-item.is-disabled {
    background: #f8fafc;
    color: var(--text-muted);
    border-left-color: var(--accent-light);
    cursor: default
}

.suggest-keyword-page .sidebar-nav {
    width: 100%;
    background: #fff;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column
}

.suggest-keyword-page .analysis-shell {
    margin: 8px 20px 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    flex-shrink: 0
}

.suggest-keyword-page .search-info-bar {
    background: linear-gradient(180deg, #fff, #f8fbff);
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px
}

.suggest-keyword-page .search-feature-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--accent-color)
}

.suggest-keyword-page .analysis-copy {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.suggest-keyword-page .analysis-title {
    font-size: clamp(1.24rem, 2.2vw, 1.68rem);
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    margin: 0
}

.suggest-keyword-page .section-description {
    margin: 0;
    font-size: .82rem;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 760px
}

.suggest-keyword-page .analysis-summary {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap
}

.suggest-keyword-page .summary-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #dbe4f0;
    background: #fff
}

.suggest-keyword-page .summary-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: .02em;
    white-space: nowrap
}

.suggest-keyword-page .summary-value {
    font-size: .96rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    word-break: break-word
}

.suggest-keyword-page .search-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.suggest-keyword-page .search-metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dbe4f0;
    font-size: .76rem;
    color: var(--text-muted)
}

.suggest-keyword-page .search-metric strong {
    color: var(--text-color);
    font-size: .82rem
}

.suggest-keyword-page .search-metric.quota {
    background: #4f46e514;
    border-color: #c7d2fe;
    color: var(--accent-color)
}

.suggest-keyword-page .search-metric.quota strong {
    color: var(--accent-color)
}

.suggest-keyword-page .content-search-band {
    padding: 10px 16px 12px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color)
}

.suggest-keyword-page .content-search-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
    box-shadow: none;
    transition: border-color .2s ease
}

.suggest-keyword-page .content-search-bar:focus-within {
    border-color: var(--accent-color)
}

.suggest-keyword-page .content-search-bar .csb-icon {
    padding: 0 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center
}

.suggest-keyword-page .content-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 9px 12px 9px 0;
    font-size: .9rem;
    font-family: var(--font-family);
    color: var(--text-color);
    background: transparent
}

.suggest-keyword-page .content-search-bar input::-moz-placeholder {
    color: var(--text-muted)
}

.suggest-keyword-page .content-search-bar input::placeholder {
    color: var(--text-muted)
}

.suggest-keyword-page .content-search-bar button {
    border: none;
    background: var(--cta-color);
    color: #fff;
    padding: 10px 18px;
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .15s ease;
    white-space: nowrap
}

.suggest-keyword-page .content-search-bar button:hover {
    background: var(--cta-hover)
}

.suggest-keyword-page .table-area {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative
}

.suggest-keyword-page .loading-overlay {
    position: absolute;
    inset: 0;
    background: #ffffffbf;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    z-index: 2
}

.suggest-keyword-page .loading-overlay-text {
    font-size: .85rem;
    color: var(--text-muted)
}

.suggest-keyword-page .table-header-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: .84rem;
    font-weight: 700;
    color: var(--text-color)
}

.suggest-keyword-page .table-header-title {
    min-width: 0
}

.suggest-keyword-page .table-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto
}

.suggest-keyword-page .btn-action {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 2px solid #86efac;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 600;
    font-family: var(--font-family);
    color: #16a34a;
    transition: all .15s;
    box-shadow: none
}

.suggest-keyword-page .btn-action:disabled, .suggest-keyword-page .btn-action.disabled {
    box-shadow: none;
    transform: none;
    opacity: .5;
    cursor: not-allowed
}

.suggest-keyword-page .app-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    padding-top: 0
}

.suggest-keyword-page .content-area {
    flex: 1;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    background: var(--content-bg)
}

.suggest-keyword-page.results-mode .content-area {
    display: flex
}

.suggest-keyword-page .content-wrapper {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px
}

.suggest-keyword-page .section-block {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all .2s ease
}

.suggest-keyword-page .section-block:hover {
    box-shadow: var(--shadow-md)
}

.suggest-keyword-page .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc
}

.suggest-keyword-page .section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 700
}

.suggest-keyword-page .btn-download {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: .82rem;
    color: var(--text-color);
    transition: all .15s
}

.suggest-keyword-page .btn-download:disabled {
    opacity: .5;
    cursor: not-allowed
}

.suggest-keyword-page .btn-download:hover:not(:disabled) {
    border-color: var(--accent-color);
    color: var(--accent-color)
}

.suggest-keyword-page .query-info-bar {
    padding: 12px 24px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.suggest-keyword-page .query-info-left {
    flex: 1
}

.suggest-keyword-page .query-info-keyword {
    font-size: 1.5rem;
    font-weight: 700
}

.suggest-keyword-page .query-info-meta {
    margin-top: 3px;
    font-size: .82rem;
    color: var(--text-muted)
}

.suggest-keyword-page .quota-badge {
    background: #4f46e51a;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap
}

.suggest-keyword-page .chart-area {
    padding: 12px 20px 6px;
    background: var(--chart-bg)
}

.suggest-keyword-page .chart-svg-wrapper {
    width: 100%;
    overflow-x: auto
}

.suggest-keyword-page .chart-svg-wrapper svg {
    height: 200px;
    width: auto;
    min-width: 600px;
    display: block
}

.suggest-keyword-page .chart-empty {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: .85rem
}

.suggest-keyword-page .chart-note {
    padding: 6px 20px 12px;
    font-size: .8rem;
    color: #db2828;
    background: var(--chart-bg)
}

.suggest-keyword-page .suggest-table-wrap {
    overflow: auto
}

.suggest-keyword-page .suggest-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    background: #fff
}

.suggest-keyword-page .suggest-table th, .suggest-keyword-page .suggest-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color)
}

.suggest-keyword-page .suggest-table th:last-child, .suggest-keyword-page .suggest-table td:last-child {
    border-right: none
}

.suggest-keyword-page .suggest-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 1px 0 var(--border-color)
}

.suggest-keyword-page .suggest-table th.col-no, .suggest-keyword-page .suggest-table td.col-no {
    width: 60px;
    text-align: center;
    color: var(--text-muted)
}

.suggest-keyword-page .suggest-table th.col-kw {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--text-muted)
}

.suggest-keyword-page .suggest-table th.col-vol, .suggest-keyword-page .suggest-table td.col-vol {
    width: 160px;
    text-align: right;
    font-weight: 600
}

.suggest-keyword-page .suggest-table tbody tr:hover {
    background: #fafaff
}

.suggest-keyword-page .suggest-table .kw-no1 td {
    background: #fafbff
}

.suggest-keyword-page .suggest-table .empty-row {
    text-align: center;
    color: var(--text-muted)
}

.suggest-keyword-page .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 20px;
    background: var(--content-bg)
}

.suggest-keyword-page.results-mode .empty-state {
    display: none
}

.suggest-keyword-page .empty-state-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center
}

.suggest-keyword-page .empty-state-desc {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    text-align: center
}

.suggest-keyword-page .empty-state-form {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 560px;
    box-shadow: var(--shadow-lg);
    transition: border-color .2s ease
}

.suggest-keyword-page .empty-state-form:focus-within {
    border-color: var(--accent-color)
}

.suggest-keyword-page .empty-state-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text-color)
}

.suggest-keyword-page .empty-state-form button {
    border: none;
    background: var(--cta-color);
    color: #fff;
    padding: 14px 24px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background .15s ease
}

.suggest-keyword-page .empty-state-form button:hover {
    background: var(--cta-hover)
}

.suggest-keyword-page .empty-state-login {
    display: flex;
    justify-content: center;
    width: 100%
}

.suggest-keyword-page .empty-state-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    background: var(--cta-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    box-shadow: var(--shadow-lg);
    transition: background .15s ease
}

.suggest-keyword-page .empty-state-login-btn:hover {
    background: var(--cta-hover)
}

.suggest-keyword-page .error-message {
    margin-top: 16px;
    color: var(--error-color);
    font-size: .85rem
}

.suggest-keyword-page .content-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    text-align: center;
    color: #222;
    width: 100%
}

.suggest-keyword-page .content-status-text {
    font-size: 1.1rem;
    font-weight: 600
}

.suggest-keyword-page .loading-spinner {
    margin-top: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(56, 24, 214, .2);
    border-top-color: var(--accent-color, #3818d6);
    border-right-color: var(--accent-color, #3818d6);
    animation: spin .9s linear infinite
}

.suggest-keyword-page .g-header-user {
    position: relative
}

.suggest-keyword-page .header-user-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer
}

.suggest-keyword-page .header-user-caret {
    font-size: .75rem;
    opacity: .85;
    transition: transform .2s ease
}

.suggest-keyword-page .header-user-caret.is-open {
    transform: rotate(180deg)
}

.suggest-keyword-page .header-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #fff;
    color: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 20px #0f172a26;
    padding: 6px;
    display: none;
    z-index: 2000
}

.suggest-keyword-page .header-user-dropdown.is-open {
    display: block
}

.suggest-keyword-page .header-user-dropdown a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none;
    font-size: .85rem
}

.suggest-keyword-page .header-user-dropdown a:hover {
    background: #f1f5f9
}

.suggest-keyword-page .header-user-divider {
    display: block;
    height: 1px;
    background: var(--border-color);
    margin: 6px 0
}

.suggest-keyword-page .pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 16px 0 8px
}

.suggest-keyword-page .pagination-button {
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: .85rem;
    cursor: pointer;
    transition: all .2s ease
}

.suggest-keyword-page .pagination-button:hover:not(:disabled) {
    border-color: var(--accent-color);
    color: var(--accent-color)
}

.suggest-keyword-page .pagination-button:disabled {
    opacity: .5;
    cursor: not-allowed
}

.suggest-keyword-page .pagination-button.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    font-weight: 600
}

.suggest-keyword-page .pagination-ellipsis {
    color: var(--text-muted);
    padding: 0 4px
}

.suggest-keyword-page .pagination-info-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: .85rem;
    padding-bottom: 12px
}

.suggest-keyword-page .btn-action .loading-spinner {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin: 0;
    flex-shrink: 0;
    border-color: currentColor;
    border-top-color: currentColor;
    border-right-color: currentColor
}

.analysis-input .g-header-user-name {
    font-weight: 600;
    font-size: .85rem
}

.analysis-input .analysis-input-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 24px 32px;
    box-shadow: 0 10px 30px #0f172a1f
}

.analysis-input .analysis-input-field {
    flex: 1;
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    outline: none
}

.analysis-input .analysis-input-field:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px #4f46e526
}

.analysis-input .g-header-user {
    position: relative
}

@media (max-width: 640px) {
    .analysis-input .analysis-input-card {
        padding: 24px 18px 28px
    }

    .analysis-input .analysis-input-form {
        flex-direction: column
    }

    .analysis-input .analysis-input-field, .analysis-input .analysis-input-submit {
        width: 100%
    }
}

.analysis-input {
    --header-height: 72px;
    --primary-color: #1e1b4b;
    --accent-color: #4f46e5;
    --cta-color: #f43f5e;
    --cta-hover: #e11d48;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --content-bg: #f1f5f9;
    font-family: Inter, Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
    color: var(--text-color);
    background: var(--content-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.analysis-input * {
    box-sizing: border-box
}

.analysis-input .material-icons {
    font-family: Material Icons;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle
}

.analysis-input .g-header {
    height: var(--header-height);
    background: #1e1b4bf2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    flex-shrink: 0;
    z-index: 1000;
    position: relative;
    overflow: visible;
    padding: 0
}

.analysis-input .g-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 16px;
    justify-content: flex-start;
    overflow: visible
}

.analysis-input .g-header-logo img {
    height: 28px
}

.analysis-input .g-header-feature-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
    border-left: 1px solid rgba(255, 255, 255, .15);
    border-right: 1px solid rgba(255, 255, 255, .15)
}

.analysis-input .g-header-feature-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    color: #ffffffb3;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    border-top: 3px solid transparent;
    transition: all .2s ease;
    white-space: nowrap
}

.analysis-input .g-header-feature-nav a:hover {
    color: #fff;
    background: #ffffff0f
}

.analysis-input .g-header-feature-nav a.active {
    color: #fff;
    border-bottom-color: var(--accent-color)
}

.analysis-input .g-header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    font-size: .85rem;
    white-space: nowrap;
    position: relative;
    color: #fffc;
    overflow: visible;
    z-index: 1001
}

.analysis-input .header-auth {
    display: flex;
    align-items: center;
    gap: 10px
}

.analysis-input .header-login-link {
    color: #ffffffd9;
    text-decoration: none;
    font-weight: 500
}

.analysis-input .header-register-btn {
    background: var(--cta-color);
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .8rem
}

.analysis-input .g-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffffe6;
    position: relative
}

.analysis-input .header-user-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer
}

.analysis-input .header-user-caret {
    font-size: .75rem;
    opacity: .85;
    transition: transform .2s ease
}

.analysis-input .header-user-caret.is-open {
    transform: rotate(180deg)
}

.analysis-input .header-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #fff;
    color: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 20px #0f172a26;
    padding: 6px;
    display: none;
    z-index: 2000
}

.analysis-input .header-user-dropdown.is-open {
    display: block
}

.analysis-input .header-user-dropdown a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none;
    font-size: .85rem
}

.analysis-input .header-user-dropdown a:hover {
    background: #f1f5f9
}

.analysis-input .header-user-divider {
    display: block;
    height: 1px;
    background: var(--border-color);
    margin: 6px 0
}

.analysis-input .header-mypage-btn {
    border-radius: 4px;
    font-size: .75rem;
    padding: 3px 10px
}

.analysis-input .plan-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em
}

.analysis-input .plan-badge-free {
    background: #ffffff26;
    color: #fff
}

.analysis-input .plan-badge-pro {
    background: var(--cta-color);
    color: #fff
}

.analysis-input .header-auth-loading {
    position: absolute;
    inset: -6px -8px;
    border-radius: 999px;
    background: #0000002e;
    pointer-events: none
}

.analysis-input .header-auth-loading:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    animation: header-auth-spin .8s linear infinite
}

.analysis-input .analysis-input-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 48px
}

.analysis-input .analysis-input-card {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 24px 32px;
    box-shadow: 0 10px 30px #0f172a1f
}

.analysis-input .analysis-input-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px
}

.analysis-input .analysis-input-subtitle {
    font-size: .9rem;
    color: var(--text-muted);
    margin: 0 0 24px
}

.analysis-input .analysis-input-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.analysis-input .analysis-input-field, .analysis-input .analysis-input-select {
    flex: 1;
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    outline: none;
    background: #fff
}

.analysis-input .analysis-input-field:focus, .analysis-input .analysis-input-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px #4f46e526
}

.analysis-input .analysis-input-submit {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: var(--cta-color);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease
}

.analysis-input .analysis-input-submit:hover {
    background: var(--cta-hover)
}

.analysis-input .analysis-input-submit:disabled {
    opacity: .7;
    cursor: not-allowed
}

.analysis-input .form-error {
    color: #ef4444;
    font-size: .9rem;
    margin-top: 8px
}

@media (max-width: 640px) {
    .analysis-input .analysis-input-card {
        padding: 24px 18px 28px
    }

    .analysis-input .analysis-input-form {
        flex-direction: column
    }

    .analysis-input .analysis-input-field, .analysis-input .analysis-input-select, .analysis-input .analysis-input-submit {
        width: 100%
    }
}

:root {
    --primary-color: #1e1b4b;
    --primary-dark: #0f172a;
    --accent-color: #4f46e5;
    --accent-light: #e0e7ff;
    --pro-color: #8b5cf6;
    --cta-color: #f43f5e;
    --cta-hover: #e11d48;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --bg-gradient-end: #f8fafc;
    --border-color: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    --header-height: 72px;
    --section-bg: #f8fafc;
    --content-bg: #f1f5f9;
    --error-color: #ef4444
}

.user-detail {
    font-family: Inter, Noto Sans JP, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
    color: var(--text-color);
    background: linear-gradient(to bottom, #fff, var(--bg-gradient-end));
    min-height: 100vh
}

.user-detail-main {
    padding: 40px 0
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box
}

.g-header {
    height: var(--header-height);
    background: #1e1b4bf2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    flex-shrink: 0;
    z-index: 1000;
    position: relative;
    overflow: visible
}

.g-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    gap: 16px;
    justify-content: flex-start;
    overflow: visible
}

.g-header-logo img {
    height: 28px
}

.g-header-feature-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
    border-left: 1px solid rgba(255, 255, 255, .15);
    border-right: 1px solid rgba(255, 255, 255, .15)
}

.g-header-feature-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    color: #ffffffb3;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    border-top: 3px solid transparent;
    transition: all .2s ease;
    white-space: nowrap
}

.g-header-feature-nav a:hover {
    color: #fff;
    background: #ffffff0f
}

.g-header-feature-nav a.active {
    color: #fff;
    border-bottom-color: var(--accent-color)
}

.g-header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    font-size: .85rem;
    white-space: nowrap;
    position: relative;
    color: #fffc;
    overflow: visible;
    z-index: 1001
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 10px
}

.header-login-link {
    color: #ffffffd9;
    text-decoration: none;
    font-weight: 500
}

.header-register-btn {
    background: var(--cta-color);
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .8rem
}

.g-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffffe6
}

.g-header-user-name {
    font-weight: 600;
    font-size: .85rem
}

.header-mypage-btn {
    border-radius: 4px;
    font-size: .75rem;
    padding: 3px 10px
}

.plan-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em
}

.plan-badge-free {
    background: #ffffff26;
    color: #fff
}

.plan-badge-pro {
    background: #f43f5e;
    color: #fff
}

.header-auth-loading {
    position: absolute;
    inset: -6px -8px;
    border-radius: 999px;
    background: #0000002e;
    pointer-events: none
}

.header-auth-loading:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    animation: header-auth-spin .8s linear infinite
}

@keyframes header-auth-spin {
    to {
        transform: rotate(360deg)
    }
}

.user-detail .material-icons {
    font-family: Material Icons;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle
}

.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 30px
}

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

.card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    transition: all .3s ease
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1
}

.card-profile {
    margin-bottom: 0
}

.profile-header {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
    margin-bottom: 0
}

.avatar {
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0
}

.user-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color)
}

.user-email {
    color: var(--text-muted);
    font-size: .9rem;
    margin: 5px 0 0
}

.plan-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px
}

.plan-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: .8rem;
    font-weight: 700
}

.plan-free {
    background: var(--accent-light);
    color: var(--accent-color)
}

.plan-paid {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .1)
}

.plan-expire {
    font-size: .8rem;
    color: var(--text-muted)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: .95rem;
    font-weight: 600;
    transition: all .2s ease;
    letter-spacing: .02em;
    font-family: inherit
}

.btn-upgrade {
    background: linear-gradient(135deg, var(--pro-color), #6d28d9);
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    width: 100%
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg)
}

.upgrade-area {
    margin-top: 20px
}

.cancel-area {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    text-align: right
}

.cancel-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 12px;
    font-size: .85rem;
    color: var(--text-muted)
}

.cancel-label {
    font-weight: 700;
    color: var(--text-color)
}

.cancel-muted {
    color: var(--text-muted)
}

.cancel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em
}

.cancel-badge.is-active {
    background: #dcfce7;
    color: #166534
}

.cancel-badge.is-warning {
    background: #fee2e2;
    color: #991b1b
}

.cancel-date {
    color: var(--text-muted)
}

.cancel-error {
    color: var(--error-color);
    font-weight: 600
}

.btn-cancel {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 16px;
    font-size: .85rem;
    border-radius: 6px
}

.btn-cancel:hover {
    border-color: var(--accent-color);
    color: var(--accent-color)
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-light);
    color: var(--text-color)
}

.section-title--compact {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
    font-size: 1rem
}

.stat-item {
    margin-bottom: 15px
}

.stat-label {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 5px
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: Barlow Semi Condensed, sans-serif;
    color: var(--accent-color)
}

.stat-sub {
    font-size: 1rem;
    color: var(--text-muted)
}

.progress-bar-bg {
    height: 12px;
    background: var(--accent-light);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 8px;
    box-shadow: inset 0 1px 2px #0000000d
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    width: 0%;
    transition: width .5s ease-out;
    border-radius: 6px;
    box-shadow: 0 2px 4px #6366f14d
}

.progress-bar-fill.warning {
    background: linear-gradient(90deg, #ef4444, #f43f5e);
    box-shadow: 0 2px 4px #ef44444d
}

.quota-warning-text {
    color: var(--error-color);
    font-size: .8rem;
    font-weight: 700;
    margin-top: 6px
}

.domain-upsell {
    margin-top: 10px;
    font-size: .85rem;
    color: var(--text-muted);
    background: var(--accent-light);
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center
}

.domain-upsell strong {
    color: var(--pro-color)
}

.domain-upsell a {
    color: var(--pro-color);
    font-weight: 700;
    display: inline-block;
    margin-top: 5px;
    text-decoration: none
}

.domain-upsell a:hover {
    text-decoration: underline
}

.content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem
}

.content th, .content td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--accent-light)
}

.content th {
    background: #fafaff;
    color: var(--text-muted);
    font-weight: 600
}

.content tr:hover {
    background: #f8f9ff
}

.table-empty {
    text-align: center;
    color: var(--text-muted)
}

.user-detail-muted {
    color: var(--text-muted)
}

.user-detail-error {
    color: var(--error-color);
    font-weight: 700
}

.user-detail-loading {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    color: var(--text-muted)
}

.user-detail-loading .loading-spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(56, 24, 214, .2);
    border-top-color: var(--accent-color, #3818d6);
    border-right-color: var(--accent-color, #3818d6);
    animation: spin .9s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.user-detail .g-header-user {
    position: relative
}

.user-detail .header-user-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer
}

.user-detail .header-user-caret {
    font-size: .75rem;
    opacity: .85;
    transition: transform .2s ease
}

.user-detail .header-user-caret.is-open {
    transform: rotate(180deg)
}

.user-detail .header-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #fff;
    color: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 20px #0f172a26;
    padding: 6px;
    display: none;
    z-index: 2000
}

.user-detail .header-user-dropdown.is-open {
    display: block
}

.user-detail .header-user-dropdown a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none;
    font-size: .85rem
}

.user-detail .header-user-dropdown a:hover {
    background: #f1f5f9
}

.user-detail .header-user-divider {
    display: block;
    height: 1px;
    background: var(--border-color);
    margin: 6px 0
}

.payment-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: .85rem;
    color: var(--text-muted)
}

.payment-label {
    font-weight: 600;
    color: var(--text-color)
}

.payment-status {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em
}

.payment-status.is-registered {
    background: #dcfce7;
    color: #166534
}

.payment-status.is-unregistered {
    background: #fee2e2;
    color: #991b1b
}

.payment-link {
    border: none;
    background: none;
    color: var(--accent-color);
    cursor: pointer;
    padding: 0;
    font-size: .85rem
}

.payment-link:hover {
    text-decoration: underline
}

.payment-link.is-disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    text-decoration: none;
    opacity: .7
}

.payment-error {
    color: var(--error-color);
    font-size: .75rem;
    font-weight: 600
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: #0f172a99;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px
}

.modal {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    padding: 28px;
    box-shadow: var(--shadow-xl)
}

.modal h2 {
    margin: 0 0 12px;
    font-size: 1.25rem
}

.modal-content {
    color: var(--text-color);
    font-size: .92rem;
    line-height: 1.6
}

.modal-lead {
    font-weight: 600;
    margin-bottom: 12px
}

.modal-list {
    margin: 0 0 12px;
    padding-left: 18px
}

.modal-terms a {
    color: var(--accent-color)
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 18px
}

.btn.btn-outline {
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color)
}

.unpaid-alert {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: .85rem
}

.unpaid-alert-title {
    font-weight: 700
}

.unpaid-alert-body {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.btn-manual-payment {
    margin-top: 8px;
    align-self: flex-start;
    background: var(--cta-color);
    color: #fff;
    font-size: .85rem;
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm)
}

.btn-manual-payment:hover {
    background: var(--cta-hover)
}

.payment-muted {
    display: inline-block;
    color: var(--text-muted);
    font-size: .8rem
}

@media (max-width: 768px) {
    .card {
        padding: 20px
    }

    .profile-header {
        flex-direction: column;
        text-align: center
    }

    .plan-row {
        justify-content: center
    }
}

.manual-page {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(var(--bg-gradient-end, #fff), #f8fafc)
}

.manual-page-iframe {
    width: 100%;
    height: 100vh;
    min-height: 720px;
    border: none;
    background-color: #fff
}

*, :before, :after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

*, :before, :after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: currentColor
}

:before, :after {
    --tw-content: ""
}

html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent
}

body {
    margin: 0;
    line-height: inherit
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit
}

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

b, strong {
    font-weight: bolder
}

code, kbd, samp, pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0
}

button, select {
    text-transform: none
}

button, input:where([type=button]), input:where([type=reset]), input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none
}

:-moz-focusring {
    outline: auto
}

:-moz-ui-invalid {
    box-shadow: none
}

progress {
    vertical-align: baseline
}

::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
    margin: 0
}

fieldset {
    margin: 0;
    padding: 0
}

legend {
    padding: 0
}

ol, ul, menu {
    list-style: none;
    margin: 0;
    padding: 0
}

dialog {
    padding: 0
}

textarea {
    resize: vertical
}

input::-moz-placeholder, textarea::-moz-placeholder {
    opacity: 1;
    color: #9ca3af
}

input::placeholder, textarea::placeholder {
    opacity: 1;
    color: #9ca3af
}

button, [role=button] {
    cursor: pointer
}

:disabled {
    cursor: default
}

img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle
}

img, video {
    max-width: 100%;
    height: auto
}

[hidden]:where(:not([hidden=until-found])) {
    display: none
}

.container {
    width: 100%
}

@media (min-width: 640px) {
    .container {
        max-width: 640px
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px
    }
}

.visible {
    visibility: visible
}

.collapse {
    visibility: collapse
}

.relative {
    position: relative
}

.block {
    display: block
}

.flex {
    display: flex
}

.inline-flex {
    display: inline-flex
}

.table {
    display: table
}

.resize {
    resize: both
}

.flex-wrap {
    flex-wrap: wrap
}

.border {
    border-width: 1px
}

.bg-\[\#c1f7cf\] {
    --tw-bg-opacity: 1;
    background-color: rgb(193 247 207 / var(--tw-bg-opacity, 1))
}

.bg-\[\#ccc\] {
    --tw-bg-opacity: 1;
    background-color: rgb(204 204 204 / var(--tw-bg-opacity, 1))
}

.text-center {
    text-align: center
}

.text-\[\#2c803a\] {
    --tw-text-opacity: 1;
    color: rgb(44 128 58 / var(--tw-text-opacity, 1))
}

.text-\[\#888\] {
    --tw-text-opacity: 1;
    color: rgb(136 136 136 / var(--tw-text-opacity, 1))
}

.underline {
    text-decoration-line: underline
}

.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
}

* {
    font-family: Noto Sans JP, Hiragino Sans, Hiragino Kaku Gothic ProN, YuGothic, Yu Gothic Medium, Meiryo, sans-serif
}

body {
    overflow-x: clip
}

.scrollbar::-webkit-scrollbar {
    width: 12px
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 6px
}

.scrollbar::-webkit-scrollbar-track {
    background-color: #adb2e3
}

.scrollbar::-webkit-scrollbar-thumb {
    background-color: #3d3db8
}

.sidenavi-scrollbar::-webkit-scrollbar-track {
    background-color: #fff0
}

.sidenavi-scrollbar::-webkit-scrollbar-thumb {
    border: 3px solid #3f3f4f;
    background-color: #fff3
}

input:focus, select:focus, button:focus, dialog:focus {
    outline: none
}

.material-icons {
    font-family: Material Icons;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle;
    font-feature-settings: "liga";
    -webkit-font-feature-settings: "liga"
}

.g-header-center {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.g-header-manual-link {
    margin-left: 12px
}

.g-header-manual-link a {
    color: #ffffffe6;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff14;
    transition: background .2s ease, color .2s ease
}

.g-header-manual-link a:hover {
    background: #fff3;
    color: #fff
}
