@charset "UTF-8";

/* ==========================================================================
   ベーススタイル — Mansion Catalog (SP専用 / 402px 基準)
   normalize → variables → ★base → common → [page]
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-loose);
  color: var(--color-ink);
  background-color: var(--color-white);
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  font-feature-settings: "palt";
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
dt, strong, b {
  margin: 0;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-normal);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

a:hover {
  opacity: 0.8;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  line-height: var(--line-height-loose);
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

picture {
  display: contents;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

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

hr {
  border: 0;
  height: 1px;
  background-color: var(--color-gray-200);
}

/* MW WP Form などが出力する hidden フィールドを非表示 */
.hidden {
  display: none !important;
}
