@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap");

:root {
  --green: #146c5b;
  --deep: #0f5b4e;
  --coral: #ff785a;
  --cream: #f7f4ee;
  --sage: #ddede5;
  --ink: #26332f;
  --muted: #68766e;
  --line: #d9e3db;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 10% 12%, #e0efe4 0, transparent 36%),
    radial-gradient(ellipse at 90% 82%, #ffdfd2 0, transparent 33%),
    linear-gradient(140deg, #f7f3e9, #edf4ed 65%, #fff3e9);
  min-height: 100vh;
}

body.shop {
  background:
    radial-gradient(ellipse at 15% 18%, #d0e9e2, transparent 40%),
    radial-gradient(ellipse at 95% 88%, #d9efeb, transparent 35%), #f2f6f1;
}

a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

/* ── Topbar ── */
.topbar {
  max-width: 1150px;
  margin: auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--deep);
  font-weight: 800;
  font-size: 17px;
}

.brand-mark {
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  box-shadow: 0 7px 18px #146c5b30;
}

.top-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 13px;
}

.top-links .switch {
  border: 1px solid #b7d5c8;
  border-radius: 99px;
  padding: 9px 13px;
}

/* ── Page layout ── */
.page {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(340px, 465px);
  align-items: center;
  gap: 72px;
  padding: 32px 34px 80px;
  min-height: calc(100vh - 90px);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 30px 0;
  animation: rise 0.65s both;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 55px);
  line-height: 1.38;
  letter-spacing: 0.01em;
  margin: 16px 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.hero p {
  font-size: 15px;
  line-height: 2;
  color: #52695d;
  max-width: 450px;
}

/* ── Illustration ── */
.illustration {
  height: 260px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 22px auto 0;
  max-width: 430px;
}

.blob {
  position: absolute;
  width: 280px;
  height: 205px;
  background: #dcebd9;
  border-radius: 44% 56% 49% 51% / 58% 41% 59% 42%;
  transform: rotate(-8deg);
}

.blob:after {
  content: "";
  position: absolute;
  inset: 20px;
  background: #fff5e5;
  border-radius: 50%;
  opacity: 0.65;
}

.food {
  position: relative;
  font-size: 105px;
  filter: drop-shadow(0 18px 14px #27644925);
  animation: float 5s ease-in-out infinite;
}

.leaf {
  position: absolute;
  font-size: 48px;
  opacity: 0.72;
}

.leaf.one {
  left: 24px;
  top: 10px;
  transform: rotate(-22deg);
}

.leaf.two {
  right: 35px;
  bottom: 8px;
  transform: rotate(30deg);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff9f2;
  color: var(--green);
  padding: 9px 13px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #f2e9db;
}

/* ── Auth card ── */
.auth-card {
  background: #ffffffd9;
  backdrop-filter: blur(12px);
  border: 1px solid #fff;
  box-shadow:
    0 24px 60px #1c624323,
    0 2px 8px #2d4a2810;
  border-radius: 28px;
  padding: 34px 34px 28px;
  animation: rise 0.65s 0.12s both;
}

.auth-card h2 {
  font-size: 25px;
  margin: 0 0 7px;
}

.auth-card.signup {
  padding-top: 27px;
}

.auth-card.signup h2 {
  font-size: 23px;
}

.auth-card.signup .field {
  margin-bottom: 12px;
}

.auth-card.signup .field input,
.auth-card.signup .field select {
  min-height: 42px;
  padding: 10px 12px;
}

.subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 26px;
}

/* ── Form fields ── */
.field {
  margin: 0 0 17px;
}

.field label,
.label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 14px;
  border: 1.5px solid #dce6dd;
  border-radius: 12px;
  background: #fff;
  padding: 13px 14px;
  min-height: 47px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px #146c5b16;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a0aaa4;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-row {
  display: flex;
  justify-content: flex-end;
  margin: -5px 0 20px;
}

.field-row a,
.footnote a {
  font-size: 12px;
}

/* ── Button ── */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(105deg, #14725d, #0b5849);
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  min-height: 49px;
  padding: 12px 16px;
  box-shadow: 0 9px 17px #146c5b28;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    filter 0.18s;
}

.btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 13px 22px #146c5b30;
}

.btn:active {
  transform: scale(0.98);
}

.btn.coral {
  background: linear-gradient(105deg, #ff8265, #ff7053);
  box-shadow: 0 9px 17px #ff785a25;
}

.btn.outline {
  background: transparent;
  color: var(--coral);
  border: 1.5px solid var(--coral);
  box-shadow: none;
}

/* ── Misc ── */
.separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: #9ba8a0;
  font-size: 11px;
}

.separator:before,
.separator:after {
  content: "";
  height: 1px;
  background: #dce5dc;
  flex: 1;
}

.footnote {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
}

.footnote + .footnote {
  margin-top: 12px;
}

.note {
  font-size: 11px;
  line-height: 1.8;
  color: #738078;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.option {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  border: 1px solid #dce6dd;
  border-radius: 99px;
  padding: 9px 12px;
  background: #fff;
  cursor: pointer;
}

.option:has(input:checked) {
  border-color: var(--green);
  background: #e9f4ed;
}

.option input {
  accent-color: var(--green);
}

.checkline {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.7;
  margin: 10px 0 20px;
}

.checkline input {
  accent-color: var(--green);
  margin-top: 3px;
}

.message {
  font-size: 12px;
  line-height: 1.8;
  color: var(--deep);
  background: #e8f3ec;
  padding: 12px;
  border-radius: 10px;
  margin: 15px 0 0;
}

.message:empty {
  display: none;
}

/* ── Intro / Entry grid ── */
.intro-panel {
  max-width: 760px;
  margin: 40px auto;
  padding: 24px;
  text-align: center;
}

.intro-panel h1 {
  font-size: 40px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 35px;
}

.entry {
  display: block;
  text-align: left;
  padding: 27px;
  border-radius: 22px;
  background: #ffffffcf;
  box-shadow: 0 14px 32px #164c3a17;
  border: 1px solid white;
  transition: transform 0.2s;
}

.entry:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.entry .emoji {
  font-size: 42px;
}

.entry h2 {
  color: var(--deep);
}

.entry p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* ── Shop theme overrides ── */
.shop .hero h1 em {
  color: #38b6a3;
}

.shop .brand-mark {
  background: #0f5b4e;
}

.shop .tag {
  background: #e5f4ef;
}

.small {
  font-size: 11px;
  color: var(--muted);
}

/* ── Animations ── */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-9px) rotate(2deg);
  }
}

/* ── Responsive ── */
@media (max-width: 850px) {
  .page {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 540px;
    padding: 0 18px 50px;
  }

  .hero {
    padding: 0;
    text-align: center;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero p {
    font-size: 12px;
    margin: auto;
  }

  .illustration {
    height: 145px;
  }

  .blob {
    width: 180px;
    height: 120px;
  }

  .food {
    font-size: 68px;
  }

  .leaf {
    font-size: 27px;
  }

  .auth-card {
    padding: 27px 22px;
  }

  .topbar {
    padding: 18px;
  }

  .top-links {
    gap: 10px;
  }

  .top-links a {
    font-size: 11px;
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .intro-panel h1 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

/*　ユーザー名 */
.top-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.top-logo {
    color: #146c5b;
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.user-name {
    font-size: 14px;
    color: #26332f;
    white-space: nowrap;
    margin: 0;
}
```

}
