html {
  margin-top: 0px !important;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  box-sizing: border-box;
  color: #333333;
}

p {
  margin: 0px;
  padding: 0px;
}

h1,
h2,
h3,
h4,
h5,
h7,
h8,
h9,
h6 {
  margin: 0px;
  padding: 0px;
}

button, input, textarea, select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

figure {
  margin: 0px;
  padding: 0px;
}

/* Force the reset only on WordPress-generated figures (wp-block-*, wp-caption...);
   theme templates set figure spacing with Tailwind classes (e.g. mt-[28.6px]). */
figure[class^="wp-"],
figure[class*=" wp-"] {
  margin: 0px !important;
  padding: 0px !important;
}

input::placeholder {
  color: #C0BBB4;
}

/* Hide default browser cancel button inside search inputs */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

/* Hide scrollbar while preserving scroll functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
