* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eeeeee;
  font-family: "Yu Gothic", "Segoe UI", sans-serif;
  color: #222;
}

.app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: auto;
  background: #ffffff;
  padding-bottom: 90px;
}


/* =========================
   上部
========================= */

.top-header {
  min-height: 90px;
  padding: 20px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #dddddd;
}

.user-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-area p {
  margin: 0;
  font-size: 16px;
}

.profile {
  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: #f7931a;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 26px;
}

.favorite-top {
  padding: 10px 13px;

  background: white;

  border: 1px solid #e8a75d;
  border-radius: 12px;

  color: #d97808;

  font-weight: bold;
  font-size: 14px;

  cursor: pointer;
}


/* =========================
   メイン
========================= */

main {
  padding: 25px 18px;
}

.deadline-section h2 {
  margin-bottom: 22px;
  font-size: 22px;
}


/* =========================
   期限カード
========================= */

.deadline-card {
  position: relative;

  padding: 22px 18px;

  margin-bottom: 18px;

  border: 1px solid #efc18e;
  border-radius: 18px;

  background: white;

  box-shadow:
    0 5px 15px rgba(0,0,0,.09);

  cursor: pointer;
}

.deadline-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.form-icon {
  width: 58px;
  height: 58px;

  border-radius: 50%;

  background: #f7931a;

  color: white;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 29px;

  flex-shrink: 0;
}

.deadline-info {
  flex: 1;
}

.deadline-info h3 {
  margin: 0 0 7px;
  font-size: 22px;
}

.deadline-info p {
  margin: 0;

  line-height: 1.6;

  font-size: 15px;
}

.deadline-label {
  position: absolute;

  top: 18px;
  right: 16px;

  padding: 8px 10px;

  background: #fff4e7;

  border-radius: 10px;

  color: #d97706;

  font-size: 13px;
  font-weight: bold;
}


/* =========================
   進捗
========================= */

.progress-area {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-top: 22px;
}

.progress-background {
  flex: 1;

  height: 12px;

  background: #eeeeee;

  border-radius: 20px;

  overflow: hidden;
}

.progress-bar {
  height: 100%;

  background:
    linear-gradient(
      90deg,
      #ff9b28,
      #eb7c00
    );

  border-radius: 20px;
}

.progress-number {
  color: #d87806;

  font-size: 24px;
  font-weight: bold;
}

.arrow {
  color: #e9830b;

  font-size: 32px;
}

.updated {
  margin-top: 15px !important;

  color: #777;

  font-size: 13px !important;
}


/* =========================
   クイックアクセス
========================= */

.quick-access {
  margin-top: 40px;
}

.quick-access h2 {
  font-size: 22px;
}

.main-button {
  width: 100%;

  padding: 17px;

  margin-bottom: 14px;

  border: none;
  border-radius: 28px;

  background:
    linear-gradient(
      135deg,
      #f7a12d,
      #e97b05
    );

  color: white;

  font-size: 16px;
  font-weight: bold;

  cursor: pointer;

  box-shadow:
    0 4px 10px rgba(220,120,10,.2);
}


/* =========================
   下ナビ
========================= */

.bottom-nav {
  position: fixed;

  bottom: 0;
  left: 50%;

  transform: translateX(-50%);

  width: 100%;
  max-width: 430px;

  height: 78px;

  background: white;

  border-top: 1px solid #dddddd;

  display: flex;
}

.nav-item {
  flex: 1;

  border: none;
  background: white;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  gap: 4px;

  color: #777;

  font-size: 11px;

  cursor: pointer;
}

.nav-item span {
  font-size: 23px;
}

.nav-item.active {
  color: #e9850c;

  font-weight: bold;
}
/* =========================
   自分の配慮希望データ
========================= */

.profile-data-section {
  margin: 28px 16px;
}

.profile-data-card {
  padding: 24px 20px;

  background: #fff8f1;

  border: 2px solid #f5cda9;
  border-radius: 22px;
}

.profile-data-card h2 {
  margin: 0 0 14px;

  color: #dc5b00;

  font-size: 20px;
}

.profile-data-card p {
  margin: 0 0 22px;

  color: #555;

  font-size: 14px;
  line-height: 1.7;
}

.profile-data-button {
  width: 100%;

  padding: 15px;

  border: none;
  border-radius: 999px;

  background: #e65c00;
  color: white;

  font-size: 15px;
  font-weight: bold;

  cursor: pointer;
}

.profile-data-button:active {
  transform: scale(0.98);
}