/* Shared presentation for the public Japanese host pages. */
body:has(> .host-header.navbar-fixed-top) {
    --host-action-height: 48px;
    --host-action-radius: 8px;
    padding-top: 72px;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.host-header.navbar {
    background: #fff;
    border: 0;
    font-family: inherit;
    box-shadow: none;
}
.host-header.navbar-fixed-top > .container,
.host-ui .host-header.navbar-fixed-top > .container {
    padding-top: 11px;
    padding-bottom: 11px;
}
.host-header .nav-logo { width: auto; height: 25px; }
.host-header .navbar-nav > li > a {
    color: #333 !important;
    font-size: 14px;
    font-weight: 600;
}
.host-header + br,
.host-header + br + br { display: none; }
.host-header .navbar-nav .host-language > .host-language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    min-width: 190px;
    margin: 0;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.host-header .navbar-nav .host-language-menu > li > a {
    padding: 10px 18px;
    font-size: 14px;
    line-height: 1.5;
}
.host-header a:focus-visible,
.host-header button:focus-visible {
    outline: 2px solid #222;
    outline-offset: -2px;
}

/* Match the primary action used on the landing page and in the FAQ. */
.host-ui-auth .form-style-1 .btn-danger,
.host-faq-page .host-faq-register,
.host-faq-page .guide-next .support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--host-action-height);
    padding: 10px 20px;
    border-radius: var(--host-action-radius);
    background: #ff5055;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}
.host-ui-auth .form-style-1 .btn-danger:hover,
.host-ui-auth .form-style-1 .btn-danger:focus,
.host-faq-page .host-faq-register:hover,
.host-faq-page .guide-next .support-button:hover {
    background: #e9464c;
    border-color: #e9464c;
    filter: none;
}
.host-ui-auth .form-style-1 a,
.host-ui-auth .alert a,
.host-terms-main a {
    color: #ba333b;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.host-ui-auth .form-style-1 a:hover,
.host-ui-auth .alert a:hover,
.host-terms-main a:hover { color: #a72d35; }
.host-ui-auth form a:focus-visible,
.host-ui-auth form button:focus-visible,
.host-faq-page .host-faq-register:focus-visible,
.host-faq-page .guide-next .support-button:focus-visible {
    outline: 3px solid #a92e36;
    outline-offset: 3px;
}
.host-ui-auth .host-auth-title {
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .02em;
}
.host-ui-auth .host-auth-note {
    color: #717171;
    font-size: 14px;
    line-height: 1.8;
}
body:has(> .host-header) .site-footer-ja { font-family: inherit; }

.host-terms-main {
    width: calc(100% - 64px);
    max-width: 1040px;
    margin: 0 auto;
    padding: 48px 0 0;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.host-terms-main h1,
.host-terms-main h2 {
    color: #333;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.5;
}
.host-terms-main h1 { margin: 0 0 32px; font-size: 28px; }
.host-terms-main h2 { margin: 36px 0 16px; font-size: 20px; }
.host-terms-main p { margin: 0 0 12px; }

@media (max-width: 767px) {
    body:has(> .host-header.navbar-fixed-top) { padding-top: 64px; }
    .host-header.navbar-fixed-top > .container,
    .host-ui .host-header.navbar-fixed-top > .container {
        padding-top: 7px;
        padding-bottom: 7px;
    }
    .host-header .navbar-collapse.in { overflow: visible; }
    .host-header .navbar-nav .host-language > .host-language-menu { right: 15px; }
    .host-ui-auth .host-auth-title { font-size: 24px; }
    .host-terms-main { width: calc(100% - 40px); padding-top: 32px; font-size: 15px; }
    .host-terms-main h1 { margin-bottom: 24px; font-size: 24px; }
    .host-terms-main h2 { margin-top: 28px; font-size: 18px; }
}
