@media screen and (min-width: 0px) {
  body {
    font-family: YakuHanJP, "Manrope", "Kosugi", "Noto Sans JP", sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.6;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    line-height: 1.3;
  }
  .button {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #c8ced8;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 250ms;
  }
  .button:hover {
    background: #eef1f5;
    text-decoration: none;
  }
  .button--primary {
    border-color: #2563b0;
    background: #2563b0;
    color: #fff;
  }
  .button--primary:hover {
    background: #2563b0;
    filter: brightness(0.92);
  }
  .login-page {
    margin: 0;
    background: #f1f3f6;
    color: #333;
    font-family: sans-serif;
  }
  .login {
    max-width: 360px;
    margin: 12vh auto 0;
    padding: 0 20px;
  }
  .login__title {
    margin: 0 0 20px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
  }
  .login__form {
    padding: 24px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(20, 30, 60, 0.1);
  }
  .login__label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
  }
  .login__label input {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 9px 10px;
    border: 1px solid #c8ced8;
    border-radius: 6px;
    font-size: 14px;
  }
  .login__remember {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    user-select: none;
  }
  .login__submit {
    width: 100%;
  }
  .login__error {
    margin: 0 0 14px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #fbe4e4;
    color: #c33;
    font-size: 13px;
  }
  .login__divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    color: #9aa3b2;
    font-size: 12px;
  }
  .login__divider::before, .login__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d7dbe3;
  }
  .login__sso {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
  }
  :root {
    --am-bg: #f6f7f9;
    --am-surface: #ffffff;
    --am-text: #1f2328;
    --am-muted: #6a737d;
    --am-line: #dfe3e8;
    --am-accent: #1f6feb;
    --am-accent-weak: #e8f0fe;
    --am-danger: #cf222e;
    --am-success: #1a7f37;
    --am-unread: #0b3d91;
    --am-header-h: 52px;
  }
  * {
    box-sizing: border-box;
  }
  .am-body {
    margin: 0;
    background: var(--am-bg);
    color: var(--am-text);
    font-size: 14px;
  }
  a {
    color: var(--am-accent);
  }
  .am-header {
    position: sticky;
    top: 0;
    z-index: 103;
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--am-header-h);
    padding: 0 16px;
    background: var(--am-surface);
    border-bottom: 1px solid var(--am-line);
  }
  .am-header__brand {
    color: var(--am-text);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
  }
  .am-header__nav {
    display: flex;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
  }
  .am-header__nav a {
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--am-text);
    text-decoration: none;
    white-space: nowrap;
  }
  .am-header__nav a:hover {
    background: var(--am-bg);
  }
  .am-header__nav a.is-current {
    background: var(--am-accent-weak);
    color: var(--am-accent);
    font-weight: 700;
  }
  .am-header__user {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
  }
  .am-header__username {
    color: var(--am-muted);
  }
  .am-flash {
    margin: 0;
    padding: 10px 16px;
    border-bottom: 1px solid var(--am-line);
    background: var(--am-accent-weak);
  }
  .am-flash--success {
    background: #dafbe1;
    color: var(--am-success);
  }
  .am-flash--error {
    background: #ffebe9;
    color: var(--am-danger);
  }
  .am-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border: 1px solid var(--am-line);
    border-radius: 6px;
    background: var(--am-surface);
    color: var(--am-text);
    font: inherit;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
  }
  .am-btn:hover {
    background: var(--am-bg);
  }
  .am-btn--primary {
    background: var(--am-accent);
    border-color: var(--am-accent);
    color: #fff;
  }
  .am-btn--primary:hover {
    background: #1a5fd0;
  }
  .am-btn--ghost {
    border-color: transparent;
    background: transparent;
    color: var(--am-muted);
  }
  .am-btn--danger {
    background: var(--am-danger);
    border-color: var(--am-danger);
    color: #fff;
  }
  .am-btn.is-on {
    color: #b08800;
    border-color: #e3c44a;
  }
  .am-icon {
    flex: none;
    vertical-align: -3px;
  }
  .am-badge {
    display: inline-block;
    min-width: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--am-accent);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
  }
  .am-tag {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--am-bg);
    border: 1px solid var(--am-line);
    font-size: 12px;
    white-space: nowrap;
  }
  .am-tag--queued, .am-tag--sending {
    background: #fff8c5;
    border-color: #e3c44a;
  }
  .am-tag--sent {
    background: #dafbe1;
    border-color: #4ac26b;
  }
  .am-tag--error {
    background: #ffebe9;
    border-color: #ff8182;
    color: var(--am-danger);
  }
  .am-tag--muted {
    color: var(--am-muted);
    font-weight: 400;
    font-size: 12px;
  }
  .am-muted {
    color: var(--am-muted);
    font-size: 12px;
  }
  .am-addr {
    color: var(--am-muted);
  }
  .am-error-text {
    color: var(--am-danger);
    font-size: 12px;
  }
  .am-note {
    padding: 10px 14px;
    border: 1px solid var(--am-line);
    border-radius: 6px;
    background: var(--am-surface);
  }
  .am-note--error {
    border-color: #ff8182;
    background: #ffebe9;
    color: var(--am-danger);
  }
  .am-errors {
    margin: 0 0 16px;
    padding: 10px 14px 10px 32px;
    border: 1px solid #ff8182;
    border-radius: 6px;
    background: #ffebe9;
    color: var(--am-danger);
  }
  .am-body--mail {
    overflow: hidden;
  }
  .am-mail {
    display: grid;
    grid-template-columns: 210px minmax(300px, 400px) 1fr;
    height: calc(100vh - var(--am-header-h));
  }
  .am-side {
    overflow-y: auto;
    padding: 12px;
    border-right: 1px solid var(--am-line);
    background: var(--am-surface);
  }
  .am-side__compose {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
  }
  .am-side__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .am-side__list a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--am-text);
    text-decoration: none;
  }
  .am-side__list a:hover {
    background: var(--am-bg);
  }
  .am-side__list a.is-current {
    background: var(--am-accent-weak);
    font-weight: 700;
  }
  .am-side__list a .am-badge {
    margin-left: auto;
  }
  .am-side__empty {
    color: var(--am-muted);
    font-size: 13px;
  }
  .am-list {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-right: 1px solid var(--am-line);
    background: var(--am-surface);
  }
  .am-list__body {
    flex: 1;
    overflow-y: auto;
  }
  .am-list__body.is-loading {
    opacity: 0.5;
  }
  .am-list__count, .am-list__empty {
    margin: 0;
    padding: 8px 12px;
    color: var(--am-muted);
    font-size: 12px;
  }
  .am-search {
    padding: 10px 12px;
    border-bottom: 1px solid var(--am-line);
  }
  .am-search__main {
    display: flex;
    gap: 6px;
  }
  .am-search__main input {
    flex: 1;
    min-width: 0;
  }
  .am-search__more {
    margin-top: 6px;
    font-size: 13px;
  }
  .am-search__more summary {
    color: var(--am-muted);
    cursor: pointer;
  }
  .am-search__grid {
    display: grid;
    gap: 8px;
    margin: 8px 0;
  }
  .am-search__grid label {
    display: grid;
    gap: 2px;
    color: var(--am-muted);
    font-size: 12px;
  }
  .am-search__range {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .am-search__range input {
    flex: 1;
    min-width: 0;
  }
  .am-search__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .am-search__checks label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--am-text);
    font-size: 13px;
  }
  .am-search__clear {
    font-size: 12px;
  }
  input[type=text],
  input[type=search],
  input[type=email],
  input[type=password],
  input[type=number],
  input[type=date],
  select,
  textarea {
    padding: 5px 8px;
    border: 1px solid var(--am-line);
    border-radius: 6px;
    background: var(--am-surface);
    color: var(--am-text);
    font: inherit;
  }
  input[type=text]:focus,
  input[type=search]:focus,
  input[type=email]:focus,
  input[type=password]:focus,
  input[type=number]:focus,
  input[type=date]:focus,
  select:focus,
  textarea:focus {
    outline: 2px solid var(--am-accent-weak);
    border-color: var(--am-accent);
  }
  .am-items {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .am-item {
    border-bottom: 1px solid var(--am-line);
  }
  .am-item__link {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    padding: 8px 12px;
    color: var(--am-text);
    text-decoration: none;
  }
  .am-item__link:hover {
    background: var(--am-bg);
  }
  .am-item.is-selected .am-item__link {
    background: var(--am-accent-weak);
  }
  .am-item__who {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .am-item__date {
    color: var(--am-muted);
    font-size: 12px;
  }
  .am-item__subject {
    grid-column: 1/-1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .am-item__snippet {
    grid-column: 1/-1;
    overflow: hidden;
    color: var(--am-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .am-item__account {
    grid-column: 1/-1;
    color: var(--am-muted);
    font-size: 11px;
  }
  .am-item__flag {
    color: #d4a72c;
  }
  .am-item__clip {
    color: var(--am-muted);
  }
  .am-item.is-unread .am-item__who, .am-item.is-unread .am-item__subject {
    color: var(--am-unread);
    font-weight: 700;
  }
  .am-item.is-unread .am-item__link {
    box-shadow: inset 3px 0 0 var(--am-accent);
  }
  .am-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
  }
  .am-reader {
    overflow-y: auto;
    min-width: 0;
    background: var(--am-surface);
  }
  .am-reader__empty {
    padding: 40px;
    color: var(--am-muted);
    text-align: center;
  }
  .am-reader.is-loading {
    opacity: 0.5;
  }
  .am-message {
    padding: 12px 20px 40px;
  }
  .am-message__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--am-line);
  }
  .am-message__toolbar form {
    margin: 0;
  }
  .am-message__back {
    display: none;
  }
  .am-message__subject {
    margin: 16px 0 8px;
    font-size: 20px;
    word-break: break-word;
  }
  .am-message__meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 2px 12px;
    margin: 0 0 12px;
    font-size: 13px;
  }
  .am-message__meta dt {
    color: var(--am-muted);
  }
  .am-message__meta dd {
    margin: 0;
    word-break: break-all;
  }
  .am-message__views {
    display: flex;
    gap: 4px;
    margin: 8px 0;
    border-bottom: 1px solid var(--am-line);
  }
  .am-message__body {
    margin-top: 8px;
  }
  .am-message__text {
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
  }
  .am-message__html {
    width: 100%;
    min-height: 60vh;
    border: 1px solid var(--am-line);
    border-radius: 6px;
    background: #fff;
  }
  .am-quote {
    color: var(--am-muted);
  }
  .am-tab {
    padding: 6px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--am-muted);
    font: inherit;
    cursor: pointer;
  }
  .am-tab.is-current {
    border-bottom-color: var(--am-accent);
    color: var(--am-text);
    font-weight: 700;
  }
  .am-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 1px solid var(--am-line);
    border-radius: 6px;
    background: var(--am-bg);
    list-style: none;
    font-size: 13px;
  }
  .am-attachments__dl {
    margin-left: 4px;
    font-size: 12px;
  }
  .am-thread {
    margin-top: 32px;
    padding-top: 12px;
    border-top: 1px solid var(--am-line);
  }
  .am-thread__title {
    margin: 0 0 8px;
    font-size: 14px;
  }
  .am-thread__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .am-thread__list li.is-current a {
    background: var(--am-accent-weak);
  }
  .am-thread__list a {
    display: grid;
    grid-template-columns: 130px 140px 1fr;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--am-text);
    font-size: 13px;
    text-decoration: none;
  }
  .am-thread__list a:hover {
    background: var(--am-bg);
  }
  .am-thread__list a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .am-thread__date {
    color: var(--am-muted);
  }
  .am-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px 60px;
  }
  .am-page__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .am-page__title {
    margin: 0 0 12px;
    font-size: 20px;
  }
  .am-card {
    margin: 16px 0;
    padding: 14px 16px;
    border: 1px solid var(--am-line);
    border-radius: 8px;
    background: var(--am-surface);
  }
  .am-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .am-card__title {
    margin: 0;
    font-size: 16px;
  }
  .am-card__actions {
    display: flex;
    gap: 6px;
  }
  .am-card__actions form {
    margin: 0;
  }
  .am-table {
    width: 100%;
    margin: 8px 0;
    border-collapse: collapse;
    background: var(--am-surface);
    font-size: 13px;
  }
  .am-table th,
  .am-table td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--am-line);
    text-align: left;
    vertical-align: top;
  }
  .am-table th {
    color: var(--am-muted);
    font-weight: 400;
    white-space: nowrap;
  }
  .am-table tr.is-disabled td {
    color: var(--am-muted);
  }
  .am-table__actions {
    display: flex;
    gap: 4px;
  }
  .am-table__actions form {
    margin: 0;
  }
  .am-inline-form {
    display: flex;
    gap: 4px;
    margin: 0;
  }
  .am-form {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--am-line);
    border-radius: 8px;
    background: var(--am-surface);
  }
  .am-form__actions {
    display: flex;
    gap: 8px;
    padding-top: 4px;
  }
  .am-form--inline {
    margin-bottom: 16px;
  }
  .am-fieldset {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--am-line);
    border-radius: 6px;
  }
  .am-fieldset legend {
    padding: 0 6px;
    color: var(--am-muted);
  }
  .am-field {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: start;
    gap: 10px;
  }
  .am-field__label {
    padding-top: 6px;
    color: var(--am-muted);
  }
  .am-field input,
  .am-field select,
  .am-field textarea {
    width: 100%;
  }
  .am-field--body textarea {
    min-height: 320px;
    font-family: inherit;
    line-height: 1.6;
  }
  .am-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .am-danger {
    margin-top: 32px;
    padding: 16px;
    border: 1px solid #ff8182;
    border-radius: 8px;
    background: #fff;
  }
  .am-danger h2 {
    margin: 0 0 8px;
    color: var(--am-danger);
    font-size: 16px;
  }
  .am-danger .am-btn {
    margin-left: 12px;
  }
}
@media screen and (max-width: 767px) {
  .am-header {
    gap: 10px;
    padding: 0 10px;
  }
  .am-header__username {
    display: none;
  }
  .am-body--mail {
    overflow: auto;
  }
  .am-mail {
    display: block;
    height: auto;
  }
  .am-side {
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--am-line);
  }
  .am-side__compose {
    display: none;
  }
  .am-side__list {
    display: flex;
    gap: 4px;
    overflow-x: auto;
  }
  .am-side__list a {
    white-space: nowrap;
  }
  .am-list {
    border-right: 0;
  }
  .am-list__body {
    overflow: visible;
  }
  .am-reader {
    display: none;
    overflow: visible;
  }
  .is-reading .am-side,
  .is-reading .am-list {
    display: none;
  }
  .is-reading .am-reader {
    display: block;
  }
  .am-message {
    padding: 10px 12px 40px;
  }
  .am-message__back {
    display: inline-flex;
  }
  .am-message__subject {
    font-size: 18px;
  }
  .am-thread__list a {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .am-field {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .am-field__label {
    padding-top: 0;
  }
  .am-table {
    display: block;
    overflow-x: auto;
  }
}

/*# sourceMappingURL=style.css.map */
