#wrapper ~ .deco_line {
  display: none;
}

/* login.css の login_deco アニメーションをパスワードページでも有効化 */
@keyframes deco-float-a {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(18px, 12px); }
  100% { transform: translate(0, 0); }
}
@keyframes deco-float-b {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-14px, 16px); }
  100% { transform: translate(0, 0); }
}
@keyframes deco-float-c {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(12px, -18px); }
  100% { transform: translate(0, 0); }
}
@keyframes deco-float-d {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-16px, -12px); }
  100% { transform: translate(0, 0); }
}

#passwords_new_page {
  min-height: calc(100vh - 41px);
  background-color: #F5F6FA;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 1024px) {
  #passwords_new_page {
    min-height: calc(100vh - 80px);
  }
}



.passwords_new_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 700px;
  padding: 3vw 4vw;
}

/* アイコン */
.passwords_new_icon_wrap {
  margin-bottom: 1.5vw;
  display: flex;
  justify-content: center;
}

.passwords_new_icon_inner {
  position: relative;
  display: inline-flex;
}

.passwords_new_icon {
  width: 6.5vw;
  height: 6.5vw;
  min-width: 52px;
  min-height: 52px;
  background: rgba(255, 45, 121, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8vw;
  color: #FF2D79;
}

.passwords_new_icon_badge {
  position: absolute;
  bottom: 0;
  right: -4px;
  width: 2.4vw;
  height: 2.4vw;
  min-width: 20px;
  min-height: 20px;
  background: #FF2D79;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2vw;
  font-weight: 700;
}

/* タイトル・説明 */
.passwords_new_title {
  font-size: 2.2vw;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.8vw;
  text-align: center;
}

.passwords_new_desc {
  font-size: 1.5vw;
  color: #777;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 2vw;
}

/* カード */
.passwords_new_card {
  width: 100%;
  background: #ffffff;
  border-radius: 2.5vw;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.09);
  padding: 2.5vw 4vw;
  margin-bottom: 0;
}

/* フォーム */
.passwords_new_field {
  width: 100%;
  margin-bottom: 2vw;
}

.passwords_new_label {
  display: block;
  font-size: 1.8vw;
  font-weight: 600;
  color: #555;
  margin-bottom: 1vw;
}

.passwords_new_input_wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  background: #fff;
  padding: 0 1.5vw;
}

.passwords_new_input_icon {
  color: #bbb;
  font-size: 1.8vw;
  margin-right: 1vw;
  flex-shrink: 0;
}

.passwords_new_input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.8vw 0;
  font-size: 1.9vw;
  color: #333;
  background: transparent;
  box-shadow: none;
}

.passwords_new_input::placeholder {
  color: #ccc;
}

/* 送信ボタン */
.passwords_new_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2vw;
  width: 100%;
  padding: 1.2vw;
  background: linear-gradient(135deg, #4B70E8, #6B8FF5);
  color: #fff;
  font-size: 2.2vw;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.1s;
}

.passwords_new_btn:hover {
  opacity: 0.9;
}

.passwords_new_btn:active {
  transform: scale(0.98);
}

.passwords_new_btn_arrow {
  font-size: 1.8vw;
}

/* ログインに戻るリンク */
.passwords_new_back {
  margin-top: 1.5vw;
  text-align: center;
}

.passwords_new_back a {
  font-size: 1.6vw;
  color: #888;
  text-decoration: underline;
}

.passwords_new_back a:hover {
  color: #FF2D79;
}

/* スマートフォン縦画面 */
@media (max-width: 600px) {
  .passwords_new_title {
    font-size: 5.5vw;
    margin-bottom: 2.5vw;
  }

  .passwords_new_desc {
    font-size: 3.5vw;
    margin-bottom: 7vw;
  }

  .passwords_new_icon {
    font-size: 8vw;
    width: 18vw;
    height: 18vw;
  }

  .passwords_new_icon_badge {
    width: 5vw;
    height: 5vw;
    font-size: 2.5vw;
  }

  .passwords_new_icon_wrap {
    margin-bottom: 6vw;
  }

  .passwords_new_label {
    font-size: 3.8vw;
    margin-bottom: 2vw;
  }

  .passwords_new_input_wrap {
    padding: 0 3vw;
  }

  .passwords_new_input_icon {
    font-size: 4vw;
    margin-right: 2vw;
  }

  .passwords_new_input {
    font-size: 4vw;
    padding: 2.5vw 0;
  }

  .passwords_new_field {
    margin-bottom: 6vw;
  }

  .passwords_new_btn {
    font-size: 4.5vw;
    padding: 4vw;
    gap: 2.5vw;
  }

  .passwords_new_btn_arrow {
    font-size: 4vw;
  }

  .passwords_new_back {
    margin-top: 5vw;
  }

  .passwords_new_back a {
    font-size: 3.5vw;
  }
}
