:root {
    --apple-text-primary: #1d1d1f;
    --apple-text-secondary: #6e6e73;
    --apple-background: #ffffff;
    --apple-background-secondary: #f5f5f7;
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
}

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--apple-background);
    color: var(--apple-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.display-3 {
    font-size: calc(1.775rem + 3.3vw);
    font-weight: 700;
    line-height: 1.1;
}

@media (min-width: 1200px) {
    .display-3 {
        font-size: 4rem;
    }
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--apple-text-secondary);
}

h2 {
    font-weight: 700;
    font-size: 2.5rem;
}

.btn-primary {
    background-color: var(--apple-blue);
    border-color: var(--apple-blue);
    font-weight: 600;
    padding: 0.4rem 0.8rem;
}

.btn-primary:hover {
    background-color: var(--apple-blue-hover);
    border-color: var(--apple-blue-hover);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-light-gray {
    background-color: var(--apple-background-secondary);
}

.card {
    border: none;
    border-radius: 1.25rem;
    background-color: var(--apple-background-secondary);
    transition: transform 0.3s ease;
}

.card.card-white {
    background-color: var(--apple-background);
    border: 1px solid #e5e5e5;
}

.card:hover {
    transform: translateY(-5px);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.display-3,
.lead,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: strict;
}

#hero h1 {
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

#hero .lead {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.card-text,
.card p {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.btn {
    white-space: nowrap;
}

@media (max-width: 768px) {

    .display-3,
    h1,
    h2,
    h3 {
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
}

.site-footer {
    position: relative;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: rgba(226, 232, 240, 0.9);
    padding: 4rem 0 2.5rem;
    overflow: hidden;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
}

.site-footer::before {
    background: rgba(59, 130, 246, 0.35);
    top: -120px;
    left: -80px;
}

.site-footer::after {
    background: rgba(14, 165, 233, 0.35);
    bottom: -140px;
    right: -40px;
}

.site-footer__inner {
    position: relative;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .site-footer__inner {
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 260px;
}

.site-footer__brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: rgba(241, 245, 249, 0.95);
    text-decoration: none;
    font-size: 1.05rem;
}

.site-footer__tagline {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(148, 163, 184, 0.95);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.site-footer__link-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    list-style: none;
    padding: 0.75rem 1.75rem;
    margin: 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(30, 41, 59, 0.6));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: clamp(320px, 70%, 720px);
}

.site-footer__link-item {
    display: flex;
    align-items: center;
}

.site-footer__links a,
.site-footer__links button {
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.site-footer__links a:hover,
.site-footer__links button:hover {
    color: rgba(129, 204, 255, 0.95);
}

.site-footer__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
    background: rgba(129, 204, 255, 0.14);
    transform: translateY(-2px);
}

.site-footer__links button:focus-visible {
    outline: 2px solid rgba(14, 165, 233, 0.6);
    outline-offset: 4px;
}

.site-footer__meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
}

.site-footer__meta p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.9);
}

.site-footer__meta a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__meta a:hover {
    color: rgba(129, 204, 255, 0.95);
}

.site-footer__top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    color: rgba(226, 232, 240, 0.95);
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-footer__top-link:hover {
    transform: translateY(-2px);
    background: rgba(51, 65, 85, 0.65);
    border-color: rgba(129, 204, 255, 0.6);
}

@media (max-width: 767.98px) {
    .site-footer__meta {
        align-items: center;
        text-align: center;
    }

    .site-footer__top-link {
        margin-top: 0.5rem;
    }

    .site-footer__link-list {
        flex-direction: column;
        gap: 0.85rem;
        border-radius: 1.25rem;
        padding: 1rem 1.25rem;
        max-width: min(100%, 420px);
    }

    .site-footer__link-item {
        width: 100%;
        justify-content: center;
    }

    .site-footer__link {
        width: 100%;
        padding: 0.5rem 0.85rem;
        background: rgba(51, 65, 85, 0.45);
    }
}

.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background-color: var(--apple-background);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.12);
    padding: 1.5rem 1rem;
}

.consent-banner__inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consent-banner__title {
    font-size: 1.25rem;
    font-weight: 600;
}

.consent-banner__description {
    color: var(--apple-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.consent-banner__details {
    background-color: var(--apple-background-secondary);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.consent-banner__details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--apple-text-primary);
    list-style: none;
}

.consent-banner__details summary::-webkit-details-marker {
    display: none;
}

.consent-banner__details summary::after {
    content: '\25BC';
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.consent-banner__details[open] summary::after {
    transform: rotate(180deg);
}

.consent-banner__option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    padding-top: 0.75rem;
    color: var(--apple-text-secondary);
}

.consent-banner__option input {
    margin-top: 0.2rem;
}

.consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.consent-banner__button {
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.consent-banner__button:focus-visible {
    outline: 3px solid rgba(0, 113, 227, 0.35);
    outline-offset: 2px;
}

.consent-banner__button--ghost {
    background-color: transparent;
    color: var(--apple-text-primary);
    border-color: rgba(0, 0, 0, 0.12);
}

.consent-banner__button--ghost:hover {
    border-color: rgba(0, 0, 0, 0.3);
}

.consent-banner__button--primary {
    background-color: var(--apple-blue);
    color: #fff;
}

.consent-banner__button--primary:hover {
    background-color: var(--apple-blue-hover);
}

.consent-banner__button--outline {
    background-color: #fff;
    color: var(--apple-text-primary);
    border-color: rgba(0, 0, 0, 0.15);
}

.consent-banner__button--outline:hover {
    border-color: rgba(0, 0, 0, 0.35);
}

.consent-preferences-trigger {
    background: none;
    border: none;
    padding: 0;
    margin-left: 1rem;
    color: var(--apple-text-secondary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.85rem;
}

.consent-preferences-trigger:hover {
    color: var(--apple-blue);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: start;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--apple-text-primary);
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 500;
    color: var(--apple-blue);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item[open] {
    border-color: rgba(0, 113, 227, 0.3);
    box-shadow: 0 24px 60px rgba(0, 113, 227, 0.15);
}

.faq-item p {
    margin: 1rem 0 0;
    color: var(--apple-text-secondary);
    line-height: 1.7;
}

@media (max-width: 576px) {
    .faq-grid {
        gap: 1rem;
    }

    .faq-item {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .consent-banner__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .consent-banner__button {
        width: 100%;
        text-align: center;
    }
}

.quick_form_8_css * {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word;
}

@media only screen and (max-width: 600px) {
    .quick_form_8_css[name="SIGNUP_BODY"] {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0px auto !important;
        padding: 0px !important;
    }

    .SIGNUP_FLD {
        width: 90% !important;
        margin: 10px 5% !important;
        padding: 0px !important;
    }

    .SIGNUP_FLD input {
        margin: 0 !important;
        border-radius: 25px !important;
    }
}