:root {
    --blue: #287be7;
    --deep: #0d3977;
    --ink: #142b48;
    --muted: #687b91;
    --sky: #edf6ff;
    --line: #d9e7f5;
    --coral: #f87e73;
    --green: #168b68;
    --red: #b82f38;
    --shadow: 0 18px 48px rgba(13, 57, 119, 0.1);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: #f8fbff;
    color: var(--ink);
    font-family:
        "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui,
        sans-serif;
}
button,
input {
    font: inherit;
}
button,
a {
    transition: 0.18s ease;
}
a {
    color: var(--blue);
}
button {
    cursor: pointer;
}
.site-header {
    height: 78px;
    display: flex;
    align-items: center;
    padding: 0 max(4vw, 24px);
    gap: 34px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}
.site-logo img {
    display: block;
    width: 230px;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
    height: 100%;
}
.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #455c76;
    font-size: 14px;
    font-weight: 800;
}
.site-nav a:hover {
    color: var(--blue);
}
.nav-button {
    background: var(--blue);
    color: #fff !important;
    padding: 10px 17px;
    border-radius: 8px;
}
.page {
    min-height: calc(100vh - 78px);
    padding: 58px 24px 80px;
}
.container {
    width: min(1120px, 100%);
    margin: auto;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 35px;
}
.eyebrow {
    color: var(--blue);
    font-weight: 900;
    letter-spacing: 0.14em;
    font-size: 12px;
    margin: 0 0 10px;
}
.page h1 {
    font-size: clamp(34px, 5vw, 50px);
    line-height: 1.2;
    letter-spacing: -0.045em;
    margin: 0 0 16px;
}
.page h2 {
    font-size: 25px;
    margin: 0 0 12px;
}
.lead {
    font-size: 17px;
    line-height: 1.9;
    color: var(--muted);
}
.mascot {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 38px;
}
.compact {
    width: min(560px, 100%);
    margin: auto;
}
.split-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    width: min(940px, 100%);
    margin: auto;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.form-visual {
    background: var(--deep);
    color: #fff;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.form-visual img {
    width: 240px;
    height: 200px;
    object-fit: contain;
}
.form-visual p {
    color: #bcd5f1;
}
.form-panel {
    padding: 48px;
}
.form-panel > p {
    color: var(--muted);
    line-height: 1.8;
}
.field {
    display: grid;
    gap: 8px;
    margin: 21px 0;
    color: #304965;
    font-weight: 800;
    font-size: 13px;
}
.field input {
    border: 1px solid #c8d8e9;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    outline: none;
}
.field input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #e2f0ff;
}
.primary,
.secondary,
.danger {
    border: 0;
    border-radius: 8px;
    padding: 14px 21px;
    font-weight: 900;
}
.primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 7px 18px rgba(40, 123, 231, 0.2);
    text-decoration: none;
}
.primary:hover {
    background: #176cda;
}
.primary:disabled {
    opacity: 0.55;
}
.secondary {
    background: #fff;
    border: 1px solid #a9c9ef;
    color: var(--blue);
}
.danger {
    background: #fff0f1;
    color: var(--red);
    border: 1px solid #f0bdc1;
}
.wide {
    width: 100%;
}
.form-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}
.form-links a {
    font-weight: 800;
    text-decoration: none;
}
.pin-input {
    font-size: 30px !important;
    text-align: center;
    letter-spacing: 0.35em;
    font-weight: 900;
}
.upload-card {
    margin-top: 34px;
}
.upload-conditions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.upload-condition {
    display: flex;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid #c8ddf5;
    background: var(--sky);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.upload-condition span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.upload-condition strong {
    margin: 4px 0;
    color: var(--deep);
    font-size: 24px;
    line-height: 1.3;
}
.upload-condition small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}
.drop-zone {
    min-height: 270px;
    border: 2px dashed #96c0ef;
    background: var(--sky);
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 30px;
}
.drop-zone.drag {
    border-color: var(--blue);
    background: #dfefff;
}
.drop-zone strong {
    display: block;
    font-size: 22px;
}
.drop-zone p {
    color: var(--muted);
}
.drop-zone img {
    position: absolute;
    right: 25px;
    bottom: -25px;
    width: 205px;
    opacity: 0.9;
}
.upload-symbol {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 30px;
}
.file-picker input,
.logo-picker input {
    display: none;
}
.file-picker,
.logo-picker {
    cursor: pointer;
    position: relative;
    z-index: 100;

}
.file-row {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    padding: 15px;
    margin-top: 18px;
}
.file-chip {
    background: var(--sky);
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    padding: 12px 9px;
    border-radius: 6px;
}
.file-row div {
    display: grid;
}
.file-row small {
    color: var(--muted);
}
.file-row button {
    margin-left: auto;
    border: 0;
    background: none;
    font-size: 22px;
}
.upload-options {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: end;
    margin-top: 18px;
}
.upload-options .field {
    margin: 0;
}
.progress-block {
    margin-top: 22px;
}
.progress-head,
.progress-detail {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
}
.progress-track {
    height: 13px;
    background: #e5edf6;
    border-radius: 20px;
    overflow: hidden;
    margin: 8px 0;
}
.progress-track span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), #68afff);
    transition: width 0.15s;
}
.result-box {
    margin-top: 20px;
    background: #eefaf6;
    border-left: 4px solid var(--green);
    padding: 18px;
}
.url-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.url-row input {
    flex: 1;
    min-width: 0;
    border: 1px solid #b9d9cc;
    padding: 12px;
    background: #fff;
}
.message {
    padding: 14px;
    margin-top: 15px;
    background: var(--sky);
    border-left: 4px solid var(--blue);
}
.message.error {
    background: #fff0f1;
    border-color: var(--red);
    color: var(--red);
}
.member-guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 22px;
    padding: 25px 28px;
    background: #edf6ff;
    border: 1px solid #c8ddf5;
}
.member-guide h2 {
    font-size: 20px;
    margin-bottom: 7px;
}
.member-guide p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}
.member-guide .primary {
    flex: none;
}
.dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.dashboard-head img {
    width: 180px;
    height: 130px;
    object-fit: contain;
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 22px 0;
}
.stats article {
    background: #fff;
    border: 1px solid var(--line);
    padding: 22px;
    text-align: center;
}
.stats span,
.stats small {
    color: var(--muted);
}
.stats b {
    font-size: 32px;
    color: var(--deep);
    margin: 0 8px;
}
.table-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
    margin-top: 18px;
}
.table-wrap {
    overflow: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
th {
    font-size: 12px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    padding: 12px;
}
td {
    padding: 16px 12px;
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
}
.status {
    display: inline-block;
    background: #e9f8f2;
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    padding: 6px 9px;
    border-radius: 5px;
}
.logo-setting {
    display: grid;
    grid-template-columns: 1fr 220px auto;
    align-items: center;
    gap: 20px;
}
.logo-setting form {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.logo-preview {
    height: 100px;
    border: 1px dashed #a9c7e8;
    background: #f7fbff;
    display: grid;
    place-items: center;
}
.logo-preview img {
    max-width: 190px;
    max-height: 80px;
}
.download-action {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.download-action > .download-button,
.download-action > .danger {
    width: 100px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.download-button {
    border-radius: 7px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}
.download-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}
.download-brand img {
    /* max-width: 300px; */
    max-width: 75%;
    max-height: 95px;
}
.powered {
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}
.download-card {
    text-align: center;
}
.download-card .mascot {
    height: 170px;
}
.download-meta {
    display: flex;
    justify-content: center;
    gap: 35px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px;
    margin: 25px 0;
}
.download-meta span {
    color: var(--muted);
    font-size: 13px;
}
.download-meta b {
    display: block;
    color: var(--ink);
    font-size: 16px;
}
.error-code {
    display: inline-block;
    background: #fff0f1;
    color: var(--red);
    font-weight: 900;
    padding: 8px 12px;
    border-radius: 5px;
}
.contact-list {
    display: grid;
    gap: 15px;
    margin-top: 25px;
}
.contact-item {
    border-left: 3px solid var(--blue);
    padding: 5px 0 5px 16px;
}
.contact-item small {
    display: block;
    color: var(--muted);
}
.contact-heading {
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 34px;
    margin-bottom: 30px;
}
.contact-heading .mascot {
    height: 190px;
}
.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    gap: 24px;
    align-items: start;
}
.contact-guide {
    padding: 28px;
    background: var(--deep);
    color: #fff;
}
.contact-guide h2 {
    color: #fff;
}
.contact-guide p,
.contact-guide li {
    line-height: 1.8;
    color: #d7e6f7;
}
.contact-guide ul {
    padding-left: 1.3em;
}
.contact-guide a {
    color: #fff;
    font-weight: 900;
}
.contact-direct {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.contact-form-card h2 {
    margin-bottom: 5px;
}
.required-note {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 13px;
}
.required-note span,
.contact-field > span b {
    display: inline-block;
    margin-right: 5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #fff0f1;
    color: var(--red);
    font-size: 11px;
}
.contact-field {
    display: grid;
    gap: 8px;
    margin: 0 0 20px;
}
.contact-field > span {
    color: #304965;
    font-size: 13px;
    font-weight: 900;
}
.contact-field > span small {
    color: var(--muted);
    font-weight: 700;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid #c8d8e9;
    border-radius: 8px;
    padding: 14px 15px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    outline: none;
}
.contact-field textarea {
    min-height: 190px;
    resize: vertical;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #e2f0ff;
}
.contact-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.privacy-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 22px;
    color: #455c76;
    font-size: 13px;
    line-height: 1.7;
}
.privacy-agreement input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}
.contact-submit {
    width: 100%;
}
.form-error {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-left: 4px solid var(--red);
    background: #fff0f1;
    color: var(--red);
}
.form-error ul {
    margin: 8px 0 0;
    padding-left: 1.3em;
}
.contact-complete {
    width: min(650px, 100%);
    margin: 0 auto;
    text-align: center;
}
.contact-complete p:not(.eyebrow) {
    margin-bottom: 28px;
    color: var(--muted);
}
.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.storage-footer {
    background: #092e63;
    color: #fff;
    padding: 25px max(4vw, 24px);
}
.storage-inner {
    width: min(1120px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}
.storage-copy b {
    display: block;
}
.storage-copy small {
    color: #b8cce4;
}
.storage-bar {
    height: 10px;
    background: #234c7f;
    border-radius: 10px;
    overflow: hidden;
}
.storage-bar span {
    display: block;
    height: 100%;
    background: #73b8ff;
}
.storage-value {
    font-weight: 900;
}
.site-footer {
    background: #061f43;
    color: #adc3dd;
    padding: 26px max(4vw, 24px);
    display: flex;
    align-items: center;
    gap: 25px;
}
.site-footer a {
    color: #c7d7e9;
    text-decoration: none;
}
.site-footer small {
    margin-left: auto;
}
[hidden] {
    display: none !important;
}
.policy-container {
    width: min(900px, 100%);
    margin: auto;
}
.policy-heading {
    text-align: center;
    margin-bottom: 32px;
}
.policy-heading .lead {
    max-width: 720px;
    margin: 0 auto;
}
.policy-date {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.policy-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 48px 54px;
}
.policy-card > p,
.policy-card section p,
.policy-card li {
    color: #455c76;
    line-height: 1.9;
}
.policy-card section {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--line);
}
.policy-card section:first-of-type {
    margin-top: 20px;
}
.policy-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    color: var(--deep);
}
.policy-card h2 span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--sky);
    color: var(--blue);
    font-size: 14px;
}
.policy-card ul {
    margin: 14px 0;
    padding-left: 1.4em;
}
.policy-card li + li {
    margin-top: 7px;
}
.policy-note {
    padding: 16px 18px;
    background: #fff8e7;
    border-left: 4px solid #e7a52b;
    color: #625332 !important;
}
.policy-contact {
    margin: 18px 0 0;
    border: 1px solid var(--line);
}
.policy-contact div {
    display: grid;
    grid-template-columns: 160px 1fr;
}
.policy-contact div + div {
    border-top: 1px solid var(--line);
}
.policy-contact dt,
.policy-contact dd {
    margin: 0;
    padding: 14px 18px;
}
.policy-contact dt {
    background: var(--sky);
    font-weight: 900;
    color: var(--deep);
}
.policy-contact dd {
    color: #455c76;
}
@media (max-width: 820px) {
    .site-nav a:not(.nav-button) {
        display: none;
    }
    .site-logo img {
        width: 190px;
    }
    .hero-grid,
    .split-card,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-heading {
        grid-template-columns: 1fr 190px;
    }
    .form-visual {
        display: none;
    }
    .drop-zone img {
        opacity: 0.25;
    }
    .upload-options {
        grid-template-columns: 1fr;
    }
    .upload-conditions {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: 1fr;
    }
    .logo-setting {
        grid-template-columns: 1fr;
    }
    .storage-inner {
        grid-template-columns: 1fr;
    }
    .site-footer {
        flex-wrap: wrap;
    }
    .site-footer small {
        margin-left: 0;
        width: 100%;
    }
}
@media (max-width: 520px) {
    .page {
        padding: 38px 16px 60px;
    }
    .card,
    .form-panel,
    .table-card,
    .policy-card {
        padding: 25px 20px;
    }
    .site-header {
        padding: 0 16px;
    }
    .site-logo img {
        width: 165px;
    }
    .site-nav {
        gap: 8px;
    }
    .nav-button {
        padding: 9px 12px;
    }
    .drop-zone {
        min-height: 320px;
    }
    .url-row {
        flex-direction: column;
    }
    .download-meta {
        flex-direction: column;
        gap: 12px;
    }
    .dashboard-head img {
        display: none;
    }
    .member-guide {
        align-items: stretch;
        flex-direction: column;
    }
    .member-guide .primary {
        text-align: center;
    }
    .contact-heading {
        grid-template-columns: 1fr;
    }
    .contact-heading .mascot {
        display: none;
    }
    .contact-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .policy-contact div {
        grid-template-columns: 1fr;
    }
    .policy-contact dd {
        padding-top: 5px;
    }
}
