.noi-news-list {
  border-top: 1px solid #e5e5e5;
  background: #fff;
}
.noi-news-item {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e5e5;
}
.noi-news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #666;
  font-size: 0.85em;
}
.noi-news-category,
.noi-news-new {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  line-height: 1.5;
  font-size: 0.78em;
  font-weight: 700;
}
.noi-news-category {
  background: #222;
  color: #fff;
}
.noi-news-new {
  background: #d63b3b;
  color: #fff;
  letter-spacing: 0.04em;
}
.noi-news-list .noi-news-item .noi-news-title {
  margin: 6px 0 6px !important;
  font-size: 1.15em;
  line-height: 1.55;
}
.noi-news-title a {
  color: inherit;
  text-decoration: none;
}
.noi-news-title a:hover {
  text-decoration: underline;
}
.noi-news-excerpt {
  color: #333;
  font-size: 0.95em;
  line-height: 1.8;
}
.noi-news-excerpt p {
  margin: 0;
}
.noi-news-more {
  display: inline-block;
  margin-left: 0.35em;
  color: #1687c5;
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .noi-news-item {
    padding: 14px 16px;
  }
}

html { scroll-behavior: smooth; }
#first-guide,
#system-section,
#rules-section,
#area-section { scroll-margin-top: 90px; }
.noiki-guide-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .1);
}
.noi-cast-login-card {
  width: min(100%, 460px);
  margin: 24px auto;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}
.noi-cast-login-card h2 { margin-top: 0; text-align: center; }
.noi-cast-login-note { text-align: center; color: #666; }
.noi-cast-login-error { padding: 10px 12px; background: #fff1f1; color: #a32222; border-radius: 6px; }
.noi-cast-login-form { display: grid; gap: 10px; }
.noi-cast-login-form input[type="text"],
.noi-cast-login-form input[type="password"] { width: 100%; min-height: 48px; padding: 10px 12px; font-size: 16px; border: 1px solid #bbb; border-radius: 6px; }
.noi-cast-remember { margin: 4px 0 10px; font-size: .9em; }
.noi-cast-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; width: 100%; padding: 10px 16px; border: 0; border-radius: 6px; background: #187eb2; color: #fff !important; font-weight: 700; text-decoration: none !important; cursor: pointer; }
.noi-cast-button:hover { opacity: .9; }
.noi-cast-logout { display: block; margin-top: 16px; text-align: center; }

/* 写メ日記：トップ・一覧・個別でキャスト名と縦長画像を統一 */
.ncs-diary-card__image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}
.ncs-diary-card__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
}
.ncs-diary-card__body > p {
  margin-top: 10px;
  color: #0b88bd;
  font-weight: 700;
}
.ncs-diary-card__body > p::before {
  content: "CAST";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #1687c5;
  color: #fff;
  font-size: .72em;
  letter-spacing: .06em;
}
.post-type-archive-cast_diary .c-postThumb__figure,
body.archive .p-postList__item .c-postThumb__figure {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}
.post-type-archive-cast_diary .p-postList,
body.archive .p-postList {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.post-type-archive-cast_diary .p-postList__item,
body.archive .p-postList__item {
  width: auto !important;
  margin: 0 !important;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.post-type-archive-cast_diary .p-postList__link,
body.archive .p-postList__link {
  display: block;
  height: 100%;
}
.post-type-archive-cast_diary .p-postList__thumb,
body.archive .p-postList__thumb {
  width: 100% !important;
}
.post-type-archive-cast_diary .p-postList__body,
body.archive .p-postList__body {
  padding: 14px 16px 16px;
}
.post-type-archive-cast_diary .c-postThumb__img,
body.archive .p-postList__item .c-postThumb__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
}
.noi-diary-archive-cast {
  display: block;
  margin-bottom: 7px;
  color: #0b88bd;
  font-weight: 700;
}
.noi-diary-single-cast {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 12px 14px;
  border-left: 4px solid #1687c5;
  background: #eefaff;
  font-weight: 700;
}
.noi-diary-single-cast span {
  color: #1687c5;
  font-size: .8em;
  letter-spacing: .08em;
}
.noi-diary-single-cast a,
.noi-diary-title-cast {
  color: #1687c5 !important;
}
@media (max-width: 767px) {
  .post-type-archive-cast_diary .p-postList,
  body.archive .p-postList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .post-type-archive-cast_diary .p-postList__body,
  body.archive .p-postList__body {
    padding: 10px;
  }
}

/* 出勤スケジュール：週送りと単一店舗向け表示 */
.noi-week-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.noi-week-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #1687c5;
  border-radius: 6px;
  background: #fff;
  color: #1687c5;
  font-weight: 700;
  text-decoration: none;
}
.noi-week-nav a:last-child { justify-self: end; }
.noi-week-nav a:first-child { justify-self: start; }
.noi-week-nav span { font-weight: 700; }
.noi-week-schedule .ncs-store-tabs { display: none !important; }
.noi-week-schedule .ncs-shift-meta > span { display: none !important; }
@media (max-width: 600px) {
  .noi-week-nav { gap: 6px; }
  .noi-week-nav a { padding: 7px 10px; font-size: .9em; }
  .noi-week-nav span { font-size: .9em; }
}
