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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Base */
html {
    scroll-behavior: smooth;
    border: none !important;
}
html.translated-ltr {
    text-align: left;
}
html.translated-ltr dl,
html.translated-ltr h1,
html.translated-ltr h2,
html.translated-ltr h3,
html.translated-ltr h4,
html.translated-ltr h5,
html.translated-ltr ol,
html.translated-ltr p,
html.translated-ltr table,
html.translated-ltr ul {
    letter-spacing: normal;
    word-break: break-all;
}
body {
    text-align: justify;
    word-wrap: normal;
    font-feature-settings: 'palt';
    -webkit-text-size-adjust: 100%;
    color: #000;
    line-height: 1.6;
    font-family: 游明朝, YuMincho, 'Hiragino Mincho ProN', 'Hiragino Mincho Pro',
        'ＭＳ 明朝', serif;
}
ol,
ul,
dl {
    margin: 0;
    padding-left: 0;
}
ol,
ul {
    list-style-type: none;
}
button,
select,
input[type='button'],
input[type='submit'] {
    outline: none;
    user-select: none;
    cursor: pointer;
    appearance: none;
    color: currentColor;
}
input[type='date'],
input[type='email'],
input[type='tel'],
input[type='text'],
input[type='time'],
textarea {
    font-size: 16px;
}
address {
    font-style: normal;
}
table {
    word-break: break-all;
    border-collapse: collapse;
    width: 100%;
}
iframe {
    border: none;
}
/* 視差効果を無効にする設定がされていた場合メッセージを表示 */
@media (prefers-reduced-motion: reduce) {
    body {
        &::before {
            content: 'OSの視差効果を無効にする設定が適用されています。視差効果のない状態でページが表示されます。';
            background-color: rgba(red, 0.1);
            padding: 2px 4px;
            color: red;
            text-align: center;
            display: block;
            font-size: 14px;
        }
    }
}
