/* ========================================
   RESET / BASE CSS
======================================== */

/* ----- Box Model ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ----- Margin Reset ----- */
html,
body,
h1, h2, h3, h4, h5, h6,
p,
ul, ol,
figure,
blockquote,
dl, dd {
  margin: 0;
}

/* ----- Padding Reset ----- */
ul,
ol {
  padding: 0;
  list-style: none;
}

/* ----- Body Base ----- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #333;
  background: #fff;
}

/* ----- Images ----- */
img,
picture {
  max-width: 100%;
  display: block;
}

/* ----- Media ----- */
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* ----- Links ----- */
a {
  text-decoration: none;
  color: inherit;
}

a:focus-visible {
  outline: 2px solid #1f8f3c;
  outline-offset: 2px;
}

/* ----- Buttons ----- */
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

button:focus-visible {
  outline: 2px solid #1f8f3c;
  outline-offset: 2px;
}

/* ----- Form Elements ----- */
input,
textarea,
select {
  font: inherit;
  border-radius: 0;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* ----- Tables ----- */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ----- Heading Base ----- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

/* ----- Utility Classes ----- */
.u-hidden {
  display: none !important;
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.u-text-center {
  text-align: center;
}

.u-mt-0 { margin-top: 0 !important; }
.u-mb-0 { margin-bottom: 0 !important; }

/* ----- Responsive Media ----- */
iframe {
  max-width: 100%;
}

/* ----- Selection Color ----- */
::selection {
  background: #1f8f3c;
  color: #fff;
}
