* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #10234c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  background: #eef7ff;
}

.app {
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px 28px 110px;
}

.app-header {
  display: grid;
  grid-template-columns: 76px 1fr 76px;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.app-header h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: .08em;
}

.app-header p {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.icon-btn {
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(39, 86, 145, .15);
  font-size: 26px;
}

.hero-card,
.voice-card,
.notice-section,
.mini-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(169, 203, 237, .7);
  border-radius: 26px;
  box-shadow: 0 12px 30px rgba(39, 86, 145, .13);
}

.hero-card {
  display: grid;
  grid-template-columns: 250px 1fr 240px;
  gap: 24px;
  align-items: center;
  min-height: 260px;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 20%, #fff8d9, transparent 22%),
    linear-gradient(135deg, #eaf6ff, #ffffff);
}

.sun {
  font-size: 48px;
}

.mascot {
  font-size: 110px;
  line-height: 1;
}

.hero-text h2 {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.5;
}

.hero-text p {
  margin: 12px 0;
  font-size: 22px;
  line-height: 1.7;
  font-weight: 500;
}

.hero-text strong {
  color: #1269d8;
}

.hero-right {
  text-align: center;
}

.scene {
  width: 170px;
  height: 170px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff7df, #d9ecff);
  font-size: 60px;
}

.hero-right button,
.add-btn,
.notice-card button,
.section-title button {
  border: none;
  background: #fff;
  color: #075cc7;
  font-weight: 800;
}

.hero-right button {
  min-width: 170px;
  padding: 16px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(39, 86, 145, .14);
  font-size: 20px;
}

.voice-card {
  margin-top: 26px;
  padding: 22px;
}

.voice-input {
  display: grid;
  grid-template-columns: 54px 1fr 88px;
  gap: 14px;
  align-items: center;
}

.voice-input span {
  font-size: 36px;
}

.voice-input input {
  height: 68px;
  border: none;
  border-radius: 22px;
  padding: 0 22px;
  background: #f3f7ff;
  color: #10234c;
  font-size: 24px;
  font-weight: 700;
}

.voice-input button {
  height: 72px;
  border: none;
  border-radius: 22px;
  background: #2f7df0;
  color: #fff;
  font-size: 34px;
}

.chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
}

.chips button {
  white-space: nowrap;
  border: 1px solid #c8ddf5;
  border-radius: 999px;
  background: #f5faff;
  color: #075cc7;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}

.notice-section {
  margin-top: 26px;
  padding: 22px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title h3 {
  margin: 0;
  color: #075cc7;
  font-size: 24px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.notice-card {
  min-height: 190px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #dbe9fa;
}

.notice-card h4 {
  margin: 8px 0;
  font-size: 19px;
}

.notice-card p {
  margin: 8px 0 16px;
  font-size: 15px;
  line-height: 1.6;
}

.notice-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
}

.notice-card button {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  font-size: 16px;
}

.blue {
  background: #f3f9ff;
}

.red {
  background: #fff7f7;
}

.green {
  background: #f4fff8;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.mini-card {
  padding: 22px;
}

.timeline {
  margin-top: 20px;
}

.timeline div {
  display: grid;
  grid-template-columns: 72px 18px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.timeline time {
  font-size: 18px;
  font-weight: 800;
}

.timeline span {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: #2f7df0;
}

.timeline p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.tasks {
  margin-top: 20px;
}

.tasks label {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #e5edf7;
  font-size: 18px;
  font-weight: 700;
}

.tasks input {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.add-btn {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #d5e4f4;
  border-radius: 999px;
  font-size: 18px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: calc(100% - 56px);
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 12px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(39, 86, 145, .18);
}

.bottom-nav button {
  border: none;
  background: transparent;
  color: #657899;
  font-size: 24px;
  font-weight: 700;
}

.bottom-nav span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.bottom-nav .active {
  color: #075cc7;
}

@media (max-width: 900px) {
  .app {
    max-width: 640px;
    padding: 16px 14px 105px;
  }

  .app-header {
    grid-template-columns: 50px 1fr 50px;
  }

  .app-header h1 {
    font-size: 32px;
  }

  .app-header p {
    font-size: 15px;
  }

  .icon-btn {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .hero-card {
    display: block;
    min-height: auto;
    padding: 24px;
  }

  .hero-left {
    display: none;
  }

  .hero-text {
    width: 100%;
  }

  .hero-text h2 {
    font-size: 26px;
    line-height: 1.55;
    word-break: keep-all;
  }

  .hero-text p {
    font-size: 18px;
    line-height: 1.7;
    word-break: keep-all;
  }

  .hero-right {
    margin-top: 18px;
    text-align: right;
  }

  .scene {
    display: none;
  }

  .hero-right button {
    min-width: 160px;
    font-size: 18px;
  }

.voice-input{
    display:flex;
    align-items:center;
    gap:12px;
}

.voice-input input{
    flex:1;
    min-width:0;
}

.voice-input button{
    width:58px;
    flex-shrink:0;
}

  .notice-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    width: 100%;
    bottom: 0;
    border-radius: 24px 24px 0 0;
  }
}