body {
    word-break: normal;
    overflow-wrap: break-word;
    background-color: #fff;
    color: #1f2a37;
}

/* Global header */
.global-header {
    background: #f4f5f7;
    border-bottom: 1px solid #e5e7eb;
    /* padding: 0.75rem 1.25rem; */
}

.global-header .header-columns {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    /* min-height: 72px; */
}

.global-header .header-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    padding-top: 5px;
}

.global-header .header-brand span {
    /* font-size: 1.25rem; */
    font-weight: 700;
    color: #1f2937;
    /* letter-spacing: 0.08em; */
}

.global-header .header-logo {
    height: 28px;
    width: auto;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.header-actions .button {
    /* background-color: #d7dde1; */
    border-color: #d7dde1;
    color: #1f2937;
    font-weight: 600;
}

.header-actions .button:hover {
    background-color: #c5ccd2;
    border-color: #c5ccd2;
    color: #1f2937;
}

.header-user-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
    border: 1px solid #dfe3eb;
    background: #fff;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.12s ease, background-color 0.12s ease,
        border-color 0.12s ease;
}

.header-user-link:hover {
    color: #0f172a;
    background: #f7f9fc;
    border-color: #d7dde1;
}

.header-user-link:focus-visible {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}

.header-user-link__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1;
}

.header-user-link__name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

@media (max-width: 480px) {
    .header-user-link__name {
        max-width: 120px;
    }
}

.site-tagline {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: #fff;
    padding: 0.15rem 1.25rem;
    text-align: right;
    font-size: 0.75rem;
    color: #4b5563;
    /* border-bottom: 1px solid #f1f1f1; */
    white-space: nowrap;
}

.site-tagline p {
    margin: 0;
}

.global-footer {
    background: #f3f4f6;
    color: #374151;
    padding: 2rem 0 1.75rem;
    border-top: 1px solid #e5e7eb;
}

.global-footer a {
    color: inherit;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.global-footer a:hover,
.global-footer a:focus {
    opacity: 0.85;
}

.global-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: inherit !important;
    text-decoration: none !important;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.global-footer__brand img {
    height: 32px;
    width: auto;
}

.global-footer__brand-text {
    font-size: 1.05rem;
    font-weight: 700;
}

.global-footer__brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.6rem;
}

.global-footer__inline-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin: 0.25rem 0 0.6rem;
}

.global-footer__series-caption {
    margin: 0.5rem 0 0.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #4b5563;
}

.global-footer__copyright {
    margin: 1.25rem 0 0;
    color: #4b5563;
    letter-spacing: 0.05em;
}

.content dl dt {
    font-weight: 700;
}

.content dl dd {
    margin-bottom: 1rem;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.site-footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.lot-footer-top-button,
.room-footer-top-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1.1rem;
    min-width: 180px;
    color: #0f172a;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        border-color 0.15s ease, background-color 0.15s ease;
}

.lot-footer-top-button__icon,
.room-footer-top-button__icon {
    height: 28px;
    width: 28px;
    display: block;
}

.lot-footer-top-button:hover,
.lot-footer-top-button:focus-visible,
.room-footer-top-button:hover,
.room-footer-top-button:focus-visible {
    transform: translateY(-1px);
    border-color: #d1d5db;
    background: #f9fafb;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
    outline: none;
}

.site-card {
    height: 100%;
    border-top: 4px solid transparent;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

.lot-card {
    border-color: #00d1b2;
}
.vote-card {
    border-color: #f14668;
}
.schedule-card {
    border-color: #4e9ddd;
}
.wish-card {
    border-color: #ffdd57;
}

.room-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    color: #6b7280;
    transition: background-color 0.2s ease, border-color 0.2s ease,
        color 0.2s ease;
}

.top-muted-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.top-muted-link i {
    color: #9ca3af;
    font-size: 0.85rem;
    transition: color 0.15s ease, transform 0.15s ease;
}

.top-muted-link:hover,
.top-muted-link:focus-visible {
    color: #374151;
    background: #f3f4f6;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.top-muted-link:hover i,
.top-muted-link:focus-visible i {
    color: #6b7280;
    transform: translateX(2px);
}

.rooms-hero {
    --rooms-hero-start: #ffffff;
    --rooms-hero-middle: #f9fafb;
    --rooms-hero-end: #f3f4f6;
    --rooms-hero-radial-1: rgba(0, 209, 178, 0.08);
    --rooms-hero-radial-2: rgba(72, 95, 199, 0.08);
    --rooms-hero-radial-3: rgba(79, 156, 221, 0.08);
    --rooms-hero-logo: none;
    position: relative;
    padding: 1rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: linear-gradient(
        145deg,
        var(--rooms-hero-start),
        var(--rooms-hero-middle),
        var(--rooms-hero-end)
    );
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.rooms-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle at 20% 20%,
            var(--rooms-hero-radial-1),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 10%,
            var(--rooms-hero-radial-2),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 80%,
            var(--rooms-hero-radial-3),
            transparent 28%
        );
    pointer-events: none;
}

.rooms-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--rooms-hero-logo);
    background-repeat: no-repeat;
    background-position: calc(100% - 1.75rem) 1.25rem;
    background-size: clamp(160px, 22vw, 280px) auto;
    opacity: 0.16;
    pointer-events: none;
}

.rooms-hero__content {
    position: relative;
    z-index: 1;
}

.rooms-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}

.rooms-hero__title {
    margin-bottom: 0.45rem;
}

.rooms-hero__lead {
    color: #4b5563;
}

.rooms-hero__note {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.rooms-hero__nav {
    position: relative;
    z-index: 1;
    margin-top: 1.1rem;
    display: flex;
    justify-content: flex-end;
}

body.site-lot .rooms-hero {
    --rooms-hero-start: #e8fffb;
    --rooms-hero-middle: #e5f4ff;
    --rooms-hero-end: #e9ecff;
    --rooms-hero-radial-1: rgba(0, 209, 178, 0.22);
    --rooms-hero-radial-2: rgba(0, 160, 209, 0.18);
    --rooms-hero-radial-3: rgba(72, 95, 199, 0.2);
    --rooms-hero-logo: url("/images/lot/logo.png");
}

body.site-vote .rooms-hero {
    --rooms-hero-start: #fcb9a6;
    --rooms-hero-middle: #ffd6d6;
    --rooms-hero-end: #fdd5c7;
    --rooms-hero-radial-1: rgba(209, 196, 0, 0.2);
    --rooms-hero-radial-2: rgba(209, 137, 0, 0.2);
    --rooms-hero-radial-3: rgba(199, 72, 72, 0.2);
    --rooms-hero-logo: url("/images/vote/logo.png");
}

body.site-schedule .rooms-hero {
    --rooms-hero-start: #eef6ff;
    --rooms-hero-middle: #f2f5f7;
    --rooms-hero-end: #e8ebf0;
    --rooms-hero-radial-1: rgba(78, 157, 221, 0.18);
    /* --rooms-hero-radial-2: rgba(154, 154, 154, 0.18); */
    /* --rooms-hero-radial-3: rgba(51, 51, 51, 0.12); */
    --rooms-hero-logo: url("/images/schedule/logo.png");
}

body.site-wish .rooms-hero {
    --rooms-hero-start: #fff9e5;
    --rooms-hero-middle: #f9fae4;
    --rooms-hero-end: #c9fcf8;
    --rooms-hero-radial-1: rgba(209, 196, 0, 0.2);
    /* --rooms-hero-radial-2: rgba(209, 137, 0, 0.2); */
    /* --rooms-hero-radial-3: rgba(199, 72, 72, 0.2); */
    --rooms-hero-logo: url("/images/wish/logo.png");
}

.rooms-pill-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rooms-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: #4b5563;
    transition: color 0.15s ease, background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.rooms-pill-link:hover,
.rooms-pill-link:focus-visible {
    color: #111827;
    background: #eef2f7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
    outline: none;
}

.rooms-pill-link.is-active {
    background: #111827;
    color: #fff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.16);
}

.room-link i {
    color: #9ca3af;
    transition: color 0.2s ease, transform 0.2s ease;
}

.room-link:hover,
.room-link:focus-visible {
    background: #f3f4f6;
    border-color: transparent;
    color: #374151;
    outline: none;
}

.room-link:hover i,
.room-link:focus-visible i {
    color: #6b7280;
    transform: translateX(2px);
}

.reason-feature {
    position: relative;
    background-image: linear-gradient(
            rgba(255, 255, 255, 0.88),
            rgba(255, 255, 255, 0.88)
        ),
        url("/images/balance2.png");
    background-repeat: no-repeat;
    background-position: right 1.5rem top 1.5rem;
    background-size: 520px auto;
}

@media (max-width: 768px) {
    .reason-feature {
        background-position: right 0.75rem top 0.75rem;
        background-size: 340px auto;
    }
}

.site-navbar {
    border-bottom: solid #eee 1px;
}

.gradation {
    background: linear-gradient(90deg, #00d1b2, #00a0d1 30%, #485fc7);
    background: -webkit-linear-gradient(0deg, #00d1b2, #00a0d1 30%, #485fc7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.site-home .gradation {
    background: linear-gradient(90deg, #374151, #6b7280 60%, #6b7280);
    background: -webkit-linear-gradient(0deg, #374151, #6b7280 60%, #6b7280);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.button.is-dark,
.button.is-series {
    background-color: #4b5563;
    border-color: #4b5563;
    color: #fff;
}

.button.is-dark:hover,
.button.is-series:hover {
    background-color: #374151;
    border-color: #374151;
}

.room-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-left: 0.85rem;
    padding-right: 1rem;
    background: #fff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease,
        color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.room-button__icon {
    height: 22px;
    width: auto;
}

.room-button:hover,
.room-button:focus-visible {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

body.site-lot .gradation {
    background: linear-gradient(90deg, #00d1b2, #00a0d1 30%, #485fc7);
    background: -webkit-linear-gradient(0deg, #00d1b2, #00a0d1 30%, #485fc7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.site-vote .gradation {
    background: linear-gradient(90deg, #f14668, #ff3860 30%, #ee2b47);
    background: -webkit-linear-gradient(0deg, #f14668, #ff3860 30%, #ee2b47);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.site-schedule .gradation {
    background: linear-gradient(90deg, #4e9ddd, #9a9a9a 60%, #333333);
    background: -webkit-linear-gradient(0deg, #4e9ddd, #9a9a9a 60%, #333333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.site-wish .gradation {
    background: linear-gradient(90deg, #ffc107, #fd7e14 60%, #dc3545);
    background: -webkit-linear-gradient(0deg, #ffc107, #fd7e14 60%, #dc3545);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.try_color {
    color: #ccc;
}

.red {
    color: #f14668;
}

.copy_alert {
    display: none;
}

.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance: textfield;
}

.type_order_td {
    width: 55px;
}

.box-copy {
    position: relative;
}
.top-right-copy {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 2px;
    right: 2px;
}

.box-helo {
    position: relative;
}
.top-right-helo {
    width: 150px;
    /*height: 120px;*/
    position: absolute;
    top: -10px;
    right: -12px;
}
.top-right-helo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box-helo-list {
    position: relative;
}
.top-right-helo-list {
    width: 120px;
    /*height: 80px;*/
    position: absolute;
    top: 5px;
    right: 2px;
}
.top-right-helo-list img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-panels .auth-panel {
    height: 100%;
}

.auth-panel .button {
    font-weight: 600;
}

.password-toggle {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #6b7280;
    box-shadow: none;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    background: #f3f4f6;
    color: #374151;
    box-shadow: 0 0 0 2px rgba(55, 65, 81, 0.08);
}

.password-toggle:active {
    background: #e5e7eb;
    color: #111827;
}

.password-toggle .icon {
    font-size: 0.95rem;
}

.myroom-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (min-width: 1024px) {
    .myroom-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.myroom-card {
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: inherit;
    position: relative;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.myroom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}

.myroom-card__status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.myroom-card__status-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.myroom-card__site {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
}

.myroom-card__archive-tag {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fef3c7;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
}

.myroom-card__roomno {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.myroom-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.myroom-card__title a {
    color: inherit;
    text-decoration: none;
}

.myroom-card__title a:hover {
    text-decoration: underline;
}

.myroom-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.myroom-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.3);
}

.myroom-card__badge.is-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.myroom-card__description {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.myroom-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

@media (max-width: 480px) {
    .myroom-card__meta {
        grid-template-columns: 1fr;
    }
}

.myroom-card__meta dt {
    font-size: 0.75rem;
    opacity: 0.85;
}

.myroom-card__meta dd {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.myroom-card__fixed {
    position: absolute;
    top: -12px;
    right: -12px;
    pointer-events: none;
}

.myroom-card__fixed img {
    width: 92px;
    height: 92px;
    opacity: 0.95;
    object-fit: contain;
}

.myroom-card__menu {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.myroom-card__menu-trigger {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: inherit;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.myroom-card__menu-trigger:hover,
.myroom-card__menu-trigger:focus-visible {
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

.myroom-card__menu-dropdown {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.5rem);
    min-width: 160px;
    padding: 0.35rem;
    border-radius: 0.6rem;
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.4);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 10;
}

[data-room-menu].is-open .myroom-card__menu-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.myroom-card__menu-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.4rem;
    font-size: 0.9rem;
    color: #f3f4ff;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.myroom-card__menu-item .icon {
    font-size: 0.9rem;
}

.myroom-card__menu-item:hover,
.myroom-card__menu-item:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: none;
}

.myroom-card__menu-item.is-danger {
    color: #ffb3b3;
}

.myroom-card__menu-item.is-disabled {
    opacity: 0.5;
    cursor: default;
}

.pagination-simple .button.is-static {
    pointer-events: none;
    opacity: 0.6;
}

.mypage-layout {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.mypage-sidebar {
    flex: 0 0 260px;
    background: #f9fafb;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.mypage-main {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 1024px) {
    .mypage-sidebar {
        flex: 1 1 100%;
    }
}

.mypage-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mypage-nav__item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
    border-radius: 0.6rem;
    text-decoration: none;
    color: #374151;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    gap: 0.4rem;
}

.mypage-nav__item .tag {
    background: #eef2ff;
    color: #4338ca;
    margin-left: auto;
}

.mypage-nav__item:hover {
    border-color: #c7d2fe;
    background: #f5f3ff;
}

.mypage-nav__item.is-active {
    background: #312e81;
    color: #fff;
}

.mypage-nav__item.is-active .tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.mypage-nav__item button {
    background: transparent;
    border: none;
    color: inherit;
    width: 100%;
    text-align: left;
    padding: 0;
    font: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
}

.mypage-nav__logout {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
}


.table-scroll {
    overflow-x: auto;
}

.table-scroll table {
    min-width: 960px;
}

.table-scroll th,
.table-scroll td {
    white-space: nowrap;
    text-align: left;
}

.settings-list__item--pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: inherit;
    min-width: 0;
    width: auto;
    flex: 0 0 auto;
}

.settings-list__item--pill.is-active {
    background: #312e81;
    color: #fff;
    border-color: #312e81;
}

.admin-subnav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .mypage-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .mypage-nav__item {
        width: calc(50% - 0.2rem);
    }

    .mypage-layout.settings-detail .mypage-sidebar {
        display: none;
    }

    .mypage-layout.settings-detail .mypage-main {
        flex: 1 1 100%;
    }
}

.mypage-hero {
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    border: none;
}

.quick-actions {
    gap: 0.75rem;
}

.quick-action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.quick-action-icon {
    height: 22px;
    width: auto;
    display: block;
}

.current-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-plan-link {
    text-decoration: none;
    color: inherit;
}

.current-plan__tag {
    min-width: 120px;
    text-align: center;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
}

.current-plan__tag.is-business {
    background: #312e81;
    color: #fff;
    border-color: #312e81;
}

.current-plan__tag.is-free {
    background: #f3f4ff;
    color: #312e81;
    border-color: #c7d2fe;
}

.dashboard-card {
    display: block;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12);
}

.dashboard-card__count {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.mypage-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mypage-tabs a {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.mypage-tabs a.is-active {
    background: #312e81;
    color: #fff;
    border-color: #312e81;
}

.plan-card {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 1.25rem;
    position: relative;
    padding: 1.5rem;
}

.plan-card.is-highlight {
    border: 2px solid #485fc7;
    background: linear-gradient(135deg, #f4f6ff, #ffffff);
    box-shadow: 0 8px 30px rgba(72, 95, 199, 0.12);
}

.best-value-badge {
    position: absolute;
    top: -15px;
    right: 24px;
    background-color: #ffdd57;
    color: #946c00;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.25rem 0.8rem;
    border-radius: 1rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #ffd257;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    letter-spacing: 0.005em;
    font-size: 0.82rem;
    box-shadow: 0 1px 0 #edf0f3;
    transition: color 0.15s ease, border-color 0.15s ease,
        background-color 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.pill-link--compact {
    padding: 0.24rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.45rem;
}

.pill-link:hover,
.pill-link:focus-visible {
    color: #1f2937;
    background: #f9fafb;
    border-color: #d8dee5;
    transform: translateY(-0.5px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    outline: none;
}

.plan-summary {
    border-radius: 1.25rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.plan-summary__cta {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    gap: 0.75rem;
}

@media (min-width: 769px) {
    .plan-summary__cta {
        width: auto;
    }
}

.plan-summary__card {
    border-radius: 1.1rem;
    padding: 1rem;
    height: 100%;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    position: relative;
}

.plan-summary__card.is-guest {
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-color: #e5e7eb;
}

.plan-summary__card.is-free {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border-color: #c7d2fe;
}

.plan-summary__card.is-business {
    background: linear-gradient(135deg, #312e81, #4338ca);
    color: #f8fafc;
    border: 3px solid #6366f1;
    box-shadow: 0 14px 40px rgba(67, 56, 202, 0.4);
    transform: scale(1.02);
    z-index: 1;
}

.plan-summary__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: inherit;
}

.plan-summary__card.is-guest .plan-summary__badge {
    background: #e5e7eb;
    border-color: #e5e7eb;
    color: #374151;
}

.plan-summary__card.is-free .plan-summary__badge {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #312e81;
}

.plan-summary__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.6rem;
    margin-bottom: 0.4rem;
}

.plan-summary__price {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.plan-summary__price-note {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    margin-left: 0.15rem;
}

.plan-summary__lead {
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.plan-summary__note {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.plan-summary__footnote {
    margin: 0.25rem 0 1rem auto;
    text-align: right;
    font-size: 0.9rem;
    color: #4b5563;
    max-width: 100%;
    line-height: 1.4;
    display: block;
}

.room-membership-anchor {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 800;
    font-size: 0.9rem;
    color: #374151;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        background 0.15s ease, border-color 0.15s ease;
}

.room-membership-anchor--small {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
}

.room-membership-anchor:hover,
.room-membership-anchor:focus {
    color: #111827;
    border-color: #9ca3af;
    background: #f3f4f6;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.room-membership-anchor__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #4b5563;
    font-size: 0.8rem;
    box-shadow: none;
}

.room-membership-detail {
    border-radius: 1.25rem;
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc, #f4f7fb);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    padding: 0.8rem;
}

.room-membership-detail__title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-size: 1.8rem;
    color: #111827;
}

.room-membership-detail__subtitle {
    text-align: center;
    margin: 0 0 1.25rem;
    color: #4b5563;
    font-weight: 600;
}

.room-membership-detail__card {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    height: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.room-membership-detail__card.is-free {
    border-color: #dbeafe;
    background: linear-gradient(135deg, #fff, #f8fbff);
}

.room-membership-detail__card.is-business {
    background: linear-gradient(135deg, #f5f3ff, #eef2ff);
    border-color: #c7d2fe;
}

.room-membership-detail__label {
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1f2937;
    font-size: 1.1rem;
    text-align: center;
}

.room-membership-detail__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.room-membership-detail__features.is-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.room-membership-detail__feature {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border-radius: 0.8rem;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.room-membership-detail__card.is-business .room-membership-detail__feature {
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.18);
}

.room-membership-detail__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.25);
}

.room-membership-detail__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.room-membership-detail__feature-title {
    margin: 0;
    font-weight: 800;
    color: #0f172a;
    font-size: 1rem;
}

.room-membership-detail__feature-desc {
    margin: 0.1rem 0 0;
    color: #374151;
    /* font-weight: 600; */
    line-height: 1.5;
    font-size: 0.95rem;
}

.room-membership-detail__cta {
    text-align: center;
    margin-top: 1.5rem;
}

.room-membership-detail__actions .button {
    min-width: 180px;
    font-weight: 700;
}

.room-membership-detail__actions .button.is-light.is-outlined {
    border-color: #d1d5db;
    color: #4b5563;
    background: #fff;
}

/* モバイルでは縦並び（1カラム）に強制 */
@media screen and (max-width: 768px) {
    .room-membership-detail__features.is-two-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem;
    }
    .room-membership-detail__feature {
        width: 100% !important;
    }
}

.plan-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    flex-wrap: wrap;
}

.plan-cta--guest {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.plan-cta--free {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.plan-cta--business {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.plan-cta__text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.plan-cta__eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
}

.plan-cta__lead {
    margin: 0;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.5;
}

.plan-cta__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.plan-cta .button {
    box-shadow: 0 2px 0 #e5e7eb;
}

.plan-cta .button.is-link.is-light {
    color: #1f2937;
}

@media (max-width: 768px) {
    .plan-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .plan-cta__actions {
        width: 100%;
    }

    .plan-cta__actions .button {
        width: 100%;
        justify-content: center;
    }
}

.plan-matrix {
    border-radius: 1.25rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.plan-matrix__table th,
.plan-matrix__table td {
    vertical-align: middle;
}

.plan-matrix__table thead th {
    background: #f9fafb;
    font-weight: 700;
}

.plan-matrix__feature {
    width: 34%;
    min-width: 220px;
    vertical-align: top;
}

.plan-matrix__feature.has-description {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.plan-matrix__head-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.plan-matrix__feature-toggle-all {
    margin-left: auto;
    background: transparent;
    border: 2px solid #2563eb;
    padding: 0.35rem 0.9rem;
    font: inherit;
    font-weight: 800;
    color: #1f2937;
    border-radius: 0.65rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    box-shadow: 0 2px 0 #e5e7eb;
}

.plan-matrix__feature-toggle-all:hover,
.plan-matrix__feature-toggle-all:focus-visible {
    background: #eff6ff;
    outline: none;
}

.plan-matrix__feature-toggle-all-icon {
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.plan-matrix__feature-toggle-all[aria-expanded="true"]
    .plan-matrix__feature-toggle-all-icon {
    transform: rotate(-180deg);
}

.plan-matrix__feature-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: 800;
    text-align: left;
    line-height: 1.6;
    cursor: pointer;
}

.plan-matrix__feature-toggle:focus-visible {
    outline: 2px solid #cbd5e1;
    outline-offset: 4px;
    border-radius: 0.6rem;
}

.plan-matrix__feature-label {
    flex: 1;
}

.plan-matrix__feature-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #6b7280;
    white-space: nowrap;
}

.plan-matrix__feature-icon {
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.plan-matrix__feature-desc {
    margin-top: 0.6rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    font-weight: 600;
    line-height: 1.65;
}

.plan-matrix__feature.is-open .plan-matrix__feature-icon {
    transform: rotate(-180deg);
}

.plan-matrix__feature.is-open .plan-matrix__feature-action {
    color: #111827;
}

.plan-matrix__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    /* border-radius: 999px; */
    /* background: #ecfdf3; */
    color: #047857;
    /* font-size: 0.95rem; */
    /* box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25); */
}

.plan-matrix__dash {
    color: #9ca3af;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.plan-matrix__pill {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #f3f4f6;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.list-disc {
    list-style: disc;
}

.list-disc li {
    margin-bottom: 0.4rem;
}

.list-indent {
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}

.settings-list__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.4rem;
}

.settings-list__group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.settings-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}

.settings-list__item-label {
    display: flex;
    align-items: center;
}

.settings-list__item i {
    color: #9ca3af;
}

.settings-list__item:hover {
    border-color: #c7d2fe;
    color: #1f2937;
}

.settings-list__item.is-disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.settings-list__group.admin-subnav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.settings-list__group.admin-subnav .settings-list__item {
    flex: 0 0 auto;
    padding: 0.6rem 1rem;
    border-radius: 999px;
}

.settings-list__group.admin-subnav .settings-list__item.is-active {
    background: #312e81;
    color: #fff;
    border-color: #312e81;
}

.settings-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    font-weight: 600;
    color: #1d4ed8;
}

.public-setting-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.public-setting-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.public-setting-option input {
    margin-top: 0.35rem;
}

.public-setting-option span {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.public-setting-option small {
    font-size: 0.8rem;
    color: #6b7280;
}

.public-setting-option.is-disabled {
    opacity: 0.5;
}

.settings-ip-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.settings-ip-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.tile a:hover {
    color: #777;
}

.is-room-color-0 {
    background-color: #ff9999;
    border-color: transparent;
    color: #fff;
}
.is-room-color-1 {
    background-color: #ff99cc;
    border-color: transparent;
    color: #fff;
}
.is-room-color-2 {
    background-color: #ff99ff;
    border-color: transparent;
    color: #fff;
}
.is-room-color-3 {
    background-color: #cc99ff;
    border-color: transparent;
    color: #fff;
}
.is-room-color-4 {
    background-color: #9999ff;
    border-color: transparent;
    color: #fff;
}
.is-room-color-5 {
    background-color: #99ccff;
    border-color: transparent;
    color: #fff;
}
.is-room-color-6 {
    background-color: #b2ffff;
    border-color: transparent;
    color: #4a4a4a;
}
.is-room-color-7 {
    background-color: #b2ffd8;
    border-color: transparent;
    color: #4a4a4a;
}
.is-room-color-8 {
    background-color: #b2ffb2;
    border-color: transparent;
    color: #4a4a4a;
}
.is-room-color-9 {
    background-color: #d8ffb2;
    border-color: transparent;
    color: #4a4a4a;
}
.is-room-color-10 {
    background-color: #ffffb2;
    border-color: transparent;
    color: #4a4a4a;
}
.is-room-color-11 {
    background-color: #ffd8b2;
    border-color: transparent;
    color: #4a4a4a;
}
.is-room-color-12 {
    background-color: #7c7c7c;
    border-color: transparent;
    color: #fff;
}

.tile a.is-room-color-12:hover {
    color: #aaa;
}

.cp_box *,
.cp_box *:before,
.cp_box *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.cp_box {
    position: relative;
}
.cp_box label {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    height: 140px; /* グラデーションの高さ */
    cursor: pointer;
    text-align: center;
    /* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
    background: linear-gradient(
        to bottom,
        rgba(250, 252, 252, 0) 0%,
        rgba(250, 252, 252, 0.95) 90%
    );
}
.cp_box input:checked + label {
    background: inherit; /* 開いた時にグラデーションを消す */
}
.cp_box label:after {
    line-height: 2.5rem;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    width: 16rem;
    font-family: FontAwesome;
    content: "\f13a"" Show All";
    transform: translate(-50%, 0);
    letter-spacing: 0.05em;
    color: #ffffff;
    border-radius: 20px;
    background-color: rgba(27, 37, 56, 1);
}
.cp_box input {
    display: none;
}
.cp_box .cp_container {
    overflow: hidden;
    height: 500px; /* 開く前に見えている部分の高さ */
    transition: all 0.5s;
}
.cp_box input:checked + label {
    /* display: none ; 閉じるボタンを消す場合解放 */
}
.cp_box input:checked + label:after {
    font-family: FontAwesome;
    content: "\f139"" Show Less";
}
.cp_box input:checked ~ .cp_container {
    height: auto;
    padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
    transition: all 0.5s;
}

.cp2_box *,
.cp2_box *:before,
.cp2_box *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.cp2_box {
    position: relative;
}
.cp2_box label {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    height: 140px;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(
        to bottom,
        rgba(250, 252, 252, 0) 0%,
        rgba(250, 252, 252, 0.95) 90%
    );
}
.cp2_box input:checked + label {
    background: inherit;
}
.cp2_box label:after {
    line-height: 2.5rem;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    width: 16rem;
    font-family: FontAwesome;
    content: "\f13a"" Show All";
    transform: translate(-50%, 0);
    letter-spacing: 0.05em;
    color: #ffffff;
    border-radius: 20px;
    background-color: rgba(27, 37, 56, 1);
}
.cp2_box input {
    display: none;
}
.cp2_box .cp2_container {
    overflow: hidden;
    height: 500px;
    transition: all 0.5s;
}
.cp2_box input:checked + label:after {
    font-family: FontAwesome;
    content: "\f139"" Show Less";
}
.cp2_box input:checked ~ .cp2_container {
    height: auto;
    padding-bottom: 80px;
    transition: all 0.5s;
}

.vote_box {
    padding: 0.5rem;
}

.css_vote_4 {
    font-size: 1.8rem !important;
    cursor: pointer;
}

.css_vote_3 {
    font-size: 1.8rem !important;
    cursor: pointer;
}

.css_vote_2 {
    font-size: 1.8rem !important;
    cursor: pointer;
}

.css_vote_1 {
    font-size: 1.8rem !important;
    cursor: pointer;
}

.css_vote_grey {
    color: #eaeaea;
}

.css_vote_detail_4 {
    font-size: 1rem !important;
}

.css_vote_detail_3 {
    font-size: 1rem !important;
}

.css_vote_detail_2 {
    font-size: 1rem !important;
}

.css_vote_detail_1 {
    font-size: 1rem !important;
}

.css_vote_minus,
.css_vote_plus {
    cursor: pointer;
}

.fix-table-wrap {
    overflow-x: scroll;
}
.fix-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}
.fix-table th,
.fix-table td {
    /*border: 2px solid #eee;*/
    /*padding: 4px 8px;*/
}

/* 日曜日：赤 */
.flatpickr-calendar
    .flatpickr-innerContainer
    .flatpickr-weekdays
    .flatpickr-weekday:nth-child(7n + 1),
.flatpickr-calendar
    .flatpickr-innerContainer
    .flatpickr-days
    .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(
        .nextMonthDay
    ):nth-child(7n + 1) {
    color: #ff3939;
}

/* 土曜日：青 */
.flatpickr-calendar
    .flatpickr-innerContainer
    .flatpickr-weekdays
    .flatpickr-weekday:nth-child(7),
.flatpickr-calendar
    .flatpickr-innerContainer
    .flatpickr-days
    .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(
        .nextMonthDay
    ):nth-child(7n) {
    color: #3939ff;
}

.hougan {
    background-image: linear-gradient(
            0deg,
            transparent calc(100% - 1px),
            #f0f0f0 calc(100% - 1px)
        ),
        linear-gradient(
            90deg,
            transparent calc(100% - 1px),
            #f0f0f0 calc(100% - 1px)
        );
    background-size: 16px 16px;
    background-repeat: repeat;
    background-position: center center;
    padding: 20px 10px;
}

.series_icons {
    width: 70px;
    border: 1px solid #999;
    border-radius: 15px;
}
.hero--brand {
    position: relative;
    overflow: hidden;
}

.hero--brand::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 200px;
    height: 200px;
    background: url("/images/randroom_mark_a.png") no-repeat center;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
}

.meta-mini-btn {
    font-weight: 500;
    font-size: 0.68rem;
    line-height: 1.2;
    padding: 0.08rem 0.3rem;
    height: 1.45rem;
    box-shadow: none;
    border-color: #e5e7eb;
    color: #4b5563;
    border-radius: 3px;
    background: #f4f5f7;
}

.meta-mini-btn:hover,
.meta-mini-btn:focus {
    color: #1f2937;
    border-color: #d1d5db;
    background: #eef1f5;
    box-shadow: none;
}

.meta-inline-meta {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.navbar-menu.is-active .navbar-link:not(.is-arrowless)::after {
    display: none;
}

/* AdSense の横はみ出し対策 */
.adsbygoogle {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    box-sizing: border-box;
}

/* Wish room specific styles */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.candidate-card {
    border: 2px solid #dbdbdb;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    background: #fff;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.candidate-card:hover {
    border-color: #b5b5b5;
}
.candidate-card.is-selected {
    border-color: #ffdd57; /* is-warning */
    background-color: #fff5f7;
}
.rank-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #f14668;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.candidate-capacity {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}
.ip-limit-display {
    background: #fff;
    border: 1px solid #efefef;
    margin-left: 4.5rem;
}
.ip-limit-display__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.ip-limit-display__list li {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
}

/* Common room edit/management styles */
.archive-status-label .tag {
    min-width: 100px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.archive-tag-archive {
    background-color: #b45309;
    color: #fff;
}
.archive-tag-active {
    background-color: #0f766e;
    color: #fff;
}
.archive-toggle-btn {
    min-width: 140px;
    font-weight: 600;
}
.archive-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.archive-plan-label {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}
.mail-notice-block {
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}
.mail-notice-timings {
    gap: 0.5rem 1.25rem;
}
.mail-notice-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.mail-notice-timing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.mail-notice-timing input[type="email"] {
    flex: 1;
    min-width: 0;
}
.room-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #dfe3eb;
    background: #fff;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(31, 41, 55, 0.06);
    transition: color 0.12s ease, border 0.12s ease, background 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease, text-decoration-color 0.12s ease;
}
.room-back-link:hover {
    color: inherit;
    background: #f9fafb;
    border-color: #cfd4df;
    box-shadow: 0 6px 14px rgba(31, 41, 55, 0.1);
    transform: translateY(-1px);
}
.room-back-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
.room-back-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: grid;
    place-items: center;
    color: inherit;
}

/* Mypage / settings styles */
@media (max-width: 768px) {
    .mypage-wrapper.settings-detail .mypage-top-link {
        display: none;
    }
}

.settings-mail-notice-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.settings-mail-notice-item {
    margin: 0;
}
.settings-mail-notice-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}
.mail-notice-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.mail-notice-header .mail-notice-toggle {
    margin-left: 0;
}
.mail-notice-toggle-row {
    width: 100%;
}
.settings-mail-notice-item__row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}
.settings-mail-notice-item__toggle,
.settings-mail-notice-item__update,
.settings-mail-notice-item__delete {
    margin: 0;
}
.settings-mail-notice-item__toggle button {
    min-width: 88px;
}
.settings-mail-notice-item__update {
    flex: 2;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    min-width: 0;
}
.settings-mail-notice-item__update .field {
    flex: 1;
    margin-bottom: 0;
    min-width: 280px;
}
.settings-mail-notice-item__update .control {
    flex: 1;
}
.settings-mail-notice-item__update .input {
    width: 100%;
}
.settings-mail-notice-item__delete button {
    white-space: nowrap;
}
.settings-mail-notice-hint {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    color: rgba(15, 23, 42, 0.7);
}
.business-note {
    background: #fff9c4;
    border: 1px solid rgba(250, 204, 21, 0.4);
    color: #5a4b00;
}
@media (max-width: 768px) {
    .settings-mail-notice-item__row {
        flex-direction: column;
        align-items: stretch;
    }
    .settings-mail-notice-item__toggle button,
    .settings-mail-notice-item__delete button {
        width: 100%;
    }
    .settings-mail-notice-item__update {
        flex-direction: column;
        align-items: stretch;
    }
}




.has-timezone-details {
    padding: 0 0.5em;
}
