/* deviseのログイン・新規登録のスタイル */
.devise-container {
  max-width: 500px;
  margin: 40px auto;
  background-color: #ffffff;
  padding: 32px;
  border-radius: 20px;
  border: 1.5px solid #f3d5b5;
  box-shadow: 0 4px 16px rgba(231, 111, 81, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.devise-container h2 {
  text-align: center;
  color: #e76f51;
  font-size: 24px;
  margin-bottom: 32px;
  font-weight: 700;
}

.devise-container .field {
  margin-bottom: 24px;
}

.devise-container .field p {
  margin: 0 0 8px 0;
}

.devise-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
  font-size: 14px;
}

.devise-container input[type="email"],
.devise-container input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #b8b5b5;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.2s;
}

.devise-container input[type="email"]:focus,
.devise-container input[type="password"]:focus {
  outline: none;
  border-color: #f4a261;
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15);
}

.devise-container input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

.devise-container .actions {
  margin-top: 32px;
  text-align: center;
}

.devise-container .actions input[type="submit"] {
  background: linear-gradient(135deg, #f4a261, #e76f51);
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: 0.2s;
  width: 100%;
}

.devise-container .actions input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(231, 111, 81, 0.25);
}

.devise-container em {
  font-size: 12px;
  color: #888;
  font-style: normal;
}

/* Devise のリンク */
.devise-links {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f3d5b5;
}

.devise-links a {
  color: #e76f51;
  text-decoration: none;
  font-size: 14px;
  margin: 0 8px;
  transition: 0.2s;
}

.devise-links a:hover {
  color: #c1440e;
  text-decoration: underline;
}

/* エラーメッセージ */
.devise-container .alert {
  background: #fff4f4;
  color: #cc4444;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  border-left: 4px solid #cc4444;
}

.devise-container .alert ul {
  margin: 0;
  padding-left: 20px;
}

/* フラッシュメッセージのスタイル */
.flash-messages {
  max-width: 600px;
  margin: 20px auto;
  padding: 0 20px;
}

.flash-message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 成功メッセージ(緑色) */
.flash-notice,
.flash-success {
  background-color: #ffe5df;
  color: #c44a2d;
  border: 1px solid #ffb8a3;
}

/* エラーメッセージ(赤色) */
.flash-alert,
.flash-error {
  background-color: #ffe0e0;
  color: #c41e3a;
  border: 1px solid #ffb3b3;
}

/* 警告メッセージ(黄色) */
.flash-warning {
  background-color: #fff8e1;
  color: #f57c00;
  border: 1px solid #ffe082;
}

ロボらんてくんZ
ロボらんてくんZ

お疲れ様です！

ビューファイルに合わせた CSS の完全版 をお送りします！💪

CSS 完全版
/* deviseのログイン・新規登録のスタイル */
.devise-container {
  max-width: 500px;
  margin: 40px auto;
  background-color: #ffffff;
  padding: 32px;
  border-radius: 20px;
  border: 1.5px solid #f3d5b5;
  box-shadow: 0 4px 16px rgba(231, 111, 81, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.devise-container h2 {
  text-align: center;
  color: #e76f51;
  font-size: 24px;
  margin-bottom: 32px;
  font-weight: 700;
}

.devise-container .field {
  margin-bottom: 24px;
}

.devise-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
  font-size: 14px;
}

/* iタグのスタイル（補足説明） */
.devise-container i {
  font-size: 12px;
  color: #888;
  font-style: normal;
  font-weight: normal;
}

/* emタグのスタイル（最小文字数の説明） */
.devise-container em {
  font-size: 12px;
  color: #888;
  font-style: normal;
  display: block;
  margin-top: 4px;
}

.devise-container input[type="email"],
.devise-container input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #b8b5b5;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.2s;
}

.devise-container input[type="email"]:focus,
.devise-container input[type="password"]:focus {
  outline: none;
  border-color: #f4a261;
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15);
}

.devise-container input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

.devise-container .actions {
  margin-top: 32px;
  text-align: center;
}

.devise-container .actions input[type="submit"] {
  background: linear-gradient(135deg, #f4a261, #e76f51);
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: 0.2s;
  width: 100%;
}

.devise-container .actions input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(231, 111, 81, 0.25);
}

/* アカウント削除セクション */
.cancel-account {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #f3d5b5;
}

.cancel-account h3 {
  color: #e76f51;
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 600;
}

.cancel-account-text {
  color: #666;
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.cancel-account-warning {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* アカウント削除ボタン */
.btn-cancel-account {
  background: #fff;
  color: #dc3545;
  padding: 10px 24px;
  border: 1.5px solid #dc3545;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
  display: inline-block;
}

.btn-cancel-account:hover {
  background: #dc3545;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

/* 戻るリンクのスタイル */
.devise-container a {
  color: #e76f51;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
  display: inline-block;
  margin-top: 16px;
}

.devise-container a:hover {
  color: #c1440e;
  text-decoration: underline;
}

/* Devise のリンク */
.devise-links {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f3d5b5;
}

.devise-links a {
  color: #e76f51;
  text-decoration: none;
  font-size: 14px;
  margin: 0 8px;
  transition: 0.2s;
}

.devise-links a:hover {
  color: #c1440e;
  text-decoration: underline;
}
/* ヘッダー全体 */
.header {
  background-color: #e76f51;
  color: white;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 80px;
  position: relative;
}

/* ロゴエリア */
.logo-area {
  flex-shrink: 0;
}

.logo-img {
  height: 180px;
  margin-top: 10px;
}

/* PC表示: メインナビゲーション (常時表示) */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ハンバーガーメニューボタン (PC・モバイル共に表示) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background-color: white;
  transition: all 0.3s;
}

/* ハンバーガーメニューが開いているときのアニメーション */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ハンバーガーメニューの中身 */
.hamburger-menu {
  position: fixed;
  top: 80px;
  right: -300px; /* 初期状態は画面外 */
  width: 250px;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  padding: 20px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.hamburger-menu.active {
  right: 0; /* メニューが開いたら画面内に表示 */
}

.hamburger-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hamburger-link {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
  display: block;
}

.hamburger-link:hover {
  background-color: #f5f5f5;
}

/* モバイル表示の調整 (768px以下) */
@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
  }

  /* モバイルではメインナビゲーションを非表示 */
  .main-nav {
    display: none;
  }

  .hamburger-menu {
    width: 100%;
    right: -100%;
  }

  .hamburger-menu.active {
    right: 0;
  }
}

/* PC表示の調整 (769px以上) */
@media (min-width: 769px) {
  .hamburger-menu {
    width: 250px;
  }
}
/* プライバシーポリシー・利用規約共通スタイル */
.static-page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #f3d5b5;
  box-shadow: 0 4px 16px rgba(231, 111, 81, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  line-height: 1.8;
  color: #333;
  margin-top: 24px;
  margin-bottom: 40px;
}

.static-page-title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #e76f51, #f4a261);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.03em;
  padding-bottom: 20px;
  border-bottom: 3px solid #f3d5b5;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 22px;
  font-weight: bold;
  color: #5a3e2b;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 5px solid #f4a261;
  background: linear-gradient(90deg, #fffaf7 0%, transparent 100%);
  padding-top: 8px;
  padding-bottom: 8px;
}

.policy-section h3 {
  font-size: 18px;
  font-weight: bold;
  color: #5a3e2b;
  margin-top: 24px;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid #f4a261;
}

.policy-section p {
  margin-bottom: 16px;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.policy-section ul {
  margin-left: 24px;
  margin-bottom: 16px;
  padding-left: 0;
}

.policy-section li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  list-style-type: none;
  position: relative;
  padding-left: 20px;
}

.policy-section li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #f4a261;
  font-weight: bold;
  font-size: 18px;
}

.policy-section a {
  color: #e76f51;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border-bottom: 1px solid transparent;
}

.policy-section a:hover {
  color: #f4a261;
  border-bottom: 1px solid #f4a261;
}

.policy-date {
  text-align: right;
  font-size: 14px;
  color: #999;
  margin-top: 48px;
  font-weight: 600;
  padding-top: 20px;
  border-top: 1px solid #f3d5b5;
}

/* 重要な注意書きエリア */
.policy-notice {
  background: #fff7f0;
  border-left: 4px solid #f4a261;
  padding: 20px;
  margin: 24px 0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .static-page-container {
    padding: 30px 16px;
    margin: 16px;
    border-radius: 16px;
  }

  .static-page-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .policy-section h2 {
    font-size: 20px;
    padding-left: 12px;
  }

  .policy-section h3 {
    font-size: 16px;
  }

  .policy-section p,
  .policy-section li {
    font-size: 14px;
  }

  .policy-section ul {
    margin-left: 16px;
  }
}

@media (max-width: 480px) {
  .static-page-container {
    padding: 24px 12px;
    margin: 12px;
  }

  .static-page-title {
    font-size: 22px;
  }

  .policy-section h2 {
    font-size: 18px;
  }
}
/*result画面*/

.result-card {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(231, 111, 81, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1.5px solid #f3d5b5;
  border-radius: 20px;
}

.proposal-content {
  background: #fff7f0;
  border-left: 4px solid #f4a261;
  padding: 20px;
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 15px;
}

.action-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

/* result内のformだけリセット */
.action-buttons form {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.result-header {
  text-align: center;
}

.result-header h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* やってみるボタンのコンテナ */
.primary-action {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.btn-try {
  background: linear-gradient(135deg, #e76f51 0%, #f4a261 100%);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(231, 111, 81, 0.3);
  min-height: 48px;
}

.btn-try:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 111, 81, 0.4);
}
.btn-try:disabled {
  background: #f0f0f0;
  color: #aaa;
  cursor: not-allowed;
  box-shadow: none;
}

/* 再提案ボタンのコンテナ */
.secondary-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.btn-secondary {
  background: #fff;
  border: 2px solid #e76f51;
  color: #e76f51;
  padding: 8px 20px; 
  border-radius: 3px;
  font-size: 12px; 
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #fff5f3;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(231, 111, 81, 0.2);
}

/* ボタンの説明文 */
.button-hint {
  color: #aaa; 
  font-size: 11px; 
  margin-top: 2px;
  margin-bottom: 24px;
  text-align: center;
}

/* 戻るリンク*/
.back-link {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.back-link a {
  color: #e76f51;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.back-link a:hover {
  color: #c1440e;
  border-bottom: 1px solid #c1440e;
}

.proposal-content {
  line-height: 1.8;
}

.empathy-section,
.action-section,
.reason-section {
  margin-bottom: 20px;
}

.empathy-section p {
  color: #555;
  font-size: 15px;
}

.action-section p {
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.reason-section p {
  color: #666;
  font-size: 14px;
}
/* app/assets/stylesheets/badges.css */

.badges-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.badges-title {
  color: #6b5b4f;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.badge-card {
  background: linear-gradient(145deg, #ffffff, #fffaf7);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(244, 162, 97, 0.15);
  padding: 1.5rem;
  transition: transform 0.3s ease;
  border: 1px solid #f3d5b5;
  animation: fadeUp 0.5s ease both;
}

.badge-card:hover {
  transform: translateY(-8px);
}

.badge-card-disabled {
  opacity: 0.5;
  filter: grayscale(60%);
}

.badge-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.badge-image {
  width: 6rem;
  height: 6rem;
  transition: transform 0.3s ease;
}

.badge-card:hover .badge-image {
  transform: rotate(-2deg) scale(1.1);
}

.badge-name {
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
}

.badge-description {
  color: #6b5b4f;
  text-align: center;
  margin-bottom: 1rem;
}

.badge-status-container {
  text-align: center;
}

.badge-status {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.badge-status-earned {
  background: linear-gradient(135deg, #a7f3d0, #d1fae5);
  color: #065f46;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.badge-status-not-earned {
  background-color: #f3f4f6;
  color: #6b7280;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 全体 */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* ヘッダー */
.header-area {
  position: relative;
  margin-bottom: 28px;
  text-align: center;
}

.title-wrap {
  max-width: 100%;
}

.page-title {
  color: #6b5b4f;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.proposals-mascot {
  position: absolute;
  right: 0;
  top: -10px;
  width: 90px;
  opacity: 0.95;
}

/* 説明 */
.hint {
  font-size: 13px;
  color: #777;
  margin-bottom: 24px;
}

/* 今日のピック */
.today-pick {
  margin-bottom: 28px;
}

.pick-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}

.pick-card {
  background: linear-gradient(135deg, #fff7f0, #ffe8d6);
  border: 2px solid #f4a261;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(244, 162, 97, 0.18);
  transition: all 0.2s ease;
}

.pick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(244, 162, 97, 0.22);
}

.pick-action {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 6px;
}

.pick-goal {
  display: block;
  font-size: 12px;
  color: #666;
}

/* アクション */
.pick-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

/* フィルター */
.status-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 12px;
  text-decoration: none;
  color: #666;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: #fff4ec;
}

.filter-btn.active {
  background: #f4a261;
  color: white;
  border-color: #f4a261;
}

/* カード一覧 */
.proposal-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proposal-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.proposal-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.card-main {
  flex: 1;
  min-width: 0;
}

.card-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* 行動メイン */
.action-text {
  font-size: 14px;
  color: #333;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.5;
}

.goal-text {
  font-size: 12px;
  color: #888;
}

/* ボタン共通リセット */
button {
  border: none;
  outline: none;
  font-family: inherit;
}

button:focus {
  outline: none;
  box-shadow: none;
}

/* ボタン（統一して丸く＆高さ揃え） */
.btn-primary,
.btn-success,
.btn-subtle {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* メインCTA */
.btn-primary {
  background: linear-gradient(135deg, #f4a261, #e76f51);
  color: white;
  box-shadow: 0 4px 10px rgba(231, 111, 81, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(231, 111, 81, 0.3);
}

/* 完了ボタン（丸くて気持ちいいやつ） */
.btn-success {
  background: #e76f51;
  color: white;
  box-shadow: 0 4px 10px rgba(231, 111, 81, 0.2);
}

.btn-success:hover {
  transform: translateY(-1px);
}

/* サブ */
.btn-subtle {
  background: transparent;
  border: 1px solid #ddd;
  color: #666;
}

.btn-subtle:hover {
  background: #f7f7f7;
}

/* 状態 */
.proposal-card.completed {
  opacity: 0.55;
}

.done-label {
  font-size: 12px;
  color: #4CAF50;
  font-weight: 600;
}


/* スマホ用 */
@media (max-width: 480px) {
  .proposals-mascot {
    width: 70px;
    top: 0;
  }

  .title-wrap {
    max-width: 100%;
  }
}

.action-link {
  color: #555;
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-block;
}

.action-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #f4a261;
  transition: width 0.2s ease;
}

.action-link:hover {
  color: #e76f51;
}

.action-link:hover::after {
  width: 100%;
}
/* 詳細画面 */
.detail-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;
}

.back-link-top {
  margin-bottom: 16px;
}

.back-link-top a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.detail-card {
  background: white;
  border-radius: 20px;
  padding: 28px 24px;
  border: 2px solid #f3d5b5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* きっかけセクション */
.detail-goal-section {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffef5;
  padding: 16px;
  border-radius: 12px;
  border: 2px dashed #f4a261;
  margin-bottom: 16px;
}

.goal-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.detail-goal {
  font-size: 15px;
  font-weight: 600;
  color: #5a3e2b;
  margin: 0;
  line-height: 1.5;
}

.created-at {
  font-size: 12px;
  color: #999;
  margin-bottom: 24px;
}

/* 提案内容ブロック */
.proposal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.empathy-block,
.action-block,
.reason-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  background: #fafafa;
}

.action-block.highlight {
  background: linear-gradient(135deg, #fff7f0, #fffef5);
  border: 2px solid #f4a261;
  box-shadow: 0 2px 8px rgba(244, 162, 97, 0.15);
}

.emoji {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.5;
}

.empathy-block p,
.action-block p,
.reason-block p {
  margin: 0;
  line-height: 1.7;
  color: #555;
  font-size: 14px;
}

/* アクションボタン */
.detail-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.btn-subtle {
  background: #fff;
  color: #888;
  border: 2px solid #eee;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;

  transition: all 0.2s ease;
}

.btn-subtle:hover {
  background: #fafafa;
  border-color: #ddd;
  color: #555;
}

/* 完了バッジ */
.completed-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #d4f4dd, #e8f8ed);
  border: 2px solid #4ecb71;
  border-radius: 12px;
  color: #2d7a4a;
  font-weight: 600;
  font-size: 15px;
}

.badge-icon {
  font-size: 20px;
}

.badge-text {
  margin: 0;
}

.delete-link {
  background-color: #fff;
  color: #e76f51;
  border: 1px solid #f1d0c9;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.delete-link:hover {
  background-color: #fff5f2;
  border-color: #e76f51;
}

form.button_to {
  text-align: center;
  margin-top: 16px;
}
/* レスポンシブ対応 */
@media (max-width: 640px) {
  .detail-card {
    padding: 20px 16px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions button,
  .detail-actions form {
    width: 100%;
  }

  .btn-primary,
  .btn-subtle,
  .btn-success {
    width: 100%;
  }
}
.lp-wrap {
    font-family: Arial, sans-serif;
    background-color: #FFF3D6;
    color: #333;
  }

  /* ヒーロー */
  .lp-hero {
    text-align: center;
    padding: 40px 16px 32px;
  }

  .lp-hero-badge {
    display: inline-block;
    background: #fff7f0;
    color: #e76f51;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1.5px solid #f3d5b5;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
  }

  .lp-hero-mascot {
    height: 80px;
    display: block;
    margin: 0 auto 12px;
    animation: lp-float 3s ease-in-out infinite;
  }

  @keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
  }

  .lp-hero h1 {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: bold;
    line-height: 1.65;
    color: #333;
    margin: 0 0 14px;
  }

  .lp-hero h1 .lp-accent {
    background: linear-gradient(135deg, #e76f51, #f4a261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .lp-hero-sub {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 28px;
  }

  .lp-hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* 共通ボタン（steps.cssの.btn/.btn-secondaryを踏襲） */
  .lp-btn {
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
  }

  .lp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(231, 111, 81, 0.25);
    text-decoration: none;
    color: white;
  }

  .lp-btn-secondary {
    background: transparent;
    color: #e76f51;
    border: 2px solid #e76f51;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
  }

  .lp-btn-secondary:hover {
    background: #fff7f0;
    color: #e76f51;
    text-decoration: none;
    transform: translateY(-1px);
  }

  /*区切り*/
  .lp-divider {
    text-align: center;
    color: #bbb;
    font-size: 12px;
    padding: 4px 0 24px;
  }

  /* 使い方セクション */
  .lp-how {
    background: #fff7f0;
    border-top: 1px dashed #f3d5b5;
    border-bottom: 1px dashed #f3d5b5;
    padding: 36px 16px;
  }

  .lp-section-title {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #555;
    margin: 0 0 24px;
  }

  .lp-steps {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 640px;
    margin: 0 auto;
  }

  .lp-step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    width: 150px;
    border: 1.5px solid #f3d5b5;
    box-shadow: 0 2px 8px rgba(231, 111, 81, 0.06);
  }

  .lp-step-num {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    margin: 0 auto 10px;
  }

  .lp-step-icon { font-size: 26px; display: block; margin-bottom: 8px; }
  .lp-step-label { font-size: 12px; font-weight: bold; color: #444; line-height: 1.5; }
  .lp-step-desc  { font-size: 11px; color: #888; margin-top: 5px; line-height: 1.5; }

  .lp-step-arrow {
    font-size: 18px;
    color: #f4a261;
    display: flex;
    align-items: center;
    padding-top: 28px;
  }

  /* デモセクション*/
  .lp-demo {
    padding: 36px 16px;
  }

  .lp-demo-note {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    margin: -16px 0 18px;
  }

  /* steps.cssの main-form を踏襲 */
  .lp-demo-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 28px;
    border-radius: 20px;
    border: 1.5px solid #f3d5b5;
    box-shadow: 0 4px 16px rgba(231, 111, 81, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  }

  /* mascot-bubble と同じスタイル */
  .lp-demo-header {
    background: #fffaf7;
    border: 2px solid #f3d5b5;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .lp-demo-header-icon { font-size: 22px; }

  .lp-demo-header-text {
    font-size: 14px;
    font-weight: bold;
    color: #555;
  }

  .lp-demo-label {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    margin-bottom: 8px;
    display: block;
  }

  .lp-demo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
  }

  /* status-btn を踏襲したチップ */
  .lp-chip {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid #e8d8c3;
    background: #fffaf7;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    color: #444;
    font-weight: 500;
  }

  .lp-chip:hover {
    transform: translateY(-1px);
    background: #fff7f0;
    border-color: #f4a261;
    color: #c1440e;
  }

  .lp-chip.active {
    background: #f4a261;
    color: white;
    border-color: #f4a261;
    box-shadow: 0 4px 10px rgba(244, 162, 97, 0.25);
  }

  /* steps.cssのgoal-group textarea を踏襲 */
  .lp-demo-input {
    width: 100%;
    color: #5a3e2b;
    background-color: #fffef5;
    border: 2px dashed #f4a261;
    border-radius: 16px;
    box-shadow: 3px 3px 0px #f3d5b5;
    line-height: 1.6;
    padding: 12px 14px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    margin-bottom: 4px;
    outline: none;
    transition: 0.2s;
    resize: none;
  }

  .lp-demo-input::placeholder { color: #c8b49a; }
  .lp-demo-input:focus { border-color: #e76f51; box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15), 3px 3px 0px #f3d5b5; }

  /* status-buttons を踏襲したムードボタン群 */
  .lp-mood-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }

  /* steps.cssの status-btn を踏襲 */
  .lp-mood-btn {
    padding: 12px 10px;
    border-radius: 999px;
    border: 1.5px solid #e8d8c3;
    background: #fffaf7;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    color: #444;
    font-weight: 500;
    text-align: center;
  }

  .lp-mood-btn:hover {
    transform: translateY(-1px);
    background: #fff7f0;
    border-color: #f4a261;
    color: #c1440e;
  }

  .lp-mood-btn.active {
    background: #f4a261;
    color: white;
    border-color: #f4a261;
    box-shadow: 0 4px 10px rgba(244, 162, 97, 0.25);
  }

  /* steps.cssの .btn を踏襲 */
  .lp-demo-run-btn {
    width: 100%;
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: white;
    padding: 13px 18px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: 0.2s;
    margin-top: 4px;
  }

  .lp-demo-run-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(231, 111, 81, 0.25);
  }

  .lp-demo-run-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }

  /* steps.cssの proposal-content を踏襲 */
  .lp-result {
    margin-top: 20px;
    display: none;
    animation: lp-pop 0.3s ease;
  }

  .lp-result.visible { display: block; }

  @keyframes lp-pop {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
  }

  .lp-result-inner {
    background: #fff7f0;
    border-left: 4px solid #f4a261;
    padding: 18px 20px;
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 14px;
    border-radius: 0 10px 10px 0;
  }

  .lp-result-label {
    font-size: 11px;
    font-weight: bold;
    color: #e76f51;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
  }

  .lp-result-step {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
  }

  .lp-result-note {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
  }

  .lp-result-cta {
    text-align: center;
    font-size: 13px;
    color: #888;
    padding: 10px 0 0;
  }

  .lp-result-cta a {
    color: #e76f51;
    font-weight: bold;
    text-decoration: none;
  }

  .lp-result-cta a:hover { text-decoration: underline; }

  /* ローディングドット（steps.cssのthinking-animationを踏襲） */
  .lp-loading-dots { display: inline-flex; gap: 3px; align-items: center; }
  .lp-dot {
    width: 7px; height: 7px;
    background: #f4a261;
    border-radius: 50%;
    display: inline-block;
    animation: lp-blink 1.4s infinite;
  }
  .lp-dot:nth-child(2) { animation-delay: 0.2s; }
  .lp-dot:nth-child(3) { animation-delay: 0.4s; }
  @keyframes lp-blink {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 1; }
  }

  /* 価値セクション*/
  .lp-value {
    background: #fff7f0;
    border-top: 1px dashed #f3d5b5;
    padding: 36px 16px;
  }

  .lp-value-cards {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .lp-value-card {
    background: #ffffff;
    border: 1.5px solid #f3d5b5;
    border-radius: 16px;
    padding: 18px 16px;
    width: 180px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(231, 111, 81, 0.06);
  }

  .lp-value-icon { font-size: 28px; display: block; margin-bottom: 8px; }

  .lp-value-title {
    font-size: 13px;
    font-weight: bold;
    color: #444;
    margin-bottom: 6px;
  }

  .lp-value-desc { font-size: 11px; color: #888; line-height: 1.6; }

  /* ========== CTAセクション ========== */
  .lp-cta {
    padding: 48px 16px;
    text-align: center;
  }

  .lp-cta h2 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.65;
  }

  .lp-cta-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 22px;
  }

  /* フッター */
.lp-footer {
  background: #e76f51;
  color: white;
  text-align: center;
  padding: 20px 16px;
  font-size: 13px;
  margin-top: 60px;
}

.lp-footer-logo {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
}

.lp-footer-copyright {
  font-size: 11px;
  opacity: 0.8;
}

/* フッターリンクのコンテナ */
.lp-footer-links {
  margin: 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* リンクのスタイル */
.lp-footer-link {
  color:  #ffd7ba;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.lp-footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* セパレーター */
.lp-footer-separator {
  color: white; 
  font-size: 14px;
  opacity: 0.6; 
}

  /* レスポンシブ  */
  @media (max-width: 640px) {
    .lp-step-arrow { display: none; }
    .lp-step-card { width: 130px; }
    .lp-value-card { width: 100%; max-width: 260px; }
    .lp-demo-box { padding: 20px 14px; }
  }

  @media (max-width: 480px) {
    .lp-mood-btns { grid-template-columns: 1fr; }
  }
@media (max-width: 768px) {
  .lp-footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .lp-footer-separator {
    display: none;
  }
}

.lp-mini-note {
  margin: 24px auto 0;
  padding: 10px 16px;
  max-width: 420px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  background-color: #f8fafc;
  border-radius: 999px;
  line-height: 1.5;
}
/* app/assets/stylesheets/steps.css */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #FFF3D6;
  padding: 0px;
  color: #333;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.bubble-content-wrapper {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bubble-main {
  flex: 3;
  min-width: 0;
  padding-left: 12px;
}

.bubble-examples {
  flex: 0 0 220px;
  padding: 12px 14px;
  background: transparent;
  border-radius: 12px;
  border: 1px dashed #f3d5b5;
  margin-top: 32px;
}

.bubble-title {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #e76f51, #f4a261);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.bubble-text {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}
.how-to-use {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  margin-top: 12px;
}

.main-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 28px;
  border-radius: 20px;
  border: 1.5px solid #f3d5b5;
  box-shadow: 0 4px 16px rgba(231, 111, 81, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.goal-group textarea.form-control {
  color: #5a3e2b;
  background-color: #fffef5;
  border: 2px dashed #f4a261;
  border-radius: 16px;
  box-shadow: 3px 3px 0px #f3d5b5;
  line-height: 1.6;
  padding: 14px;
  background-image: none;
}

.form-control, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.2s;
}

.form-control:focus, textarea:focus {
  outline: none;
  border-color: #f4a261;
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15);
}

.form-group { margin-bottom: 32px; }

.form-actions {
  margin-top: 40px;
  text-align: center; 
  }

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

.status-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

/* 「今どんな感じ?」用 */
.status-buttons[data-target="feeling-field"] {
  grid-template-columns: repeat(2, 1fr);
}

/* 「一歩の大きさ」用  */
.status-buttons[data-target="time-available-field"] {
  grid-template-columns: repeat(3, 1fr);
}

.status-btn {
  padding: 12px 10px;
  border-radius: 999px;
  border: 1.5px solid #e8d8c3;
  background: #fffaf7;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
  color: #444;
  font-weight: 500;
}

.status-btn:focus {
  outline: 2px solid #f4a261;
  outline-offset: 2px;
}

.status-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.status-btn:disabled:hover {
  transform: none;
  background: #fffaf7;
  border-color: #e8d8c3;
  color: #444;
}

.status-btn:hover {
  transform: translateY(-1px);
  background: #fff7f0;
  border-color: #f4a261;
  color: #c1440e;
}

.status-btn.active {
  background: #f4a261;
  color: white;
  border-color: #f4a261;
  box-shadow: 0 4px 10px rgba(244, 162, 97, 0.25);
}

.status-btn:focus-visible {
  outline: 3px solid #f4a261;
  outline-offset: 3px;
}

/* マウスクリック時は表示しない */
.status-btn:focus:not(:focus-visible) {
  outline: none;
}


.btn {
  background: linear-gradient(135deg, #f4a261, #e76f51);
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  width: auto;
  transition: 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(231, 111, 81, 0.25);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #e76f51;
  border: 2px solid #e76f51;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: #fff7f0;
  color: #e76f51;
  text-decoration: none;
}


.mascot-area {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 24px;
  padding: 0 16px;
}

.mascot-bubble {
  flex: 1;
  background: #fffaf7;
  border: 2px solid #f3d5b5;
  border-radius: 18px;
  padding: 24px 16px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 600px;
}

.mascot-bubble::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right-color: #f3d5b5;
}

.mascot-img {
  width: 120px;
  height: auto;
}

.alert {
  background: #fff4f4;
  color: #cc4444;
  margin-top: -8px;
  margin-bottom: 16px; 
  padding: 12px;
  border-radius: 8px;  
}

.alert ul {
  padding-left: 0;
  list-style: none;
}

/* まよまよの吹き出し内の例 */
.examples-intro {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.examples-intro::before {
  content: "💡";
  font-size: 14px;
}

.examples-simple-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 13px;
  color: #777;
}

.examples-simple-list li {
  padding: 4px 0;
  position: relative;
  padding-left: 16px;
}

.examples-simple-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #f4a261;
}

/* 必須・任意バッジ */
.required-badge,
.optional-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 6px;
  vertical-align: middle;
}

.required-badge {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  box-shadow: 0 2px 4px rgba(255, 107, 107, 0.2);
}

.optional-badge {
  background: #e8f4f8;
  color: #5a9fb8;
  border: 1px solid #b8d9e8;
}

/* スマホサイズでは1列に */
@media (max-width: 480px) {
  .status-btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .bubble-content-wrapper {
    flex-direction: column;
  }
  
  .bubble-examples {
    flex: 1;
    width: 100%;
    margin-top: 16px;
  }
}
@media (max-width: 640px) {
  .mascot-area {
    flex-direction: column;
    text-align: center;
  }
  
  .mascot-bubble::before,
  .mascot-bubble::after {
    display: none; /* 縦並びでは三角不要 */
  }
}

/* スマホサイズでは全て1列に */
@media (max-width: 480px) {
  .status-buttons[data-target="feeling-field"],
  .status-buttons[data-target="time-available-field"] {
    grid-template-columns: 1fr;
  }
}

/* ローディング　*/
.loading-indicator {
  position: fixed; 
  inset: 0;
  width: 100vw; 
  height: 100vh; 
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loading-indicator.hidden {
  display: none !important;
}

/* まよまよが考えているアニメーション */
.mayomayo-thinking {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mayomayo-loading-img {
  width: 150px;
  height: 150px;
  max-width: 150px ;
  max-height: 150px ;
  object-fit: contain;
  animation: bounce 1s infinite 0.3s; 
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 点々のアニメーション */
.thinking-animation {
  display: flex;
  gap: 0.2rem;
}

.thinking-animation .dot {
  width: 8px;
  height: 8px;
  background: #f4a261;
  border-radius: 50%;
  display: inline-block;
  margin: 0 2px;
  animation: blink 1.4s infinite;
}

.thinking-animation .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.thinking-animation .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.loading-text {
  font-size: 1rem;
  color: #f4a261;
  margin: 0;
  animation: fade 1.5s infinite
}

@keyframes fade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}


.main-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 240px; 
  height: 48px;

  font-size: 15px;
  border-radius: 999px;
}

.remaining-count-area {
  margin: 20px 0;
  padding: 0 20px;
}

.remaining-count-area .alert {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 16px;
}

.remaining-count-area .alert-info {
  background-color: #e3f2fd;
  border: 1px solid #90caf9;
  color: #1976d2;
}

.remaining-count-area .alert-warning {
  background-color: #fff3e0;
  border: 1px solid #ffb74d;
  color: #f57c00;
}

.remaining-icon {
  margin-right: 10px;
  font-size: 20px;
}

.remaining-count-area strong {
  font-size: 18px;
  font-weight: bold;
  margin: 0 5px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
