#page-container {
    margin-top: 12rem;
}

.static-page {
    width: 100%;
}

.static-page__inner {
    width: calc(100% - 1rem);
    max-width: 800px;
    margin: 0 auto;
}

.static-page-breadcrumb {
    padding: 0 0 0.45rem;
    font-size: 0.72rem;
    line-height: 1.5;
}

.static-page-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.static-page-breadcrumb li {
    min-width: 0;
    color: #666;
}

.static-page-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 0.25rem;
    color: #999;
}

.static-page-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.static-page-breadcrumb [aria-current="page"] {
    overflow: hidden;
    max-width: 100%;
    padding: 0 0.35rem;
    background-color: #fff200;
    color: #333;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.static-page__article {
    padding: 2rem;
    background-color: #fff;
}

.static-page__header {
    margin-bottom: 1.5rem;
}

.static-page__label {
    display: inline-block;
    margin: 0 0 0.35rem;
    padding: 0.08rem 0.75rem;
    background-color: #fff875;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
}

.static-page__title {
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fff875;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.25;
}

.static-page__content {
    font-size: 0.95rem;
    line-height: 1.9;
}

.static-page__content p {
    margin: 0 0 1.4rem;
}

.static-page__list {
    margin: 0 0 1.4rem;
    padding-left: 1.3rem;
}

.static-page__list li {
    margin-bottom: 0.45rem;
}

.monthly-cat-entry-action {
    display: grid;
    justify-items: center;
    gap: 1rem;
    margin: 1.8rem 0;
    padding: 1.2rem;
    border: 1px solid #d9d9d9;
    background-color: #f7f7f7;
}

.monthly-cat-entry-action__agree {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.monthly-cat-entry-action__agree input {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    accent-color: #fff200;
}

.monthly-cat-entry-action__button {
    min-width: 11rem;
    padding: 0.65rem 1.4rem;
    border: 1px solid #000;
    border-radius: 0;
    background-color: #fff875;
    color: #000;
    font: inherit;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

.monthly-cat-entry-action__button:disabled {
    border-color: #bbb;
    background-color: #e6e6e6;
    color: #888;
    cursor: not-allowed;
}

.static-page__content .monthly-cat-entry-action__note {
    max-width: 34rem;
    margin: 0;
    color: #666;
    font-size: 0.78rem;
    line-height: 1.7;
    text-align: center;
}

.static-page__accordion {
    margin-top: 1.4rem;
    border: 1px solid #d9d9d9;
    background-color: #fff;
}

.static-page__accordion summary {
    padding: 0.9rem 1rem;
    background-color: #fff875;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.static-page__accordion-content {
    padding: 0 1rem 1rem;
}

.static-page__content a {
    color: #333;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    background-color: #fff200;
}

.static-page__content h2 {
    margin: 2rem 0 0.8rem;
    padding: 0.35rem 0.75rem;
    border-left: 6px solid #fff875;
    background-color: #f7f7f7;
    font-size: 1.2rem;
    line-height: 1.45;
}

.static-page__updated {
    text-align: right;
}

.static-page__info-list {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1.8rem;
    padding: 0;
}

.static-page__info-list div {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed #d9d9d9;
}

.static-page__info-list dt {
    font-weight: 700;
}

.static-page__info-list dd {
    margin: 0;
}

.not-found-page__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.8rem;
}

.not-found-page__links a {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background-color: #fff875;
    color: #000;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.not-found-page__links a:hover {
    background-color: #fff200;
}

.static-page__contact-button {
    text-align: center;
}

.static-page__content .static-page__contact-button a {
    display: inline-block;
    padding: 0.65rem 1.4rem;
    border: 1px solid #000;
    background-color: #fff875;
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.static-page__content .static-page__contact-button a:hover {
    background-color: #fff200;
}

.contact-form {
    display: grid;
    gap: 1rem;
    margin: 1.8rem 0;
}

.contact-form__field {
    display: grid;
    gap: 0.35rem;
}

.contact-form__field label,
.contact-form__privacy {
    font-weight: 700;
    line-height: 1.5;
}

.contact-form__field label span {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.45rem;
    background-color: #fff200;
    font-size: 0.72rem;
    line-height: 1.4;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    background-color: #fff;
    color: #333;
    font: inherit;
    line-height: 1.6;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: #333;
    outline: 2px solid #fff200;
    outline-offset: 2px;
}

.contact-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    cursor: pointer;
}

.contact-form__privacy input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    accent-color: #fff200;
    flex: 0 0 auto;
}

.contact-form__actions {
    text-align: center;
}

.contact-form__submit {
    min-width: 10rem;
    padding: 0.7rem 1.6rem;
    border: 1px solid #000;
    border-radius: 0;
    background-color: #fff875;
    color: #000;
    font: inherit;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

.contact-form__submit:hover {
    background-color: #fff200;
}

.contact-form__trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-message {
    margin: 1.4rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid #d9d9d9;
    background-color: #f7f7f7;
}

.static-page__content .contact-form-message p {
    margin-bottom: 0;
}

.contact-form-message ul {
    margin: 0.6rem 0 0;
    padding-left: 1.2rem;
}

.contact-form-message--success {
    border-color: #fff200;
    background-color: #fffde6;
}

.contact-form-message--error {
    border-color: #d76b6b;
    background-color: #fff4f4;
}

@media (max-width: 600px) {
    #page-container {
        margin-top: 1.5rem;
    }

    .static-page__article {
        padding: 1.2rem;
    }

    .static-page__title {
        font-size: 1.7rem;
    }

    .static-page__info-list div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .not-found-page__links {
        display: grid;
    }
}
