* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f6ff;
  color: #1b1e28;
}

.container {
  max-width: 980px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  gap: 1rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

h1 {
  margin: 0 0 0.4rem;
  font-size: 32px;
  color: #1a6c7a;
  text-align: center;
}

.subtitle {
  margin: 0 0 1rem;
  color: #5b6173;
  text-align: center;
}

.form-sections {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.section-group {
  border: 1px solid #ccd4e7;
  border-radius: 10px;
  padding: 0.8rem;
  margin: 0;
}

.section-group legend {
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0 0.3rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.sightseeing-group {
  border: 1px solid #ccd4e7;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  margin: 15px 0px 0px 0px;
}

.sightseeing-group legend {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 0.3rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  margin: 0.35rem 0;
}

.hint-text {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: #5b6173;
}

input,
select,
button {
  border-radius: 8px;
  border: 1px solid #ccd4e7;
  padding: 0.62rem 0.7rem;
  font-size: 0.95rem;
}

button {
  cursor: pointer;
  background: #1a6c7a;
  color: #fff;
  border: none;
  align-self: end;
  font-weight: 700;
}

button:hover {
  background: #105763;
}

.hidden {
  display: none;
}

.result h2 {
  margin-top: 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.summary-item {
  background: #f6f8ff;
  border: 1px solid #dde4fa;
  border-radius: 8px;
  padding: 0.65rem;
}

.summary-item b {
  display: block;
  margin-bottom: 0.2rem;
}

ul {
  margin-top: 0.4rem;
}

.note {
  margin-top: 0.8rem;
  background: #fff7de;
  border: 1px solid #ffd978;
  padding: 0.65rem;
  border-radius: 8px;
}
html{
  scroll-behavior:smooth;
}

.result-box{
  scroll-margin-top:20px;
}


@media(max-width:768px){
#season-type {
  width: 100% !important;
}
}

