@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

body {
  background: #f4f6f9;
  color: #222f3d;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1.5rem;
  line-height: 1.7;
}

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

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: 1.6rem;
}

.l-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #1a3a5c;
  color: #fff;
  box-shadow: 0 1px 4px rgba(10, 25, 45, 0.25);
}
.l-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.6rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.2rem;
}
@media (min-width: 800px) {
  .l-header__inner {
    padding: 1.2rem 1.6rem;
  }
}

.l-main {
  min-height: 70vh;
  padding: 2rem 0 5.6rem;
}
@media (min-width: 800px) {
  .l-main {
    padding-top: 2.8rem;
  }
}

.l-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
@media (min-width: 800px) {
  .l-container {
    padding: 0 1.6rem;
  }
}
.l-container--narrow {
  max-width: 720px;
}

.l-footer {
  padding: 2.4rem 1.6rem;
}
.l-footer__text {
  text-align: center;
  font-size: 1.2rem;
  color: #97a2b0;
}

.p-header__logo {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.p-header__hamburger {
  position: relative;
  flex: none;
  width: 4rem;
  height: 4rem;
  background: none;
  border: none;
  cursor: pointer;
}
.p-header__hamburger span {
  position: absolute;
  left: 1rem;
  width: 2rem;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s, top 0.25s;
}
.p-header__hamburger span:nth-child(1) {
  top: 1.3rem;
}
.p-header__hamburger span:nth-child(2) {
  top: 1.95rem;
}
.p-header__hamburger span:nth-child(3) {
  top: 2.6rem;
}
.p-header__hamburger.is-open span:nth-child(1) {
  top: 1.95rem;
  transform: rotate(45deg);
}
.p-header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.p-header__hamburger.is-open span:nth-child(3) {
  top: 1.95rem;
  transform: rotate(-45deg);
}
@media (min-width: 800px) {
  .p-header__hamburger {
    display: none;
  }
}
.p-header__nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 1.2rem 1.2rem;
  background: #1a3a5c;
  box-shadow: 0 10px 20px rgba(10, 25, 45, 0.35);
}
.p-header__nav.is-open {
  display: flex;
}
@media (min-width: 800px) {
  .p-header__nav {
    display: flex;
    position: static;
    flex: 0 1 auto;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: none;
    box-shadow: none;
  }
}
.p-header__link {
  flex: none;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 1.4rem;
  text-align: left;
  opacity: 0.85;
  word-break: keep-all;
  transition: background 0.2s, opacity 0.2s;
}
.p-header__link:hover, .p-header__link.is-active {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}
.p-header__link--btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 100%;
}
@media (min-width: 800px) {
  .p-header__link--btn {
    width: auto;
  }
}
@media (min-width: 800px) {
  .p-header__link {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 1.3rem;
  }
}
.p-header__logout {
  display: block;
  flex: none;
}
@media (min-width: 800px) {
  .p-header__logout {
    display: inline-block;
  }
}

.p-login {
  max-width: 420px;
  margin: 3.2rem auto 0;
}
.p-login__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.6rem;
}
.p-login__lead {
  text-align: center;
  font-size: 1.3rem;
  color: #6b7a8c;
  margin-bottom: 2rem;
}
.p-login__resend {
  text-align: center;
  margin-top: 1.6rem;
}
.p-login__note {
  text-align: center;
  font-size: 1.25rem;
  color: #6b7a8c;
  margin-top: 1.2rem;
}

.p-alerts {
  background: #fff;
  border-radius: 12px;
  padding: 1.6rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(20, 40, 70, 0.06);
}
.p-alerts__list {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}
.p-alerts__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1rem;
  padding: 0.7rem 1rem;
  border-left: 3px solid #2f6fb0;
  background: #f7f9fc;
  border-radius: 0 8px 8px 0;
  font-size: 1.35rem;
}
.p-alerts__item.is-soon {
  border-left-color: #b07a1e;
  background: #fdf9ef;
}
.p-alerts__item.is-over {
  border-left-color: #b0302f;
  background: #fdf3f3;
}
.p-alerts__item.is-done {
  opacity: 0.5;
}
.p-alerts__date {
  font-weight: 700;
  word-break: keep-all;
}
.p-alerts__title {
  flex: 1 1 14em;
}
.p-alerts__days {
  font-size: 1.2rem;
  color: #6b7a8c;
  word-break: keep-all;
  margin-left: auto;
}
.p-alerts__more {
  margin-top: 1rem;
  font-size: 1.3rem;
  text-align: right;
}

.p-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.p-summary__chip {
  background: #fff;
  border: 1px solid #d8dfe8;
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font-size: 1.25rem;
  word-break: keep-all;
  transition: border-color 0.2s;
}
.p-summary__chip b {
  margin-left: 0.3rem;
  color: #2f6fb0;
}
.p-summary__chip:hover {
  border-color: #2f6fb0;
}
.p-summary__chip.is-active {
  background: #1a3a5c;
  border-color: #1a3a5c;
  color: #fff;
}
.p-summary__chip.is-active b {
  color: #fff;
}

.p-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.p-filter .c-input {
  flex: 1 1 100%;
}
@media (min-width: 600px) {
  .p-filter .c-input {
    flex: 1 1 16em;
  }
}
.p-filter .c-select {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 600px) {
  .p-filter .c-select {
    flex: 0 1 auto;
  }
}
.p-filter .c-btn {
  flex: 0 0 auto;
}

.p-list__count {
  font-size: 1.25rem;
  color: #6b7a8c;
  margin-bottom: 0.8rem;
}

.p-detail__back {
  margin-bottom: 1.4rem;
  font-size: 1.3rem;
}
.p-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.p-detail__title {
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}
@media (min-width: 800px) {
  .p-detail__title {
    font-size: 2.4rem;
  }
}
.p-detail__section {
  background: #fff;
  border-radius: 12px;
  padding: 1.6rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 1px 3px rgba(20, 40, 70, 0.06);
}
@media (min-width: 800px) {
  .p-detail__section {
    padding: 2rem;
  }
}
.p-detail__meta {
  font-size: 1.2rem;
  color: #97a2b0;
  text-align: right;
}

.p-detail__head .p-detail__title {
  margin-bottom: 0;
  flex: 1 1 100%;
}
@media (min-width: 800px) {
  .p-detail__head .p-detail__title {
    flex: 1;
  }
}

.p-form {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.6rem;
  box-shadow: 0 1px 3px rgba(20, 40, 70, 0.06);
}
@media (min-width: 800px) {
  .p-form {
    padding: 2.4rem;
  }
}
.p-form__row {
  margin-bottom: 1.6rem;
}
.p-form__row--half {
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 600px) {
  .p-form__row--half {
    grid-template-columns: 1fr 1fr;
  }
}
.p-form__label {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.p-form__required {
  color: #b0302f;
  font-size: 1.1rem;
  margin-left: 0.4rem;
}
.p-form__actions {
  text-align: center;
  margin-top: 2.4rem;
}
.p-form__danger {
  margin-top: 2rem;
  text-align: right;
}

.c-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a3a5c;
  border-left: 3px solid #2f6fb0;
  padding-left: 0.8rem;
  margin-bottom: 1.2rem;
  word-break: keep-all;
}

.c-link {
  color: #2f6fb0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.c-link:hover {
  opacity: 0.75;
}
.c-link--strong {
  text-decoration: none;
  font-weight: 700;
  color: #1a3a5c;
}
.c-link--strong:hover {
  color: #2f6fb0;
  opacity: 1;
}

.c-btn {
  display: inline-block;
  background: #2f6fb0;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  cursor: pointer;
  word-break: keep-all;
  transition: opacity 0.2s;
}
.c-btn:hover {
  opacity: 0.85;
}
.c-btn--sub {
  background: #fff;
  color: #2f6fb0;
  border: 1px solid #2f6fb0;
}
.c-btn--danger {
  background: #fff;
  color: #b0302f;
  border: 1px solid #b0302f;
}
.c-btn--small {
  padding: 0.4rem 1.2rem;
  font-size: 1.3rem;
}
.c-btn--wide {
  width: 100%;
}

.c-input,
.c-select,
.c-textarea {
  width: 100%;
  border: 1px solid #d8dfe8;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  background: #fff;
}
.c-input:focus,
.c-select:focus,
.c-textarea:focus {
  outline: 2px solid #2f6fb0;
  outline-offset: -1px;
}

.c-input--code {
  text-align: center;
  letter-spacing: 0.4em;
  font-size: 2rem;
}

.c-input--date {
  appearance: none;
  -webkit-appearance: none;
  min-height: 4.2rem;
}
.c-input--date::-webkit-date-and-time-value {
  text-align: left;
}

.c-tag {
  display: inline-block;
  background: #eef2f7;
  color: #5a6b7e;
  border-radius: 4px;
  padding: 0.1rem 0.7rem;
  font-size: 1.15rem;
  word-break: keep-all;
}

.c-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.2rem 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  word-break: keep-all;
  line-height: 1.5;
}
.c-badge.is-production {
  background: #e3f2e9;
  color: #2e7d4f;
}
.c-badge.is-limited {
  background: #fdf3e0;
  color: #b07a1e;
}
.c-badge.is-dev {
  background: #e7edf7;
  color: #2f6fb0;
}
.c-badge.is-testing {
  background: #f0e7f7;
  color: #6d4a9e;
}
.c-badge.is-closed {
  background: #ececec;
  color: #777;
}
.c-badge.is-unknown {
  background: #fdeaea;
  color: #b0302f;
}

.c-health {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 1.25rem;
  font-weight: 700;
  word-break: keep-all;
}
.c-health::before {
  content: "●";
  font-size: 0.9em;
}
.c-health.is-ok {
  color: #2e7d4f;
}
.c-health.is-ng {
  color: #b0302f;
}
.c-health.is-none {
  color: #b3bcc7;
  font-weight: 400;
}

.c-table-wrap {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(20, 40, 70, 0.06);
  overflow: hidden;
}
@media (min-width: 800px) {
  .c-table-wrap {
    overflow-x: auto;
  }
}

.c-table {
  display: block;
  width: 100%;
}
.c-table thead {
  display: none;
}
.c-table tbody {
  display: block;
}
.c-table tr {
  display: block;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid #eef1f5;
}
.c-table tr:last-child {
  border-bottom: none;
}
.c-table tr.is-over {
  background: #fdf3f3;
}
.c-table tr.is-soon {
  background: #fdf9ef;
}
.c-table td {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.25rem 0;
  font-size: 1.35rem;
}
.c-table td[data-label]::before {
  content: attr(data-label);
  flex: 0 0 4.5em;
  font-size: 1.15rem;
  color: #97a2b0;
  word-break: keep-all;
}
.c-table__name {
  display: block;
  padding-bottom: 0.5rem;
  font-size: 1.45rem;
}
.c-table__name .c-tag {
  margin-left: 0.6rem;
}
.c-table__name .u-muted {
  display: inline-block;
  word-break: keep-all;
}
.c-table__url {
  word-break: break-all;
}
.c-table__empty {
  display: block;
  text-align: center;
  color: #6b7a8c;
  padding: 1.6rem 0;
}
.c-table__actions {
  padding-top: 0.6rem;
}
.c-table__actions form {
  display: inline-block;
  margin-right: 0.4rem;
}
.c-table--muted {
  opacity: 0.75;
}
@media (min-width: 800px) {
  .c-table {
    display: table;
  }
  .c-table thead {
    display: table-header-group;
  }
  .c-table tbody {
    display: table-row-group;
  }
  .c-table tr {
    display: table-row;
    padding: 0;
  }
  .c-table th,
  .c-table td {
    display: table-cell;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eef1f5;
    text-align: left;
    vertical-align: middle;
    font-size: 1.35rem;
  }
  .c-table td[data-label]::before {
    display: none;
    content: none;
  }
  .c-table th {
    background: #f6f8fb;
    font-size: 1.2rem;
    color: #5a6b7e;
    word-break: keep-all;
    border-bottom: 1px solid #d8dfe8;
  }
  .c-table tr:last-child td {
    border-bottom: none;
  }
  .c-table tr:hover td {
    background: #f9fbfd;
  }
  .c-table tr.is-over:hover td,
  .c-table tr.is-over td {
    background: #fdf3f3;
  }
  .c-table tr.is-soon:hover td,
  .c-table tr.is-soon td {
    background: #fdf9ef;
  }
  .c-table__name {
    padding-bottom: 1rem;
    font-size: 1.35rem;
  }
  .c-table__name .c-tag {
    display: block;
    width: fit-content;
    margin: 0.4rem 0 0;
  }
  .c-table__empty {
    display: table-cell;
  }
  .c-table__actions {
    padding-top: 1rem;
  }
}

.c-dl {
  display: grid;
  gap: 0.2rem 1.6rem;
}
@media (min-width: 600px) {
  .c-dl {
    grid-template-columns: 10em 1fr;
  }
}
.c-dl dt {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5a6b7e;
  padding-top: 0.6rem;
  word-break: keep-all;
}
.c-dl dd {
  padding: 0.2rem 0 0.6rem;
  border-bottom: 1px solid #eef1f5;
  word-break: break-all;
  font-size: 1.4rem;
}
@media (min-width: 600px) {
  .c-dl dd {
    padding-top: 0.6rem;
  }
}
.c-dl dd:last-child {
  border-bottom: none;
}

.c-notice {
  background: #fff;
  border-radius: 8px;
  padding: 1.2rem 1.6rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 1px 3px rgba(20, 40, 70, 0.06);
}
.c-notice--error {
  border: 1px solid #b0302f;
  color: #b0302f;
  background: #fdf1f1;
}
.c-notice--ok {
  border: 1px solid #2e7d4f;
  color: #2e7d4f;
  background: #e3f2e9;
}

.p-form--plain {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.p-settings__current {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.p-settings__cancel {
  margin-top: 1.2rem;
  text-align: center;
}

.p-log {
  display: grid;
  gap: 1.2rem;
}
.p-log__item {
  border-left: 3px solid #d8dfe8;
  padding-left: 1.2rem;
}
.p-log__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.2rem;
}
.p-log__date {
  font-size: 1.2rem;
  color: #97a2b0;
}
.p-log__title {
  font-size: 1.4rem;
  font-weight: 700;
}
.p-log__detail {
  font-size: 1.3rem;
  color: #5a6b7e;
  margin-top: 0.2rem;
}

.u-muted {
  color: #97a2b0;
  font-size: 1.3rem;
}
