.author-notices {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-top: 14px;
    padding: 13px 14px;
    border: 1px solid #e3e7ea;
    border-radius: 5px;
    background: #ffffff;
    color: #554f49;
    overflow-wrap: anywhere;
    word-break: normal;
}

.author-notices__heading {
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.author-notices__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0 0 9px;
    border: 0;
    border-bottom: 1px solid #eceff1;
    background: transparent;
    color: #4e4842;
    font: inherit;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
	font-size: 13px;
}

.author-notices__toggle:hover,
.author-notices__toggle:focus {
    color: #2f6f9f;
    outline: none;
}

.author-notices__toggle-icon {
    flex: 0 0 auto;
    color: #7f8992;
    font-size: 11px;
    transition: transform 0.2s ease;
}

.author-notices__content {
    padding-top: 10px;
}

.author-notices__content[hidden] {
    display: none !important;
}

.author-notices.is-collapsed .author-notices__toggle {
    padding-bottom: 0;
    border-bottom: 0;
}

.author-notices.is-collapsed .author-notices__toggle-icon {
    transform: rotate(-90deg);
}

.author-notices__list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.author-notices__item + .author-notices__item {
    padding-top: 11px;
    border-top: 1px solid #eceff1;
}

.author-notices__date {
    display: block;
    margin-bottom: 3px;
    color: #666;
    font-size: 11px;
}

.author-notices__title {
    margin: 0 0 5px;
    color: #444;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.author-notices__body {
    font-size: 12px;
    line-height: 1.7;
    white-space: normal;
}

.author-notices__link,
.author-notices__x-link {
    display: inline-block;
    max-width: 100%;
    margin-top: 7px;
    color: #3097d1;
    font-size: 12px;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.author-notices__link:hover,
.author-notices__link:focus,
.author-notices__x-link:hover,
.author-notices__x-link:focus {
    color: #0770c0;
}

.author-notices__x-post {
    max-width: 100%;
    margin-top: 9px;
    overflow: hidden;
}

.author-notices__x-post .twitter-tweet {
    max-width: 100% !important;
    margin: 0 !important;
}

/* 管理画面・入力画面の上下余白 */
.author-notice-manage,
.author-notice-form {
    padding-top: 20px;
    padding-bottom: 30px;
}

/* パンくずとパネルの間隔 */
.author-notice-manage__breadcrumb,
.author-notice-form__breadcrumb {
    margin-bottom: 20px;
}

.author-notice-manage h1,
.author-notice-form h1 {
    margin: 0;
    font-size: 20px;
}

.author-notice-manage__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.author-notice-manage__table th {
    white-space: nowrap;
}

/* お知らせ管理テーブルの見出し行 */
.author-notice-manage__table > thead > tr > th {
    padding-top: 11px;
    padding-bottom: 11px;
    border-color: #d5e0e8;
    background: #eaf2f7;
    color: #334155;
    font-weight: 700;
    text-align: center;
    vertical-align: middle !important;
}

.author-notice-manage__table > thead > tr > th:first-child {
    text-align: left;
}

.author-notice-manage__note {
    margin: 0 0 18px;
    padding: 10px 13px;
    border: 1px solid #cfe1f1;
    border-radius: 5px;
    background: #f4f9fd;
    color: #4f6578;
    font-size: 13px;
    line-height: 1.7;
}

.author-notice-manage__note i {
    margin-right: 5px;
    color: #337ab7;
}

.author-notice-manage__table td.author-notice-manage__target-cell,
.author-notice-manage__table td.author-notice-manage__status-cell,
.author-notice-manage__table td.author-notice-manage__action-cell {
    vertical-align: middle !important;
}

.author-notice-manage__edit-button {
    color: #2f6f9f;
    background: #f3f9ff;
    border-color: #b7d5ef;
    font-weight: 700;
}

.author-notice-manage__edit-button:hover,
.author-notice-manage__edit-button:focus {
    color: #fff;
    background: #2f6f9f;
    border-color: #2f6f9f;
}

.author-notice-manage__delete-button {
    color: #fff;
    background: #333;
    border-color: #333;
    font-weight: 700;
}

.author-notice-manage__delete-button:hover,
.author-notice-manage__delete-button:focus {
    color: #fff;
    background: #000;
    border-color: #000;
}

.author-notice-manage__body {
    max-width: 420px;
    margin-top: 5px;
    color: #777;
    white-space: pre-line;
}

.author-notice-manage__content-link {
    margin-top: 5px;
}

.author-notice-manage__target,
.author-notice-manage__status {
    display: inline-block;
    margin: 2px;
    padding: 4px 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.author-notice-manage__target {
    background: #f0ece7;
    color: #665f58;
}

.author-notice-manage__target.is-web {
    background: #1568c4;
    color: #fff;
}

.author-notice-manage__target.is-pdf {
    background: #df2f34;
    color: #fff;
}

.author-notice-manage__target.is-print {
    background: #27a77f;
    color: #fff;
}

.author-notice-manage__status.is-public {
    background: #e8f3e8;
    color: #35713b;
}

.author-notice-manage__status.is-private {
    background: #eee;
    color: #666;
}

.author-notice-manage__delete {
    display: inline-block;
}

/* お知らせ入力フォーム */
.author-notice-form__panel > .panel-body {
    padding: 24px;
}

.author-notice-form label,
.author-notice-form legend {
    color: #4f5963;
    font-weight: 700;
}

.author-notice-form__field {
    margin-bottom: 24px;
}

.author-notice-form .form-control {
    border-radius: 5px;
    box-shadow: none;
}

.author-notice-form .form-control:focus {
    border-color: #66afe9;
    box-shadow: 0 0 0 2px rgba(102, 175, 233, 0.14);
}

.author-notice-form .help-block {
    margin-top: 7px;
    margin-bottom: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.65;
}

.author-notice-form__additional {
    margin: 30px 0 26px;
    padding: 0;
    border: 1px solid #d9e3ec;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
}

.author-notice-form__additional-heading {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 13px 18px;
    border-bottom: 1px solid #d9e3ec;
    background: #f7fafc;
}

.author-notice-form__additional-heading h2 {
    margin: 0;
    color: #35404a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.author-notice-form__additional-intro {
    margin: 0;
    padding: 15px 18px;
    color: #555;
    font-size: 13px;
    line-height: 1.7;
}

.author-notice-form__content-card {
    margin: 0 18px 18px;
    padding: 14px 18px 18px;
    border: 1px solid #e1e7ec;
    border-radius: 5px;
}

.author-notice-form__content-card--link {
    border-color: #d8e7f3;
    background: #f7fbff;
}

.author-notice-form__content-card--x {
	border-color: #bfdfc2;
	background: #f8faf9;
}

.author-notice-form__content-card + .author-notice-form__content-card {
    margin-top: 14px;
}

.author-notice-form__content-card {
    min-width: 0;
}

.author-notice-form__content-card legend {
    width: auto;
    margin: 0;
    padding: 0 10px;
    border: 0;
    color: #3f4a54;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.author-notice-form__content-card--link legend {
    background: #f7fbff;
}

.author-notice-form__content-card--x legend {
    background: #f8faf9;
}

.author-notice-form__content-card-description {
    margin: 0 0 18px;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
}

.author-notice-form__content-card .form-group {
    margin-bottom: 0;
}

.author-notice-form__card-help {
    margin-top: 8px !important;
}

.author-notice-form__card-field {
    margin-bottom: 0;
}

.author-notice-form__x-guide {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 15px;
}

.author-notice-form__x-guide-text {
    flex: 1 1 auto;
    min-width: 0;
}

.author-notice-form__x-guide-text .help-block {
    margin-top: 0;
}

.author-notice-form__x-guide-image {
    flex: 0 0 auto;
    width: 128px;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    background: #fff;
}

.author-notice-form__settings {
    margin: 0 0 22px;
    padding: 17px 18px;
    border: 1px solid #e1e7ec;
    border-radius: 5px;
    background: #fafbfc;
}

.author-notice-form__settings legend {
    width: auto;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    font-size: 15px;
    line-height: 1.5;
}

.author-notice-form__target-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.author-notice-form__target-option,
.author-notice-form__publish-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    cursor: pointer;
    font-weight: 600 !important;
}

.author-notice-form__target-option {
    min-width: 120px;
    padding: 9px 12px;
    border: 1px solid #d8e0e6;
    border-radius: 5px;
    background: #fff;
}

.author-notice-form__target-option:hover {
    border-color: #a9c7df;
    background: #f7fbff;
}

.author-notice-form__target-option input,
.author-notice-form__publish-option input {
    margin: 0;
}

.author-notice-form__publish-setting {
    background: #fff;
}

.author-notice-form__actions {
    display: flex;
    gap: 8px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #e7ebee;
}

.author-notice-link-button {
    border-radius: 5px !important;
}

@media (max-width: 767px) {
    .author-notice-manage,
    .author-notice-form {
        padding-top: 16px;
    }

    .author-notice-manage__breadcrumb,
    .author-notice-form__breadcrumb {
        margin-bottom: 16px;
    }

    .author-notice-manage__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .author-notice-manage__table {
        min-width: 760px;
    }

    .author-notice-form {
        padding-right: 12px;
        padding-left: 12px;
    }

    .author-notice-form__panel > .panel-body {
        padding: 18px 14px;
    }

    .author-notice-form__additional-heading,
    .author-notice-form__additional-intro {
        padding-right: 14px;
        padding-left: 14px;
    }

    .author-notice-form__content-card {
        margin: 14px;
        padding: 15px;
    }

    .author-notice-form__content-card .row > [class*="col-"] + [class*="col-"] {
        margin-top: 16px;
    }

    .author-notice-form__x-guide {
        flex-direction: column;
        gap: 10px;
    }

    .author-notice-form__x-guide-image {
        width: 160px;
    }

    .author-notice-form__target-options {
        flex-direction: column;
        gap: 8px;
    }

    .author-notice-form__target-option {
        width: 100%;
    }

    .author-notices {
        padding: 12px;
    }
}
