:root {
    --primary: #0f5fe8;
    --primary-deep: #0e4fc0;
    --primary-soft: #eaf3ff;
    --accent: #edf4ff;
    --text: #1d2a39;
    --muted: #5e6d7b;
    --border: #dfeaf8;
    --bg: #f5f9ff;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(15, 95, 232, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f7fbff 0%, #f2f7ff 100%);
    color: var(--text);
    font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Segoe UI", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(223, 234, 248, 0.8);
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 84px;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.04em;
}

.brand-mascot {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    box-shadow: 0 3px 10px rgba(15, 95, 232, 0.18);
}

.account-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.account-nav a:not(.button) {
    color: var(--primary);
    font-weight: 700;
}

.tagline {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
    text-align: right;
}

.hero {
    padding: 84px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.eyebrow,
.section-label {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 20px 0 20px;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 0 0 28px;
    max-width: 620px;
    color: var(--muted);
    font-size: 1.05rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: var(--white);
    box-shadow: 0 14px 24px rgba(15, 95, 232, 0.2);
}

.hero-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.card-badge {
    display: inline-block;
    padding: 8px 14px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.check-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text);
    font-weight: 600;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 900;
}

.features {
    padding: 52px 0 30px;
}

.section-heading {
    margin-bottom: 32px;
    text-align: center;
}

.align-left {
    text-align: left;
}

.section-heading h2 {
    margin: 16px 0 0;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.3;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 22px;
    box-shadow: 0 12px 30px rgba(15, 95, 232, 0.06);
}

.icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-soft) 0%, #dfeeff 100%);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.contact {
    padding: 54px 0 72px;
}

.contact-wrap {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 30px 28px;
}

.consultation-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field {
    display: grid;
    gap: 10px;
}

label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.required {
    color: var(--primary);
    font-size: 0.76rem;
    margin-left: 6px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fbfdff;
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(15, 95, 232, 0.6);
    box-shadow: 0 0 0 4px rgba(15, 95, 232, 0.12);
}

textarea {
    min-height: 180px;
    resize: vertical;
}

.submit-button {
    width: auto;
    margin-top: 8px;
}

.site-footer {
    background: #0c1d32;
    color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-inner p {
    margin: 0;
    font-size: 0.95rem;
}

.success-page {
    padding: 80px 0 72px;
}

.success-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.success-message {
    margin: 18px 0 28px;
    font-size: 1.05rem;
    color: var(--muted);
    text-align: center;
}

.confirmation-panel {
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px 22px;
    margin-top: 26px;
}

.confirmation-panel h3 {
    margin: 0 0 18px;
    font-size: 1.4rem;
}

.confirmation-list {
    display: grid;
    gap: 16px;
    margin: 0;
}

.confirmation-list div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.confirmation-list div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.confirmation-list dt {
    font-weight: 700;
    color: var(--text);
}

.confirmation-list dd {
    margin: 0;
    color: var(--muted);
    white-space: pre-wrap;
    word-break: break-word;
}

.actions {
    margin-top: 28px;
    text-align: center;
}

.error-box {
    background: #fff6f6;
    border: 1px solid #f3dada;
    border-radius: 16px;
    padding: 18px 20px;
    color: #8b2f2f;
    font-weight: 600;
}

@media (max-width: 768px) {
    .site-header .header-inner {
        display: flex;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header-inner,
    .hero-grid,
    .form-row,
    .feature-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .header-inner {
        padding: 18px 0;
        justify-content: center;
        text-align: center;
    }

    .tagline {
        text-align: center;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-copy h1 {
        font-size: 2.4rem;
    }

    .contact-wrap {
        padding: 22px 18px;
    }

    .button,
    .submit-button {
        width: 100%;
    }

    .confirmation-list div {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}