/* ===== reset / base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-color-bg-base);
  color: var(--color-color-text-main);
  font-family: 'Rounded Mplus 1c', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; }
address { font-style: normal; }
small { font-size: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--color-color-brand-primary); color: #fff; padding: 8px 16px;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--color-color-brand-primary); outline-offset: 2px; }

/* ===== 改行の出し分け（ブレークポイント: 768） ===== */
.br-sp { display: none; }
@media (max-width: 767px) {
  .br-pc { display: none; }
  .br-sp { display: inline; }
}
.pc-only { display: block; }
.sp-only { display: none; }
@media (max-width: 767px) {
  .pc-only { display: none; }
  .sp-only { display: block; }
}

/* ===== レイアウトユーティリティ ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}
.container--wide { max-width: 1440px; }
.section { padding-block: 96px; }
@media (max-width: 1240px) {
  .container { width: auto; margin-inline: 30px; }
}
@media (max-width: 767px) {
  .section { padding-block: 56px; }
  .container { margin-inline: 20px; }
}
