/* Nochika top-page floating new property notice */
.nochika-news-widget {
  position: fixed;
  right: 0;
  top: 48%;
  transform: translateY(-50%);
  z-index: 80;
  font-family: "Noto Sans JP", "Helvetica Neue", sans-serif;
}

.nochika-news-trigger {
  width: 72px;
  min-height: 132px;
  border: none;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #d4883a 0%, #a86428 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(44, 44, 44, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.nochika-news-trigger:hover,
.nochika-news-trigger:focus-visible {
  transform: translateX(-4px);
  box-shadow: 0 22px 46px rgba(44, 44, 44, 0.3);
  filter: brightness(1.04);
  outline: none;
}

.nochika-news-trigger__new {
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.nochika-news-trigger__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.nochika-news-panel {
  position: fixed;
  top: 50%;
  right: 88px;
  width: min(360px, calc(100vw - 116px));
  transform: translateY(-50%) translateX(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nochika-news-widget.is-open .nochika-news-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.nochika-news-card {
  overflow: hidden;
  border: 1px solid rgba(212, 136, 58, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(44, 44, 44, 0.22);
  backdrop-filter: blur(12px);
}

.nochika-news-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 14px;
  border-bottom: 1px solid rgba(212, 136, 58, 0.16);
  background: linear-gradient(135deg, rgba(212, 136, 58, 0.13), rgba(255, 255, 255, 0));
}

.nochika-news-card__eyebrow {
  color: #d4883a;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nochika-news-card__title {
  margin-top: 4px;
  color: #2c2c2c;
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nochika-news-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(44, 44, 44, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(44, 44, 44, 0.65);
  font-size: 20px;
  line-height: 1;
}

.nochika-news-close:hover,
.nochika-news-close:focus-visible {
  color: #2c2c2c;
  background: #fff;
  outline: none;
}

.nochika-news-card__body {
  padding: 18px 22px 22px;
}

.nochika-news-item {
  display: block;
  padding: 16px;
  border: 1px solid rgba(44, 44, 44, 0.08);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nochika-news-item:hover,
.nochika-news-item:focus-visible {
  border-color: rgba(212, 136, 58, 0.45);
  box-shadow: 0 12px 28px rgba(44, 44, 44, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.nochika-news-item__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4883a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nochika-news-item__title {
  margin-top: 8px;
  color: #2c2c2c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.nochika-news-item__text {
  margin-top: 6px;
  color: rgba(44, 44, 44, 0.65);
  font-size: 13px;
  line-height: 1.8;
}

.nochika-news-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #9a5b22;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .nochika-news-widget {
    right: 14px;
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .nochika-news-trigger {
    width: auto;
    min-height: 0;
    min-width: 132px;
    border-radius: 999px;
    flex-direction: row;
    padding: 12px 16px;
    gap: 8px;
  }

  .nochika-news-trigger__new {
    font-size: 18px;
  }

  .nochika-news-trigger__label {
    writing-mode: horizontal-tb;
    font-size: 13px;
  }

  .nochika-news-panel {
    right: 14px;
    bottom: 76px;
    top: auto;
    width: calc(100vw - 28px);
    transform: translateY(12px);
  }

  .nochika-news-widget.is-open .nochika-news-panel {
    transform: translateY(0);
  }
}
