@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&display=swap');

:root {
    --line: rgba(226, 232, 240, 0.8);
    --ink: #1e293b;
    --ink-soft: #475569;
    --ink-muted: #94a3b8;
    --accent: #5046e5;
    --accent-deep: #312e81;
    --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    margin: 0;
    scroll-behavior: smooth;
}

body {
    background-color: #f6f8fa;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.top-notice-bar {
    width: 100%;
    background-color: #1e1b4b;
    color: #e0ddff;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    justify-content: center;
}

.header-inner {
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo {
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.logo-image {
    display: block;
    height: 40px;
    width: auto;
}

.logo-icon {
    color: #5046e5;
}

.logo-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    margin-left: 2px;
}

.header-nav {
    display: flex;
    gap: 28px;
}

.nav-item {
    text-decoration: none;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    padding: 6px 0;
}

.nav-item:hover,
.nav-item.active {
    color: #5046e5;
    font-weight: 700;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #5046e5;
    border-radius: 2px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background-color: #f1f5f9;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: #475569;
}

.main-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

.page-shell {
    padding: 40px 30px;
    align-items: center;
}

.policy-wrapper {
    background-color: #ffffff;
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    padding: 60px 50px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.01);
}

.policy-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.policy-main-title {
    font-size: 1.75rem;
    color: #1e293b;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.35;
}

.policy-date {
    font-size: 0.88rem;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
}

.policy-lead {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 30px;
}

.policy-divider-heavy {
    border: 0;
    height: 2px;
    background-color: #1e293b;
    margin-bottom: 40px;
}

.policy-content {
    color: #334155;
}

.policy-content > *:first-child {
    margin-top: 0;
}

.policy-content h2,
.policy-content h3,
.policy-content h4 {
    font-size: 1.15rem;
    color: #1e293b;
    font-weight: 700;
    margin: 36px 0 14px;
    border-left: 4px solid #5046e5;
    padding-left: 12px;
    line-height: 1.55;
}

.policy-content p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.75;
    margin: 0 0 16px;
    word-break: break-word;
}

.policy-content ul,
.policy-content ol {
    margin: 10px 0 18px 20px;
    padding-left: 20px;
}

.policy-content li {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 8px;
}

.policy-content a {
    color: #5046e5;
}

.contact-wrapper {
    background-color: #ffffff;
    width: 100%;
    max-width: 680px;
    border-radius: 20px;
    padding: 50px 45px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.01);
}

.contact-header {
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 24px;
    margin-bottom: 36px;
}

.contact-main-title {
    font-size: 1.6rem;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.contact-content form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-content p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
}

.contact-content form > p {
    margin: 0;
}

.contact-content label,
.contact-content .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.contact-content input[type='text'],
.contact-content input[type='email'],
.contact-content input[type='tel'],
.contact-content select,
.contact-content textarea,
.contact-content .form-input,
.contact-content .form-select,
.contact-content .form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #334155;
    background-color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.contact-content input[type='text']::placeholder,
.contact-content input[type='email']::placeholder,
.contact-content input[type='tel']::placeholder,
.contact-content textarea::placeholder,
.contact-content .form-input::placeholder,
.contact-content .form-textarea::placeholder {
    color: #94a3b8;
}

.contact-content input[type='text']:focus,
.contact-content input[type='email']:focus,
.contact-content input[type='tel']:focus,
.contact-content select:focus,
.contact-content textarea:focus,
.contact-content .form-input:focus,
.contact-content .form-select:focus,
.contact-content .form-textarea:focus {
    border-color: #5046e5;
    box-shadow: 0 0 0 3px rgba(80, 70, 229, 0.1);
}

.contact-content textarea,
.contact-content .form-textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-content input[type='checkbox'] {
    accent-color: #5046e5;
}

.contact-content a,
.link-privacy {
    color: #5046e5;
    text-decoration: none;
    font-weight: 500;
}

.contact-content a:hover,
.link-privacy:hover {
    text-decoration: underline;
}

.contact-content input[type='submit'],
.contact-content button[type='submit'],
.btn-submit {
    width: 100%;
    max-width: 320px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #5046e5;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(80, 70, 229, 0.2);
    transition: all 0.2s ease;
}

.contact-content input[type='submit']:hover,
.contact-content button[type='submit']:hover,
.btn-submit:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80, 70, 229, 0.3);
}

.contact-content .wpcf7-submit,
.contact-content .wpforms-submit,
.contact-content .gform_button {
    max-width: 320px;
}

.contact-content .wpcf7 form,
.contact-content .wpforms-container form,
.contact-content .gform_wrapper form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer {
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #eef2f6;
    display: flex;
    justify-content: center;
    padding: 60px 0 40px;
    margin-top: auto;
}

.footer-inner {
    width: 100%;
    max-width: 1100px;
    padding: 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-sub {
    font-size: 0.88rem;
    color: #64748b;
    max-width: 450px;
    line-height: 1.6;
    font-weight: 400;
}

.footer-sns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.sns-icon {
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 14px;
    background-color: #f1f5f9;
    border-radius: 20px;
    transition: all 0.2s;
}

.sns-icon:hover {
    background-color: #5046e5;
    color: #ffffff;
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: #eef2f6;
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright {
    font-size: 0.8rem;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
}

.footer-links a:hover {
    color: #5046e5;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 16px 20px;
    }

    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: calc(100% - 40px);
    }

    .logo-image {
        height: 34px;
    }

    .header-nav {
        gap: 16px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .header-nav::-webkit-scrollbar {
        display: none;
    }

    .page-shell {
        padding: 20px 15px 30px;
    }

    .policy-wrapper {
        padding: 36px 20px;
        border-radius: 16px;
    }

    .contact-wrapper {
        padding: 36px 20px;
        border-radius: 16px;
    }

    .policy-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .policy-main-title {
        font-size: 1.4rem;
    }

    .policy-date {
        font-size: 0.8rem;
    }

    .policy-lead {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .policy-divider-heavy {
        margin-bottom: 24px;
    }

    .policy-content h2,
    .policy-content h3,
    .policy-content h4 {
        font-size: 1rem;
        margin-top: 28px;
    }

    .policy-content p,
    .policy-content li {
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .contact-main-title {
        font-size: 1.35rem;
    }

    .contact-subtitle {
        font-size: 0.82rem;
    }

    .contact-content form {
        gap: 18px;
    }

    .contact-content label,
    .contact-content .form-label {
        font-size: 0.85rem;
    }

    .contact-content input[type='text'],
    .contact-content input[type='email'],
    .contact-content input[type='tel'],
    .contact-content select,
    .contact-content textarea,
    .contact-content .form-input,
    .contact-content .form-select,
    .contact-content .form-textarea {
        padding: 12px;
        font-size: 0.9rem;
    }

    .contact-content input[type='submit'],
    .contact-content button[type='submit'],
    .btn-submit {
        max-width: 100%;
        padding: 14px;
        font-size: 0.95rem;
    }

    .footer {
        padding: 40px 0 30px;
    }

    .footer-inner {
        padding: 0 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-links {
        gap: 12px;
    }
}
