/* ユーザー向けスタイル - スマートフォン最適化 */

/* 基本設定 */
:root {
  --primary-color: #F48600;
  --secondary-color: #33c1ff;
  --accent-color: #ffcc00;
  --background-color: #f9f3e9;
  --text-color: #333333;
  --border-radius: 12px;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --body-bg: #fffdf3;
}

/* フォント設定 */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Kosugi+Maru&display=swap');

body {
  font-family: 'M PLUS Rounded 1c', 'Kosugi Maru', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

main{
  margin: 30px auto;
}

/* コンテナ設定 - 最大幅700px */
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

/* ヘッダー */
header {
  background-color: #fff;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px 10px 10px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  max-height: 53px;
  width: auto;
}

/* ナビゲーションボタン */
.nav-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  padding: 8px 20px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

/* アイコンナビゲーション */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  text-decoration: none;
}

/* メニューボタン */
.menu-button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

/* カード要素 */
.card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 15px;
  font-weight: 700;
}

.card-body {
  padding: 15px;
}

/* リスト要素 */
.list-item {
  border-bottom: 1px solid #eee;
  padding: 15px;
}

.list-item:last-child {
  border-bottom: none;
}

/* カテゴリータグ */
.category-tag {
  background-color: var(--secondary-color);
  color: white;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  display: inline-block;
  margin-right: 8px;
}

/* ボタン */
.btn {
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

/* フォーム要素 */
.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 16px;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* 報告期限スタイル */
.deadline-details {
  font-size: 14px;
  margin-top: 5px;
  padding-left: 5px;
  border-left: 3px solid var(--primary-color);
}

.deadline-label {
  font-weight: 600;
  margin-right: 5px;
  color: var(--primary-color);
}

.report-deadlines {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 12px 15px;
  margin-bottom: 15px;
  border-left: 4px solid var(--primary-color);
}

.report-deadlines h4 {
  font-size: 0.9rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.pagination-item {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: var(--text-color);
}

.pagination-item.active {
  background-color: var(--primary-color);
  color: white;
}

/* ポイント表示 */
.point-display {
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  padding: 15px;
  text-align: center;
  margin-bottom: 20px;
}

.point-value {
  font-size: 32px;
  font-weight: 700;
}

/* メニューグリッド */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.menu-item {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px 15px;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
}

.menu-icon {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 10px;
}

/* フッター */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0 10px;
  text-align: center;
  font-size: 12px;
}
.footer-links a{
  font-size: 11px;
  color: #fff;
}
.footer-copy{
  margin: 5px 0 0;
}
/* LINE登録ボタン */
.line-register-btn {
  background-color: #06C755;
  color: white;
  border-radius: var(--border-radius);
  padding: 15px 30px;
  font-weight: 700;
  text-align: center;
  display: block;
  margin: 20px auto;
  text-decoration: none;
  max-width: 300px;
}

/* 商品カード */
.product-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #eee;
}

.product-info {
  padding: 15px;
}

.product-title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.product-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .point-value {
    font-size: 28px;
  }
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: white;
  z-index: 1000;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

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

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.close-menu {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
}

.menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-nav li {
  border-bottom: 1px solid #eee;
}

.menu-nav li a {
  display: block;
  padding: 15px;
  color: var(--text-color);
  text-decoration: none;
}

.report-icon {
  font-size: 1.1rem;
  width: 24px;
  color: #6c757d;
}

.report-type-label {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  color: #fff;
  background-color: #6c757d;
  display: block;
  text-align: center;
  min-width: 48px;
}

.approved .report-type-label {
  background-color: #28a745;
}

.pending .report-type-label {
  background-color: #ffc107;
  color: #212529;
}

.rejected .report-type-label {
  background-color: #dc3545;
}

.not-submitted .report-type-label {
  background-color: #6c757d;
}

.report-details {
  flex-grow: 1;
  padding: 0 10px;
}

.meta-text {
  font-weight: 600;
  color: #555;
  font-size: 0.7rem;
}

.progress-step.completed .step-label {
    color: #28a745;
}

/* 次のアクション案内 */
.next-action-guide {
    background-color: #e8f4ff;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0 25px;
    text-align: left;
    border: 1px solid #007bff;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-header {
    margin-bottom: 5px;
}

.action-content {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    padding-left: 5px;
}

.action-label {
    font-weight: 700;
    color: #007bff;
}

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'M PLUS Rounded 1c', 'Kosugi Maru', sans-serif;
    background-color: var(--body-bg);
    color: #333;
    line-height: 1.6;
}

/* ユーティリティクラス */
.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.fs-4 {
    font-size: 1.5rem !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

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

/* アラートスタイルの追加 */
.alert {
    position: relative;
    padding: 1rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d1f7d9;
    border-color: #9be0a8;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffecb5;
    color: #664d03;
}

.alert-info {
    background-color: #cff4fc;
    border-color: #b6effb;
    color: #055160;
}

/* LINEお問い合わせボタン（固定） */
.line-contact-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c300, #00b300);
}

.line-contact-button a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.line-contact-button .line-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .line-contact-button {
        width: 70px;
        height: 70px;
        bottom: 10px;
        right: 10px;
    }
    .line-contact-button .line-text {
      font-size: 13px;
  }
} 