/* 2026.8.9 app/static/css/member-v2.css ChatGPT*/

.membership-main-narrow {
  max-width: 650px;
}

.member-login-links {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  color: #786d66;
  font-size: 0.9rem;
  line-height: 1.8;
}

.member-login-links a,
.member-muted-link,
.member-secondary-link {
  color: #8f2f24;
}

.member-header form,
.member-auth-logout-form {
  margin: 0;
}

.member-header-logout,
.member-auth-logout {
  padding: 9px 16px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.mypage-welcome {
  text-align: center;
}

.mypage-welcome > p:not(.member-kicker) {
  color: #786d66;
}

.member-plan-badge {
  margin-top: 12px;
  padding: 7px 16px;
  display: inline-block;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.member-plan-free {
  color: #31634d;
  background: #e6f4ec;
  border: 1px solid #b9dac8;
}

.member-plan-paid {
  color: #72531b;
  background: #fff6d8;
  border: 1px solid #e3ca78;
}

.mypage-details {
  margin: 42px 0 0;
  border: 1px solid #e4d8c6;
  border-radius: 14px;
  overflow: hidden;
}

.mypage-details > div {
  display: grid;
  grid-template-columns: minmax(120px, 32%) 1fr;
}

.mypage-details > div + div {
  border-top: 1px solid #e4d8c6;
}

.mypage-details dt,
.mypage-details dd {
  margin: 0;
  padding: 15px 18px;
  overflow-wrap: anywhere;
}

.mypage-details dt {
  color: #6f211b;
  background: #faf3e8;
  font-weight: 700;
}

.mypage-details dd {
  background: #fff;
}

.mypage-coming {
  margin-top: 42px;
}

.mypage-coming h2 {
  color: #8f2f24;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.member-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-menu-grid > div {
  min-height: 92px;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: #faf7f1;
  border: 1px solid #e4d8c6;
  border-radius: 12px;
}

.member-menu-grid strong {
  color: #6f211b;
}

.member-menu-grid span {
  color: #786d66;
  font-size: 0.88rem;
}

.mypage-actions {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* index.html 上部ログインバー用 */
.auth-member-welcome {
  margin: 0;
}

.auth-member-name {
  font-weight: 700;
}

.auth-member-badge {
  margin-left: 5px;
  padding: 3px 8px;
  color: #ffe5a5;
  border: 1px solid rgba(255, 229, 165, 0.58);
  border-radius: 999px;
  font-size: 0.78rem;
}

.auth-actions .member-auth-logout {
  min-height: 34px;
  padding: 5px 12px;
}

@media (max-width: 600px) {
  .mypage-details > div {
    grid-template-columns: 1fr;
  }

  .mypage-details dd {
    padding-top: 11px;
  }

  .member-menu-grid {
    grid-template-columns: 1fr;
  }

  .auth-member-welcome {
    font-size: 0.8rem;
  }
}

/* 3. member-v2.css の末尾へ追加 */
/*<style>*/
.member-menu-item {
  min-height: 92px;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  color: inherit;
  background: #faf7f1;
  border: 1px solid #e4d8c6;
  border-radius: 12px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.member-menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 47, 34, 0.1);
}

.member-menu-item strong {
  color: #6f211b;
}

.member-menu-item span {
  color: #786d66;
  font-size: 0.88rem;
}
/*</style>*/
