:root {
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: #223c30;
  background: #f6f7f2;
  font-synthesis: none;
  --green: #174a37;
  --muted: #59695e;
  --line: #d7dfd4;
  --paper: #fff;
  --lime: #dfed9a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible + span {
  outline: 3px solid #2774ae;
  outline-offset: 4px;
}
button {
  min-height: 48px;
}
a {
  color: inherit;
}
.site-header {
  max-width: 1256px;
  margin: auto;
  padding: 25px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.18rem;
}
.sun {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--green);
  background: var(--lime);
  border-radius: 50%;
  font-size: 1.9rem;
  line-height: 1;
}
.header-note {
  font-size: 0.875rem;
  color: var(--muted);
}
main {
  max-width: 1256px;
  margin: auto;
  padding: 32px 28px 55px;
}
.intro {
  margin-bottom: 29px;
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  margin: 0 0 10px;
}
h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.5;
  margin: 0 0 10px;
}
.intro > p:last-child {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}
.mobile-break {
  display: none;
}
.workspace {
  display: grid;
  grid-template-columns: 355px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.condition-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}
.section-number {
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
h2 {
  font-size: 1.125rem;
  letter-spacing: 0.035em;
  margin: 0;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 23px;
  min-width: 0;
}
legend {
  padding: 0;
  margin-bottom: 11px;
  font-size: 0.9rem;
  font-weight: 700;
}
.choices {
  display: grid;
  gap: 6px;
}
.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choices label {
  position: relative;
  cursor: pointer;
  min-width: 0;
}
.choices input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choices span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 46px;
  padding: 8px 2px;
  font-size: 0.875rem;
  background: #fff;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.choices input:checked + span {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  font-weight: 700;
}
.choices span:hover {
  border-color: var(--green);
}
.mood-choices span {
  min-height: 49px;
}
.mood-choices i {
  font-style: normal;
  font-size: 1.1rem;
}
.primary {
  border: 1px solid var(--green);
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  padding: 12px 19px;
  font-weight: 700;
  transition: background 0.15s;
}
.primary:hover {
  background: #0d3828;
}
.find-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  min-height: 53px;
}
.find-button span {
  font-size: 1.4rem;
}
.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 11px 0 0;
}
.results-panel {
  padding-top: 8px;
  min-width: 0;
}
.results-heading {
  margin-bottom: 11px;
}
#result-count {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--muted);
}
.context {
  margin: 0 0 19px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}
.cards {
  display: grid;
  gap: 13px;
}
.activity {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 21px 23px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
}
.activity:nth-child(1) {
  border-left: 4px solid #729a4b;
}
.activity:nth-child(2) {
  border-left: 4px solid #bd9246;
}
.activity:nth-child(3) {
  border-left: 4px solid #6d9da6;
}
.activity-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.category {
  color: #365d42;
  font-weight: 700;
  font-size: 0.8125rem;
}
.meta {
  font-size: 0.8125rem;
  color: var(--muted);
}
.activity h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.description {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #465a4e;
  margin: 0 0 12px;
}
.needs {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 8px;
}
.first-step {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
  color: #2e513e;
}
.first-step strong {
  font-weight: 700;
  margin-right: 8px;
}
.choose {
  align-self: center;
  border: 1px solid var(--green);
  color: var(--green);
  background: #fff;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
}
.choose:hover {
  background: #edf3e6;
}
.secondary {
  border: 1px solid #bfcdbf;
  color: var(--green);
  background: transparent;
  padding: 10px 22px;
  border-radius: 9px;
  font-size: 0.9375rem;
  font-weight: 700;
}
.secondary:hover {
  background: #eaf0e4;
}
.result-actions {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.result-actions p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}
.estimate {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.8;
  margin: 22px 0 0;
}
.empty {
  padding: 38px 23px;
  background: #fff;
  border: 1px dashed #aebbab;
  border-radius: 14px;
  line-height: 1.8;
}
.empty h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.empty p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.selected-card {
  padding: 30px;
  background: #eef3df;
  border: 1px solid #bdcaa7;
  border-radius: 16px;
}
.selected-card .chosen-label {
  font-size: 0.875rem;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 20px;
}
.selected-card h3 {
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 0 0 16px;
}
.selected-card .first-step {
  padding: 18px 0;
  font-size: 1rem;
  border-top: 1px solid #c5d2bb;
  border-bottom: 1px solid #c5d2bb;
  margin: 22px 0;
}
.selected-card .first-step strong {
  display: block;
  margin: 0 0 7px;
}
.selected-card button {
  margin-top: 22px;
}
footer {
  max-width: 1200px;
  padding: 25px 0 35px;
  margin: auto;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 30px;
  align-items: start;
  justify-content: space-between;
}
footer > span {
  font-weight: 700;
  font-size: 0.875rem;
}
footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.8;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: #fff;
  padding: 15px;
  z-index: 2;
}
.skip:focus {
  top: 10px;
}
.loading {
  min-height: 150px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.noscript {
  padding: 24px;
  background: #fff4d9;
  color: #533d0c;
}
h2:focus {
  outline: none;
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
  }
  .condition-panel {
    padding: 20px;
  }
  .activity {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .choose {
    justify-self: start;
    margin-top: 16px;
  }
  footer {
    margin: 0 28px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 19px 20px;
  }
  .brand {
    font-size: 1rem;
  }
  .header-note {
    display: none;
  }
  main {
    padding: 26px 18px 35px;
  }
  .intro {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 1.8rem;
  }
  .intro > p:last-child {
    font-size: 0.9375rem;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .condition-panel {
    padding: 21px 19px;
  }
  .section-heading {
    margin-bottom: 21px;
  }
  fieldset {
    margin-bottom: 21px;
  }
  .choices span {
    min-height: 48px;
  }
  .results-panel {
    padding-top: 0;
  }
  .activity {
    padding: 21px 18px;
  }
  .activity h3 {
    font-size: 1.125rem;
  }
  .choose {
    width: 100%;
    margin-top: 16px;
  }
  .result-actions {
    justify-content: center;
  }
  .result-actions p {
    width: 100%;
    text-align: center;
  }
  .result-actions button {
    width: 100%;
  }
  .selected-card {
    padding: 24px 20px;
  }
  .selected-card h3 {
    font-size: 1.4rem;
  }
  footer {
    margin: 0 20px;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-break {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
