@charset "utf-8";

html {
    box-sizing: border-box;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    color: var(--primary);
    letter-spacing: 0.05rem;
    background-color: var(--white-1);
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
    min-width: 0;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--link-primary);
    height: 100%;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

a:link, a:visited, a:hover { color: var(--link-primary); }

address {
    font-style: normal;
    line-height: 1.5rem;
}

b { font-weight: 600; }

fieldset {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    min-inline-size: min-content;
    border-width: 0;
    border-style: none;
    border-color: transparent;
    border-image: none;
    padding-block: 0;
    padding-inline: 0;
    margin-inline: 0;
    pointer-events: auto;
    transition: opacity 0.5s; 
}

hr {
    border: none;
    height: 1px;
    background-color: var(--m-gray-8);
}

h1, h2, h3, h4, h5, h6 {
    font-size: 54px;
    text-align: center;
    font-weight: 600;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

legend {
    width: 100%;
    padding-inline: 0px;
    padding-bottom: 18px; 
}

p { line-height: 1.5rem; }

strong {
    font-weight: 600;
    color: var(--primary);
}

button, input, select, textarea {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05rem;
    color: var(--primary);
    outline: none;
    background-color: var(--white-1);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

textarea::-webkit-scrollbar {
    width: 8px;
    background: var(--d-gray-10);
    border-radius: 5px;
}

textarea::-webkit-scrollbar-thumb {
    background: var(--d-gray-73);
    border-radius: 5px;
}

sup { color: var(--primary); }