@charset "utf-8";

*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 156px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  min-height: 100dvh;
  /* 改行 */
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  position: relative;
  /* お知らせが開いていると背景を固定 */
  &:has(.openModal) {
    overflow: hidden;
  }
}

footer {
  /* footerを最下部へ */
  position: sticky;
  top: 100%;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
}

a {
  text-decoration: none;
  color: black;
}

ul {
  list-style-type: none;
}

h1,
h2,
h3,
h4,
p,
a,
figure,
img,
ul,
ol,
li,
dl,
dt,
dd {
  padding: 0;
  margin: 0;
}

.inlineBlockSpan {
  display: inline-block;
}
.mi-auto {
  margin-inline: auto;
}

/* テーマカラー変数 */
:root {
  --textMainColor: #5f4e4c;
  --textSubColor: #837a79;
}
