body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  background: #f7f9fb;
  color: #222;
  line-height: 1.6;
}

header {
  background: #1f3c88;
  color: #fff;
  padding: 20px;
  text-align: center;
}

header .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

header img.logo {
  height: 70px;
  object-fit: contain;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.3);
}

header h1 {
  margin: 10px 0 0;
  font-size: 1.2rem;
  font-weight: 600;
}

header p.subttl {
  margin: 6px 0 0;
  font-size: .9rem;
  opacity: .9;
}

main.page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 16px;
  max-width: 100%;
  margin: auto;
  box-sizing: border-box;
}

.content {
  flex: 1 1 600px;
  padding-right: 20px;
}

.section {
  margin-bottom: 32px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.section h2 {
  color: #1f3c88;
  margin-top: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: pre-line;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery img {
  flex: 1 1 calc(33% - 10px);
  max-height: 200px;
  border-radius: 10px;
  object-fit: cover;
  background: #ccc;
}

.tour-list ul {
  padding-left: 20px;
  margin: 0;
}

.tour-list li {
  margin-bottom: 6px;
  font-size: .9rem;
}

.stats-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.stats-table th,
.stats-table td {
  border-bottom: 1px solid #eee;
  padding: 6px 4px;
  text-align: left;
}

.form-wrap {
  flex: 1 1 320px;
  max-width: 380px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  align-self: flex-start;
  box-sizing: border-box;
  height: fit-content;
}

.form-wrap h2 {
  color: #1f3c88;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 16px;
}

form input,
form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: .9rem;
}

form textarea {
  min-height: 70px;
  resize: vertical;
}

button.submit-btn {
  width: 100%;
  background: #1f3c88;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: .9rem;
  transition: .2s;
}

button.submit-btn:hover {
  background: #3054b2;
}

footer.site-footer {
  text-align: center;
  padding: 20px;
  background: #1f3c88;
  color: #fff;
  margin-top: 40px;
  font-size: .8rem;
}

@media (max-width: 900px) {
  main.page {
    flex-direction: column;
    padding: 12px;
  }

  .content, .form-wrap {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .form-wrap {
    margin-top: 20px;
  }

  .gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  h1, h2 {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

canvas {
  width: 100% !important;
  height: auto !important;
}

.stats-table table {
  width: 100%;
  display: block;
  overflow-x: auto;
}