body {
  background: linear-gradient(135deg, #fff7e6, #ffeacc);
  background-attachment: fixed;
  font-family: "Kiwi Maru", serif;
  color: #4d3b2f;
  margin: 0;
  padding: 0;
}

.login-btn, .logout-btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  border-radius: 9999px;
  background: linear-gradient(135deg, #fff2cc, #ffd699);
  color: #4d3b2f;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease-in-out;
}

.login-btn:hover,
.logout-btn:hover {
  background: linear-gradient(135deg, #ffe599, #ffca66);
  transform: scale(1.05);
}

.login-container {
  max-width: 400px;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff8e7;
  border: 2px solid #ffe1a8;
  border-radius: 1.5rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  text-align: center;
}

.login-title {
  font-size: 2rem;
  color: #4d3b2f;
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  margin: 1rem 0;
  font-weight: bold;
  color: #4d3b2f;
}

.login-form input {
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 0.5em;
  width: 80%;
  margin-top: 0.3em;
}

.login-submit {
  margin-top: 1rem;
  padding: 0.6em 1.2em;
  background: linear-gradient(135deg, #ffe599, #ffcc66);
  border: none;
  border-radius: 9999px;
  font-weight: bold;
  color: #4d3b2f;
  cursor: pointer;
  transition: 0.2s ease;
}

.login-submit:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ffdb88, #ffc94d);
}

.error-msg {
  color: red;
  margin-bottom: 1rem;
}

.register-link a {
  color: #4d3b2f;
  text-decoration: none;
  font-weight: bold;
}

.register-link a:hover {
  text-decoration: underline;
}


.workspace-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.workspace-card {
  display: block;
  width: 200px;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  color: #4d3b2f;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.workspace-card:hover {
  transform: scale(1.05);
}

/* ── 各ワークスペース別の見た目 ── */
.workspace-card.workspace1 {
  background: linear-gradient(135deg, #fff4f8, #ffeefc); /* 自分用：ピンク系 */
}
.workspace-card.workspace2 {
  background: linear-gradient(135deg, #f0fff4, #d9f7e2); /* 家族：みどり系 */
}
.workspace-card.workspace3 {
  background: linear-gradient(135deg, #f0f8ff, #d6e9ff); /* 自立支援：水色系 */
}

.workspace-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.workspace-card .title {
  font-size: 1.2rem;
}


.workspace-card {
  cursor: pointer;  /* ←クリックできる見た目に */
  user-select: none;
}

.workspace-page {
  text-align: center;
  padding: 2rem;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  width: 200px;
  padding: 1.2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff8e7, #ffeac4);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  font-weight: bold;
  color: #4d3b2f;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: scale(1.05);
}









body {
  background: linear-gradient(to bottom, #fff5ec, #fef9f3);
  font-family: "Hiragino Maru Gothic Pro", "游ゴシック", sans-serif;
  color: #333;
  text-align: center;
}


body {
  background-color: #fff8f2;
  background-image: radial-gradient(#ffdede 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}




h1 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: #5a3e36;
}

h2 {
  font-size: 1.4em;
  margin-bottom: 1em;
  color: #7c5c50;
}

.workspace-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}

.workspace-card {
  width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s;
  cursor: pointer;
}

.workspace-card:hover {
  transform: scale(1.03);
}

.workspace-card .icon {
  font-size: 2.4em;
  margin-bottom: 10px;
}

.workspace-card .title {
  font-size: 1.2em;
  font-weight: bold;
  color: #555;
}




body {
  background-color: #fff8f2;
  background-image: radial-gradient(#ffdede 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  font-family: "Hiragino Maru Gothic Pro", "游ゴシック", sans-serif;
  color: #333;
  text-align: center;
}

.workspace-page {
  max-width: 480px;
  margin: 0 auto;
}

.header-nav {
  margin-bottom: 30px;
  font-size: 1em;
  color: #444;
}

.header-nav a {
  margin-left: 1em;
  text-decoration: none;
  color: #5f3dc4;
  font-weight: bold;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.feature-card {
  width: 280px;
  background: linear-gradient(to bottom right, #fff3d6, #ffe8e0);
  border-radius: 16px;
  padding: 18px 24px;
  font-size: 1.1em;
  font-weight: bold;
  color: #444;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, background 0.3s;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(to bottom right, #ffe0e0, #fff0f0);
}

.feature-card::before {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2em;
}


body {
  margin: 0;
  font-family: 'Kosugi Maru', 'Mochiy Pop P One', sans-serif;
  background: #fffdf7;
  color: #333;
}

.site-header {
  background: #ffeaea;
  padding: 10px 20px;
  border-bottom: 2px dashed #ffb6c1;
}

.site-header .site-title a {
  font-size: 24px;
  font-weight: bold;
  color: #e91e63;
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.site-nav a {
  text-decoration: none;
  color: #555;
  padding: 5px 10px;
  border-radius: 10px;
  background: #fff;
  transition: 0.2s;
}

.site-nav a:hover {
  background: #ffecf1;
  color: #e91e63;
}

.site-footer {
  background: #ffeaea;
  color: #777;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  margin-top: 40px;
  border-top: 2px dashed #ffb6c1;
}

.site-footer a {
  color: #e91e63;
  text-decoration: none;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 10px;
}



main {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}



.back-btn {
  display: inline-block;
  padding: 0.5em 1em;
  background: linear-gradient(135deg, #fff0f5, #ffe4ec);
  color: #d63384;
  text-decoration: none;
  font-weight: bold;
  border-radius: 9999px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.back-btn:hover {
  background: linear-gradient(135deg, #ffe0f0, #ffcce0);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}